From fcf2b91b7b0a45046a54a9dae5c7f7d9bd37fff3 Mon Sep 17 00:00:00 2001 From: John Mertz Date: Thu, 22 Feb 2024 22:50:00 -0700 Subject: [PATCH] More even background padding --- tofi/tofi-menu.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tofi/tofi-menu.sh b/tofi/tofi-menu.sh index 6f8d893..9229fa4 100755 --- a/tofi/tofi-menu.sh +++ b/tofi/tofi-menu.sh @@ -26,4 +26,4 @@ cd $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/') -exec "./$(find ./ -executable -type f | sed -E 's/\.\///' | ${HOME}/.local/bin/tofi --prompt-text 'Power: ' --height $HEIGHT --config ${HOME}/.dotfiles/tofi/sidebar.toml)" 2>/dev/null +exec "./$(find ./ -executable -type f | sed -E 's/\.\///' | ${HOME}/.local/bin/tofi --prompt-text 'Power: ' --height $HEIGHT --config ${HOME}/.dotfiles/tofi/sidebar.toml --selection-background-padding='5,5,0,5')" 2>/dev/null