From 675304b91936117bc6087ec74b03383dfb55e4c7 Mon Sep 17 00:00:00 2001 From: xeruf <27jf@pm.me> Date: Sat, 8 Jan 2022 19:16:59 +0100 Subject: [PATCH] config/sway: little structuring --- .config/sway/config.d/keyboard.conf | 8 +++++--- .local/bin/scripts/clean | 1 + .local/templates/HTML.html | 0 .local/templates/PHP.php | 0 .local/templates/Shell Script.sh | 0 .local/templates/XML.xml | 0 6 files changed, 6 insertions(+), 3 deletions(-) delete mode 100644 .local/templates/HTML.html delete mode 100644 .local/templates/PHP.php delete mode 100644 .local/templates/Shell Script.sh delete mode 100644 .local/templates/XML.xml diff --git a/.config/sway/config.d/keyboard.conf b/.config/sway/config.d/keyboard.conf index 81d4835..cc86acf 100644 --- a/.config/sway/config.d/keyboard.conf +++ b/.config/sway/config.d/keyboard.conf @@ -1,3 +1,5 @@ -input * xkb_layout de -input * xkb_numlock enabled -input * xkb_options caps:swapescape +input * { + xkb_layout de + xkb_numlock enabled + xkb_options caps:swapescape +} diff --git a/.local/bin/scripts/clean b/.local/bin/scripts/clean index 2d625be..51fa004 100755 --- a/.local/bin/scripts/clean +++ b/.local/bin/scripts/clean @@ -18,6 +18,7 @@ do path="$dir/$f" test -f "$path" || test -d "$path" && echo "Removing superfluous $path" && rm -rf $i "$path" done find "$dir" -maxdepth 2 -not -name ".stfolder" -empty -printf "Removing empty %p\n" -delete +find -L -maxdepth 2 -type l -printf "Removing broken symlink %p\n" -delete highlight "e :: recursively remove empty folders and files" [[ $1 =~ "e" ]] && find -empty -not -name ".stfolder" -empty -printf "Removing empty %p\n" -delete diff --git a/.local/templates/HTML.html b/.local/templates/HTML.html deleted file mode 100644 index e69de29..0000000 diff --git a/.local/templates/PHP.php b/.local/templates/PHP.php deleted file mode 100644 index e69de29..0000000 diff --git a/.local/templates/Shell Script.sh b/.local/templates/Shell Script.sh deleted file mode 100644 index e69de29..0000000 diff --git a/.local/templates/XML.xml b/.local/templates/XML.xml deleted file mode 100644 index e69de29..0000000