diff --git a/rc.lua.holo b/rc.lua.holo index f7ae4e5..a788b56 100644 --- a/rc.lua.holo +++ b/rc.lua.holo @@ -156,7 +156,7 @@ mailwidget = lain.widgets.imap({ ]] -- MPD -mpd_icon = wibox.widget.imagebox(beautiful.mpd) +mpd_icon = awful.widget.launcher({ image = beautiful.mpd, command = musicplr }) prev_icon = wibox.widget.imagebox(beautiful.prev) next_icon = wibox.widget.imagebox(beautiful.nex) stop_icon = wibox.widget.imagebox(beautiful.stop) @@ -189,8 +189,6 @@ musicwidget = wibox.container.margin(musicbg, 0, 0, 5, 5) musicwidget:buttons(awful.util.table.join(awful.button({ }, 1, function () awful.spawn.with_shell(musicplr) end))) -mpd_icon:buttons(awful.util.table.join(awful.button({ }, 1, -function () awful.spawn.with_shell(musicplr) end))) prev_icon:buttons(awful.util.table.join(awful.button({}, 1, function () awful.spawn.with_shell("mpc prev || ncmpc prev || pms prev") @@ -800,7 +798,7 @@ awful.rules.rules = { -- Titlebars { rule_any = { type = { "dialog", "normal" } }, - properties = { titlebars_enabled = false } }, + properties = { titlebars_enabled = true } }, -- Set Firefox to always map on the first tag on screen 1. { rule = { class = "Firefox" }, diff --git a/themes/holo/icons/titlebar/close_focus.png b/themes/holo/icons/titlebar/close_focus.png new file mode 100644 index 0000000..e4763b6 Binary files /dev/null and b/themes/holo/icons/titlebar/close_focus.png differ diff --git a/themes/holo/icons/titlebar/close_normal.png b/themes/holo/icons/titlebar/close_normal.png new file mode 100644 index 0000000..7702839 Binary files /dev/null and b/themes/holo/icons/titlebar/close_normal.png differ diff --git a/themes/holo/icons/titlebar/floating_focus_active.png b/themes/holo/icons/titlebar/floating_focus_active.png new file mode 100644 index 0000000..80c1b4a Binary files /dev/null and b/themes/holo/icons/titlebar/floating_focus_active.png differ diff --git a/themes/holo/icons/titlebar/floating_focus_inactive.png b/themes/holo/icons/titlebar/floating_focus_inactive.png new file mode 100644 index 0000000..a96f00c Binary files /dev/null and b/themes/holo/icons/titlebar/floating_focus_inactive.png differ diff --git a/themes/holo/icons/titlebar/floating_normal_active.png b/themes/holo/icons/titlebar/floating_normal_active.png new file mode 100644 index 0000000..b9c70ca Binary files /dev/null and b/themes/holo/icons/titlebar/floating_normal_active.png differ diff --git a/themes/holo/icons/titlebar/floating_normal_inactive.png b/themes/holo/icons/titlebar/floating_normal_inactive.png new file mode 100644 index 0000000..55cbc0c Binary files /dev/null and b/themes/holo/icons/titlebar/floating_normal_inactive.png differ diff --git a/themes/holo/icons/titlebar/maximized_focus_active.png b/themes/holo/icons/titlebar/maximized_focus_active.png new file mode 100644 index 0000000..dad461d Binary files /dev/null and b/themes/holo/icons/titlebar/maximized_focus_active.png differ diff --git a/themes/holo/icons/titlebar/maximized_focus_inactive.png b/themes/holo/icons/titlebar/maximized_focus_inactive.png new file mode 100644 index 0000000..3cc46fe Binary files /dev/null and b/themes/holo/icons/titlebar/maximized_focus_inactive.png differ diff --git a/themes/holo/icons/titlebar/maximized_normal_active.png b/themes/holo/icons/titlebar/maximized_normal_active.png new file mode 100644 index 0000000..0bbbf6a Binary files /dev/null and b/themes/holo/icons/titlebar/maximized_normal_active.png differ diff --git a/themes/holo/icons/titlebar/maximized_normal_inactive.png b/themes/holo/icons/titlebar/maximized_normal_inactive.png new file mode 100644 index 0000000..5f1e98f Binary files /dev/null and b/themes/holo/icons/titlebar/maximized_normal_inactive.png differ diff --git a/themes/holo/icons/titlebar/minimize_focus.png b/themes/holo/icons/titlebar/minimize_focus.png new file mode 100644 index 0000000..ff427b3 Binary files /dev/null and b/themes/holo/icons/titlebar/minimize_focus.png differ diff --git a/themes/holo/icons/titlebar/minimize_normal.png b/themes/holo/icons/titlebar/minimize_normal.png new file mode 100644 index 0000000..aa47447 Binary files /dev/null and b/themes/holo/icons/titlebar/minimize_normal.png differ diff --git a/themes/holo/icons/titlebar/ontop_focus_active.png b/themes/holo/icons/titlebar/ontop_focus_active.png new file mode 100644 index 0000000..d79c8e2 Binary files /dev/null and b/themes/holo/icons/titlebar/ontop_focus_active.png differ diff --git a/themes/holo/icons/titlebar/ontop_focus_inactive.png b/themes/holo/icons/titlebar/ontop_focus_inactive.png new file mode 100644 index 0000000..03aef5a Binary files /dev/null and b/themes/holo/icons/titlebar/ontop_focus_inactive.png differ diff --git a/themes/holo/icons/titlebar/ontop_normal_active.png b/themes/holo/icons/titlebar/ontop_normal_active.png new file mode 100644 index 0000000..e09f32d Binary files /dev/null and b/themes/holo/icons/titlebar/ontop_normal_active.png differ diff --git a/themes/holo/icons/titlebar/ontop_normal_inactive.png b/themes/holo/icons/titlebar/ontop_normal_inactive.png new file mode 100644 index 0000000..9917b9e Binary files /dev/null and b/themes/holo/icons/titlebar/ontop_normal_inactive.png differ diff --git a/themes/holo/icons/titlebar/sticky_focus_active.png b/themes/holo/icons/titlebar/sticky_focus_active.png new file mode 100644 index 0000000..8019463 Binary files /dev/null and b/themes/holo/icons/titlebar/sticky_focus_active.png differ diff --git a/themes/holo/icons/titlebar/sticky_focus_inactive.png b/themes/holo/icons/titlebar/sticky_focus_inactive.png new file mode 100644 index 0000000..6d7fe40 Binary files /dev/null and b/themes/holo/icons/titlebar/sticky_focus_inactive.png differ diff --git a/themes/holo/icons/titlebar/sticky_normal_active.png b/themes/holo/icons/titlebar/sticky_normal_active.png new file mode 100644 index 0000000..0d003ef Binary files /dev/null and b/themes/holo/icons/titlebar/sticky_normal_active.png differ diff --git a/themes/holo/icons/titlebar/sticky_normal_inactive.png b/themes/holo/icons/titlebar/sticky_normal_inactive.png new file mode 100644 index 0000000..f1e8789 Binary files /dev/null and b/themes/holo/icons/titlebar/sticky_normal_inactive.png differ diff --git a/themes/holo/theme.lua b/themes/holo/theme.lua index 5ef996f..3706cf7 100644 --- a/themes/holo/theme.lua +++ b/themes/holo/theme.lua @@ -6,70 +6,93 @@ --]] -local theme = {} +local theme = {} -theme.icon_dir = os.getenv("HOME") .. "/.config/awesome/themes/holo/icons" -theme.wallpaper = os.getenv("HOME") .. "/.config/awesome/themes/holo/wall.png" +theme.icon_dir = os.getenv("HOME") .. "/.config/awesome/themes/holo/icons" +theme.wallpaper = os.getenv("HOME") .. "/.config/awesome/themes/holo/wall.png" -theme.font = "Roboto Bold 10" -theme.taglist_font = "Roboto Condensed Regular 8" -theme.fg_normal = "#FFFFFF" -theme.fg_focus = "#0099CC" -theme.bg_focus = "#303030" -theme.bg_normal = "#242424" -theme.fg_urgent = "#CC9393" -theme.bg_urgent = "#006B8E" -theme.border_width = 3 -theme.border_normal = "#252525" -theme.border_focus = "#0099CC" -theme.taglist_fg_focus = "#FFFFFF" -theme.tasklist_bg_normal = "#222222" -theme.tasklist_fg_focus = "#4CB7DB" -theme.menu_height = 20 -theme.menu_width = 160 +theme.font = "Roboto Bold 10" +theme.taglist_font = "Roboto Condensed Regular 8" -theme.awesome_icon = theme.icon_dir .. "/awesome_icon.png" -theme.awesome_icon_white = theme.icon_dir .. "/awesome_icon_white.png" -theme.vol_bg = theme.icon_dir .. "/vol_bg.png" -theme.taglist_squares_sel = theme.icon_dir .. "/square_sel.png" -theme.taglist_squares_unsel = theme.icon_dir .. "/square_unsel.png" -theme.spr_small = theme.icon_dir .. "/spr_small.png" -theme.spr_very_small = theme.icon_dir .. "/spr_very_small.png" -theme.spr_right = theme.icon_dir .. "/spr_right.png" -theme.spr_bottom_right = theme.icon_dir .. "/spr_bottom_right.png" -theme.spr_left = theme.icon_dir .. "/spr_left.png" -theme.bar = theme.icon_dir .. "/bar.png" -theme.bottom_bar = theme.icon_dir .. "/bottom_bar.png" -theme.mpd = theme.icon_dir .. "/mpd.png" -theme.mpd_on = theme.icon_dir .. "/mpd_on.png" -theme.prev = theme.icon_dir .. "/prev.png" -theme.nex = theme.icon_dir .. "/next.png" -theme.stop = theme.icon_dir .. "/stop.png" -theme.pause = theme.icon_dir .. "/pause.png" -theme.play = theme.icon_dir .. "/play.png" -theme.clock = theme.icon_dir .. "/clock.png" -theme.calendar = theme.icon_dir .. "/cal.png" -theme.cpu = theme.icon_dir .. "/cpu.png" -theme.net_up = theme.icon_dir .. "/net_up.png" -theme.net_down = theme.icon_dir .. "/net_down.png" +theme.fg_normal = "#FFFFFF" +theme.fg_focus = "#0099CC" +theme.bg_focus = "#303030" +theme.bg_normal = "#242424" +theme.fg_urgent = "#CC9393" +theme.bg_urgent = "#006B8E" +theme.border_width = 3 +theme.border_normal = "#252525" +theme.border_focus = "#0099CC" +theme.taglist_fg_focus = "#FFFFFF" +theme.tasklist_bg_normal = "#222222" +theme.tasklist_fg_focus = "#4CB7DB" -theme.layout_tile = theme.icon_dir .. "/tile.png" -theme.layout_tilegaps = theme.icon_dir .. "/tilegaps.png" -theme.layout_tileleft = theme.icon_dir .. "/tileleft.png" -theme.layout_tilebottom = theme.icon_dir .. "/tilebottom.png" -theme.layout_tiletop = theme.icon_dir .. "/tiletop.png" -theme.layout_fairv = theme.icon_dir .. "/fairv.png" -theme.layout_fairh = theme.icon_dir .. "/fairh.png" -theme.layout_spiral = theme.icon_dir .. "/spiral.png" -theme.layout_dwindle = theme.icon_dir .. "/dwindle.png" -theme.layout_max = theme.icon_dir .. "/max.png" -theme.layout_fullscreen = theme.icon_dir .. "/fullscreen.png" -theme.layout_magnifier = theme.icon_dir .. "/magnifier.png" -theme.layout_floating = theme.icon_dir .. "/floating.png" +theme.menu_height = 20 +theme.menu_width = 160 -theme.tasklist_plain_task_name = true -theme.tasklist_disable_icon = true +theme.awesome_icon = theme.icon_dir .. "/awesome_icon.png" +theme.awesome_icon_white = theme.icon_dir .. "/awesome_icon_white.png" +theme.vol_bg = theme.icon_dir .. "/vol_bg.png" +theme.taglist_squares_sel = theme.icon_dir .. "/square_sel.png" +theme.taglist_squares_unsel = theme.icon_dir .. "/square_unsel.png" +theme.spr_small = theme.icon_dir .. "/spr_small.png" +theme.spr_very_small = theme.icon_dir .. "/spr_very_small.png" +theme.spr_right = theme.icon_dir .. "/spr_right.png" +theme.spr_bottom_right = theme.icon_dir .. "/spr_bottom_right.png" +theme.spr_left = theme.icon_dir .. "/spr_left.png" +theme.bar = theme.icon_dir .. "/bar.png" +theme.bottom_bar = theme.icon_dir .. "/bottom_bar.png" +theme.mpd = theme.icon_dir .. "/mpd.png" +theme.mpd_on = theme.icon_dir .. "/mpd_on.png" +theme.prev = theme.icon_dir .. "/prev.png" +theme.nex = theme.icon_dir .. "/next.png" +theme.stop = theme.icon_dir .. "/stop.png" +theme.pause = theme.icon_dir .. "/pause.png" +theme.play = theme.icon_dir .. "/play.png" +theme.clock = theme.icon_dir .. "/clock.png" +theme.calendar = theme.icon_dir .. "/cal.png" +theme.cpu = theme.icon_dir .. "/cpu.png" +theme.net_up = theme.icon_dir .. "/net_up.png" +theme.net_down = theme.icon_dir .. "/net_down.png" -theme.useless_gap = 4 +theme.layout_tile = theme.icon_dir .. "/tile.png" +theme.layout_tilegaps = theme.icon_dir .. "/tilegaps.png" +theme.layout_tileleft = theme.icon_dir .. "/tileleft.png" +theme.layout_tilebottom = theme.icon_dir .. "/tilebottom.png" +theme.layout_tiletop = theme.icon_dir .. "/tiletop.png" +theme.layout_fairv = theme.icon_dir .. "/fairv.png" +theme.layout_fairh = theme.icon_dir .. "/fairh.png" +theme.layout_spiral = theme.icon_dir .. "/spiral.png" +theme.layout_dwindle = theme.icon_dir .. "/dwindle.png" +theme.layout_max = theme.icon_dir .. "/max.png" +theme.layout_fullscreen = theme.icon_dir .. "/fullscreen.png" +theme.layout_magnifier = theme.icon_dir .. "/magnifier.png" +theme.layout_floating = theme.icon_dir .. "/floating.png" + +theme.tasklist_plain_task_name = true +theme.tasklist_disable_icon = true + +theme.useless_gap = 4 + +theme.titlebar_close_button_normal = theme.icon_dir.."/titlebar/close_normal.png" +theme.titlebar_close_button_focus = theme.icon_dir.."/titlebar/close_focus.png" +theme.titlebar_minimize_button_normal = theme.icon_dir.."/titlebar/minimize_normal.png" +theme.titlebar_minimize_button_focus = theme.icon_dir.."/titlebar/minimize_focus.png" +theme.titlebar_ontop_button_normal_inactive = theme.icon_dir.."/titlebar/ontop_normal_inactive.png" +theme.titlebar_ontop_button_focus_inactive = theme.icon_dir.."/titlebar/ontop_focus_inactive.png" +theme.titlebar_ontop_button_normal_active = theme.icon_dir.."/titlebar/ontop_normal_active.png" +theme.titlebar_ontop_button_focus_active = theme.icon_dir.."/titlebar/ontop_focus_active.png" +theme.titlebar_sticky_button_normal_inactive = theme.icon_dir.."/titlebar/sticky_normal_inactive.png" +theme.titlebar_sticky_button_focus_inactive = theme.icon_dir.."/titlebar/sticky_focus_inactive.png" +theme.titlebar_sticky_button_normal_active = theme.icon_dir.."/titlebar/sticky_normal_active.png" +theme.titlebar_sticky_button_focus_active = theme.icon_dir.."/titlebar/sticky_focus_active.png" +theme.titlebar_floating_button_normal_inactive = theme.icon_dir.."/titlebar/floating_normal_inactive.png" +theme.titlebar_floating_button_focus_inactive = theme.icon_dir.."/titlebar/floating_focus_inactive.png" +theme.titlebar_floating_button_normal_active = theme.icon_dir.."/titlebar/floating_normal_active.png" +theme.titlebar_floating_button_focus_active = theme.icon_dir.."/titlebar/floating_focus_active.png" +theme.titlebar_maximized_button_normal_inactive = theme.icon_dir.."/titlebar/maximized_normal_inactive.png" +theme.titlebar_maximized_button_focus_inactive = theme.icon_dir.."/titlebar/maximized_focus_inactive.png" +theme.titlebar_maximized_button_normal_active = theme.icon_dir.."/titlebar/maximized_normal_active.png" +theme.titlebar_maximized_button_focus_active = theme.icon_dir.."/titlebar/maximized_focus_active.png" return theme diff --git a/themes/holo/wall.png b/themes/holo/wall.png index 511e095..72142cb 100644 Binary files a/themes/holo/wall.png and b/themes/holo/wall.png differ