Anthony Debucquoy
9eede5ef5f
This is a first dotfiles config. I think I have a lot more to add tho...
6 lines
332 B
Bash
Executable File
6 lines
332 B
Bash
Executable File
#!/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
|