Simple `tofi` dmenu config
Dipping toes in the water again. Wofi is very slow and I don't like that Rofi requires unofficial patches for Wayland. `
This commit is contained in:
parent
ad27c1f783
commit
bbaec67a8c
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
HEIGHT=$(swaymsg -t get_outputs | tr '\n' ' ' | sed -e 's/ */ /g' | sed -e 's/\(.*"focused": [a-z]*\),/\1\n/' | less | grep '"focused": true' | sed -e 's/.*"rect": {[^}]*"height": \([0-9]*\).*/\1/')
|
||||
/usr/bin/tofi-drun --prompt-text "$ " --height $HEIGHT --config ${HOME}/.dotfiles/tofi/sidebar.toml
|
Loading…
Reference in New Issue