start using GNU stow

add more configurations to the dotfiles directory
This commit is contained in:
2025-05-30 15:22:23 +02:00
parent 5e41320faf
commit 519455fac7
20 changed files with 204 additions and 0 deletions

14
.local/bin/xfullscreen-toggle Executable file
View File

@@ -0,0 +1,14 @@
#!/bin/sh
WIN=$(xdotool getwindowfocus)
STATE=$(xprop -id "$WIN" _NET_WM_STATE)
# check if fullscreen is present in the state
if echo "$STATE" | grep -q '_NET_WM_STATE_FULLSCREEN'; then
wmctrl -ir "$WIN" -b remove,fullscreen
exit $?
else
# If not fullscreen, add it
wmctrl -ir "$WIN" -b add,fullscreen
exit $?
fi