Compare commits

..

3 Commits

2 changed files with 22 additions and 0 deletions

View File

@ -47,6 +47,9 @@ flatpak override net.lutris.Lutris --filesystem=~/SteamLibrary:create $@
# For use with system syncthing, note its flags # For use with system syncthing, note its flags
flatpak override me.kozec.syncthingtk --filesystem=~/.config/syncthing:create $@ 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 # Just for verbosity. The results can be seen in /var/lib/flatpak/overrides/global
# and /var/lib/flatpak/overrides/<flatpak.id>. # and /var/lib/flatpak/overrides/<flatpak.id>.
# The user-configurations are ~/.local/share/flatpak/overrides/ # 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 com.valvesoftware.Steam $@
flatpak override --show net.lutris.Lutris $@ flatpak override --show net.lutris.Lutris $@
flatpak override --show me.kozec.syncthingtk $@ flatpak override --show me.kozec.syncthingtk $@
flatpak override --show com.microsoft.Edge $@
# Hide commands being executed again # Hide commands being executed again
set +x set +x

18
bash/wifiqr-open.bash Executable file
View 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"