diff --git a/fake_home/.config/rofi/config.rasi b/fake_home/.config/rofi/config.rasi index aec75d4..e110d9c 100644 --- a/fake_home/.config/rofi/config.rasi +++ b/fake_home/.config/rofi/config.rasi @@ -1,6 +1,6 @@ configuration { modes: [ combi, emoji ]; - combi-modes: [ window, drun, emoji ]; + combi-modes: [ window, drun, emoji, "tabs:/home/sage/.rofi-tabs.sh" ]; show-icons: true; drun { display-name: ""; @@ -11,6 +11,9 @@ configuration { window { display-name: ""; } + tabs { + display-name: ""; + } } @theme "/usr/share/rofi/themes/gruvbox-dark-hard.rasi" @@ -22,4 +25,3 @@ textbox-prompt-sep { inputbar { children: [ "textbox-prompt-sep","entry","case-indicator" ]; } - diff --git a/fake_home/.rofi-tabs.sh b/fake_home/.rofi-tabs.sh new file mode 100755 index 0000000..fbcfc58 --- /dev/null +++ b/fake_home/.rofi-tabs.sh @@ -0,0 +1,6 @@ +if [[ "$1" == "" ]]; then + bt list + exit 0 +fi + +bt activate --focused $(echo "$@" | awk '{print $1}') &> /dev/null