feat: converted hyprland cofiguration to lua

This commit is contained in:
2026-05-26 23:53:52 -04:00
parent 8e2e5a06ef
commit 6dd5b8efa5
16 changed files with 592 additions and 6 deletions
+2 -1
View File
@@ -5,4 +5,5 @@ workspace=$(hyprctl activeworkspace -j | jq -r '.id')
selected=$(hyprctl clients -j | jq -r 'to_entries | .[] | select(.value.hidden == false) | "\(.value.title)\\\t\(.value.class)::\(.value.address)"' | $chooser -p 'Client to Fetch')
#address=$(hyprctl clients -j | jq -r "to_entries | .[] | select(.value.title == \"$selected\") | \"\(.value.address)\"")
address=$(echo "$selected" | awk -F '::' '{print $NF}')
hyprctl dispatch movetoworkspace "$workspace,address:$address"
#hyprctl dispatch movetoworkspace "$workspace,address:$address"
hyprctl dispatch "hl.dsp.window.move({workspace = $workspace, follow = true, window = \"address:$address\"})"