Add rofi-tabs script
This commit is contained in:
parent
93ed74f078
commit
a376ece40a
|
@ -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" ];
|
||||
}
|
||||
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
if [[ "$1" == "" ]]; then
|
||||
bt list
|
||||
exit 0
|
||||
fi
|
||||
|
||||
bt activate --focused $(echo "$@" | awk '{print $1}') &> /dev/null
|
Loading…
Reference in New Issue