Finish hypr config
This commit is contained in:
@@ -1,12 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Moves the active window to the relevant workspace
|
||||
|
||||
workspace=$1
|
||||
|
||||
active_window=$(hyprctl activewindow -j | jq -r ".address")
|
||||
active_workspace=$(hyprctl activeworkspace -j | jq -r ".id")
|
||||
|
||||
new_workspace=$((($workspace*2)-($active_workspace%2)))
|
||||
|
||||
hyprctl dispatch movetoworkspacesilent "$new_workspace,address:$active_window"
|
||||
Reference in New Issue
Block a user