Add rofi-tabs script

This commit is contained in:
Sage Vaillancourt 2023-02-18 15:38:39 -05:00
parent 93ed74f078
commit a376ece40a
2 changed files with 10 additions and 2 deletions

View File

@ -1,6 +1,6 @@
configuration { configuration {
modes: [ combi, emoji ]; modes: [ combi, emoji ];
combi-modes: [ window, drun, emoji ]; combi-modes: [ window, drun, emoji, "tabs:/home/sage/.rofi-tabs.sh" ];
show-icons: true; show-icons: true;
drun { drun {
display-name: ""; display-name: "";
@ -11,6 +11,9 @@ configuration {
window { window {
display-name: ""; display-name: "";
} }
tabs {
display-name: "";
}
} }
@theme "/usr/share/rofi/themes/gruvbox-dark-hard.rasi" @theme "/usr/share/rofi/themes/gruvbox-dark-hard.rasi"
@ -22,4 +25,3 @@ textbox-prompt-sep {
inputbar { inputbar {
children: [ "textbox-prompt-sep","entry","case-indicator" ]; children: [ "textbox-prompt-sep","entry","case-indicator" ];
} }

6
fake_home/.rofi-tabs.sh Executable file
View File

@ -0,0 +1,6 @@
if [[ "$1" == "" ]]; then
bt list
exit 0
fi
bt activate --focused $(echo "$@" | awk '{print $1}') &> /dev/null