use new XDG profile

this might be subject to change, due to exessive problems still needing
fixes
This commit is contained in:
2025-06-05 00:23:24 +02:00
parent 5439d4650b
commit e87e65df4f
60 changed files with 63 additions and 16 deletions

View File

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