mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-18 13:54:36 -05:00
Slight tweak to default theme
This commit is contained in:
parent
b83f1504d5
commit
474e3b3d63
4 changed files with 27 additions and 21 deletions
|
@ -54,6 +54,11 @@
|
|||
border: 2px dash 0px 0px ;
|
||||
padding: 2px 0px 0px ;
|
||||
}
|
||||
#window.mainbox.listview.box {
|
||||
foreground: @separatorcolor;
|
||||
spacing: 2px ;
|
||||
scrollbar: true;
|
||||
}
|
||||
#window.mainbox.listview.element {
|
||||
border: 0;
|
||||
padding: 1px ;
|
||||
|
@ -100,23 +105,18 @@
|
|||
handle-width: 8px ;
|
||||
padding: 0;
|
||||
}
|
||||
#window.mainbox.listview.box {
|
||||
scrollbar: true;
|
||||
spacing: 2px ;
|
||||
}
|
||||
#window.mainbox.sidebar.box {
|
||||
border: 2px dash 0px 0px ;
|
||||
border: 2px dash 0px 0px ;
|
||||
foreground: @separatorcolor;
|
||||
}
|
||||
#window.mainbox.sidebar.button.selected {
|
||||
foreground: @selected-normal-foreground;
|
||||
background: @selected-normal-background;
|
||||
}
|
||||
#window.mainbox.inputbar {
|
||||
text: @normal-foreground;
|
||||
spacing: 0;
|
||||
}
|
||||
#window.mainbox.inputbar.box {
|
||||
border: 0px ;
|
||||
}
|
||||
#window.mainbox.inputbar.normal {
|
||||
foreground: @foreground;
|
||||
}
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
padding: 0;
|
||||
}
|
||||
#window.mainbox.message.box {
|
||||
border: 1px dash 0px 0px ;
|
||||
border: 2px 0px 0px ;
|
||||
foreground: @separatorcolor;
|
||||
padding: 2px 0px 0px ;
|
||||
}
|
||||
|
@ -54,6 +54,12 @@
|
|||
border: 2px dash 0px 0px ;
|
||||
padding: 2px 0px 0px ;
|
||||
}
|
||||
#window.mainbox.listview.box {
|
||||
border: 2px 0px 0px ;
|
||||
foreground: @separatorcolor;
|
||||
spacing: 2px ;
|
||||
scrollbar: true;
|
||||
}
|
||||
#window.mainbox.listview.element {
|
||||
border: 0;
|
||||
padding: 1px ;
|
||||
|
@ -100,24 +106,18 @@
|
|||
handle-width: 8px ;
|
||||
padding: 0;
|
||||
}
|
||||
#window.mainbox.listview.box {
|
||||
border: 2px 0px 0px ;
|
||||
scrollbar: true;
|
||||
spacing: 2px ;
|
||||
}
|
||||
#window.mainbox.sidebar.box {
|
||||
border: 2px 0px 0px ;
|
||||
border: 2px 0px 0px ;
|
||||
foreground: @separatorcolor;
|
||||
}
|
||||
#window.mainbox.sidebar.button.selected {
|
||||
foreground: @selected-normal-foreground;
|
||||
background: @selected-normal-background;
|
||||
}
|
||||
#window.mainbox.inputbar {
|
||||
text: @normal-foreground;
|
||||
spacing: 0;
|
||||
}
|
||||
#window.mainbox.inputbar.box {
|
||||
border: 0px ;
|
||||
}
|
||||
#window.mainbox.inputbar.normal {
|
||||
foreground: @foreground;
|
||||
}
|
||||
|
|
|
@ -80,6 +80,9 @@ const char *default_theme =
|
|||
"#window.mainbox.message.normal {"
|
||||
" foreground: @foreground;"
|
||||
"}"
|
||||
"#window.mainbox.listview.box {"
|
||||
" foreground: @separatorcolor;"
|
||||
"}"
|
||||
"#window.mainbox.listview {"
|
||||
" fixed-height: 0;"
|
||||
" border: 2px dash 0px 0px ;"
|
||||
|
@ -130,6 +133,7 @@ const char *default_theme =
|
|||
"}"
|
||||
"#window.mainbox.sidebar.box {"
|
||||
" border: 2px dash 0px 0px ;"
|
||||
" foreground: @separatorcolor;"
|
||||
"}"
|
||||
"#window.mainbox.sidebar button selected {"
|
||||
" background: @selected-normal-background;"
|
||||
|
@ -137,12 +141,10 @@ const char *default_theme =
|
|||
"}"
|
||||
"#window.mainbox.inputbar {"
|
||||
" spacing: 0;"
|
||||
" text: @normal-foreground;"
|
||||
"}"
|
||||
"#window.mainbox.inputbar.box {"
|
||||
" border: 0px 0px 0px 0px;"
|
||||
" "
|
||||
"}"
|
||||
"#window.mainbox.inputbar.normal {"
|
||||
" foreground: @foreground;"
|
||||
"}";
|
||||
#endif
|
||||
|
|
|
@ -765,12 +765,16 @@ void rofi_theme_convert_old ( void )
|
|||
rofi_theme_parse_string ( str );
|
||||
const char *const str2 = "#window.mainbox.sidebar box { border: 0px; }";
|
||||
rofi_theme_parse_string ( str2 );
|
||||
const char *const str3 = "#window.mainbox.message box { border: 0px; }";
|
||||
rofi_theme_parse_string ( str3 );
|
||||
}
|
||||
else if ( g_strcmp0 ( config.separator_style, "solid" ) == 0 ) {
|
||||
const char *const str = "#window.mainbox.listview box { border: 2px solid 0px 0px 0px; }";
|
||||
rofi_theme_parse_string ( str );
|
||||
const char *const str2 = "#window.mainbox.sidebar box { border: 2px solid 0px 0px 0px; }";
|
||||
rofi_theme_parse_string ( str2 );
|
||||
const char *const str3 = "#window.mainbox.message box { border: 2px solid 0px 0px 0px; }";
|
||||
rofi_theme_parse_string ( str3 );
|
||||
} /* dash is default */
|
||||
}
|
||||
/* Line Margin */
|
||||
|
|
Loading…
Reference in a new issue