Initial commit after confirming working Lua config

This commit is contained in:
2026-06-27 17:14:39 -04:00
parent 9b1e714b9c
commit 3cadcad501
54 changed files with 825 additions and 50 deletions
+15
View File
@@ -0,0 +1,15 @@
#!/usr/bin/env zsh
set -x
current_window="$(hyprctl -j activewindow | jq --compact-output)"
current_addr=$(jq --raw-output '.address' <<< "${current_window}")
current_class=$(jq --raw-output '.class' <<< "${current_window}")
current_title=$(jq --raw-output '.title' <<< "${current_window}")
typeset -a workspaces
workspaces=("$(hyprctl -j workspaces | jq --raw-output --compact-output '.[] | .name')")
new_workspace_name="$(rofi -dmenu -p "Move window of ${current_class} with title '${current_title}' to which workspace? " <<< ${workspaces})"
hyprctl dispatch movetoworkspacesilent "${new_workspace_name}","address:${current_addr}"
set +x