From ae8d2e940bb38f0db5fc49a7529c4ef45810775e Mon Sep 17 00:00:00 2001 From: Arkhist Date: Tue, 23 Jul 2019 16:01:17 +0200 Subject: [PATCH] Add rofi config folder --- README.md | 1 + default_config.lua | 4 +- rofi/config | 1 + rofi/themes/paper-float.rasi | 126 +++++++++++++++++++++++++++++++++++ 4 files changed, 130 insertions(+), 2 deletions(-) create mode 100644 rofi/config create mode 100644 rofi/themes/paper-float.rasi diff --git a/README.md b/README.md index b421b19..e2d3052 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # Simple Awesome + As simple as it sounds (not yet though) diff --git a/default_config.lua b/default_config.lua index 45bb6c8..2d61a88 100644 --- a/default_config.lua +++ b/default_config.lua @@ -17,8 +17,8 @@ config.screenshotCmd = "flameshot gui" config.kbSwitchCmd = "setxkbmap" config.kbLayouts = { "fr", "us" } -config.runMenu = "rofi -show run" -config.windowSwitcher = "rofi -show window" +config.runMenu = "rofi -show run -config " .. awful.util.getdir("config") .. "/rofi/config" +config.windowSwitcher = "rofi -show window -config ./rofi" return config \ No newline at end of file diff --git a/rofi/config b/rofi/config new file mode 100644 index 0000000..e02b13b --- /dev/null +++ b/rofi/config @@ -0,0 +1 @@ +rofi.theme: ~/.config/awesome/rofi/themes/paper-float.rasi diff --git a/rofi/themes/paper-float.rasi b/rofi/themes/paper-float.rasi new file mode 100644 index 0000000..bc1940c --- /dev/null +++ b/rofi/themes/paper-float.rasi @@ -0,0 +1,126 @@ +/** + * A floating box version of the paper theme. + * + * User: Qball + * Copyright: Dave Davenport + */ +* { + blue: #0000FF; + white: #FFFFFF; + black: #000000; + grey: #eeeeee; + + spacing: 2; + background-color: #00000000; + border-color: #444444FF; + anchor: north; + location: center; +} +#window { + transparency: "screenshot"; + background-color: #00000000; + border: 0; + padding: 0% 0% 1em 0%; + x-offset: 0; + y-offset: -10%; +} +#mainbox { + padding: 0px; + border: 0; + spacing: 1%; +} +#message { + border: 2px; + padding: 1em; + background-color: @white; + text-color: @back; +} +#textbox normal { + text-color: #002B36FF; + padding: 0; + border: 0; +} +#listview { + fixed-height: 1; + border: 2px; + padding: 1em; + reverse: false; + + columns: 1; + background-color: @white; +} +#element { + border: 0; + padding: 2px; + highlight: bold ; +} +#element normal.normal { + text-color: #002B36FF; + background-color: #F5F5F500; +} +#element normal.urgent { + text-color: #D75F00FF; + background-color: #F5F5F5FF; +} +#element normal.active { + text-color: #005F87FF; + background-color: #F5F5F5FF; +} +#element selected.normal { + text-color: #F5F5F5FF; + background-color: #4271AEFF; +} +#element selected.urgent { + text-color: #F5F5F5FF; + background-color: #D75F00FF; +} +#element selected.active { + text-color: #F5F5F5FF; + background-color: #005F87FF; +} +#element alternate.normal { + text-color: #002B36FF; + background-color: #D0D0D0FF; +} +#element alternate.urgent { + text-color: #D75F00FF; + background-color: #D0D0D0FF; +} +#element alternate.active { + text-color: #005F87FF; + background-color: #D0D0D0FF; +} +#scrollbar { + border: 0; + padding: 0; +} +#inputbar { + spacing: 0; + border: 2px; + padding: 0.5em 1em; + background-color: @grey; + index: 0; +} +#inputbar normal { + foreground-color: #002B36FF; + background-color: #F5F5F500; +} + +#mode-switcher { + border: 2px; + padding: 0.5em 1em; + background-color: @grey; + index: 10; +} +#button selected { + text-color: #4271AEFF; +} +#inputbar { + children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; +} +#textbox-prompt-colon { + expand: false; + str: ":"; + margin: 0px 0.3em 0em 0em ; + text-color: @normal-foreground; +}