change to wayland with river

This commit is contained in:
2025-05-06 00:59:22 +02:00
parent 5c0b690e94
commit 11358663fc
9 changed files with 180 additions and 352 deletions

View File

@@ -1 +1 @@
pkill -KILL xmonad
pkill river

View File

@@ -6,5 +6,5 @@ echo "Power button pressed" >>/tmp/acpi_log.txt
if eww active-windows | grep -q "$WINDOW_NAME"; then
eww close "$WINDOW_NAME"
else
eww open "$WINDOW_NAME"
eww open "$WINDOW_NAME" --screen "$(wlr-randr | grep -oP '^\S+' | head -n 1)"
fi