Add rofi-tabs script
This commit is contained in:
parent
93ed74f078
commit
a376ece40a
|
@ -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" ];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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