First Commit
This is a first dotfiles config. I think I have a lot more to add tho...
This commit is contained in:
5
bin/.bin/WindowMinimiser
Executable file
5
bin/.bin/WindowMinimiser
Executable file
@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
hiddens=$(bspc query --nodes --node .hidden | nl -w1 -s' ')
|
||||
window_choice=$(echo "$hiddens" | cut -d ' ' -f 2 | xargs -L 1 bspc query -T -n | jq -r .client.className | nl -w1 -s' ' | dmenu -l 10 -i | cut -d ' ' -f 1)
|
||||
echo "${hiddens}" | awk 'NR == n {print $2}' n=$window_choice | xargs -I{} bspc node {} --flag hidden
|
Reference in New Issue
Block a user