forked from ashpie/simple-awesome
Changed rofi themeing
This commit is contained in:
parent
70f5226ebf
commit
17c5b6d71a
@ -5,6 +5,7 @@
|
|||||||
* Copyright: Dave Davenport
|
* Copyright: Dave Davenport
|
||||||
*/
|
*/
|
||||||
* {
|
* {
|
||||||
|
font: "Source Code Pro 11";
|
||||||
background: #222222;
|
background: #222222;
|
||||||
active-background: #0005;
|
active-background: #0005;
|
||||||
active-background-selected: #fff1;
|
active-background-selected: #fff1;
|
||||||
@ -22,6 +23,7 @@
|
|||||||
|
|
||||||
highlight: bold #fff;
|
highlight: bold #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
#window {
|
#window {
|
||||||
transparency: "screenshot";
|
transparency: "screenshot";
|
||||||
background-color: #00000000;
|
background-color: #00000000;
|
||||||
@ -30,22 +32,26 @@
|
|||||||
x-offset: 0;
|
x-offset: 0;
|
||||||
y-offset: -10%;
|
y-offset: -10%;
|
||||||
}
|
}
|
||||||
|
|
||||||
#mainbox {
|
#mainbox {
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
border: 0;
|
border: 0;
|
||||||
spacing: 1%;
|
spacing: 1%;
|
||||||
}
|
}
|
||||||
|
|
||||||
#message {
|
#message {
|
||||||
border: 2px;
|
border: 2px;
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
background-color: @background;
|
background-color: @background;
|
||||||
text-color: @text;
|
text-color: @text;
|
||||||
}
|
}
|
||||||
|
|
||||||
#textbox normal {
|
#textbox normal {
|
||||||
text-color: @text;
|
text-color: @text;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
border: 0;
|
border: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#listview {
|
#listview {
|
||||||
fixed-height: 1;
|
fixed-height: 1;
|
||||||
border: 2px;
|
border: 2px;
|
||||||
@ -55,50 +61,62 @@
|
|||||||
columns: 1;
|
columns: 1;
|
||||||
background-color: @background;
|
background-color: @background;
|
||||||
}
|
}
|
||||||
|
|
||||||
#element {
|
#element {
|
||||||
border: 0;
|
border: 0;
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#element normal.normal {
|
#element normal.normal {
|
||||||
text-color: @text;
|
text-color: @text;
|
||||||
background-color: @background;
|
background-color: @background;
|
||||||
}
|
}
|
||||||
|
|
||||||
#element normal.urgent {
|
#element normal.urgent {
|
||||||
text-color: @text;
|
text-color: @text;
|
||||||
background-color: @background;
|
background-color: @background;
|
||||||
}
|
}
|
||||||
|
|
||||||
#element normal.active {
|
#element normal.active {
|
||||||
text-color: @text;
|
text-color: @text;
|
||||||
background-color: @active-background;
|
background-color: @active-background;
|
||||||
}
|
}
|
||||||
|
|
||||||
#element selected.normal {
|
#element selected.normal {
|
||||||
text-color: @text;
|
text-color: @text;
|
||||||
background-color: #fff1;
|
background-color: #fff1;
|
||||||
}
|
}
|
||||||
|
|
||||||
#element selected.urgent {
|
#element selected.urgent {
|
||||||
text-color: @text;
|
text-color: @text;
|
||||||
background-color: @background;
|
background-color: @background;
|
||||||
}
|
}
|
||||||
|
|
||||||
#element selected.active {
|
#element selected.active {
|
||||||
text-color: @text;
|
text-color: @text;
|
||||||
background-color: @active-background-selected;
|
background-color: @active-background-selected;
|
||||||
}
|
}
|
||||||
|
|
||||||
#element alternate.normal {
|
#element alternate.normal {
|
||||||
text-color: @text;
|
text-color: @text;
|
||||||
background-color: @background;
|
background-color: @background;
|
||||||
}
|
}
|
||||||
|
|
||||||
#element alternate.urgent {
|
#element alternate.urgent {
|
||||||
text-color: @text;
|
text-color: @text;
|
||||||
background-color: @background;
|
background-color: @background;
|
||||||
}
|
}
|
||||||
|
|
||||||
#element alternate.active {
|
#element alternate.active {
|
||||||
text-color: @text;
|
text-color: @text;
|
||||||
background-color: @active-background;
|
background-color: @active-background;
|
||||||
}
|
}
|
||||||
|
|
||||||
#scrollbar {
|
#scrollbar {
|
||||||
border: 0;
|
border: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#inputbar {
|
#inputbar {
|
||||||
spacing: 0;
|
spacing: 0;
|
||||||
border: 2px;
|
border: 2px;
|
||||||
@ -106,6 +124,7 @@
|
|||||||
background-color: @background;
|
background-color: @background;
|
||||||
index: 0;
|
index: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#inputbar normal {
|
#inputbar normal {
|
||||||
foreground-color: @text;
|
foreground-color: @text;
|
||||||
background-color: @background;
|
background-color: @background;
|
||||||
@ -117,21 +136,27 @@
|
|||||||
background-color: @background;
|
background-color: @background;
|
||||||
index: 10;
|
index: 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
#button selected {
|
#button selected {
|
||||||
text-color: @text;
|
text-color: @text;
|
||||||
}
|
}
|
||||||
|
|
||||||
#inputbar {
|
#inputbar {
|
||||||
children: [ prompt,textbox-prompt-colon,entry,case-indicator ];
|
children: [ prompt,textbox-prompt-colon,entry,case-indicator ];
|
||||||
}
|
}
|
||||||
|
|
||||||
#prompt {
|
#prompt {
|
||||||
text-color: @text;
|
text-color: @text;
|
||||||
}
|
}
|
||||||
|
|
||||||
#entry {
|
#entry {
|
||||||
text-color: @text;
|
text-color: @text;
|
||||||
}
|
}
|
||||||
|
|
||||||
#case-indicator {
|
#case-indicator {
|
||||||
text-color: @text;
|
text-color: @text;
|
||||||
}
|
}
|
||||||
|
|
||||||
#textbox-prompt-colon {
|
#textbox-prompt-colon {
|
||||||
expand: false;
|
expand: false;
|
||||||
str: ":";
|
str: ":";
|
||||||
|
13
config.lua
13
config.lua
@ -4,12 +4,8 @@
|
|||||||
local awful = require("awful")
|
local awful = require("awful")
|
||||||
local naughty = require("naughty")
|
local naughty = require("naughty")
|
||||||
|
|
||||||
local theme = require("theme")
|
|
||||||
|
|
||||||
local config = {}
|
local config = {}
|
||||||
|
|
||||||
local rofi_font = "\"" .. theme.mono_font .. "\""
|
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Awesome WM
|
-- Awesome WM
|
||||||
--
|
--
|
||||||
@ -23,8 +19,8 @@ config.awesome = {
|
|||||||
|
|
||||||
-- Application launcher
|
-- Application launcher
|
||||||
application_launcher_check = "rofi -version",
|
application_launcher_check = "rofi -version",
|
||||||
application_launcher = "rofi -show drun -modi drun -show-icons -config " .. awful.util.getdir("config") .. "/assets/rofi/themes/paper-float.rasi -font " .. rofi_font,
|
application_launcher = "rofi -show drun -modi drun -show-icons -config " .. awful.util.getdir("config") .. "/assets/rofi/themes/paper-float.rasi",
|
||||||
application_launcher_cmd = "rofi -show run -config " .. awful.util.getdir("config") .. "/assets/rofi/themes/paper-float.rasi -font " .. rofi_font,
|
application_launcher_cmd = "rofi -show run -config " .. awful.util.getdir("config") .. "/assets/rofi/themes/paper-float.rasi",
|
||||||
|
|
||||||
-- Screen locker
|
-- Screen locker
|
||||||
lock_command = "i3lock --blur=5 -f -k --time-color=ffffffff --date-color=ffffffff --indicator --ring-color=aaaaaaaa",
|
lock_command = "i3lock --blur=5 -f -k --time-color=ffffffff --date-color=ffffffff --indicator --ring-color=aaaaaaaa",
|
||||||
@ -62,9 +58,6 @@ config.awesome = {
|
|||||||
-- config.awesome.editor = "vi"
|
-- config.awesome.editor = "vi"
|
||||||
config.awesome.editor = "code"
|
config.awesome.editor = "code"
|
||||||
|
|
||||||
-- Default text editor command
|
|
||||||
config.awesome.editor_cmd = config.awesome.terminal .. " -e " .. config.awesome.editor
|
|
||||||
|
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Keys / Hotkeys / Shortcuts
|
-- Keys / Hotkeys / Shortcuts
|
||||||
@ -203,7 +196,7 @@ config.theme = awful.util.getdir("config") .. "/theme.lua"
|
|||||||
config.screenshot_utility_command = "flameshot gui"
|
config.screenshot_utility_command = "flameshot gui"
|
||||||
|
|
||||||
-- Run menu
|
-- Run menu
|
||||||
config.windowSwitcher = "rofi -show window -config " .. awful.util.getdir("config") .. "/assets/rofi/themes/paper-float.rasi -font " .. rofi_font
|
config.windowSwitcher = "rofi -show window -config " .. awful.util.getdir("config") .. "/assets/rofi/themes/paper-float.rasi"
|
||||||
|
|
||||||
-- Media control
|
-- Media control
|
||||||
config.volume_osd_timeout = 2
|
config.volume_osd_timeout = 2
|
||||||
|
Loading…
Reference in New Issue
Block a user