diff options
Diffstat (limited to 'config.dot/awesome.link/themes')
53 files changed, 344 insertions, 103 deletions
diff --git a/config.dot/awesome.link/themes/multicolor/icons/ac.png b/config.dot/awesome.link/themes/multicolor/icons/ac.png Binary files differnew file mode 100644 index 0000000..41f49c5 --- /dev/null +++ b/config.dot/awesome.link/themes/multicolor/icons/ac.png diff --git a/config.dot/awesome.link/themes/multicolor/icons/bat.png b/config.dot/awesome.link/themes/multicolor/icons/bat.png Binary files differnew file mode 100755 index 0000000..9610766 --- /dev/null +++ b/config.dot/awesome.link/themes/multicolor/icons/bat.png diff --git a/config.dot/awesome.link/themes/multicolor/icons/clock.png b/config.dot/awesome.link/themes/multicolor/icons/clock.png Binary files differnew file mode 100644 index 0000000..22aef71 --- /dev/null +++ b/config.dot/awesome.link/themes/multicolor/icons/clock.png diff --git a/config.dot/awesome.link/themes/multicolor/icons/cpu.png b/config.dot/awesome.link/themes/multicolor/icons/cpu.png Binary files differnew file mode 100644 index 0000000..1e3cba5 --- /dev/null +++ b/config.dot/awesome.link/themes/multicolor/icons/cpu.png diff --git a/config.dot/awesome.link/themes/multicolor/icons/dish.png b/config.dot/awesome.link/themes/multicolor/icons/dish.png Binary files differnew file mode 100644 index 0000000..6ae19fd --- /dev/null +++ b/config.dot/awesome.link/themes/multicolor/icons/dish.png diff --git a/config.dot/awesome.link/themes/multicolor/icons/dwindle.png b/config.dot/awesome.link/themes/multicolor/icons/dwindle.png Binary files differnew file mode 100755 index 0000000..81bf3e9 --- /dev/null +++ b/config.dot/awesome.link/themes/multicolor/icons/dwindle.png diff --git a/config.dot/awesome.link/themes/multicolor/icons/fairh.png b/config.dot/awesome.link/themes/multicolor/icons/fairh.png Binary files differnew file mode 100755 index 0000000..89712e2 --- /dev/null +++ b/config.dot/awesome.link/themes/multicolor/icons/fairh.png diff --git a/config.dot/awesome.link/themes/multicolor/icons/fairv.png b/config.dot/awesome.link/themes/multicolor/icons/fairv.png Binary files differnew file mode 100755 index 0000000..e1ac18b --- /dev/null +++ b/config.dot/awesome.link/themes/multicolor/icons/fairv.png diff --git a/config.dot/awesome.link/themes/multicolor/icons/floating.png b/config.dot/awesome.link/themes/multicolor/icons/floating.png Binary files differnew file mode 100755 index 0000000..e0a3c39 --- /dev/null +++ b/config.dot/awesome.link/themes/multicolor/icons/floating.png diff --git a/config.dot/awesome.link/themes/multicolor/icons/fs.png b/config.dot/awesome.link/themes/multicolor/icons/fs.png Binary files differnew file mode 100644 index 0000000..f869349 --- /dev/null +++ b/config.dot/awesome.link/themes/multicolor/icons/fs.png diff --git a/config.dot/awesome.link/themes/multicolor/icons/fullscreen.png b/config.dot/awesome.link/themes/multicolor/icons/fullscreen.png Binary files differnew file mode 100755 index 0000000..84b7c27 --- /dev/null +++ b/config.dot/awesome.link/themes/multicolor/icons/fullscreen.png diff --git a/config.dot/awesome.link/themes/multicolor/icons/magnifier.png b/config.dot/awesome.link/themes/multicolor/icons/magnifier.png Binary files differnew file mode 100755 index 0000000..1188d50 --- /dev/null +++ b/config.dot/awesome.link/themes/multicolor/icons/magnifier.png diff --git a/config.dot/awesome.link/themes/multicolor/icons/mail.png b/config.dot/awesome.link/themes/multicolor/icons/mail.png Binary files differnew file mode 100755 index 0000000..e8cf11e --- /dev/null +++ b/config.dot/awesome.link/themes/multicolor/icons/mail.png diff --git a/config.dot/awesome.link/themes/multicolor/icons/max.png b/config.dot/awesome.link/themes/multicolor/icons/max.png Binary files differnew file mode 100755 index 0000000..f0979c9 --- /dev/null +++ b/config.dot/awesome.link/themes/multicolor/icons/max.png diff --git a/config.dot/awesome.link/themes/multicolor/icons/mem.png b/config.dot/awesome.link/themes/multicolor/icons/mem.png Binary files differnew file mode 100644 index 0000000..a71c2d5 --- /dev/null +++ b/config.dot/awesome.link/themes/multicolor/icons/mem.png diff --git a/config.dot/awesome.link/themes/multicolor/icons/net_down.png b/config.dot/awesome.link/themes/multicolor/icons/net_down.png Binary files differnew file mode 100644 index 0000000..09433b1 --- /dev/null +++ b/config.dot/awesome.link/themes/multicolor/icons/net_down.png diff --git a/config.dot/awesome.link/themes/multicolor/icons/net_up.png b/config.dot/awesome.link/themes/multicolor/icons/net_up.png Binary files differnew file mode 100644 index 0000000..395d014 --- /dev/null +++ b/config.dot/awesome.link/themes/multicolor/icons/net_up.png diff --git a/config.dot/awesome.link/themes/multicolor/icons/note.png b/config.dot/awesome.link/themes/multicolor/icons/note.png Binary files differnew file mode 100644 index 0000000..78f85bf --- /dev/null +++ b/config.dot/awesome.link/themes/multicolor/icons/note.png diff --git a/config.dot/awesome.link/themes/multicolor/icons/note_on.png b/config.dot/awesome.link/themes/multicolor/icons/note_on.png Binary files differnew file mode 100755 index 0000000..264d2c8 --- /dev/null +++ b/config.dot/awesome.link/themes/multicolor/icons/note_on.png diff --git a/config.dot/awesome.link/themes/multicolor/icons/spiral.png b/config.dot/awesome.link/themes/multicolor/icons/spiral.png Binary files differnew file mode 100755 index 0000000..ec32ff3 --- /dev/null +++ b/config.dot/awesome.link/themes/multicolor/icons/spiral.png diff --git a/config.dot/awesome.link/themes/multicolor/icons/spkr.png b/config.dot/awesome.link/themes/multicolor/icons/spkr.png Binary files differnew file mode 100644 index 0000000..80c20b0 --- /dev/null +++ b/config.dot/awesome.link/themes/multicolor/icons/spkr.png diff --git a/config.dot/awesome.link/themes/multicolor/icons/square_a.png b/config.dot/awesome.link/themes/multicolor/icons/square_a.png Binary files differnew file mode 100755 index 0000000..1774d95 --- /dev/null +++ b/config.dot/awesome.link/themes/multicolor/icons/square_a.png diff --git a/config.dot/awesome.link/themes/multicolor/icons/square_b.png b/config.dot/awesome.link/themes/multicolor/icons/square_b.png Binary files differnew file mode 100755 index 0000000..b47e9f3 --- /dev/null +++ b/config.dot/awesome.link/themes/multicolor/icons/square_b.png diff --git a/config.dot/awesome.link/themes/multicolor/icons/submenu.png b/config.dot/awesome.link/themes/multicolor/icons/submenu.png Binary files differnew file mode 100644 index 0000000..7c81cab --- /dev/null +++ b/config.dot/awesome.link/themes/multicolor/icons/submenu.png diff --git a/config.dot/awesome.link/themes/multicolor/icons/temp.png b/config.dot/awesome.link/themes/multicolor/icons/temp.png Binary files differnew file mode 100755 index 0000000..6c8f8bd --- /dev/null +++ b/config.dot/awesome.link/themes/multicolor/icons/temp.png diff --git a/config.dot/awesome.link/themes/multicolor/icons/tile.png b/config.dot/awesome.link/themes/multicolor/icons/tile.png Binary files differnew file mode 100755 index 0000000..9bbf2fa --- /dev/null +++ b/config.dot/awesome.link/themes/multicolor/icons/tile.png diff --git a/config.dot/awesome.link/themes/multicolor/icons/tilebottom.png b/config.dot/awesome.link/themes/multicolor/icons/tilebottom.png Binary files differnew file mode 100755 index 0000000..ea85f92 --- /dev/null +++ b/config.dot/awesome.link/themes/multicolor/icons/tilebottom.png diff --git a/config.dot/awesome.link/themes/multicolor/icons/tileleft.png b/config.dot/awesome.link/themes/multicolor/icons/tileleft.png Binary files differnew file mode 100755 index 0000000..1b8e3c0 --- /dev/null +++ b/config.dot/awesome.link/themes/multicolor/icons/tileleft.png diff --git a/config.dot/awesome.link/themes/multicolor/icons/tiletop.png b/config.dot/awesome.link/themes/multicolor/icons/tiletop.png Binary files differnew file mode 100755 index 0000000..a2d0f6a --- /dev/null +++ b/config.dot/awesome.link/themes/multicolor/icons/tiletop.png diff --git a/config.dot/awesome.link/themes/multicolor/icons/titlebar/close_focus.png b/config.dot/awesome.link/themes/multicolor/icons/titlebar/close_focus.png Binary files differnew file mode 100644 index 0000000..98c5056 --- /dev/null +++ b/config.dot/awesome.link/themes/multicolor/icons/titlebar/close_focus.png diff --git a/config.dot/awesome.link/themes/multicolor/icons/titlebar/close_normal.png b/config.dot/awesome.link/themes/multicolor/icons/titlebar/close_normal.png Binary files differnew file mode 100644 index 0000000..7702839 --- /dev/null +++ b/config.dot/awesome.link/themes/multicolor/icons/titlebar/close_normal.png diff --git a/config.dot/awesome.link/themes/multicolor/icons/titlebar/floating_focus_active.png b/config.dot/awesome.link/themes/multicolor/icons/titlebar/floating_focus_active.png Binary files differnew file mode 100644 index 0000000..37c1afe --- /dev/null +++ b/config.dot/awesome.link/themes/multicolor/icons/titlebar/floating_focus_active.png diff --git a/config.dot/awesome.link/themes/multicolor/icons/titlebar/floating_focus_inactive.png b/config.dot/awesome.link/themes/multicolor/icons/titlebar/floating_focus_inactive.png Binary files differnew file mode 100644 index 0000000..07ee69d --- /dev/null +++ b/config.dot/awesome.link/themes/multicolor/icons/titlebar/floating_focus_inactive.png diff --git a/config.dot/awesome.link/themes/multicolor/icons/titlebar/floating_normal_active.png b/config.dot/awesome.link/themes/multicolor/icons/titlebar/floating_normal_active.png Binary files differnew file mode 100644 index 0000000..b9c70ca --- /dev/null +++ b/config.dot/awesome.link/themes/multicolor/icons/titlebar/floating_normal_active.png diff --git a/config.dot/awesome.link/themes/multicolor/icons/titlebar/floating_normal_inactive.png b/config.dot/awesome.link/themes/multicolor/icons/titlebar/floating_normal_inactive.png Binary files differnew file mode 100644 index 0000000..55cbc0c --- /dev/null +++ b/config.dot/awesome.link/themes/multicolor/icons/titlebar/floating_normal_inactive.png diff --git a/config.dot/awesome.link/themes/multicolor/icons/titlebar/maximized_focus_active.png b/config.dot/awesome.link/themes/multicolor/icons/titlebar/maximized_focus_active.png Binary files differnew file mode 100644 index 0000000..35c1801 --- /dev/null +++ b/config.dot/awesome.link/themes/multicolor/icons/titlebar/maximized_focus_active.png diff --git a/config.dot/awesome.link/themes/multicolor/icons/titlebar/maximized_focus_inactive.png b/config.dot/awesome.link/themes/multicolor/icons/titlebar/maximized_focus_inactive.png Binary files differnew file mode 100644 index 0000000..043dae7 --- /dev/null +++ b/config.dot/awesome.link/themes/multicolor/icons/titlebar/maximized_focus_inactive.png diff --git a/config.dot/awesome.link/themes/multicolor/icons/titlebar/maximized_normal_active.png b/config.dot/awesome.link/themes/multicolor/icons/titlebar/maximized_normal_active.png Binary files differnew file mode 100644 index 0000000..0bbbf6a --- /dev/null +++ b/config.dot/awesome.link/themes/multicolor/icons/titlebar/maximized_normal_active.png diff --git a/config.dot/awesome.link/themes/multicolor/icons/titlebar/maximized_normal_inactive.png b/config.dot/awesome.link/themes/multicolor/icons/titlebar/maximized_normal_inactive.png Binary files differnew file mode 100644 index 0000000..5f1e98f --- /dev/null +++ b/config.dot/awesome.link/themes/multicolor/icons/titlebar/maximized_normal_inactive.png diff --git a/config.dot/awesome.link/themes/multicolor/icons/titlebar/minimize_focus.png b/config.dot/awesome.link/themes/multicolor/icons/titlebar/minimize_focus.png Binary files differnew file mode 100644 index 0000000..85d8196 --- /dev/null +++ b/config.dot/awesome.link/themes/multicolor/icons/titlebar/minimize_focus.png diff --git a/config.dot/awesome.link/themes/multicolor/icons/titlebar/minimize_normal.png b/config.dot/awesome.link/themes/multicolor/icons/titlebar/minimize_normal.png Binary files differnew file mode 100644 index 0000000..aa47447 --- /dev/null +++ b/config.dot/awesome.link/themes/multicolor/icons/titlebar/minimize_normal.png diff --git a/config.dot/awesome.link/themes/multicolor/icons/titlebar/ontop_focus_active.png b/config.dot/awesome.link/themes/multicolor/icons/titlebar/ontop_focus_active.png Binary files differnew file mode 100644 index 0000000..968f89b --- /dev/null +++ b/config.dot/awesome.link/themes/multicolor/icons/titlebar/ontop_focus_active.png diff --git a/config.dot/awesome.link/themes/multicolor/icons/titlebar/ontop_focus_inactive.png b/config.dot/awesome.link/themes/multicolor/icons/titlebar/ontop_focus_inactive.png Binary files differnew file mode 100644 index 0000000..43d6274 --- /dev/null +++ b/config.dot/awesome.link/themes/multicolor/icons/titlebar/ontop_focus_inactive.png diff --git a/config.dot/awesome.link/themes/multicolor/icons/titlebar/ontop_normal_active.png b/config.dot/awesome.link/themes/multicolor/icons/titlebar/ontop_normal_active.png Binary files differnew file mode 100644 index 0000000..e09f32d --- /dev/null +++ b/config.dot/awesome.link/themes/multicolor/icons/titlebar/ontop_normal_active.png diff --git a/config.dot/awesome.link/themes/multicolor/icons/titlebar/ontop_normal_inactive.png b/config.dot/awesome.link/themes/multicolor/icons/titlebar/ontop_normal_inactive.png Binary files differnew file mode 100644 index 0000000..9917b9e --- /dev/null +++ b/config.dot/awesome.link/themes/multicolor/icons/titlebar/ontop_normal_inactive.png diff --git a/config.dot/awesome.link/themes/multicolor/icons/titlebar/sticky_focus_active.png b/config.dot/awesome.link/themes/multicolor/icons/titlebar/sticky_focus_active.png Binary files differnew file mode 100644 index 0000000..147ce6a --- /dev/null +++ b/config.dot/awesome.link/themes/multicolor/icons/titlebar/sticky_focus_active.png diff --git a/config.dot/awesome.link/themes/multicolor/icons/titlebar/sticky_focus_inactive.png b/config.dot/awesome.link/themes/multicolor/icons/titlebar/sticky_focus_inactive.png Binary files differnew file mode 100644 index 0000000..a5cdf21 --- /dev/null +++ b/config.dot/awesome.link/themes/multicolor/icons/titlebar/sticky_focus_inactive.png diff --git a/config.dot/awesome.link/themes/multicolor/icons/titlebar/sticky_normal_active.png b/config.dot/awesome.link/themes/multicolor/icons/titlebar/sticky_normal_active.png Binary files differnew file mode 100644 index 0000000..0d003ef --- /dev/null +++ b/config.dot/awesome.link/themes/multicolor/icons/titlebar/sticky_normal_active.png diff --git a/config.dot/awesome.link/themes/multicolor/icons/titlebar/sticky_normal_inactive.png b/config.dot/awesome.link/themes/multicolor/icons/titlebar/sticky_normal_inactive.png Binary files differnew file mode 100644 index 0000000..f1e8789 --- /dev/null +++ b/config.dot/awesome.link/themes/multicolor/icons/titlebar/sticky_normal_inactive.png diff --git a/config.dot/awesome.link/themes/multicolor/theme.lua b/config.dot/awesome.link/themes/multicolor/theme.lua new file mode 100644 index 0000000..2642a5e --- /dev/null +++ b/config.dot/awesome.link/themes/multicolor/theme.lua @@ -0,0 +1,344 @@ + +--[[ + + Multicolor Awesome WM theme 2.0 + github.com/copycat-killer + +--]] + + +local gears = require("gears") +local lain = require("lain") +local awful = require("awful") +local wibox = require("wibox") +local os = { getenv = os.getenv, setlocale = os.setlocale } + +local theme = {} +theme.confdir = os.getenv("HOME") .. "/.config/awesome/themes/multicolor" +theme.wallpaper = theme.confdir .. "/wall.png" +theme.font = "xos4 Terminus 8" +theme.menu_bg_normal = "#000000" +theme.menu_bg_focus = "#000000" +theme.bg_normal = "#000000" +theme.bg_focus = "#000000" +theme.bg_urgent = "#000000" +theme.fg_normal = "#aaaaaa" +theme.fg_focus = "#ff8c00" +theme.fg_urgent = "#af1d18" +theme.fg_minimize = "#ffffff" +theme.border_width = 1 +theme.border_normal = "#1c2022" +theme.border_focus = "#606060" +theme.border_marked = "#3ca4d8" +theme.menu_border_width = 0 +theme.menu_width = 130 +theme.menu_submenu_icon = theme.confdir .. "/icons/submenu.png" +theme.menu_fg_normal = "#aaaaaa" +theme.menu_fg_focus = "#ff8c00" +theme.menu_bg_normal = "#050505dd" +theme.menu_bg_focus = "#050505dd" +theme.widget_temp = theme.confdir .. "/icons/temp.png" +theme.widget_uptime = theme.confdir .. "/icons/ac.png" +theme.widget_cpu = theme.confdir .. "/icons/cpu.png" +theme.widget_weather = theme.confdir .. "/icons/dish.png" +theme.widget_fs = theme.confdir .. "/icons/fs.png" +theme.widget_mem = theme.confdir .. "/icons/mem.png" +theme.widget_fs = theme.confdir .. "/icons/fs.png" +theme.widget_note = theme.confdir .. "/icons/note.png" +theme.widget_note_on = theme.confdir .. "/icons/note_on.png" +theme.widget_netdown = theme.confdir .. "/icons/net_down.png" +theme.widget_netup = theme.confdir .. "/icons/net_up.png" +theme.widget_mail = theme.confdir .. "/icons/mail.png" +theme.widget_batt = theme.confdir .. "/icons/bat.png" +theme.widget_clock = theme.confdir .. "/icons/clock.png" +theme.widget_vol = theme.confdir .. "/icons/spkr.png" +theme.taglist_squares_sel = theme.confdir .. "/icons/square_a.png" +theme.taglist_squares_unsel = theme.confdir .. "/icons/square_b.png" +theme.tasklist_plain_task_name = true +theme.tasklist_disable_icon = true +theme.useless_gap = 0 +theme.layout_tile = theme.confdir .. "/icons/tile.png" +theme.layout_tilegaps = theme.confdir .. "/icons/tilegaps.png" +theme.layout_tileleft = theme.confdir .. "/icons/tileleft.png" +theme.layout_tilebottom = theme.confdir .. "/icons/tilebottom.png" +theme.layout_tiletop = theme.confdir .. "/icons/tiletop.png" +theme.layout_fairv = theme.confdir .. "/icons/fairv.png" +theme.layout_fairh = theme.confdir .. "/icons/fairh.png" +theme.layout_spiral = theme.confdir .. "/icons/spiral.png" +theme.layout_dwindle = theme.confdir .. "/icons/dwindle.png" +theme.layout_max = theme.confdir .. "/icons/max.png" +theme.layout_fullscreen = theme.confdir .. "/icons/fullscreen.png" +theme.layout_magnifier = theme.confdir .. "/icons/magnifier.png" +theme.layout_floating = theme.confdir .. "/icons/floating.png" +theme.titlebar_close_button_normal = theme.confdir .. "/icons/titlebar/close_normal.png" +theme.titlebar_close_button_focus = theme.confdir .. "/icons/titlebar/close_focus.png" +theme.titlebar_minimize_button_normal = theme.confdir .. "/icons/titlebar/minimize_normal.png" +theme.titlebar_minimize_button_focus = theme.confdir .. "/icons/titlebar/minimize_focus.png" +theme.titlebar_ontop_button_normal_inactive = theme.confdir .. "/icons/titlebar/ontop_normal_inactive.png" +theme.titlebar_ontop_button_focus_inactive = theme.confdir .. "/icons/titlebar/ontop_focus_inactive.png" +theme.titlebar_ontop_button_normal_active = theme.confdir .. "/icons/titlebar/ontop_normal_active.png" +theme.titlebar_ontop_button_focus_active = theme.confdir .. "/icons/titlebar/ontop_focus_active.png" +theme.titlebar_sticky_button_normal_inactive = theme.confdir .. "/icons/titlebar/sticky_normal_inactive.png" +theme.titlebar_sticky_button_focus_inactive = theme.confdir .. "/icons/titlebar/sticky_focus_inactive.png" +theme.titlebar_sticky_button_normal_active = theme.confdir .. "/icons/titlebar/sticky_normal_active.png" +theme.titlebar_sticky_button_focus_active = theme.confdir .. "/icons/titlebar/sticky_focus_active.png" +theme.titlebar_floating_button_normal_inactive = theme.confdir .. "/icons/titlebar/floating_normal_inactive.png" +theme.titlebar_floating_button_focus_inactive = theme.confdir .. "/icons/titlebar/floating_focus_inactive.png" +theme.titlebar_floating_button_normal_active = theme.confdir .. "/icons/titlebar/floating_normal_active.png" +theme.titlebar_floating_button_focus_active = theme.confdir .. "/icons/titlebar/floating_focus_active.png" +theme.titlebar_maximized_button_normal_inactive = theme.confdir .. "/icons/titlebar/maximized_normal_inactive.png" +theme.titlebar_maximized_button_focus_inactive = theme.confdir .. "/icons/titlebar/maximized_focus_inactive.png" +theme.titlebar_maximized_button_normal_active = theme.confdir .. "/icons/titlebar/maximized_normal_active.png" +theme.titlebar_maximized_button_focus_active = theme.confdir .. "/icons/titlebar/maximized_focus_active.png" + +local markup = lain.util.markup + +-- Textclock +os.setlocale(os.getenv("LANG")) -- to localize the clock +local clockicon = wibox.widget.imagebox(theme.widget_clock) +local mytextclock = wibox.widget.textclock(markup("#7788af", "%A %d %B ") .. markup("#535f7a", ">") .. markup("#de5e1e", " %H:%M ")) +mytextclock.font = theme.font + +-- Calendar +theme.cal = lain.widget.calendar({ + attach_to = { mytextclock }, + notification_preset = { + font = "xos4 Terminus 10", + fg = theme.fg_normal, + bg = theme.bg_normal + } +}) + +-- Weather +local weathericon = wibox.widget.imagebox(theme.widget_weather) +theme.weather = lain.widget.weather({ + city_id = 2643743, -- placeholder (London) + notification_preset = { font = "xos4 Terminus 10", fg = theme.fg_normal }, + weather_na_markup = markup.fontfg(theme.font, "#eca4c4", "N/A "), + settings = function() + descr = weather_now["weather"][1]["description"]:lower() + units = math.floor(weather_now["main"]["temp"]) + widget:set_markup(markup.fontfg(theme.font, "#eca4c4", descr .. " @ " .. units .. "°C ")) + end +}) + +-- / fs +local fsicon = wibox.widget.imagebox(theme.widget_fs) +theme.fs = lain.widget.fs({ + options = "--exclude-type=tmpfs", + notification_preset = { font = "xos4 Terminus 10", fg = theme.fg_normal }, + settings = function() + widget:set_markup(markup.fontfg(theme.font, "#80d9d8", fs_now.used .. "% ")) + end +}) + +--[[ Mail IMAP check +-- commented because it needs to be set before use +local mailicon = wibox.widget.imagebox() +local mail = lain.widget.imap({ + timeout = 180, + server = "server", + mail = "mail", + password = "keyring get mail", + settings = function() + if mailcount > 0 then + mailicon:set_image(theme.widget_mail) + widget:set_markup(markup.fontfg(theme.font, "#cccccc", mailcount .. " ")) + else + widget:set_text("") + --mailicon:set_image() -- not working in 4.0 + mailicon._private.image = nil + mailicon:emit_signal("widget::redraw_needed") + mailicon:emit_signal("widget::layout_changed") + end + end +}) +--]] + +-- CPU +local cpuicon = wibox.widget.imagebox(theme.widget_cpu) +local cpu = lain.widget.cpu({ + settings = function() + widget:set_markup(markup.fontfg(theme.font, "#e33a6e", cpu_now.usage .. "% ")) + end +}) + +-- Coretemp +local tempicon = wibox.widget.imagebox(theme.widget_temp) +local temp = lain.widget.temp({ + settings = function() + widget:set_markup(markup.fontfg(theme.font, "#f1af5f", coretemp_now .. "°C ")) + end +}) + +-- Battery +local baticon = wibox.widget.imagebox(theme.widget_batt) +local bat = lain.widget.bat({ + settings = function() + local perc = bat_now.perc ~= "N/A" and bat_now.perc .. "%" or bat_now.perc + + if bat_now.ac_status == 1 then + perc = perc .. " plug" + end + + widget:set_markup(markup.fontfg(theme.font, theme.fg_normal, perc .. " ")) + end +}) + +-- ALSA volume +local volicon = wibox.widget.imagebox(theme.widget_vol) +theme.volume = lain.widget.alsa({ + settings = function() + if volume_now.status == "off" then + volume_now.level = volume_now.level .. "M" + end + + widget:set_markup(markup.fontfg(theme.font, "#7493d2", volume_now.level .. "% ")) + end +}) + +-- Net +local netdownicon = wibox.widget.imagebox(theme.widget_netdown) +local netdowninfo = wibox.widget.textbox() +local netupicon = wibox.widget.imagebox(theme.widget_netup) +local netupinfo = lain.widget.net({ + settings = function() + if iface ~= "network off" and + string.match(theme.weather.widget.text, "N/A") + then + theme.weather.update() + end + + widget:set_markup(markup.fontfg(theme.font, "#e54c62", net_now.sent .. " ")) + netdowninfo:set_markup(markup.fontfg(theme.font, "#87af5f", net_now.received .. " ")) + end +}) + +-- MEM +local memicon = wibox.widget.imagebox(theme.widget_mem) +local memory = lain.widget.mem({ + settings = function() + widget:set_markup(markup.fontfg(theme.font, "#e0da37", mem_now.used .. "M ")) + end +}) + +-- MPD +local mpdicon = wibox.widget.imagebox() +theme.mpd = lain.widget.mpd({ + settings = function() + mpd_notification_preset = { + text = string.format("%s [%s] - %s\n%s", mpd_now.artist, + mpd_now.album, mpd_now.date, mpd_now.title) + } + + if mpd_now.state == "play" then + artist = mpd_now.artist .. " > " + title = mpd_now.title .. " " + mpdicon:set_image(theme.widget_note_on) + elseif mpd_now.state == "pause" then + artist = "mpd " + title = "paused " + else + artist = "" + title = "" + --mpdicon:set_image() -- not working in 4.0 + mpdicon._private.image = nil + mpdicon:emit_signal("widget::redraw_needed") + mpdicon:emit_signal("widget::layout_changed") + end + widget:set_markup(markup.fontfg(theme.font, "#e54c62", artist) .. markup.fontfg(theme.font, "#b2b2b2", title)) + end +}) + +function theme.at_screen_connect(s) + -- Quake application + s.quake = lain.util.quake({ app = awful.util.terminal }) + + -- If wallpaper is a function, call it with the screen + local wallpaper = theme.wallpaper + if type(wallpaper) == "function" then + wallpaper = wallpaper(s) + end + gears.wallpaper.maximized(wallpaper, s, true) + + -- Tags + awful.tag(awful.util.tagnames, s, awful.layout.layouts) + + -- Create a promptbox for each screen + s.mypromptbox = awful.widget.prompt() + -- Create an imagebox widget which will contains an icon indicating which layout we're using. + -- We need one layoutbox per screen. + s.mylayoutbox = awful.widget.layoutbox(s) + s.mylayoutbox:buttons(awful.util.table.join( + awful.button({ }, 1, function () awful.layout.inc( 1) end), + awful.button({ }, 3, function () awful.layout.inc(-1) end), + awful.button({ }, 4, function () awful.layout.inc( 1) end), + awful.button({ }, 5, function () awful.layout.inc(-1) end))) + -- Create a taglist widget + s.mytaglist = awful.widget.taglist(s, awful.widget.taglist.filter.all, awful.util.taglist_buttons) + + -- Create a tasklist widget + s.mytasklist = awful.widget.tasklist(s, awful.widget.tasklist.filter.currenttags, awful.util.tasklist_buttons) + + -- Create the wibox + s.mywibox = awful.wibar({ position = "top", screen = s, height = 20, bg = theme.bg_normal, fg = theme.fg_normal }) + + -- Add widgets to the wibox + s.mywibox:setup { + layout = wibox.layout.align.horizontal, + { -- Left widgets + layout = wibox.layout.fixed.horizontal, + --s.mylayoutbox, + s.mytaglist, + s.mypromptbox, + mpdicon, + theme.mpd.widget, + }, + --s.mytasklist, -- Middle widget + nil, + { -- Right widgets + layout = wibox.layout.fixed.horizontal, + wibox.widget.systray(), + --mailicon, + --mail.widget, + netdownicon, + netdowninfo, + netupicon, + netupinfo.widget, + volicon, + theme.volume.widget, + memicon, + memory.widget, + cpuicon, + cpu.widget, + fsicon, + theme.fs.widget, + weathericon, + theme.weather.widget, + tempicon, + temp.widget, + baticon, + bat.widget, + clockicon, + mytextclock, + }, + } + + -- Create the bottom wibox + s.mybottomwibox = awful.wibar({ position = "bottom", screen = s, border_width = 0, height = 20, bg = theme.bg_normal, fg = theme.fg_normal }) + + -- Add widgets to the bottom wibox + s.mybottomwibox:setup { + layout = wibox.layout.align.horizontal, + { -- Left widgets + layout = wibox.layout.fixed.horizontal, + }, + s.mytasklist, -- Middle widget + { -- Right widgets + layout = wibox.layout.fixed.horizontal, + s.mylayoutbox, + }, + } +end + +return theme diff --git a/config.dot/awesome.link/themes/multicolor/wall.png b/config.dot/awesome.link/themes/multicolor/wall.png Binary files differnew file mode 100644 index 0000000..a3188d0 --- /dev/null +++ b/config.dot/awesome.link/themes/multicolor/wall.png diff --git a/config.dot/awesome.link/themes/powerarrow b/config.dot/awesome.link/themes/powerarrow deleted file mode 120000 index 8917e4b..0000000 --- a/config.dot/awesome.link/themes/powerarrow +++ /dev/null @@ -1 +0,0 @@ -../powerarrow/themes/powerarrow
\ No newline at end of file diff --git a/config.dot/awesome.link/themes/simplex/theme.lua b/config.dot/awesome.link/themes/simplex/theme.lua deleted file mode 100644 index 0f64c38..0000000 --- a/config.dot/awesome.link/themes/simplex/theme.lua +++ /dev/null @@ -1,102 +0,0 @@ ---------------------------- --- Default awesome theme -- ---------------------------- - -theme = {} - -theme.font = "sans 8" ---theme.font = "inconsolata 8" ---theme.font = "terminus 8" ---theme.font = "mono 8" - ----theme.bg_normal = "#222222" -theme.bg_normal = "#000000" ----theme.bg_focus = "#535d6c" -theme.bg_focus = "#222222" -theme.bg_urgent = "#ff0000" -theme.bg_minimize = "#444444" - -theme.fg_normal = "#aaaaaa" -theme.fg_focus = "#ffffff" -theme.fg_urgent = "#ffffff" -theme.fg_minimize = "#ffffff" - -theme.border_width = "1" -theme.border_normal = "#000000" ----theme.border_focus = "#535d6c" -theme.border_focus = "#222222" -theme.border_marked = "#91231c" - --- There are other variable sets --- overriding the default one when --- defined, the sets are: --- [taglist|tasklist]_[bg|fg]_[focus|urgent] --- titlebar_[bg|fg]_[normal|focus] --- tooltip_[font|opacity|fg_color|bg_color|border_width|border_color] --- mouse_finder_[color|timeout|animate_timeout|radius|factor] --- Example: ---theme.taglist_bg_focus = "#ff0000" - --- Display the taglist squares -theme.taglist_squares_sel = "/usr/share/awesome/themes/default/taglist/squarefw.png" -theme.taglist_squares_unsel = "/usr/share/awesome/themes/default/taglist/squarew.png" - -theme.tasklist_floating_icon = "/usr/share/awesome/themes/default/tasklist/floatingw.png" - --- Variables set for theming the menu: --- menu_[bg|fg]_[normal|focus] --- menu_[border_color|border_width] -theme.menu_submenu_icon = "/usr/share/awesome/themes/default/submenu.png" -theme.menu_height = "15" -theme.menu_width = "100" - --- You can add as many variables as --- you wish and access them by using --- beautiful.variable in your rc.lua ---theme.bg_widget = "#cc0000" - --- Define the image to load -theme.titlebar_close_button_normal = "/usr/share/awesome/themes/default/titlebar/close_normal.png" -theme.titlebar_close_button_focus = "/usr/share/awesome/themes/default/titlebar/close_focus.png" - -theme.titlebar_ontop_button_normal_inactive = "/usr/share/awesome/themes/default/titlebar/ontop_normal_inactive.png" -theme.titlebar_ontop_button_focus_inactive = "/usr/share/awesome/themes/default/titlebar/ontop_focus_inactive.png" -theme.titlebar_ontop_button_normal_active = "/usr/share/awesome/themes/default/titlebar/ontop_normal_active.png" -theme.titlebar_ontop_button_focus_active = "/usr/share/awesome/themes/default/titlebar/ontop_focus_active.png" - -theme.titlebar_sticky_button_normal_inactive = "/usr/share/awesome/themes/default/titlebar/sticky_normal_inactive.png" -theme.titlebar_sticky_button_focus_inactive = "/usr/share/awesome/themes/default/titlebar/sticky_focus_inactive.png" -theme.titlebar_sticky_button_normal_active = "/usr/share/awesome/themes/default/titlebar/sticky_normal_active.png" -theme.titlebar_sticky_button_focus_active = "/usr/share/awesome/themes/default/titlebar/sticky_focus_active.png" - -theme.titlebar_floating_button_normal_inactive = "/usr/share/awesome/themes/default/titlebar/floating_normal_inactive.png" -theme.titlebar_floating_button_focus_inactive = "/usr/share/awesome/themes/default/titlebar/floating_focus_inactive.png" -theme.titlebar_floating_button_normal_active = "/usr/share/awesome/themes/default/titlebar/floating_normal_active.png" -theme.titlebar_floating_button_focus_active = "/usr/share/awesome/themes/default/titlebar/floating_focus_active.png" - -theme.titlebar_maximized_button_normal_inactive = "/usr/share/awesome/themes/default/titlebar/maximized_normal_inactive.png" -theme.titlebar_maximized_button_focus_inactive = "/usr/share/awesome/themes/default/titlebar/maximized_focus_inactive.png" -theme.titlebar_maximized_button_normal_active = "/usr/share/awesome/themes/default/titlebar/maximized_normal_active.png" -theme.titlebar_maximized_button_focus_active = "/usr/share/awesome/themes/default/titlebar/maximized_focus_active.png" - --- You can use your own command to set your wallpaper ---theme.wallpaper_cmd = { "awsetbg " .. homedir .. "/themes/backgrounds/background.jpg" } ---theme.wallpaper_cmd = { "xsetroot -solid black" } - --- You can use your own layout icons like this: -theme.layout_fairh = "/usr/share/awesome/themes/default/layouts/fairhw.png" -theme.layout_fairv = "/usr/share/awesome/themes/default/layouts/fairvw.png" -theme.layout_floating = "/usr/share/awesome/themes/default/layouts/floatingw.png" -theme.layout_magnifier = "/usr/share/awesome/themes/default/layouts/magnifierw.png" -theme.layout_max = "/usr/share/awesome/themes/default/layouts/maxw.png" -theme.layout_fullscreen = "/usr/share/awesome/themes/default/layouts/fullscreenw.png" -theme.layout_tilebottom = "/usr/share/awesome/themes/default/layouts/tilebottomw.png" -theme.layout_tileleft = "/usr/share/awesome/themes/default/layouts/tileleftw.png" -theme.layout_tile = "/usr/share/awesome/themes/default/layouts/tilew.png" -theme.layout_tiletop = "/usr/share/awesome/themes/default/layouts/tiletopw.png" -theme.layout_spiral = "/usr/share/awesome/themes/default/layouts/spiralw.png" -theme.layout_dwindle = "/usr/share/awesome/themes/default/layouts/dwindlew.png" - -theme.awesome_icon = "/usr/share/awesome/icons/awesome16.png" - -return theme |