123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176 |
- -- Init theme, return it at the end
- local theme = {}
- local dpi = require("beautiful.xresources").apply_dpi
- -- Theme working directory
- theme.wd = "~/.config/awesome/themes/gruvbox/"
- -- wallpaper
- theme.wallpaper = theme.wd .. "wallpapers/background.png"
- -- awesome icon
- theme.awesome_icon = theme.wd .. "icons/aorus.png"
- theme.play_icon = theme.wd .. "icons/play.png"
- theme.pause_icon = theme.wd .. "icons/pause.png"
- theme.wired = theme.wd .. "icons/wired.png"
- theme.wired_na = theme.wd .. "icons/wired_na.png"
- theme.vpn = theme.wd .. "icons/vpn.png"
- theme.systray_visible_icon = theme.wd .. "icons/systray_visible_icon.png"
- theme.systray_hidden_icon = theme.wd .. "icons/systray_hidden_icon.png"
- -- fonts
- theme.base_font = "JetBrainsMono Nerd Font 10"
- theme.font = theme.base_font
- theme.hotkeys_font = theme.base_font
- theme.taglist_font = theme.base_font
- theme.icon_font = theme.base_font
- theme.hotkeys_description_font = theme.base_font
- -- colors
- theme.bg_normal = "#28282880"
- theme.bg_focus = "#3C383680"
- theme.fg_normal = "#ebdbb2"
- theme.fg_urgent = "#cc241d"
- theme.border_normal = "#928374"
- theme.border_focus = "#fabd2f"
- theme.bg_urgent = theme.bg_normal
- theme.bg_minimize = theme.bg_focus
- theme.bg_systray = theme.bg_normal
- theme.hotkeys_bg = theme.bg_normal
- theme.fg_focus = theme.fg_normal
- theme.fg_minimize = theme.fg_normal
- theme.hotkeys_fg = theme.fg_normal
- theme.hotkeys_border_color = theme.border_focus
- theme.hotkeys_border_width = theme.border_width
- theme.hotkeys_modifiers_fg = theme.fg_urgent
- -- borders and gaps
- theme.useless_gap = dpi(22)
- theme.border_width = dpi(2)
- theme.border_color_normal = "#fabd2f"
- theme.border_color_active = "#EBDBB2"
- theme.border_color_marked = "#928374"
- -- taglist
- theme.taglist_squares_sel = theme.wd .. "tags/focus.png"
- theme.taglist_squares_unsel = theme.wd .. "tags/base.png"
- theme.taglist_font = theme.taglist_font
- -- tasklist
- theme.tasklist_disable_icon = true
- -- menu
- theme.menu_submenu_icon = theme.wd .. "icons/submenu.png"
- theme.menu_height = dpi(20)
- theme.menu_width = dpi(180)
- -- layouts icons
- theme.layout_fairh = theme.wd .. "layouts/fairh.png"
- theme.layout_fairv = theme.wd .. "layouts/fairv.png"
- theme.layout_floating = theme.wd .. "layouts/floating.png"
- theme.layout_magnifier = theme.wd .. "layouts/magnifier.png"
- theme.layout_max = theme.wd .. "layouts/max.png"
- theme.layout_fullscreen = theme.wd .. "layouts/fullscreen.png"
- theme.layout_tilebottom = theme.wd .. "layouts/tilebottom.png"
- theme.layout_tileleft = theme.wd .. "layouts/tileleft.png"
- theme.layout_tile = theme.wd .. "layouts/tile.png"
- theme.layout_tiletop = theme.wd .. "layouts/tiletop.png"
- theme.layout_spiral = theme.wd .. "layouts/spiral.png"
- theme.layout_dwindle = theme.wd .. "layouts/dwindle.png"
- theme.layout_cornernw = theme.wd .. "layouts/cornernw.png"
- theme.layout_cornerne = theme.wd .. "layouts/cornerne.png"
- theme.layout_cornersw = theme.wd .. "layouts/cornersw.png"
- theme.layout_cornerse = theme.wd .. "layouts/cornerse.png"
- theme.layout_mstab = theme.wd .. "layouts/mstab.png"
- theme.layout_centered = theme.wd .. "layouts/centered.png"
- theme.layout_deck = theme.wd .. "layouts/deck.png"
- theme.layout_equalarea = theme.wd .. "layouts/equalarea.png"
- theme.layout_horizontal = theme.wd .. "layouts/horizontal.png"
- theme.layout_vertical = theme.wd .. "layouts/vertical.png"
- -- YAWL required theme settings
- theme.yawl_font = theme.font
- theme.yawl_bg = "#458588"
- theme.yawl_bg_ok = "#98971a"
- theme.yawl_bg_nok = "#cc241d"
- theme.yawl_fg = "#FFFFFF"
- theme.yawl_spotify_absent = theme.bg_normal
- theme.yawl_spotify_absent_fg = theme.fg_normal
- theme.yawl_spotify_pause = "#d79921"
- theme.yawl_spotify_play = "#d3869b"
- theme.yawl_battery_full = theme.yawl_bg_ok
- theme.yawl_battery_mid = "#d79921"
- theme.yawl_battery_low = theme.yawl_bg_nok
- theme.yawl_pomodoro_absent = theme.bg_normal
- theme.yawl_pomodoro = theme.fg_normal
- theme.yawl_pomodoro_working = "#d79921"
- theme.yawl_pomodoro_break = "#689d6a"
- theme.yawl_pomodoro_paused = "#cc241d"
- -- {{{ Titlebar
- theme.titlebar_close_button_focus = theme.wd .. "titlebars/close_focus.png"
- theme.titlebar_close_button_normal = theme.wd .. "titlebars/close_normal.png"
- theme.titlebar_ontop_button_focus_active = theme.wd .. "titlebars/ontop_focus_active.png"
- theme.titlebar_ontop_button_normal_active = theme.wd .. "titlebars/ontop_normal_active.png"
- theme.titlebar_ontop_button_focus_inactive = theme.wd .. "titlebars/ontop_focus_inactive.png"
- theme.titlebar_ontop_button_normal_inactive = theme.wd .. "titlebars/ontop_normal_inactive.png"
- theme.titlebar_minimize_button_focus = theme.wd .. "titlebars/minimize_focus.png"
- theme.titlebar_minimize_button_normal = theme.wd .. "titlebars/minimize_normal.png"
- --theme.titlebar_sticky_button_focus_active = theme.wd .. "titlebar/sticky_focus_active.png"
- --theme.titlebar_sticky_button_normal_active = theme.wd .. "titlebar/sticky_normal_active.png"
- --theme.titlebar_sticky_button_focus_inactive = theme.wd .. "titlebar/sticky_focus_inactive.png"
- --theme.titlebar_sticky_button_normal_inactive = theme.wd .. "titlebar/sticky_normal_inactive.png"
- --theme.titlebar_floating_button_focus_active = theme.wd .. "titlebar/floating_focus_active.png"
- --theme.titlebar_floating_button_normal_active = theme.wd .. "titlebar/floating_normal_active.png"
- --theme.titlebar_floating_button_focus_inactive = theme.wd .. "titlebar/floating_focus_inactive.png"
- --theme.titlebar_floating_button_normal_inactive = theme.wd .. "titlebar/floating_normal_inactive.png"
- theme.titlebar_maximized_button_focus_active = theme.wd .. "titlebars/maximized_focus_active.png"
- theme.titlebar_maximized_button_normal_active = theme.wd .. "titlebars/maximized_normal_active.png"
- theme.titlebar_maximized_button_focus_inactive = theme.wd .. "titlebars/maximized_focus_inactive.png"
- theme.titlebar_maximized_button_normal_inactive = theme.wd .. "titlebars/maximized_normal_inactive.png"
- -- }}}
- -- Naughty
- theme.naughty_bg_urgent = theme.bg_urgent
- theme.naughty_fg_urgent = theme.fg_urgent
- -- Define the icon theme for application icons. If not set then the icons
- -- from /usr/share/icons and /usr/share/icons/hicolor will be used.
- theme.icon_theme = "Gruvbox-Material-Dark"
- theme.task_preview_widget_border_radius = 0 -- Border radius of the widget (With AA)
- theme.task_preview_widget_bg = theme.bg_normal -- The bg color of the widget
- theme.task_preview_widget_border_color = theme.border_focus -- The border color of the widget
- theme.task_preview_widget_border_width = dpi(2) -- The border width of the widget
- theme.task_preview_widget_margin = 0
- theme.window_switcher_widget_bg = theme.bg_normal -- The bg color of the widget
- theme.window_switcher_widget_border_width = dpi(2) -- The border width of the widget
- theme.window_switcher_widget_border_radius = 0 -- The border radius of the widget
- theme.window_switcher_widget_border_color = theme.border_focus -- The border color of the widget
- theme.window_switcher_clients_spacing = 20 -- The space between each client item
- theme.window_switcher_client_icon_horizontal_spacing = 5 -- The space between client icon and text
- theme.window_switcher_client_width = 300 -- The width of one client widget
- theme.window_switcher_client_height = 300 -- The height of one client widget
- theme.window_switcher_client_margins = 10 -- The margin between the content and the border of the widget
- theme.window_switcher_thumbnail_margins = 10 -- The margin between one client thumbnail and the rest of the widget
- theme.thumbnail_scale = false -- If set to true, the thumbnails fit policy will be set to "fit" instead of "auto"
- theme.window_switcher_name_margins = 10 -- The margin of one clients title to the rest of the widget
- theme.window_switcher_name_valign = "center" -- How to vertically align one clients title
- theme.window_switcher_name_forced_width = 200 -- The width of one title
- theme.window_switcher_name_font = "JetBrainsMono Nerd Font 10" -- The font of all titles
- theme.window_switcher_name_normal_color = theme.border_normal -- The color of one title if the client is unfocused
- theme.window_switcher_name_focus_color = theme.fg_focus -- The color of one title if the client is focused
- theme.window_switcher_icon_valign = "center" -- How to vertically align the one icon
- theme.window_switcher_icon_width = 10
- return theme
|