radix/files/awesome/themes/anemofilia/theme.lua

144 lines
5.8 KiB
Lua
Raw Normal View History

2023-08-06 02:30:22 +00:00
--[[
-]]
local themes_path = require("gears.filesystem").get_dir("config").."/themes/"
local rnotification = require("ruled.notification")
local dpi = require("beautiful.xresources").apply_dpi
-- {{{ Main
local theme = {}
theme.dir = themes_path .. "anemofilia"
theme.wallpaper = theme.dir .. "/anemofilia-background.png"
-- }}}
-- {{{ Styles
theme.font = "Meslo LG M DZ 9"
theme.notification_font = theme.font
-- }}}
-- {{{ Colors
theme.fg_normal = "#DDDDDD"
theme.fg_focus = "#8581E0"
theme.fg_urgent = "#DCE081"
theme.bg_normal = "#1A1A1A"
theme.bg_focus = "#313131"
theme.bg_urgent = "#1A1A1A"
theme.bg_systray = theme.bg_normal
theme.tasklist_bg_focus = theme.bg_normal
-- }}}
-- Tasklist
--theme.tasklist_plain_task_name = true
theme.tasklist_disable_icon = true
-- {{{ Borders
theme.useless_gap = dpi(4)
theme.border_width = dpi(1)
theme.border_color_normal = "#3F3F3F"
theme.border_color_active = "#8581E0"
theme.border_color_marked = "#CC9393"
-- }}}
-- {{{ Titlebars
theme.titlebar_bg_focus = "#3F3F3F"
theme.titlebar_bg_normal = "#3F3F3F"
-- }}}
-- {{{ Wibox icons
theme.widget_ac = theme.dir .. "/icons/ac.png"
theme.widget_battery_100 = theme.dir .. "/icons/battery_100.png"
theme.widget_battery_80 = theme.dir .. "/icons/battery_80.png"
theme.widget_battery_60 = theme.dir .. "/icons/battery_60.png"
theme.widget_battery_40 = theme.dir .. "/icons/battery_40.png"
theme.widget_battery_20 = theme.dir .. "/icons/battery_20.png"
theme.widget_mem = theme.dir .. "/icons/mem.png"
theme.widget_cpu = theme.dir .. "/icons/cpu.png"
theme.widget_temp = theme.dir .. "/icons/temp.png"
theme.widget_netdown = theme.dir .. "/icons/net_down.png"
theme.widget_netup = theme.dir .. "/icons/net_up.png"
theme.widget_hdd = theme.dir .. "/icons/hdd.png"
theme.widget_music = theme.dir .. "/icons/note.png"
theme.widget_music_on = theme.dir .. "/icons/note_on.png"
theme.widget_vol = theme.dir .. "/icons/vol.png"
theme.widget_vol_low = theme.dir .. "/icons/vol_low.png"
theme.widget_vol_no = theme.dir .. "/icons/vol_no.png"
theme.widget_vol_mute = theme.dir .. "/icons/vol_mute.png"
-- }}}
-- There are other variable sets
-- overriding the default one when
-- defined, the sets are:
-- [taglist|tasklist]_[bg|fg]_[focus|urgent|occupied|empty|volatile]
-- titlebar_[normal|focus]
-- tooltip_[font|opacity|fg_color|bg_color|border_width|border_color]
-- Example:
--theme.taglist_bg_focus = "#CC9393"
-- }}}
-- {{{ Widgets
-- You can add as many variables as
-- you wish and access them by using
-- beautiful.variable in your rc.lua
-- theme.fg_widget = "#AECF96"
-- theme.fg_center_widget = "#88A175"
-- theme.fg_end_widget = "#FF5656"
-- theme.bg_widget = "#494B4F"
-- theme.border_widget = "#FF8800"
-- }}}
-- {{{ Menu
-- Variables set for theming the menu:
-- menu_[bg|fg]_[normal|focus]
-- menu_[border_color|border_width]
theme.menu_height = dpi(20)
theme.menu_width = dpi(140)
-- }}}
-- {{{ Icons
-- {{{ Taglist
theme.taglist_squares_sel = theme.dir .. "/taglist/square_sel.png"
theme.taglist_squares_unsel = theme.dir .. "/taglist/square_unsel.png"
--theme.taglist_squares_resize = "false"
-- }}}
-- {{{ Misc
theme.awesome_icon = theme.dir .. "/awesome-icon.png"
-- }}}
-- {{{ Layout
theme.layout_tile = theme.dir .. "/layouts/tile.png"
theme.layout_tileleft = theme.dir .. "/layouts/tileleft.png"
theme.layout_tilebottom = theme.dir .. "/layouts/tilebottom.png"
theme.layout_tiletop = theme.dir .. "/layouts/tiletop.png"
theme.layout_fairv = theme.dir .. "/layouts/fairv.png"
theme.layout_fairh = theme.dir .. "/layouts/fairh.png"
theme.layout_max = theme.dir .. "/layouts/max.png"
theme.layout_fullscreen = theme.dir .. "/layouts/fullscreen.png"
theme.layout_magnifier = theme.dir .. "/layouts/magnifier.png"
theme.layout_floating = theme.dir .. "/layouts/floating.png"
-- }}}
-- Set different colors for urgent notifications.
rnotification.connect_signal('request::rules', function()
rnotification.append_rule {
rule = { urgency = 'critical' },
properties = {
bg = '#ff0000',
fg = '#ffffff'
}
}
end)
return theme
-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80