refactor(dotfiles): separate desktop configuration

This commit is contained in:
2026-10-08 12:09:17 -04:00
parent ecf01dad51
commit 0e203b188d
160 changed files with 153 additions and 107 deletions
+8
View File
@@ -0,0 +1,8 @@
#!/bin/sh
monitor=$1
state=$(hyprctl monitors all -j | jq -r ".[] | select(.name == \"$monitor\") | .disabled")
if [ $state == "true" ]; then
hyprctl keyword monitor $monitor,preferred
else
hyprctl keyword monitor $monitor,disable
fi