config/sway: little structuring
This commit is contained in:
parent
ce516be7ab
commit
675304b919
|
@ -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
|
||||||
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue