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 * {
input * xkb_numlock enabled xkb_layout de
input * xkb_options caps:swapescape 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" test -f "$path" || test -d "$path" && echo "Removing superfluous $path" && rm -rf $i "$path"
done done
find "$dir" -maxdepth 2 -not -name ".stfolder" -empty -printf "Removing empty %p\n" -delete 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" highlight "e :: recursively remove empty folders and files"
[[ $1 =~ "e" ]] && find -empty -not -name ".stfolder" -empty -printf "Removing empty %p\n" -delete [[ $1 =~ "e" ]] && find -empty -not -name ".stfolder" -empty -printf "Removing empty %p\n" -delete