config/sway: little structuring

This commit is contained in:
xeruf 2022-01-08 19:16:59 +01:00
parent ce516be7ab
commit 675304b919
6 changed files with 6 additions and 3 deletions

View File

@ -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
}

View File

@ -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