move xdg directories to the default location.

a lot of applications seem to hardcode this location, so it's better to
have something default, or default-adjasoned.
This commit is contained in:
2025-11-19 09:37:29 +01:00
parent f6b93d5126
commit a50ead749a
61 changed files with 6 additions and 6 deletions

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

@@ -0,0 +1,14 @@
#!/usr/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