diff --git a/tofi/tofi-drun.sh b/tofi/tofi-drun.sh index b2938fb..7eaee6f 100755 --- a/tofi/tofi-drun.sh +++ b/tofi/tofi-drun.sh @@ -1,4 +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 +tofi-drun --prompt-text "$ " --height $HEIGHT --config ${HOME}/.dotfiles/tofi/sidebar.toml