diff options
author | Tim Keller <tjk@tjkeller.xyz> | 2024-10-18 21:49:17 -0500 |
---|---|---|
committer | Tim Keller <tjk@tjkeller.xyz> | 2024-10-18 21:49:17 -0500 |
commit | 923eb46350b1102749eb05cd2120c96cc6a715d0 (patch) | |
tree | 811da20b4195d4b5c65c8ac0090982a4a23f6a7d /theme.lua | |
download | awesome-923eb46350b1102749eb05cd2120c96cc6a715d0.tar.xz awesome-923eb46350b1102749eb05cd2120c96cc6a715d0.zip |
initial commit
Diffstat (limited to 'theme.lua')
-rw-r--r-- | theme.lua | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/theme.lua b/theme.lua new file mode 100644 index 0000000..98f0ee8 --- /dev/null +++ b/theme.lua @@ -0,0 +1,39 @@ +-- theme handling library +local beautiful = require("beautiful") +local gears = require("gears") + +-- colors +local darkgray = "#222222" +local white = "#ffffff" +local lightgray = "#aaaaaa" + +-- themes define colours, icons, font and wallpapers +beautiful.init(gears.filesystem.get_themes_dir() .. "gtk/theme.lua") + +-- gaps +beautiful.useless_gap = 0 +beautiful.gap_single_client = false + +-- overrides +beautiful.tasklist_font_focus = beautiful.font -- prevent bold +beautiful.wibar_height = "18" +beautiful.wibar_bg = darkgray +--beautiful.layoutlist_font = "Monospace 8" +--beautiful.font = "Tamzen 10" +--beautiful.taglist_font = "Tamzen 10" +--beautiful.tasklist_font = beautiful.font +--beautiful.tasklist_align = "center" -- does nothing? + +-- hotkeys menu +beautiful.hotkeys_font = beautiful.font -- TODO make bold +beautiful.hotkeys_description_font = beautiful.font +beautiful.hotkeys_border_color = beautiful.border_focus +beautiful.hotkeys_bg = darkgray +beautiful.hotkeys_fg = white +beautiful.hotkeys_label_fg = white +beautiful.hotkeys_modifiers_fg = lightgray +beautiful.hotkeys_label_bg = darkgray -- ??? + +-- set border on clients +client.connect_signal("focus", function(c) c.border_color = beautiful.border_focus end) +client.connect_signal("unfocus", function(c) c.border_color = beautiful.border_normal end) |