Move to gnu stow
This commit is contained in:
parent
cd08a447a8
commit
9ea93f8144
120 changed files with 994 additions and 53 deletions
10
misc/dot-local/bin/swallow
Executable file
10
misc/dot-local/bin/swallow
Executable file
|
|
@ -0,0 +1,10 @@
|
|||
#!/usr/bin/env sh
|
||||
# Window swallower for Hyprland
|
||||
|
||||
pid=$(hyprctl activewindow -j | jq '.pid')
|
||||
workspace=$(hyprctl activeworkspace -j | jq '.id')
|
||||
|
||||
hyprctl dispatch movetoworkspacesilent special
|
||||
cmd=$1; shift 1; $cmd "$@"
|
||||
hyprctl dispatch movetoworkspacesilent "$workspace",pid:"$pid"
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue