rofi: Add run modi, auto-select + fix whitespaces

This commit is contained in:
2020-10-26 13:40:26 +01:00
parent 7a5c898621
commit ca7e82ae64

View File

@@ -1,7 +1,7 @@
// vi: ft=css // vi: ft=css
configuration { configuration {
modi: "window,drun"; modi: "drun,run,window";
matching: "glob"; matching: "glob";
drun-match-fields: "all"; drun-match-fields: "all";
/*display-drun: "Apps";*/ /*display-drun: "Apps";*/
@@ -9,9 +9,12 @@ configuration {
show-icons: true; show-icons: true;
// continous scrolling // continous scrolling
scroll-method: 1; scroll-method: 1;
// Automatically select when only one item is left
auto-select: true;
} }
* { * {
lines: 5; lines: 5;
columns: 1; columns: 1;
@@ -21,7 +24,7 @@ configuration {
text-color: #EFEFEF; text-color: #EFEFEF;
font: "Hack 20"; font: "Hack 20";
} }
#window { #window {
border: 0; border: 0;
border-radius: 4px; border-radius: 4px;
@@ -44,8 +47,7 @@ configuration {
border: 1px; border: 1px;
border-color: @base0D; border-color: @base0D;
} }
#listview { #listview {
background-color: #00000000; background-color: #00000000;
fixed-height: 0; fixed-height: 0;
@@ -54,25 +56,24 @@ configuration {
scrollbar: true; scrollbar: true;
padding: 10px 10px 0px; padding: 10px 10px 0px;
} }
#element { #element {
background-color: #00000000; background-color: #00000000;
border: 0; border: 0;
border-radius: 15px; border-radius: 15px;
padding: 3 0 3 4 ; padding: 3 0 3 4 ;
} }
#element selected { #element selected {
background-color: #00a0e6; background-color: #00a0e6;
text-color: #EFEFEF; text-color: #EFEFEF;
} }
#inputbar { #inputbar {
children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; children: [ prompt,textbox-prompt-colon,entry,case-indicator ];
background-color: #00000000; background-color: #00000000;
} }
#case-indicator { #case-indicator {
background-color: #00000000; background-color: #00000000;
spacing: 0; spacing: 0;
@@ -85,11 +86,10 @@ configuration {
background-color: #00000000; background-color: #00000000;
spacing: 0; spacing: 0;
} }
#textbox-prompt-colon { #textbox-prompt-colon {
background-color: #00000000; background-color: #00000000;
expand: false; expand: false;
str: ":"; str: ":";
margin: 0px 0.3em 0em 0em ; margin: 0px 0.3em 0em 0em ;
} }