Remove absolute path
Allows usage with distrobox-export path
This commit is contained in:
parent
285fde9b6c
commit
f0ea056531
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/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/')
|
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
|
tofi-drun --prompt-text "$ " --height $HEIGHT --config ${HOME}/.dotfiles/tofi/sidebar.toml
|
||||||
|
|
Loading…
Reference in New Issue