Update default rofi theme and apply it to rofi's window mode

This commit is contained in:
Alice Gaudon 2019-07-23 16:35:30 +02:00
parent ae8d2e940b
commit 4fa6d66d84
3 changed files with 47 additions and 34 deletions

View File

@ -17,8 +17,8 @@ config.screenshotCmd = "flameshot gui"
config.kbSwitchCmd = "setxkbmap" config.kbSwitchCmd = "setxkbmap"
config.kbLayouts = { "fr", "us" } config.kbLayouts = { "fr", "us" }
config.runMenu = "rofi -show run -config " .. awful.util.getdir("config") .. "/rofi/config" config.runMenu = "rofi -show run -config " .. awful.util.getdir("config") .. "/rofi/themes/paper-float.rasi"
config.windowSwitcher = "rofi -show window -config ./rofi" config.windowSwitcher = "rofi -show window -config " .. awful.util.getdir("config") .. "/rofi/themes/paper-float.rasi"
return config return config

View File

@ -1 +0,0 @@
rofi.theme: ~/.config/awesome/rofi/themes/paper-float.rasi

View File

@ -5,16 +5,22 @@
* Copyright: Dave Davenport * Copyright: Dave Davenport
*/ */
* { * {
background: #222222;
active-background: #0005;
active-background-selected: #fff1;
text: #eeeeee;
blue: #0000FF; blue: #0000FF;
white: #FFFFFF;
black: #000000; black: #000000;
grey: #eeeeee; grey: #eeeeee;
spacing: 2; spacing: 2;
background-color: #00000000; background-color: #00000000;
border-color: #444444FF; border-color: #fff2;
anchor: north; anchor: north;
location: center; location: center;
highlight: bold #fff;
} }
#window { #window {
transparency: "screenshot"; transparency: "screenshot";
@ -32,11 +38,11 @@
#message { #message {
border: 2px; border: 2px;
padding: 1em; padding: 1em;
background-color: @white; background-color: @background;
text-color: @back; text-color: @text;
} }
#textbox normal { #textbox normal {
text-color: #002B36FF; text-color: @text;
padding: 0; padding: 0;
border: 0; border: 0;
} }
@ -47,48 +53,47 @@
reverse: false; reverse: false;
columns: 1; columns: 1;
background-color: @white; background-color: @background;
} }
#element { #element {
border: 0; border: 0;
padding: 2px; padding: 2px;
highlight: bold ;
} }
#element normal.normal { #element normal.normal {
text-color: #002B36FF; text-color: @text;
background-color: #F5F5F500; background-color: @background;
} }
#element normal.urgent { #element normal.urgent {
text-color: #D75F00FF; text-color: @text;
background-color: #F5F5F5FF; background-color: @background;
} }
#element normal.active { #element normal.active {
text-color: #005F87FF; text-color: @text;
background-color: #F5F5F5FF; background-color: @active-background;
} }
#element selected.normal { #element selected.normal {
text-color: #F5F5F5FF; text-color: @text;
background-color: #4271AEFF; background-color: #fff1;
} }
#element selected.urgent { #element selected.urgent {
text-color: #F5F5F5FF; text-color: @text;
background-color: #D75F00FF; background-color: @background;
} }
#element selected.active { #element selected.active {
text-color: #F5F5F5FF; text-color: @text;
background-color: #005F87FF; background-color: @active-background-selected;
} }
#element alternate.normal { #element alternate.normal {
text-color: #002B36FF; text-color: @text;
background-color: #D0D0D0FF; background-color: @background;
} }
#element alternate.urgent { #element alternate.urgent {
text-color: #D75F00FF; text-color: @text;
background-color: #D0D0D0FF; background-color: @background;
} }
#element alternate.active { #element alternate.active {
text-color: #005F87FF; text-color: @text;
background-color: #D0D0D0FF; background-color: @active-background;
} }
#scrollbar { #scrollbar {
border: 0; border: 0;
@ -98,29 +103,38 @@
spacing: 0; spacing: 0;
border: 2px; border: 2px;
padding: 0.5em 1em; padding: 0.5em 1em;
background-color: @grey; background-color: @background;
index: 0; index: 0;
} }
#inputbar normal { #inputbar normal {
foreground-color: #002B36FF; foreground-color: @text;
background-color: #F5F5F500; background-color: @background;
} }
#mode-switcher { #mode-switcher {
border: 2px; border: 2px;
padding: 0.5em 1em; padding: 0.5em 1em;
background-color: @grey; background-color: @background;
index: 10; index: 10;
} }
#button selected { #button selected {
text-color: #4271AEFF; text-color: @text;
} }
#inputbar { #inputbar {
children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; children: [ prompt,textbox-prompt-colon,entry,case-indicator ];
} }
#prompt {
text-color: @text;
}
#entry {
text-color: @text;
}
#case-indicator {
text-color: @text;
}
#textbox-prompt-colon { #textbox-prompt-colon {
expand: false; expand: false;
str: ":"; str: ":";
margin: 0px 0.3em 0em 0em ; margin: 0px 0.3em 0em 0em ;
text-color: @normal-foreground; text-color: @text;
} }