mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2025-08-20 13:27:20 +02:00
Compare commits
3 Commits
6bf64e6281
...
662503876b
Author | SHA1 | Date | |
---|---|---|---|
662503876b | |||
bdcd386dbb | |||
6cc5b3d47c |
@ -47,6 +47,9 @@ flatpak override net.lutris.Lutris --filesystem=~/SteamLibrary:create $@
|
||||
# For use with system syncthing, note its flags
|
||||
flatpak override me.kozec.syncthingtk --filesystem=~/.config/syncthing:create $@
|
||||
|
||||
# https://github.com/flathub/com.microsoft.Edge?tab=readme-ov-file#game-controllers-not-working
|
||||
flatpak override --filesystem=/run/udev:ro com.microsoft.Edge $@
|
||||
|
||||
# Just for verbosity. The results can be seen in /var/lib/flatpak/overrides/global
|
||||
# and /var/lib/flatpak/overrides/<flatpak.id>.
|
||||
# The user-configurations are ~/.local/share/flatpak/overrides/
|
||||
@ -60,6 +63,7 @@ flatpak override --show net.pcsx2.PCSX2 $@
|
||||
flatpak override --show com.valvesoftware.Steam $@
|
||||
flatpak override --show net.lutris.Lutris $@
|
||||
flatpak override --show me.kozec.syncthingtk $@
|
||||
flatpak override --show com.microsoft.Edge $@
|
||||
|
||||
# Hide commands being executed again
|
||||
set +x
|
||||
|
18
bash/wifiqr-open.bash
Executable file
18
bash/wifiqr-open.bash
Executable file
@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Argument: SSID
|
||||
|
||||
# -l H uses the highest error correction in case 30 % gets damaged (or artistried upon)
|
||||
|
||||
PIXELSIZE=6
|
||||
|
||||
# Outputs QR code to terminal
|
||||
qrencode -l H -t utf8 "WIFI:T:nopass;S:$1;;"
|
||||
# Stores QR code as SSID.png, -s doubles pixel size from default 3
|
||||
qrencode -l H -s $PIXELSIZE -o $1.png "WIFI:T:nopass;S:$1;;"
|
||||
# Might as well jpg this too
|
||||
convert "$1".png "$1".jpg
|
||||
|
||||
# Prints details
|
||||
echo "SSID: $1"
|
||||
echo "Stored as $1.png"
|
Loading…
x
Reference in New Issue
Block a user