--[[ ░█████╗░███╗░░██╗███████╗███╗░░░███╗░█████╗░███████╗██╗██╗░░░░░██╗░█████╗░ ██╔══██╗████╗░██║██╔════╝████╗░████║██╔══██╗██╔════╝██║██║░░░░░██║██╔══██╗ ███████║██╔██╗██║█████╗░░██╔████╔██║██║░░██║█████╗░░██║██║░░░░░██║███████║ ██╔══██║██║╚████║██╔══╝░░██║╚██╔╝██║██║░░██║██╔══╝░░██║██║░░░░░██║██╔══██║ ██║░░██║██║░╚███║███████╗██║░╚═╝░██║╚█████╔╝██║░░░░░██║███████╗██║██║░░██║ ╚═╝░░╚═╝╚═╝░░╚══╝╚══════╝╚═╝░░░░░╚═╝░╚════╝░╚═╝░░░░░╚═╝╚══════╝╚═╝╚═╝░░╚═╝ ▀▀█▀▀ █░░█ █▀▀ █▀▄▀█ █▀▀ ░░█░░ █▀▀█ █▀▀ █░▀░█ █▀▀ ░░▀░░ ▀░░▀ ▀▀▀ ▀░░░▀ ▀▀▀ -]] 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_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" -- Menu theme.menu_height = dpi(20) theme.menu_width = dpi(140) -- Taglist theme.taglist_squares_sel = theme.dir .. "/taglist/square_sel.png" theme.taglist_squares_unsel = theme.dir .. "/taglist/square_unsel.png" -- 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