diff --git a/rc.lua.blackburn b/rc.lua.blackburn index b63e981..ff93bab 100644 --- a/rc.lua.blackburn +++ b/rc.lua.blackburn @@ -452,22 +452,22 @@ globalkeys = awful.util.table.join( -- MPD control awful.key({ altkey, "Control" }, "Up", function () - awful.util.spawn_with_shell("mpc toggle || ncmpcpp toggle || ncmpc toggle || pms toggle") + awful.util.spawn_with_shell("mpc toggle || ncmpc toggle || pms toggle") mpdwidget.update() end), awful.key({ altkey, "Control" }, "Down", function () - awful.util.spawn_with_shell("mpc stop || ncmpcpp stop || ncmpc stop || pms stop") + awful.util.spawn_with_shell("mpc stop || ncmpc stop || pms stop") mpdwidget.update() end), awful.key({ altkey, "Control" }, "Left", function () - awful.util.spawn_with_shell("mpc prev || ncmpcpp prev || ncmpc prev || pms prev") + awful.util.spawn_with_shell("mpc prev || ncmpc prev || pms prev") mpdwidget.update() end), awful.key({ altkey, "Control" }, "Right", function () - awful.util.spawn_with_shell("mpc next || ncmpcpp next || ncmpc next || pms next") + awful.util.spawn_with_shell("mpc next || ncmpc next || pms next") mpdwidget.update() end), diff --git a/rc.lua.copland b/rc.lua.copland index 2d542e4..d479baf 100644 --- a/rc.lua.copland +++ b/rc.lua.copland @@ -118,6 +118,8 @@ mymainmenu = awful.menu.new({ items = require("menugen").build_menu(), -- {{{ Wibox markup = lain.util.markup blue = beautiful.fg_focus +red = "#EB8F8F" +green = "#8FEB8F" -- Textclock mytextclock = awful.widget.textclock(" %H:%M ") @@ -186,18 +188,18 @@ batupd = lain.widgets.bat({ baticon:set_image(beautiful.ac) else bat_perc = tonumber(bat_now.perc) - if bat_perc > 50 then + if bat_perc >= 98 then + batbar:set_color(green) + elseif bat_perc > 50 then batbar:set_color(beautiful.fg_normal) baticon:set_image(beautiful.bat) elseif bat_perc > 15 then batbar:set_color(beautiful.fg_normal) baticon:set_image(beautiful.bat_low) else - batbar:set_color("#EB8F8F") + batbar:set_color(red) baticon:set_image(beautiful.bat_no) - end - end batbar:set_value(bat_perc / 100) end @@ -247,7 +249,7 @@ end, colors = { background = beautiful.bg_normal, - mute = "#EB8F8F", + mute = red, unmute = beautiful.fg_normal }}) volmargin = wibox.layout.margin(volume.bar, 2, 7) @@ -505,22 +507,22 @@ globalkeys = awful.util.table.join( -- MPD control awful.key({ altkey, "Control" }, "Up", function () - awful.util.spawn_with_shell("mpc toggle || ncmpcpp toggle || ncmpc toggle || pms toggle") + awful.util.spawn_with_shell("mpc toggle || ncmpc toggle || pms toggle") mpdwidget.update() end), awful.key({ altkey, "Control" }, "Down", function () - awful.util.spawn_with_shell("mpc stop || ncmpcpp stop || ncmpc stop || pms stop") + awful.util.spawn_with_shell("mpc stop || ncmpc stop || pms stop") mpdwidget.update() end), awful.key({ altkey, "Control" }, "Left", function () - awful.util.spawn_with_shell("mpc prev || ncmpcpp prev || ncmpc prev || pms prev") + awful.util.spawn_with_shell("mpc prev || ncmpc prev || pms prev") mpdwidget.update() end), awful.key({ altkey, "Control" }, "Right", function () - awful.util.spawn_with_shell("mpc next || ncmpcpp next || ncmpc next || pms next") + awful.util.spawn_with_shell("mpc next || ncmpc next || pms next") mpdwidget.update() end), diff --git a/rc.lua.dremora b/rc.lua.dremora index 98f8e23..1301764 100644 --- a/rc.lua.dremora +++ b/rc.lua.dremora @@ -452,22 +452,22 @@ globalkeys = awful.util.table.join( -- MPD control awful.key({ altkey, "Control" }, "Up", function () - awful.util.spawn_with_shell("mpc toggle || ncmpcpp toggle || ncmpc toggle || pms toggle") + awful.util.spawn_with_shell("mpc toggle || ncmpc toggle || pms toggle") mpdwidget.update() end), awful.key({ altkey, "Control" }, "Down", function () - awful.util.spawn_with_shell("mpc stop || ncmpcpp stop || ncmpc stop || pms stop") + awful.util.spawn_with_shell("mpc stop || ncmpc stop || pms stop") mpdwidget.update() end), awful.key({ altkey, "Control" }, "Left", function () - awful.util.spawn_with_shell("mpc prev || ncmpcpp prev || ncmpc prev || pms prev") + awful.util.spawn_with_shell("mpc prev || ncmpc prev || pms prev") mpdwidget.update() end), awful.key({ altkey, "Control" }, "Right", function () - awful.util.spawn_with_shell("mpc next || ncmpcpp next || ncmpc next || pms next") + awful.util.spawn_with_shell("mpc next || ncmpc next || pms next") mpdwidget.update() end), diff --git a/rc.lua.holo b/rc.lua.holo index 652f477..ee3739b 100644 --- a/rc.lua.holo +++ b/rc.lua.holo @@ -199,23 +199,23 @@ mpd_icon:buttons(awful.util.table.join(awful.button({ }, 1, function () awful.util.spawn_with_shell(musicplr) end))) prev_icon:buttons(awful.util.table.join(awful.button({}, 1, function () - awful.util.spawn_with_shell("mpc prev || ncmpcpp prev || ncmpc prev || pms prev") + awful.util.spawn_with_shell("mpc prev || ncmpc prev || pms prev") mpdwidget.update() end))) next_icon:buttons(awful.util.table.join(awful.button({}, 1, function () - awful.util.spawn_with_shell("mpc next || ncmpcpp next || ncmpc next || pms next") + awful.util.spawn_with_shell("mpc next || ncmpc next || pms next") mpdwidget.update() end))) stop_icon:buttons(awful.util.table.join(awful.button({}, 1, function () play_pause_icon:set_image(beautiful.play) - awful.util.spawn_with_shell("mpc stop || ncmpcpp stop || ncmpc stop || pms stop") + awful.util.spawn_with_shell("mpc stop || ncmpc stop || pms stop") mpdwidget.update() end))) play_pause_icon:buttons(awful.util.table.join(awful.button({}, 1, function () - awful.util.spawn_with_shell("mpc toggle || ncmpcpp toggle || ncmpc toggle || pms toggle") + awful.util.spawn_with_shell("mpc toggle || ncmpc toggle || pms toggle") mpdwidget.update() end))) @@ -584,22 +584,22 @@ globalkeys = awful.util.table.join( -- MPD control awful.key({ altkey, "Control" }, "Up", function () - awful.util.spawn_with_shell("mpc toggle || ncmpcpp toggle || ncmpc toggle || pms toggle") + awful.util.spawn_with_shell("mpc toggle || ncmpc toggle || pms toggle") mpdwidget.update() end), awful.key({ altkey, "Control" }, "Down", function () - awful.util.spawn_with_shell("mpc stop || ncmpcpp stop || ncmpc stop || pms stop") + awful.util.spawn_with_shell("mpc stop || ncmpc stop || pms stop") mpdwidget.update() end), awful.key({ altkey, "Control" }, "Left", function () - awful.util.spawn_with_shell("mpc prev || ncmpcpp prev || ncmpc prev || pms prev") + awful.util.spawn_with_shell("mpc prev || ncmpc prev || pms prev") mpdwidget.update() end), awful.key({ altkey, "Control" }, "Right", function () - awful.util.spawn_with_shell("mpc next || ncmpcpp next || ncmpc next || pms next") + awful.util.spawn_with_shell("mpc next || ncmpc next || pms next") mpdwidget.update() end), diff --git a/rc.lua.multicolor b/rc.lua.multicolor index 093f732..6baeb23 100644 --- a/rc.lua.multicolor +++ b/rc.lua.multicolor @@ -516,22 +516,22 @@ globalkeys = awful.util.table.join( -- MPD control awful.key({ altkey, "Control" }, "Up", function () - awful.util.spawn_with_shell("mpc toggle || ncmpcpp toggle || ncmpc toggle || pms toggle") + awful.util.spawn_with_shell("mpc toggle || ncmpc toggle || pms toggle") mpdwidget.update() end), awful.key({ altkey, "Control" }, "Down", function () - awful.util.spawn_with_shell("mpc stop || ncmpcpp stop || ncmpc stop || pms stop") + awful.util.spawn_with_shell("mpc stop || ncmpc stop || pms stop") mpdwidget.update() end), awful.key({ altkey, "Control" }, "Left", function () - awful.util.spawn_with_shell("mpc prev || ncmpcpp prev || ncmpc prev || pms prev") + awful.util.spawn_with_shell("mpc prev || ncmpc prev || pms prev") mpdwidget.update() end), awful.key({ altkey, "Control" }, "Right", function () - awful.util.spawn_with_shell("mpc next || ncmpcpp next || ncmpc next || pms next") + awful.util.spawn_with_shell("mpc next || ncmpc next || pms next") mpdwidget.update() end), diff --git a/rc.lua.powerarrow-darker b/rc.lua.powerarrow-darker index dafe611..539d181 100644 --- a/rc.lua.powerarrow-darker +++ b/rc.lua.powerarrow-darker @@ -330,6 +330,8 @@ for s = 1, screen.count() do left_layout:add(spr) -- Widgets that are aligned to the upper right + -- If you are moving widgets from a section with light grey background to dark grey or vice versa, + -- use a replacement icon as appropriate from themes/powerarrow-darker/alticons so your icons match the bg. local right_layout = wibox.layout.fixed.horizontal() if s == 1 then right_layout:add(wibox.widget.systray()) end right_layout:add(spr) @@ -505,22 +507,22 @@ globalkeys = awful.util.table.join( -- MPD control awful.key({ altkey, "Control" }, "Up", function () - awful.util.spawn_with_shell("mpc toggle || ncmpcpp toggle || ncmpc toggle || pms toggle") + awful.util.spawn_with_shell("mpc toggle || ncmpc toggle || pms toggle") mpdwidget.update() end), awful.key({ altkey, "Control" }, "Down", function () - awful.util.spawn_with_shell("mpc stop || ncmpcpp stop || ncmpc stop || pms stop") + awful.util.spawn_with_shell("mpc stop || ncmpc stop || pms stop") mpdwidget.update() end), awful.key({ altkey, "Control" }, "Left", function () - awful.util.spawn_with_shell("mpc prev || ncmpcpp prev || ncmpc prev || pms prev") + awful.util.spawn_with_shell("mpc prev || ncmpc prev || pms prev") mpdwidget.update() end), awful.key({ altkey, "Control" }, "Right", function () - awful.util.spawn_with_shell("mpc next || ncmpcpp next || ncmpc next || pms next") + awful.util.spawn_with_shell("mpc next || ncmpc next || pms next") mpdwidget.update() end), diff --git a/rc.lua.rainbow b/rc.lua.rainbow index 271c034..2a022c7 100644 --- a/rc.lua.rainbow +++ b/rc.lua.rainbow @@ -450,22 +450,22 @@ globalkeys = awful.util.table.join( -- MPD control awful.key({ altkey, "Control" }, "Up", function () - awful.util.spawn_with_shell("mpc toggle || ncmpcpp toggle || ncmpc toggle || pms toggle") + awful.util.spawn_with_shell("mpc toggle || ncmpc toggle || pms toggle") mpdwidget.update() end), awful.key({ altkey, "Control" }, "Down", function () - awful.util.spawn_with_shell("mpc stop || ncmpcpp stop || ncmpc stop || pms stop") + awful.util.spawn_with_shell("mpc stop || ncmpc stop || pms stop") mpdwidget.update() end), awful.key({ altkey, "Control" }, "Left", function () - awful.util.spawn_with_shell("mpc prev || ncmpcpp prev || ncmpc prev || pms prev") + awful.util.spawn_with_shell("mpc prev || ncmpc prev || pms prev") mpdwidget.update() end), awful.key({ altkey, "Control" }, "Right", function () - awful.util.spawn_with_shell("mpc next || ncmpcpp next || ncmpc next || pms next") + awful.util.spawn_with_shell("mpc next || ncmpc next || pms next") mpdwidget.update() end), diff --git a/rc.lua.steamburn b/rc.lua.steamburn index b499073..c63a6c0 100644 --- a/rc.lua.steamburn +++ b/rc.lua.steamburn @@ -459,22 +459,22 @@ globalkeys = awful.util.table.join( -- MPD control awful.key({ altkey, "Control" }, "Up", function () - awful.util.spawn_with_shell("mpc toggle || ncmpcpp toggle || ncmpc toggle || pms toggle") + awful.util.spawn_with_shell("mpc toggle || ncmpc toggle || pms toggle") mpdwidget.update() end), awful.key({ altkey, "Control" }, "Down", function () - awful.util.spawn_with_shell("mpc stop || ncmpcpp stop || ncmpc stop || pms stop") + awful.util.spawn_with_shell("mpc stop || ncmpc stop || pms stop") mpdwidget.update() end), awful.key({ altkey, "Control" }, "Left", function () - awful.util.spawn_with_shell("mpc prev || ncmpcpp prev || ncmpc prev || pms prev") + awful.util.spawn_with_shell("mpc prev || ncmpc prev || pms prev") mpdwidget.update() end), awful.key({ altkey, "Control" }, "Right", function () - awful.util.spawn_with_shell("mpc next || ncmpcpp next || ncmpc next || pms next") + awful.util.spawn_with_shell("mpc next || ncmpc next || pms next") mpdwidget.update() end), diff --git a/themes/powerarrow-darker/alticons/ac.png b/themes/powerarrow-darker/alticons/ac.png new file mode 100644 index 0000000..7037bc0 Binary files /dev/null and b/themes/powerarrow-darker/alticons/ac.png differ diff --git a/themes/powerarrow-darker/alticons/battery.png b/themes/powerarrow-darker/alticons/battery.png new file mode 100644 index 0000000..612f8f6 Binary files /dev/null and b/themes/powerarrow-darker/alticons/battery.png differ diff --git a/themes/powerarrow-darker/alticons/battery_empty.png b/themes/powerarrow-darker/alticons/battery_empty.png new file mode 100644 index 0000000..b079938 Binary files /dev/null and b/themes/powerarrow-darker/alticons/battery_empty.png differ diff --git a/themes/powerarrow-darker/alticons/battery_low.png b/themes/powerarrow-darker/alticons/battery_low.png new file mode 100644 index 0000000..227efdd Binary files /dev/null and b/themes/powerarrow-darker/alticons/battery_low.png differ diff --git a/themes/powerarrow-darker/alticons/cpu.png b/themes/powerarrow-darker/alticons/cpu.png new file mode 100644 index 0000000..d74c1dc Binary files /dev/null and b/themes/powerarrow-darker/alticons/cpu.png differ diff --git a/themes/powerarrow-darker/alticons/dwindle.png b/themes/powerarrow-darker/alticons/dwindle.png new file mode 100644 index 0000000..3e36565 Binary files /dev/null and b/themes/powerarrow-darker/alticons/dwindle.png differ diff --git a/themes/powerarrow-darker/alticons/fairh.png b/themes/powerarrow-darker/alticons/fairh.png new file mode 100644 index 0000000..82f8190 Binary files /dev/null and b/themes/powerarrow-darker/alticons/fairh.png differ diff --git a/themes/powerarrow-darker/alticons/fairv.png b/themes/powerarrow-darker/alticons/fairv.png new file mode 100644 index 0000000..84a3f9f Binary files /dev/null and b/themes/powerarrow-darker/alticons/fairv.png differ diff --git a/themes/powerarrow-darker/alticons/floating.png b/themes/powerarrow-darker/alticons/floating.png new file mode 100644 index 0000000..3303d3e Binary files /dev/null and b/themes/powerarrow-darker/alticons/floating.png differ diff --git a/themes/powerarrow-darker/alticons/hdd.png b/themes/powerarrow-darker/alticons/hdd.png new file mode 100644 index 0000000..87b0966 Binary files /dev/null and b/themes/powerarrow-darker/alticons/hdd.png differ diff --git a/themes/powerarrow-darker/alticons/magnifier.png b/themes/powerarrow-darker/alticons/magnifier.png new file mode 100644 index 0000000..2d3783f Binary files /dev/null and b/themes/powerarrow-darker/alticons/magnifier.png differ diff --git a/themes/powerarrow-darker/alticons/mail.png b/themes/powerarrow-darker/alticons/mail.png new file mode 100644 index 0000000..942f2a5 Binary files /dev/null and b/themes/powerarrow-darker/alticons/mail.png differ diff --git a/themes/powerarrow-darker/alticons/mail_on.png b/themes/powerarrow-darker/alticons/mail_on.png new file mode 100644 index 0000000..fa646f0 Binary files /dev/null and b/themes/powerarrow-darker/alticons/mail_on.png differ diff --git a/themes/powerarrow-darker/alticons/max.png b/themes/powerarrow-darker/alticons/max.png new file mode 100644 index 0000000..1e668f4 Binary files /dev/null and b/themes/powerarrow-darker/alticons/max.png differ diff --git a/themes/powerarrow-darker/alticons/mem.png b/themes/powerarrow-darker/alticons/mem.png new file mode 100644 index 0000000..568921e Binary files /dev/null and b/themes/powerarrow-darker/alticons/mem.png differ diff --git a/themes/powerarrow-darker/alticons/net.png b/themes/powerarrow-darker/alticons/net.png new file mode 100644 index 0000000..35efd2b Binary files /dev/null and b/themes/powerarrow-darker/alticons/net.png differ diff --git a/themes/powerarrow-darker/alticons/net_wired.png b/themes/powerarrow-darker/alticons/net_wired.png new file mode 100644 index 0000000..98b9089 Binary files /dev/null and b/themes/powerarrow-darker/alticons/net_wired.png differ diff --git a/themes/powerarrow-darker/alticons/note.png b/themes/powerarrow-darker/alticons/note.png new file mode 100644 index 0000000..302da90 Binary files /dev/null and b/themes/powerarrow-darker/alticons/note.png differ diff --git a/themes/powerarrow-darker/alticons/note_on.png b/themes/powerarrow-darker/alticons/note_on.png new file mode 100644 index 0000000..4fc3b45 Binary files /dev/null and b/themes/powerarrow-darker/alticons/note_on.png differ diff --git a/themes/powerarrow-darker/alticons/scissors.png b/themes/powerarrow-darker/alticons/scissors.png new file mode 100644 index 0000000..630043f Binary files /dev/null and b/themes/powerarrow-darker/alticons/scissors.png differ diff --git a/themes/powerarrow-darker/alticons/spiral.png b/themes/powerarrow-darker/alticons/spiral.png new file mode 100644 index 0000000..c492b9f Binary files /dev/null and b/themes/powerarrow-darker/alticons/spiral.png differ diff --git a/themes/powerarrow-darker/alticons/task.png b/themes/powerarrow-darker/alticons/task.png new file mode 100644 index 0000000..85a97c2 Binary files /dev/null and b/themes/powerarrow-darker/alticons/task.png differ diff --git a/themes/powerarrow-darker/alticons/temp.png b/themes/powerarrow-darker/alticons/temp.png new file mode 100644 index 0000000..9000a12 Binary files /dev/null and b/themes/powerarrow-darker/alticons/temp.png differ diff --git a/themes/powerarrow-darker/alticons/tile.png b/themes/powerarrow-darker/alticons/tile.png new file mode 100644 index 0000000..d164bab Binary files /dev/null and b/themes/powerarrow-darker/alticons/tile.png differ diff --git a/themes/powerarrow-darker/alticons/tilebottom.png b/themes/powerarrow-darker/alticons/tilebottom.png new file mode 100644 index 0000000..53a0475 Binary files /dev/null and b/themes/powerarrow-darker/alticons/tilebottom.png differ diff --git a/themes/powerarrow-darker/alticons/tileleft.png b/themes/powerarrow-darker/alticons/tileleft.png new file mode 100644 index 0000000..790de38 Binary files /dev/null and b/themes/powerarrow-darker/alticons/tileleft.png differ diff --git a/themes/powerarrow-darker/alticons/tiletop.png b/themes/powerarrow-darker/alticons/tiletop.png new file mode 100644 index 0000000..af10bc2 Binary files /dev/null and b/themes/powerarrow-darker/alticons/tiletop.png differ diff --git a/themes/powerarrow-darker/alticons/vol.png b/themes/powerarrow-darker/alticons/vol.png new file mode 100644 index 0000000..7ab6551 Binary files /dev/null and b/themes/powerarrow-darker/alticons/vol.png differ diff --git a/themes/powerarrow-darker/alticons/vol_low.png b/themes/powerarrow-darker/alticons/vol_low.png new file mode 100644 index 0000000..ade5019 Binary files /dev/null and b/themes/powerarrow-darker/alticons/vol_low.png differ diff --git a/themes/powerarrow-darker/alticons/vol_mute.png b/themes/powerarrow-darker/alticons/vol_mute.png new file mode 100644 index 0000000..d173f53 Binary files /dev/null and b/themes/powerarrow-darker/alticons/vol_mute.png differ diff --git a/themes/powerarrow-darker/alticons/vol_no.png b/themes/powerarrow-darker/alticons/vol_no.png new file mode 100644 index 0000000..41fb23e Binary files /dev/null and b/themes/powerarrow-darker/alticons/vol_no.png differ