summaryrefslogtreecommitdiff
path: root/theme.lua
diff options
context:
space:
mode:
Diffstat (limited to 'theme.lua')
-rw-r--r--theme.lua21
1 files changed, 14 insertions, 7 deletions
diff --git a/theme.lua b/theme.lua
index 72400ee..e36d994 100644
--- a/theme.lua
+++ b/theme.lua
@@ -1,5 +1,6 @@
-- theme handling library
local beautiful = require("beautiful")
+local apply_dpi = beautiful.xresources.apply_dpi
local gears = require("gears")
-- colors
@@ -42,20 +43,26 @@ beautiful.hotkeys_modifiers_fg = lightgray
beautiful.hotkeys_label_bg = darkgray -- ???
-- slider
-beautiful.slider_bar_height = 5
+beautiful.slider_bar_height = apply_dpi(2.5)
beautiful.slider_bar_shape = gears.shape.rounded_rect
-beautiful.slider_handle_width = 17.5
+beautiful.slider_bar_color = beautiful.border_color
+beautiful.slider_handle_width = apply_dpi(10)
beautiful.slider_handle_shape = gears.shape.circle
-beautiful.slider_handle_color = beautiful.border_color
-beautiful.slider_handle_border_color = "#333333"
-beautiful.slider_handle_border_width = 1
+--beautiful.slider_handle_color = beautiful.border_color
+--beautiful.slider_handle_border_color = "#333333"
+--beautiful.slider_handle_border_width = 1
-- progressbar
beautiful.progressbar_fg = beautiful.border_focus
-- margins
-beautiful.margin_leftright = beautiful.xresources.apply_dpi(5)
-beautiful.margin_topbottom = beautiful.xresources.apply_dpi(3)
+beautiful.margin_leftright = apply_dpi(5)
+beautiful.margin_topbottom = apply_dpi(3)
+
+-- calendar
+beautiful.calendar_header_bg_color = "#333333"
+beautiful.calendar_header_border_color = "#222222"
+beautiful.calendar_header_border_width = beautiful.border_width
-- set border on clients
client.connect_signal("focus", function(c) c.border_color = beautiful.border_focus end)