diff --git a/README.rst b/README.rst index 16bca72..dd939a6 100644 --- a/README.rst +++ b/README.rst @@ -96,7 +96,7 @@ Installation .. code-block:: shell - $ git clone --recursive https://github.com/lcpz/awesome-copycats.git + $ git clone --depth 1 --recursive https://github.com/lcpz/awesome-copycats.git $ mv -bv awesome-copycats/* ~/.config/awesome && rm -rf awesome-copycats Usage @@ -141,42 +141,21 @@ This way, you can safely ``git pull`` anytime. Notes ===== -Complements are provided by lain_ and freedesktop_. **Be sure** to satisfy their dependencies. +Complements are provided by lain_ and freedesktop_. **Be sure** to satisfy their dependencies_. In particular, mail_ and weather_ widgets have **mandatory** arguments. -The fonts used in the screenshots are: Terminus_ (Multicolor, Powerarrow, Powerarrow Dark), Roboto_ (Holo, Vertex) and Tamsyn_ (other ones). +The fonts used in the screenshots are: Terminus_ (Multicolor, Powerarrow, Powerarrow Dark), Roboto_ (Holo, Vertex) and Tamzen_ (other ones). As taglist font, Blackburn and Dremora use Icons_, Vertex uses FontAwesome_: be sure to have bitmaps enabled if running under Debian or Ubuntu_. -Due the removal of support for bitmap fonts in Pango 1.44_, the current main font is Terminus (OTB version). Under Arch Linux, use ``community/terminus-font-otb``. - Every theme has a colorscheme_. -You can also configure the ``city_id`` in the following snippet in ``/.config/awesome/themes/<>/theme.lua`` to get the correct weather information (we suggest doing it in your ``theme-personal.lua``): - -.. code-block:: - - -- Weather - local weathericon = wibox.widget.imagebox(theme.widget_weather) - theme.weather = lain.widget.weather({ - city_id = 2643743, -- placeholder (London) - notification_preset = { font = "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 - }) - -You can find your ``city_id`` in city.list.json.gz_ after you extract it. - Additional default software used: :: - dmenu firefox mpc mpd scrot unclutter xsel slock + amixer dmenu librewolf mpc mpd scrot unclutter xbacklight xsel slock .. _BY-NC-SA: http://creativecommons.org/licenses/by-nc-sa/4.0 -.. _b0ab0d7: https://github.com/lcpz/awesome-copycats/tree/b0ab0d7837987be81b9195a36631df773113d491 .. _Awesome: http://github.com/awesomeWM/awesome +.. _branches: https://github.com/lcpz/awesome-copycats/branches .. _lucamanni: https://github.com/lucamanni/awesome .. _romockee: https://github.com/romockee/powerarrow .. _ok100: http://ok100.deviantart.com/art/DWM-January-2013-348656846 @@ -186,13 +165,12 @@ Additional default software used: :: .. _lain: https://github.com/lcpz/lain .. _freedesktop: https://github.com/lcpz/awesome-freedesktop .. _Terminus: http://terminus-font.sourceforge.net -.. _Tamzen: https://github.com/sunaku/tamzen-font .. _Roboto: https://fonts.google.com/specimen/Roboto -.. _Tamsyn: http://www.fial.com/~scott/tamsyn-font -.. _colorscheme: https://github.com/lcpz/dots/tree/master/.colors +.. _Tamzen: https://github.com/sunaku/tamzen-font .. _Icons: https://github.com/lcpz/dots/tree/master/.fonts -.. _Ubuntu: https://wiki.ubuntu.com/Fonts#Enabling_Bitmapped_Fonts .. _FontAwesome: https://github.com/FortAwesome/Font-Awesome -.. _branches: https://github.com/lcpz/awesome-copycats/branches -.. _city.list.json.gz: http://bulk.openweathermap.org/sample/city.list.json.gz -.. _1.44: https://github.com/lcpz/awesome-copycats/issues/269 +.. _Ubuntu: https://wiki.ubuntu.com/Fonts#Enabling_Bitmapped_Fonts +.. _colorscheme: https://github.com/lcpz/dots/tree/master/.colors +.. _dependencies: https://github.com/lcpz/lain/wiki#dependencies +.. _mail: https://github.com/lcpz/lain/wiki/mail +.. _weather: https://github.com/lcpz/lain/wiki/weather diff --git a/freedesktop b/freedesktop index 6951b09..e4ac597 160000 --- a/freedesktop +++ b/freedesktop @@ -1 +1 @@ -Subproject commit 6951b09b9813a8c98c9927d8b1f78b710b8c993c +Subproject commit e4ac597ea809cbc4b08be1d0dfdb871b6b0db9c3 diff --git a/lain b/lain index 33c0e0c..5882000 160000 --- a/lain +++ b/lain @@ -1 +1 @@ -Subproject commit 33c0e0c2360a04fcc6f51bccb0ad2a7a9e9c07b3 +Subproject commit 5882000904d06e2a85e11807a67990aed86b1510 diff --git a/rc.lua.template b/rc.lua.template index db10f14..dd81459 100644 --- a/rc.lua.template +++ b/rc.lua.template @@ -6,8 +6,10 @@ --]] -- {{{ Required libraries -local awesome, client, mouse, screen, tag = awesome, client, mouse, screen, tag -local ipairs, string, os, table, tostring, tonumber, type = ipairs, string, os, table, tostring, tonumber, type + +-- If LuaRocks is installed, make sure that packages installed through it are +-- found (e.g. lgi). If LuaRocks is not installed, do nothing. +pcall(require, "luarocks.loader") local gears = require("gears") local awful = require("awful") @@ -18,34 +20,43 @@ local naughty = require("naughty") local lain = require("lain") --local menubar = require("menubar") local freedesktop = require("freedesktop") -local hotkeys_popup = require("awful.hotkeys_popup").widget +local hotkeys_popup = require("awful.hotkeys_popup") require("awful.hotkeys_popup.keys") -local my_table = awful.util.table or gears.table -- 4.{0,1} compatibility -local dpi = require("beautiful.xresources").apply_dpi +local mytable = awful.util.table or gears.table -- 4.{0,1} compatibility + -- }}} -- {{{ Error handling + -- Check if awesome encountered an error during startup and fell back to -- another config (This code will only ever execute for the fallback config) if awesome.startup_errors then - naughty.notify({ preset = naughty.config.presets.critical, - title = "Oops, there were errors during startup!", - text = awesome.startup_errors }) + naughty.notify { + preset = naughty.config.presets.critical, + title = "Oops, there were errors during startup!", + text = awesome.startup_errors + } end -- Handle runtime errors after startup do local in_error = false + awesome.connect_signal("debug::error", function (err) if in_error then return end + in_error = true - naughty.notify({ preset = naughty.config.presets.critical, - title = "Oops, an error happened!", - text = tostring(err) }) + naughty.notify { + preset = naughty.config.presets.critical, + title = "Oops, an error happened!", + text = tostring(err) + } + in_error = false end) end + -- }}} -- {{{ Autostart windowless processes @@ -57,7 +68,7 @@ local function run_once(cmd_arr) end end -run_once({ "urxvtd", "unclutter -root" }) -- entries must be separated by commas +run_once({ "urxvtd", "unclutter -root" }) -- comma-separated entries -- This function implements the XDG autostart specification --[[ @@ -83,18 +94,17 @@ local themes = { "powerarrow-dark", -- 7 "rainbow", -- 8 "steamburn", -- 9 - "vertex", -- 10 + "vertex" -- 10 } local chosen_theme = themes[5] local modkey = "Mod4" local altkey = "Mod1" local terminal = "urxvtc" -local editor = os.getenv("EDITOR") or "vim" -local gui_editor = "gvim" -local browser = "firefox" -local guieditor = "atom" -local scrlocker = "slock" +local vi_focus = false -- vi-like client focus https://github.com/lcpz/awesome-copycats/issues/275 +local cycle_prev = true -- cycle with only the previously focused client or all https://github.com/lcpz/awesome-copycats/issues/274 +local editor = os.getenv("EDITOR") or "nvim" +local browser = "librewolf" awful.util.terminal = terminal awful.util.tagnames = { "1", "2", "3", "4", "5" } @@ -120,85 +130,63 @@ awful.layout.layouts = { --lain.layout.centerwork, --lain.layout.centerwork.horizontal, --lain.layout.termfair, - --lain.layout.termfair.center, + --lain.layout.termfair.center } -awful.util.taglist_buttons = my_table.join( - awful.button({ }, 1, function(t) t:view_only() end), - awful.button({ modkey }, 1, function(t) - if client.focus then - client.focus:move_to_tag(t) - end - end), - awful.button({ }, 3, awful.tag.viewtoggle), - awful.button({ modkey }, 3, function(t) - if client.focus then - client.focus:toggle_tag(t) - end - end), - awful.button({ }, 4, function(t) awful.tag.viewnext(t.screen) end), - awful.button({ }, 5, function(t) awful.tag.viewprev(t.screen) end) -) - -awful.util.tasklist_buttons = my_table.join( - awful.button({ }, 1, function (c) - if c == client.focus then - c.minimized = true - else - --c:emit_signal("request::activate", "tasklist", {raise = true}) - - -- Without this, the following - -- :isvisible() makes no sense - c.minimized = false - if not c:isvisible() and c.first_tag then - c.first_tag:view_only() - end - -- This will also un-minimize - -- the client, if needed - client.focus = c - c:raise() - end - end), - awful.button({ }, 2, function (c) c:kill() end), - awful.button({ }, 3, function () - local instance = nil - - return function () - if instance and instance.wibox.visible then - instance:hide() - instance = nil - else - instance = awful.menu.clients({theme = {width = dpi(250)}}) - end - end - end), - awful.button({ }, 4, function () awful.client.focus.byidx(1) end), - awful.button({ }, 5, function () awful.client.focus.byidx(-1) end) -) - lain.layout.termfair.nmaster = 3 lain.layout.termfair.ncol = 1 lain.layout.termfair.center.nmaster = 3 lain.layout.termfair.center.ncol = 1 -lain.layout.cascade.tile.offset_x = dpi(2) -lain.layout.cascade.tile.offset_y = dpi(32) -lain.layout.cascade.tile.extra_padding = dpi(5) +lain.layout.cascade.tile.offset_x = 2 +lain.layout.cascade.tile.offset_y = 32 +lain.layout.cascade.tile.extra_padding = 5 lain.layout.cascade.tile.nmaster = 5 lain.layout.cascade.tile.ncol = 2 +awful.util.taglist_buttons = mytable.join( + awful.button({ }, 1, function(t) t:view_only() end), + awful.button({ modkey }, 1, function(t) + if client.focus then client.focus:move_to_tag(t) end + end), + awful.button({ }, 3, awful.tag.viewtoggle), + awful.button({ modkey }, 3, function(t) + if client.focus then client.focus:toggle_tag(t) end + end), + awful.button({ }, 4, function(t) awful.tag.viewnext(t.screen) end), + awful.button({ }, 5, function(t) awful.tag.viewprev(t.screen) end) +) + +awful.util.tasklist_buttons = mytable.join( + awful.button({ }, 1, function(c) + if c == client.focus then + c.minimized = true + else + c:emit_signal("request::activate", "tasklist", { raise = true }) + end + end), + awful.button({ }, 3, function() + awful.menu.client_list({ theme = { width = 250 } }) + end), + awful.button({ }, 4, function() awful.client.focus.byidx(1) end), + awful.button({ }, 5, function() awful.client.focus.byidx(-1) end) +) + beautiful.init(string.format("%s/.config/awesome/themes/%s/theme.lua", os.getenv("HOME"), chosen_theme)) + -- }}} -- {{{ Menu + +-- Create a launcher widget and a main menu local myawesomemenu = { - { "hotkeys", function() return false, hotkeys_popup.show_help end }, - { "manual", terminal .. " -e man awesome" }, - { "edit config", string.format("%s -e %s %s", terminal, editor, awesome.conffile) }, - { "restart", awesome.restart }, - { "quit", function() awesome.quit() end } + { "Hotkeys", function() hotkeys_popup.show_help(nil, awful.screen.focused()) end }, + { "Manual", string.format("%s -e man awesome", terminal) }, + { "Edit config", string.format("%s -e %s %s", terminal, editor, awesome.conffile) }, + { "Restart", awesome.restart }, + { "Quit", function() awesome.quit() end }, } -awful.util.mymainmenu = freedesktop.menu.build({ - icon_size = beautiful.menu_height or dpi(16), + +local mymainmenu = freedesktop.menu.build { before = { { "Awesome", myawesomemenu, beautiful.awesome_icon }, -- other triads can be put here @@ -207,14 +195,18 @@ awful.util.mymainmenu = freedesktop.menu.build({ { "Open terminal", terminal }, -- other triads can be put here } -}) --- hide menu when mouse leaves it ---awful.util.mymainmenu.wibox:connect_signal("mouse::leave", function() awful.util.mymainmenu:hide() end) +} + +-- hide menu when mouse leaves it +--mymainmenu.wibox:connect_signal("mouse::leave", function() mymainmenu:hide() end) + +-- Set the Menubar terminal for applications that require it +--menubar.utils.terminal = terminal ---menubar.utils.terminal = terminal -- Set the Menubar terminal for applications that require it -- }}} -- {{{ Screen + -- Re-set wallpaper when a screen's geometry changes (e.g. different resolution) screen.connect_signal("property::geometry", function(s) -- Wallpaper @@ -239,20 +231,25 @@ screen.connect_signal("arrange", function (s) end end end) + -- Create a wibox for each screen and add it awful.screen.connect_for_each_screen(function(s) beautiful.at_screen_connect(s) end) + -- }}} -- {{{ Mouse bindings -root.buttons(my_table.join( - awful.button({ }, 3, function () awful.util.mymainmenu:toggle() end), + +root.buttons(mytable.join( + awful.button({ }, 3, function () mymainmenu:toggle() end), awful.button({ }, 4, awful.tag.viewnext), awful.button({ }, 5, awful.tag.viewprev) )) + -- }}} -- {{{ Key bindings -globalkeys = my_table.join( + +globalkeys = mytable.join( -- Take a screenshot -- https://github.com/lcpz/dots/blob/master/bin/screenshot awful.key({ altkey }, "p", function() os.execute("screenshot") end, @@ -262,9 +259,10 @@ globalkeys = my_table.join( awful.key({ altkey, "Control" }, "l", function () os.execute(scrlocker) end, {description = "lock screen", group = "hotkeys"}), - -- Hotkeys + -- Show help awful.key({ modkey, }, "s", hotkeys_popup.show_help, - {description = "show help", group="awesome"}), + {description="show help", group="awesome"}), + -- Tag browsing awful.key({ modkey, }, "Left", awful.tag.viewprev, {description = "view previous", group = "tag"}), @@ -293,7 +291,7 @@ globalkeys = my_table.join( {description = "focus previous by index", group = "client"} ), - -- By direction client focus + -- By-direction client focus awful.key({ modkey }, "j", function() awful.client.focus.global_bydirection("down") @@ -318,7 +316,9 @@ globalkeys = my_table.join( if client.focus then client.focus:raise() end end, {description = "focus right", group = "client"}), - awful.key({ modkey, }, "w", function () awful.util.mymainmenu:show() end, + + -- Menu + awful.key({ modkey, }, "w", function () mymainmenu:show() end, {description = "show main menu", group = "awesome"}), -- Layout manipulation @@ -334,14 +334,18 @@ globalkeys = my_table.join( {description = "jump to urgent client", group = "client"}), awful.key({ modkey, }, "Tab", function () - awful.client.focus.history.previous() + if cycle_prev then + awful.client.focus.history.previous() + else + awful.client.focus.byidx(-1) + end if client.focus then client.focus:raise() end end, - {description = "go back", group = "client"}), + {description = "cycle with previous/go back", group = "client"}), - -- Show/Hide Wibox + -- Show/hide wibox awful.key({ modkey }, "b", function () for s in screen do s.mywibox.visible = not s.mywibox.visible @@ -352,7 +356,7 @@ globalkeys = my_table.join( end, {description = "toggle wibox", group = "awesome"}), - -- On the fly useless gaps change + -- On-the-fly useless gaps change awful.key({ altkey, "Control" }, "+", function () lain.util.useless_gaps_resize(1) end, {description = "increment useless gaps", group = "tag"}), awful.key({ altkey, "Control" }, "-", function () lain.util.useless_gaps_resize(-1) end, @@ -378,9 +382,9 @@ globalkeys = my_table.join( awful.key({ modkey, "Shift" }, "q", awesome.quit, {description = "quit awesome", group = "awesome"}), - awful.key({ altkey, "Shift" }, "l", function () awful.tag.incmwfact( 0.05) end, + awful.key({ modkey, altkey }, "l", function () awful.tag.incmwfact( 0.05) end, {description = "increase master width factor", group = "layout"}), - awful.key({ altkey, "Shift" }, "h", function () awful.tag.incmwfact(-0.05) end, + awful.key({ modkey, altkey }, "h", function () awful.tag.incmwfact(-0.05) end, {description = "decrease master width factor", group = "layout"}), awful.key({ modkey, "Shift" }, "h", function () awful.tag.incnmaster( 1, nil, true) end, {description = "increase the number of master clients", group = "layout"}), @@ -395,16 +399,13 @@ globalkeys = my_table.join( awful.key({ modkey, "Shift" }, "space", function () awful.layout.inc(-1) end, {description = "select previous", group = "layout"}), - awful.key({ modkey, "Control" }, "n", - function () - local c = awful.client.restore() - -- Focus restored client - if c then - client.focus = c - c:raise() - end - end, - {description = "restore minimized", group = "client"}), + awful.key({ modkey, "Control" }, "n", function () + local c = awful.client.restore() + -- Focus restored client + if c then + c:emit_signal("request::activate", "key.unminimize", {raise = true}) + end + end, {description = "restore minimized", group = "client"}), -- Dropdown application awful.key({ modkey, }, "z", function () awful.screen.focused().quake:toggle() end, @@ -418,7 +419,7 @@ globalkeys = my_table.join( awful.key({ altkey, }, "w", function () if beautiful.weather then beautiful.weather.show(7) end end, {description = "show weather", group = "widgets"}), - -- Brightness + -- Screen brightness awful.key({ }, "XF86MonBrightnessUp", function () os.execute("xbacklight -inc 10") end, {description = "+10%", group = "hotkeys"}), awful.key({ }, "XF86MonBrightnessDown", function () os.execute("xbacklight -dec 10") end, @@ -505,8 +506,6 @@ globalkeys = my_table.join( -- User programs awful.key({ modkey }, "q", function () awful.spawn(browser) end, {description = "run browser", group = "launcher"}), - awful.key({ modkey }, "a", function () awful.spawn(guieditor) end, - {description = "run gui editor", group = "launcher"}), -- Default --[[ Menubar @@ -546,7 +545,7 @@ globalkeys = my_table.join( --]] ) -clientkeys = my_table.join( +clientkeys = mytable.join( awful.key({ altkey, "Shift" }, "m", lain.util.magnify_client, {description = "magnify client", group = "client"}), awful.key({ modkey, }, "f", @@ -577,22 +576,26 @@ clientkeys = my_table.join( c.maximized = not c.maximized c:raise() end , - {description = "maximize", group = "client"}) + {description = "(un)maximize", group = "client"}), + awful.key({ modkey, "Control" }, "m", + function (c) + c.maximized_vertical = not c.maximized_vertical + c:raise() + end , + {description = "(un)maximize vertically", group = "client"}), + awful.key({ modkey, "Shift" }, "m", + function (c) + c.maximized_horizontal = not c.maximized_horizontal + c:raise() + end , + {description = "(un)maximize horizontally", group = "client"}) ) -- Bind all key numbers to tags. --- Be careful: we use keycodes to make it works on any keyboard layout. +-- Be careful: we use keycodes to make it work on any keyboard layout. -- This should map on the top row of your keyboard, usually 1 to 9. for i = 1, 9 do - -- Hack to only show tags 1 and 9 in the shortcut window (mod+s) - local descr_view, descr_toggle, descr_move, descr_toggle_focus - if i == 1 or i == 9 then - descr_view = {description = "view tag #", group = "tag"} - descr_toggle = {description = "toggle tag #", group = "tag"} - descr_move = {description = "move focused client to tag #", group = "tag"} - descr_toggle_focus = {description = "toggle focused client on tag #", group = "tag"} - end - globalkeys = my_table.join(globalkeys, + globalkeys = mytable.join(globalkeys, -- View tag only. awful.key({ modkey }, "#" .. i + 9, function () @@ -602,7 +605,7 @@ for i = 1, 9 do tag:view_only() end end, - descr_view), + {description = "view tag #"..i, group = "tag"}), -- Toggle tag display. awful.key({ modkey, "Control" }, "#" .. i + 9, function () @@ -612,7 +615,7 @@ for i = 1, 9 do awful.tag.viewtoggle(tag) end end, - descr_toggle), + {description = "toggle tag #" .. i, group = "tag"}), -- Move client to tag. awful.key({ modkey, "Shift" }, "#" .. i + 9, function () @@ -623,7 +626,7 @@ for i = 1, 9 do end end end, - descr_move), + {description = "move focused client to tag #"..i, group = "tag"}), -- Toggle tag on focused client. awful.key({ modkey, "Control", "Shift" }, "#" .. i + 9, function () @@ -634,11 +637,11 @@ for i = 1, 9 do end end end, - descr_toggle_focus) + {description = "toggle focused client on tag #" .. i, group = "tag"}) ) end -clientbuttons = gears.table.join( +clientbuttons = mytable.join( awful.button({ }, 1, function (c) c:emit_signal("request::activate", "mouse_click", {raise = true}) end), @@ -654,9 +657,11 @@ clientbuttons = gears.table.join( -- Set keys root.keys(globalkeys) + -- }}} -- {{{ Rules + -- Rules to apply to new clients (through the "manage" signal). awful.rules.rules = { -- All clients will match this rule. @@ -673,28 +678,59 @@ awful.rules.rules = { } }, - -- Titlebars - { rule_any = { type = { "dialog", "normal" } }, - properties = { titlebars_enabled = true } }, + -- Floating clients. + { rule_any = { + instance = { + "DTA", -- Firefox addon DownThemAll. + "copyq", -- Includes session name in class. + "pinentry", + }, + class = { + "Arandr", + "Blueman-manager", + "Gpick", + "Kruler", + "MessageWin", -- kalarm. + "Sxiv", + "Tor Browser", -- Needs a fixed window size to avoid fingerprinting by screen size. + "Wpa_gui", + "veromix", + "xtightvncviewer"}, - -- Set Firefox to always map on the first tag on screen 1. - { rule = { class = "Firefox" }, - properties = { screen = 1, tag = awful.util.tagnames[1] } }, + -- Note that the name property shown in xprop might be set slightly after creation of the client + -- and the name shown there might not match defined rules here. + name = { + "Event Tester", -- xev. + }, + role = { + "AlarmWindow", -- Thunderbird's calendar. + "ConfigManager", -- Thunderbird's about:config. + "pop-up", -- e.g. Google Chrome's (detached) Developer Tools. + } + }, properties = { floating = true }}, - { rule = { class = "Gimp", role = "gimp-image-window" }, - properties = { maximized = true } }, + -- Add titlebars to normal clients and dialogs + { rule_any = {type = { "normal", "dialog" } + }, properties = { titlebars_enabled = true } + }, + + -- Set Firefox to always map on the tag named "2" on screen 1. + -- { rule = { class = "Firefox" }, + -- properties = { screen = 1, tag = "2" } }, } + -- }}} -- {{{ Signals + -- Signal function to execute when a new client appears. client.connect_signal("manage", function (c) -- Set the windows at the slave, -- i.e. put it at the end of others instead of setting it master. -- if not awesome.startup then awful.client.setslave(c) end - if awesome.startup and - not c.size_hints.user_position + if awesome.startup + and not c.size_hints.user_position and not c.size_hints.program_position then -- Prevent clients from being unreachable after screen count changes. awful.placement.no_offscreen(c) @@ -711,19 +747,18 @@ client.connect_signal("request::titlebars", function(c) -- Default -- buttons for the titlebar - local buttons = my_table.join( + local buttons = mytable.join( awful.button({ }, 1, function() c:emit_signal("request::activate", "titlebar", {raise = true}) awful.mouse.client.move(c) end), - awful.button({ }, 2, function() c:kill() end), awful.button({ }, 3, function() c:emit_signal("request::activate", "titlebar", {raise = true}) awful.mouse.client.resize(c) end) ) - awful.titlebar(c, {size = dpi(16)}) : setup { + awful.titlebar(c, { size = 16 }) : setup { { -- Left awful.titlebar.widget.iconwidget(c), buttons = buttons, @@ -751,12 +786,10 @@ end) -- Enable sloppy focus, so that focus follows mouse. client.connect_signal("mouse::enter", function(c) - c:emit_signal("request::activate", "mouse_enter", {raise = true}) + c:emit_signal("request::activate", "mouse_enter", {raise = vi_focus}) end) client.connect_signal("focus", function(c) c.border_color = beautiful.border_focus end) client.connect_signal("unfocus", function(c) c.border_color = beautiful.border_normal end) --- possible workaround for tag preservation when switching back to default screen: --- https://github.com/lcpz/awesome-copycats/issues/251 -- }}} diff --git a/themes/blackburn/icons/awesome.png b/themes/blackburn/icons/awesome.png old mode 100644 new mode 100755 diff --git a/themes/blackburn/icons/dwindle.png b/themes/blackburn/icons/dwindle.png old mode 100644 new mode 100755 diff --git a/themes/blackburn/icons/fairh.png b/themes/blackburn/icons/fairh.png old mode 100644 new mode 100755 diff --git a/themes/blackburn/icons/fairv.png b/themes/blackburn/icons/fairv.png old mode 100644 new mode 100755 diff --git a/themes/blackburn/icons/floating.png b/themes/blackburn/icons/floating.png old mode 100644 new mode 100755 diff --git a/themes/blackburn/icons/magnifier.png b/themes/blackburn/icons/magnifier.png old mode 100644 new mode 100755 diff --git a/themes/blackburn/icons/max.png b/themes/blackburn/icons/max.png old mode 100644 new mode 100755 diff --git a/themes/blackburn/icons/spiral.png b/themes/blackburn/icons/spiral.png old mode 100644 new mode 100755 diff --git a/themes/blackburn/icons/square_sel.png b/themes/blackburn/icons/square_sel.png old mode 100644 new mode 100755 diff --git a/themes/blackburn/icons/square_unsel.png b/themes/blackburn/icons/square_unsel.png old mode 100644 new mode 100755 diff --git a/themes/blackburn/icons/submenu.png b/themes/blackburn/icons/submenu.png old mode 100644 new mode 100755 diff --git a/themes/blackburn/icons/tile.png b/themes/blackburn/icons/tile.png old mode 100644 new mode 100755 diff --git a/themes/blackburn/icons/tilebottom.png b/themes/blackburn/icons/tilebottom.png old mode 100644 new mode 100755 diff --git a/themes/blackburn/icons/tileleft.png b/themes/blackburn/icons/tileleft.png old mode 100644 new mode 100755 diff --git a/themes/blackburn/icons/tiletop.png b/themes/blackburn/icons/tiletop.png old mode 100644 new mode 100755 diff --git a/themes/blackburn/icons/titlebar/close_focus.png b/themes/blackburn/icons/titlebar/close_focus.png old mode 100644 new mode 100755 diff --git a/themes/blackburn/icons/titlebar/close_normal.png b/themes/blackburn/icons/titlebar/close_normal.png old mode 100644 new mode 100755 diff --git a/themes/blackburn/icons/titlebar/floating_focus_active.png b/themes/blackburn/icons/titlebar/floating_focus_active.png old mode 100644 new mode 100755 diff --git a/themes/blackburn/icons/titlebar/floating_focus_inactive.png b/themes/blackburn/icons/titlebar/floating_focus_inactive.png old mode 100644 new mode 100755 diff --git a/themes/blackburn/icons/titlebar/floating_normal_active.png b/themes/blackburn/icons/titlebar/floating_normal_active.png old mode 100644 new mode 100755 diff --git a/themes/blackburn/icons/titlebar/floating_normal_inactive.png b/themes/blackburn/icons/titlebar/floating_normal_inactive.png old mode 100644 new mode 100755 diff --git a/themes/blackburn/icons/titlebar/maximized_focus_active.png b/themes/blackburn/icons/titlebar/maximized_focus_active.png old mode 100644 new mode 100755 diff --git a/themes/blackburn/icons/titlebar/maximized_focus_inactive.png b/themes/blackburn/icons/titlebar/maximized_focus_inactive.png old mode 100644 new mode 100755 diff --git a/themes/blackburn/icons/titlebar/maximized_normal_active.png b/themes/blackburn/icons/titlebar/maximized_normal_active.png old mode 100644 new mode 100755 diff --git a/themes/blackburn/icons/titlebar/maximized_normal_inactive.png b/themes/blackburn/icons/titlebar/maximized_normal_inactive.png old mode 100644 new mode 100755 diff --git a/themes/blackburn/icons/titlebar/ontop_focus_active.png b/themes/blackburn/icons/titlebar/ontop_focus_active.png old mode 100644 new mode 100755 diff --git a/themes/blackburn/icons/titlebar/ontop_focus_inactive.png b/themes/blackburn/icons/titlebar/ontop_focus_inactive.png old mode 100644 new mode 100755 diff --git a/themes/blackburn/icons/titlebar/ontop_normal_active.png b/themes/blackburn/icons/titlebar/ontop_normal_active.png old mode 100644 new mode 100755 diff --git a/themes/blackburn/icons/titlebar/ontop_normal_inactive.png b/themes/blackburn/icons/titlebar/ontop_normal_inactive.png old mode 100644 new mode 100755 diff --git a/themes/blackburn/icons/titlebar/sticky_focus_active.png b/themes/blackburn/icons/titlebar/sticky_focus_active.png old mode 100644 new mode 100755 diff --git a/themes/blackburn/icons/titlebar/sticky_focus_inactive.png b/themes/blackburn/icons/titlebar/sticky_focus_inactive.png old mode 100644 new mode 100755 diff --git a/themes/blackburn/icons/titlebar/sticky_normal_active.png b/themes/blackburn/icons/titlebar/sticky_normal_active.png old mode 100644 new mode 100755 diff --git a/themes/blackburn/icons/titlebar/sticky_normal_inactive.png b/themes/blackburn/icons/titlebar/sticky_normal_inactive.png old mode 100644 new mode 100755 diff --git a/themes/blackburn/theme.lua b/themes/blackburn/theme.lua index 1669595..8cb1134 100644 --- a/themes/blackburn/theme.lua +++ b/themes/blackburn/theme.lua @@ -93,7 +93,7 @@ theme.cal = lain.widget.cal({ }) -- Mail IMAP check ---[[ commented because it needs to be set before use +--[[ to be set before use theme.mail = lain.widget.imap({ timeout = 180, server = "server", @@ -178,13 +178,16 @@ theme.volume = lain.widget.alsa({ }) -- Weather +--[[ to be set before use theme.weather = lain.widget.weather({ + --APPID = city_id = 2643743, -- placeholder (London) settings = function() units = math.floor(weather_now["main"]["temp"]) widget:set_markup(" " .. units .. " ") end }) +--]] -- Separators local first = wibox.widget.textbox(' ') @@ -262,8 +265,8 @@ function theme.at_screen_connect(s) first, theme.mpd.widget, --theme.mail.widget, - theme.weather.icon, - theme.weather.widget, + --theme.weather.icon, + --theme.weather.widget, --theme.fs.widget, bat, theme.volume.widget, diff --git a/themes/blackburn/wall.png b/themes/blackburn/wall.png old mode 100644 new mode 100755 diff --git a/themes/copland/icons/ac.png b/themes/copland/icons/ac.png old mode 100644 new mode 100755 diff --git a/themes/copland/icons/awesome.png b/themes/copland/icons/awesome.png old mode 100644 new mode 100755 diff --git a/themes/copland/icons/bat.png b/themes/copland/icons/bat.png old mode 100644 new mode 100755 diff --git a/themes/copland/icons/bat_low.png b/themes/copland/icons/bat_low.png old mode 100644 new mode 100755 diff --git a/themes/copland/icons/bat_no.png b/themes/copland/icons/bat_no.png old mode 100644 new mode 100755 diff --git a/themes/copland/icons/centerfair.png b/themes/copland/icons/centerfair.png old mode 100644 new mode 100755 diff --git a/themes/copland/icons/centerwork.png b/themes/copland/icons/centerwork.png old mode 100644 new mode 100755 diff --git a/themes/copland/icons/disk.png b/themes/copland/icons/disk.png old mode 100644 new mode 100755 diff --git a/themes/copland/icons/dwindle.png b/themes/copland/icons/dwindle.png old mode 100644 new mode 100755 diff --git a/themes/copland/icons/fairh.png b/themes/copland/icons/fairh.png old mode 100644 new mode 100755 diff --git a/themes/copland/icons/fairv.png b/themes/copland/icons/fairv.png old mode 100644 new mode 100755 diff --git a/themes/copland/icons/floating.png b/themes/copland/icons/floating.png old mode 100644 new mode 100755 diff --git a/themes/copland/icons/fullscreen.png b/themes/copland/icons/fullscreen.png old mode 100644 new mode 100755 diff --git a/themes/copland/icons/magnifier.png b/themes/copland/icons/magnifier.png old mode 100644 new mode 100755 diff --git a/themes/copland/icons/max.png b/themes/copland/icons/max.png old mode 100644 new mode 100755 diff --git a/themes/copland/icons/pause.png b/themes/copland/icons/pause.png old mode 100644 new mode 100755 diff --git a/themes/copland/icons/play.png b/themes/copland/icons/play.png old mode 100644 new mode 100755 diff --git a/themes/copland/icons/spiral.png b/themes/copland/icons/spiral.png old mode 100644 new mode 100755 diff --git a/themes/copland/icons/square_sel.png b/themes/copland/icons/square_sel.png old mode 100644 new mode 100755 diff --git a/themes/copland/icons/square_unsel.png b/themes/copland/icons/square_unsel.png old mode 100644 new mode 100755 diff --git a/themes/copland/icons/stop.png b/themes/copland/icons/stop.png old mode 100644 new mode 100755 diff --git a/themes/copland/icons/submenu.png b/themes/copland/icons/submenu.png old mode 100644 new mode 100755 diff --git a/themes/copland/icons/termfair.png b/themes/copland/icons/termfair.png old mode 100644 new mode 100755 diff --git a/themes/copland/icons/tile.png b/themes/copland/icons/tile.png old mode 100644 new mode 100755 diff --git a/themes/copland/icons/tilebottom.png b/themes/copland/icons/tilebottom.png old mode 100644 new mode 100755 diff --git a/themes/copland/icons/tileleft.png b/themes/copland/icons/tileleft.png old mode 100644 new mode 100755 diff --git a/themes/copland/icons/tiletop.png b/themes/copland/icons/tiletop.png old mode 100644 new mode 100755 diff --git a/themes/copland/icons/titlebar/close_focus.png b/themes/copland/icons/titlebar/close_focus.png old mode 100644 new mode 100755 diff --git a/themes/copland/icons/titlebar/close_normal.png b/themes/copland/icons/titlebar/close_normal.png old mode 100644 new mode 100755 diff --git a/themes/copland/icons/titlebar/floating_focus_active.png b/themes/copland/icons/titlebar/floating_focus_active.png old mode 100644 new mode 100755 diff --git a/themes/copland/icons/titlebar/floating_focus_inactive.png b/themes/copland/icons/titlebar/floating_focus_inactive.png old mode 100644 new mode 100755 diff --git a/themes/copland/icons/titlebar/floating_normal_active.png b/themes/copland/icons/titlebar/floating_normal_active.png old mode 100644 new mode 100755 diff --git a/themes/copland/icons/titlebar/floating_normal_inactive.png b/themes/copland/icons/titlebar/floating_normal_inactive.png old mode 100644 new mode 100755 diff --git a/themes/copland/icons/titlebar/maximized_focus_active.png b/themes/copland/icons/titlebar/maximized_focus_active.png old mode 100644 new mode 100755 diff --git a/themes/copland/icons/titlebar/maximized_focus_inactive.png b/themes/copland/icons/titlebar/maximized_focus_inactive.png old mode 100644 new mode 100755 diff --git a/themes/copland/icons/titlebar/maximized_normal_active.png b/themes/copland/icons/titlebar/maximized_normal_active.png old mode 100644 new mode 100755 diff --git a/themes/copland/icons/titlebar/maximized_normal_inactive.png b/themes/copland/icons/titlebar/maximized_normal_inactive.png old mode 100644 new mode 100755 diff --git a/themes/copland/icons/titlebar/ontop_focus_active.png b/themes/copland/icons/titlebar/ontop_focus_active.png old mode 100644 new mode 100755 diff --git a/themes/copland/icons/titlebar/ontop_focus_inactive.png b/themes/copland/icons/titlebar/ontop_focus_inactive.png old mode 100644 new mode 100755 diff --git a/themes/copland/icons/titlebar/ontop_normal_active.png b/themes/copland/icons/titlebar/ontop_normal_active.png old mode 100644 new mode 100755 diff --git a/themes/copland/icons/titlebar/ontop_normal_inactive.png b/themes/copland/icons/titlebar/ontop_normal_inactive.png old mode 100644 new mode 100755 diff --git a/themes/copland/icons/titlebar/sticky_focus_active.png b/themes/copland/icons/titlebar/sticky_focus_active.png old mode 100644 new mode 100755 diff --git a/themes/copland/icons/titlebar/sticky_focus_inactive.png b/themes/copland/icons/titlebar/sticky_focus_inactive.png old mode 100644 new mode 100755 diff --git a/themes/copland/icons/titlebar/sticky_normal_active.png b/themes/copland/icons/titlebar/sticky_normal_active.png old mode 100644 new mode 100755 diff --git a/themes/copland/icons/titlebar/sticky_normal_inactive.png b/themes/copland/icons/titlebar/sticky_normal_inactive.png old mode 100644 new mode 100755 diff --git a/themes/copland/icons/vol.png b/themes/copland/icons/vol.png old mode 100644 new mode 100755 diff --git a/themes/copland/icons/vol_low.png b/themes/copland/icons/vol_low.png old mode 100644 new mode 100755 diff --git a/themes/copland/icons/vol_mute.png b/themes/copland/icons/vol_mute.png old mode 100644 new mode 100755 diff --git a/themes/copland/icons/vol_no.png b/themes/copland/icons/vol_no.png old mode 100644 new mode 100755 diff --git a/themes/copland/theme.lua b/themes/copland/theme.lua index 877cbd6..46f7863 100644 --- a/themes/copland/theme.lua +++ b/themes/copland/theme.lua @@ -109,7 +109,7 @@ theme.cal = lain.widget.cal({ }) -- Mail IMAP check ---[[ commented because it needs to be set before use +--[[ to be set before use theme.mail = lain.widget.imap({ timeout = 180, server = "server", @@ -279,9 +279,12 @@ local volumebg = wibox.container.background(theme.volume.bar, "#474747", gears.s local volumewidget = wibox.container.margin(volumebg, dpi(2), dpi(7), dpi(4), dpi(4)) -- Weather +--[[ to be set before use theme.weather = lain.widget.weather({ + --APPID = city_id = 2643743, -- placeholder (London) }) +--]] -- Separators local first = wibox.widget.textbox(markup.font("Terminus 3", " ")) diff --git a/themes/dremora/icons/awesome.png b/themes/dremora/icons/awesome.png old mode 100644 new mode 100755 diff --git a/themes/dremora/icons/dwindle.png b/themes/dremora/icons/dwindle.png old mode 100644 new mode 100755 diff --git a/themes/dremora/icons/fairh.png b/themes/dremora/icons/fairh.png old mode 100644 new mode 100755 diff --git a/themes/dremora/icons/fairv.png b/themes/dremora/icons/fairv.png old mode 100644 new mode 100755 diff --git a/themes/dremora/icons/floating.png b/themes/dremora/icons/floating.png old mode 100644 new mode 100755 diff --git a/themes/dremora/icons/magnifier.png b/themes/dremora/icons/magnifier.png old mode 100644 new mode 100755 diff --git a/themes/dremora/icons/max.png b/themes/dremora/icons/max.png old mode 100644 new mode 100755 diff --git a/themes/dremora/icons/spiral.png b/themes/dremora/icons/spiral.png old mode 100644 new mode 100755 diff --git a/themes/dremora/icons/square_sel.png b/themes/dremora/icons/square_sel.png old mode 100644 new mode 100755 diff --git a/themes/dremora/icons/square_unsel.png b/themes/dremora/icons/square_unsel.png old mode 100644 new mode 100755 diff --git a/themes/dremora/icons/submenu.png b/themes/dremora/icons/submenu.png old mode 100644 new mode 100755 diff --git a/themes/dremora/icons/tile.png b/themes/dremora/icons/tile.png old mode 100644 new mode 100755 diff --git a/themes/dremora/icons/tilebottom.png b/themes/dremora/icons/tilebottom.png old mode 100644 new mode 100755 diff --git a/themes/dremora/icons/tileleft.png b/themes/dremora/icons/tileleft.png old mode 100644 new mode 100755 diff --git a/themes/dremora/icons/tiletop.png b/themes/dremora/icons/tiletop.png old mode 100644 new mode 100755 diff --git a/themes/dremora/icons/titlebar/close_focus.png b/themes/dremora/icons/titlebar/close_focus.png old mode 100644 new mode 100755 diff --git a/themes/dremora/icons/titlebar/close_normal.png b/themes/dremora/icons/titlebar/close_normal.png old mode 100644 new mode 100755 diff --git a/themes/dremora/icons/titlebar/floating_focus_active.png b/themes/dremora/icons/titlebar/floating_focus_active.png old mode 100644 new mode 100755 diff --git a/themes/dremora/icons/titlebar/floating_focus_inactive.png b/themes/dremora/icons/titlebar/floating_focus_inactive.png old mode 100644 new mode 100755 diff --git a/themes/dremora/icons/titlebar/floating_normal_active.png b/themes/dremora/icons/titlebar/floating_normal_active.png old mode 100644 new mode 100755 diff --git a/themes/dremora/icons/titlebar/floating_normal_inactive.png b/themes/dremora/icons/titlebar/floating_normal_inactive.png old mode 100644 new mode 100755 diff --git a/themes/dremora/icons/titlebar/maximized_focus_active.png b/themes/dremora/icons/titlebar/maximized_focus_active.png old mode 100644 new mode 100755 diff --git a/themes/dremora/icons/titlebar/maximized_focus_inactive.png b/themes/dremora/icons/titlebar/maximized_focus_inactive.png old mode 100644 new mode 100755 diff --git a/themes/dremora/icons/titlebar/maximized_normal_active.png b/themes/dremora/icons/titlebar/maximized_normal_active.png old mode 100644 new mode 100755 diff --git a/themes/dremora/icons/titlebar/maximized_normal_inactive.png b/themes/dremora/icons/titlebar/maximized_normal_inactive.png old mode 100644 new mode 100755 diff --git a/themes/dremora/icons/titlebar/ontop_focus_active.png b/themes/dremora/icons/titlebar/ontop_focus_active.png old mode 100644 new mode 100755 diff --git a/themes/dremora/icons/titlebar/ontop_focus_inactive.png b/themes/dremora/icons/titlebar/ontop_focus_inactive.png old mode 100644 new mode 100755 diff --git a/themes/dremora/icons/titlebar/ontop_normal_active.png b/themes/dremora/icons/titlebar/ontop_normal_active.png old mode 100644 new mode 100755 diff --git a/themes/dremora/icons/titlebar/ontop_normal_inactive.png b/themes/dremora/icons/titlebar/ontop_normal_inactive.png old mode 100644 new mode 100755 diff --git a/themes/dremora/icons/titlebar/sticky_focus_active.png b/themes/dremora/icons/titlebar/sticky_focus_active.png old mode 100644 new mode 100755 diff --git a/themes/dremora/icons/titlebar/sticky_focus_inactive.png b/themes/dremora/icons/titlebar/sticky_focus_inactive.png old mode 100644 new mode 100755 diff --git a/themes/dremora/icons/titlebar/sticky_normal_active.png b/themes/dremora/icons/titlebar/sticky_normal_active.png old mode 100644 new mode 100755 diff --git a/themes/dremora/icons/titlebar/sticky_normal_inactive.png b/themes/dremora/icons/titlebar/sticky_normal_inactive.png old mode 100644 new mode 100755 diff --git a/themes/dremora/theme.lua b/themes/dremora/theme.lua index 8c4acaf..e1b946d 100644 --- a/themes/dremora/theme.lua +++ b/themes/dremora/theme.lua @@ -93,7 +93,7 @@ theme.cal = lain.widget.cal({ }}) -- Mail IMAP check ---[[ commented because it needs to be set before use +--[[ to be set before use theme.mail = lain.widget.imap({ timeout = 180, server = "server", @@ -178,10 +178,13 @@ theme.volume = lain.widget.alsa({ }) -- Weather +--[[ to be set before use theme.weather = lain.widget.weather({ + --APPID = city_id = 2643743, -- placeholder (London) notification_preset = { fg = white } }) +--]] -- Separators local first = wibox.widget.textbox(' ') diff --git a/themes/dremora/wall.png b/themes/dremora/wall.png old mode 100644 new mode 100755 diff --git a/themes/holo/icons/awesome_icon.png b/themes/holo/icons/awesome_icon.png old mode 100644 new mode 100755 diff --git a/themes/holo/icons/awesome_icon_white.png b/themes/holo/icons/awesome_icon_white.png old mode 100644 new mode 100755 diff --git a/themes/holo/icons/bar.png b/themes/holo/icons/bar.png old mode 100644 new mode 100755 diff --git a/themes/holo/icons/bottom_bar.png b/themes/holo/icons/bottom_bar.png old mode 100644 new mode 100755 diff --git a/themes/holo/icons/cal.png b/themes/holo/icons/cal.png old mode 100644 new mode 100755 diff --git a/themes/holo/icons/clock.png b/themes/holo/icons/clock.png old mode 100644 new mode 100755 diff --git a/themes/holo/icons/cpu.png b/themes/holo/icons/cpu.png old mode 100644 new mode 100755 diff --git a/themes/holo/icons/dwindle.png b/themes/holo/icons/dwindle.png old mode 100644 new mode 100755 diff --git a/themes/holo/icons/fairh.png b/themes/holo/icons/fairh.png old mode 100644 new mode 100755 diff --git a/themes/holo/icons/fairv.png b/themes/holo/icons/fairv.png old mode 100644 new mode 100755 diff --git a/themes/holo/icons/floating.png b/themes/holo/icons/floating.png old mode 100644 new mode 100755 diff --git a/themes/holo/icons/magnifier.png b/themes/holo/icons/magnifier.png old mode 100644 new mode 100755 diff --git a/themes/holo/icons/max.png b/themes/holo/icons/max.png old mode 100644 new mode 100755 diff --git a/themes/holo/icons/mpd.png b/themes/holo/icons/mpd.png old mode 100644 new mode 100755 diff --git a/themes/holo/icons/net_down.png b/themes/holo/icons/net_down.png old mode 100644 new mode 100755 diff --git a/themes/holo/icons/net_up.png b/themes/holo/icons/net_up.png old mode 100644 new mode 100755 diff --git a/themes/holo/icons/next.png b/themes/holo/icons/next.png old mode 100644 new mode 100755 diff --git a/themes/holo/icons/pause.png b/themes/holo/icons/pause.png old mode 100644 new mode 100755 diff --git a/themes/holo/icons/play.png b/themes/holo/icons/play.png old mode 100644 new mode 100755 diff --git a/themes/holo/icons/prev.png b/themes/holo/icons/prev.png old mode 100644 new mode 100755 diff --git a/themes/holo/icons/spiral.png b/themes/holo/icons/spiral.png old mode 100644 new mode 100755 diff --git a/themes/holo/icons/spr_bottom_right.png b/themes/holo/icons/spr_bottom_right.png old mode 100644 new mode 100755 diff --git a/themes/holo/icons/spr_left.png b/themes/holo/icons/spr_left.png old mode 100644 new mode 100755 diff --git a/themes/holo/icons/spr_right.png b/themes/holo/icons/spr_right.png old mode 100644 new mode 100755 diff --git a/themes/holo/icons/spr_small.png b/themes/holo/icons/spr_small.png old mode 100644 new mode 100755 diff --git a/themes/holo/icons/spr_very_small.png b/themes/holo/icons/spr_very_small.png old mode 100644 new mode 100755 diff --git a/themes/holo/icons/square_sel.png b/themes/holo/icons/square_sel.png old mode 100644 new mode 100755 diff --git a/themes/holo/icons/square_unsel.png b/themes/holo/icons/square_unsel.png old mode 100644 new mode 100755 diff --git a/themes/holo/icons/stop.png b/themes/holo/icons/stop.png old mode 100644 new mode 100755 diff --git a/themes/holo/icons/tile.png b/themes/holo/icons/tile.png old mode 100644 new mode 100755 diff --git a/themes/holo/icons/tilebottom.png b/themes/holo/icons/tilebottom.png old mode 100644 new mode 100755 diff --git a/themes/holo/icons/tileleft.png b/themes/holo/icons/tileleft.png old mode 100644 new mode 100755 diff --git a/themes/holo/icons/tiletop.png b/themes/holo/icons/tiletop.png old mode 100644 new mode 100755 diff --git a/themes/holo/theme.lua b/themes/holo/theme.lua index d00a057..e1dc654 100644 --- a/themes/holo/theme.lua +++ b/themes/holo/theme.lua @@ -123,7 +123,7 @@ theme.cal = lain.widget.cal({ }) -- Mail IMAP check ---[[ commented because it needs to be set before use +--[[ to be set before use theme.mail = lain.widget.imap({ timeout = 180, server = "server", @@ -259,10 +259,13 @@ local netbg = wibox.container.background(net.widget, theme.bg_focus, gears.shape local networkwidget = wibox.container.margin(netbg, dpi(0), dpi(0), dpi(5), dpi(5)) -- Weather +--[[ to be set before use theme.weather = lain.widget.weather({ + --APPID = city_id = 2643743, -- placeholder (London) notification_preset = { font = "Monospace 9", position = "bottom_right" }, }) +--]] -- Launcher local mylauncher = awful.widget.button({ image = theme.awesome_icon_launcher }) diff --git a/themes/holo/wall.png b/themes/holo/wall.png old mode 100644 new mode 100755 diff --git a/themes/multicolor/icons/ac.png b/themes/multicolor/icons/ac.png old mode 100644 new mode 100755 diff --git a/themes/multicolor/icons/bat.png b/themes/multicolor/icons/bat.png old mode 100644 new mode 100755 diff --git a/themes/multicolor/icons/clock.png b/themes/multicolor/icons/clock.png old mode 100644 new mode 100755 diff --git a/themes/multicolor/icons/cpu.png b/themes/multicolor/icons/cpu.png old mode 100644 new mode 100755 diff --git a/themes/multicolor/icons/dish.png b/themes/multicolor/icons/dish.png old mode 100644 new mode 100755 diff --git a/themes/multicolor/icons/dwindle.png b/themes/multicolor/icons/dwindle.png old mode 100644 new mode 100755 diff --git a/themes/multicolor/icons/fairh.png b/themes/multicolor/icons/fairh.png old mode 100644 new mode 100755 diff --git a/themes/multicolor/icons/fairv.png b/themes/multicolor/icons/fairv.png old mode 100644 new mode 100755 diff --git a/themes/multicolor/icons/floating.png b/themes/multicolor/icons/floating.png old mode 100644 new mode 100755 diff --git a/themes/multicolor/icons/fs.png b/themes/multicolor/icons/fs.png old mode 100644 new mode 100755 diff --git a/themes/multicolor/icons/fullscreen.png b/themes/multicolor/icons/fullscreen.png old mode 100644 new mode 100755 diff --git a/themes/multicolor/icons/magnifier.png b/themes/multicolor/icons/magnifier.png old mode 100644 new mode 100755 diff --git a/themes/multicolor/icons/mail.png b/themes/multicolor/icons/mail.png old mode 100644 new mode 100755 diff --git a/themes/multicolor/icons/max.png b/themes/multicolor/icons/max.png old mode 100644 new mode 100755 diff --git a/themes/multicolor/icons/mem.png b/themes/multicolor/icons/mem.png old mode 100644 new mode 100755 diff --git a/themes/multicolor/icons/net_down.png b/themes/multicolor/icons/net_down.png old mode 100644 new mode 100755 diff --git a/themes/multicolor/icons/net_up.png b/themes/multicolor/icons/net_up.png old mode 100644 new mode 100755 diff --git a/themes/multicolor/icons/note.png b/themes/multicolor/icons/note.png old mode 100644 new mode 100755 diff --git a/themes/multicolor/icons/spiral.png b/themes/multicolor/icons/spiral.png old mode 100644 new mode 100755 diff --git a/themes/multicolor/icons/spkr.png b/themes/multicolor/icons/spkr.png old mode 100644 new mode 100755 diff --git a/themes/multicolor/icons/submenu.png b/themes/multicolor/icons/submenu.png old mode 100644 new mode 100755 diff --git a/themes/multicolor/icons/tile.png b/themes/multicolor/icons/tile.png old mode 100644 new mode 100755 diff --git a/themes/multicolor/icons/tilebottom.png b/themes/multicolor/icons/tilebottom.png old mode 100644 new mode 100755 diff --git a/themes/multicolor/icons/tileleft.png b/themes/multicolor/icons/tileleft.png old mode 100644 new mode 100755 diff --git a/themes/multicolor/icons/tiletop.png b/themes/multicolor/icons/tiletop.png old mode 100644 new mode 100755 diff --git a/themes/multicolor/icons/titlebar/close_focus.png b/themes/multicolor/icons/titlebar/close_focus.png old mode 100644 new mode 100755 diff --git a/themes/multicolor/icons/titlebar/close_normal.png b/themes/multicolor/icons/titlebar/close_normal.png old mode 100644 new mode 100755 diff --git a/themes/multicolor/icons/titlebar/floating_focus_active.png b/themes/multicolor/icons/titlebar/floating_focus_active.png old mode 100644 new mode 100755 diff --git a/themes/multicolor/icons/titlebar/floating_focus_inactive.png b/themes/multicolor/icons/titlebar/floating_focus_inactive.png old mode 100644 new mode 100755 diff --git a/themes/multicolor/icons/titlebar/floating_normal_active.png b/themes/multicolor/icons/titlebar/floating_normal_active.png old mode 100644 new mode 100755 diff --git a/themes/multicolor/icons/titlebar/floating_normal_inactive.png b/themes/multicolor/icons/titlebar/floating_normal_inactive.png old mode 100644 new mode 100755 diff --git a/themes/multicolor/icons/titlebar/maximized_focus_active.png b/themes/multicolor/icons/titlebar/maximized_focus_active.png old mode 100644 new mode 100755 diff --git a/themes/multicolor/icons/titlebar/maximized_focus_inactive.png b/themes/multicolor/icons/titlebar/maximized_focus_inactive.png old mode 100644 new mode 100755 diff --git a/themes/multicolor/icons/titlebar/maximized_normal_active.png b/themes/multicolor/icons/titlebar/maximized_normal_active.png old mode 100644 new mode 100755 diff --git a/themes/multicolor/icons/titlebar/maximized_normal_inactive.png b/themes/multicolor/icons/titlebar/maximized_normal_inactive.png old mode 100644 new mode 100755 diff --git a/themes/multicolor/icons/titlebar/minimize_focus.png b/themes/multicolor/icons/titlebar/minimize_focus.png old mode 100644 new mode 100755 diff --git a/themes/multicolor/icons/titlebar/minimize_normal.png b/themes/multicolor/icons/titlebar/minimize_normal.png old mode 100644 new mode 100755 diff --git a/themes/multicolor/icons/titlebar/ontop_focus_active.png b/themes/multicolor/icons/titlebar/ontop_focus_active.png old mode 100644 new mode 100755 diff --git a/themes/multicolor/icons/titlebar/ontop_focus_inactive.png b/themes/multicolor/icons/titlebar/ontop_focus_inactive.png old mode 100644 new mode 100755 diff --git a/themes/multicolor/icons/titlebar/ontop_normal_active.png b/themes/multicolor/icons/titlebar/ontop_normal_active.png old mode 100644 new mode 100755 diff --git a/themes/multicolor/icons/titlebar/ontop_normal_inactive.png b/themes/multicolor/icons/titlebar/ontop_normal_inactive.png old mode 100644 new mode 100755 diff --git a/themes/multicolor/icons/titlebar/sticky_focus_active.png b/themes/multicolor/icons/titlebar/sticky_focus_active.png old mode 100644 new mode 100755 diff --git a/themes/multicolor/icons/titlebar/sticky_focus_inactive.png b/themes/multicolor/icons/titlebar/sticky_focus_inactive.png old mode 100644 new mode 100755 diff --git a/themes/multicolor/icons/titlebar/sticky_normal_active.png b/themes/multicolor/icons/titlebar/sticky_normal_active.png old mode 100644 new mode 100755 diff --git a/themes/multicolor/icons/titlebar/sticky_normal_inactive.png b/themes/multicolor/icons/titlebar/sticky_normal_inactive.png old mode 100644 new mode 100755 diff --git a/themes/multicolor/theme.lua b/themes/multicolor/theme.lua index df22666..efe9f9e 100644 --- a/themes/multicolor/theme.lua +++ b/themes/multicolor/theme.lua @@ -110,6 +110,7 @@ theme.cal = lain.widget.cal({ }) -- Weather +--[[ to be set before use local weathericon = wibox.widget.imagebox(theme.widget_weather) theme.weather = lain.widget.weather({ city_id = 2643743, -- placeholder (London) @@ -121,6 +122,7 @@ theme.weather = lain.widget.weather({ widget:set_markup(markup.fontfg(theme.font, "#eca4c4", descr .. " @ " .. units .. "°C ")) end }) +--]] -- / fs --[[ commented because it needs Gio/Glib >= 2.54 @@ -134,7 +136,7 @@ theme.fs = lain.widget.fs({ --]] -- Mail IMAP check ---[[ commented because it needs to be set before use +--[[ to be set before use local mailicon = wibox.widget.imagebox() theme.mail = lain.widget.imap({ timeout = 180, @@ -204,11 +206,13 @@ local netdowninfo = wibox.widget.textbox() local netupicon = wibox.widget.imagebox(theme.widget_netup) local netupinfo = lain.widget.net({ settings = function() + --[[ uncomment if using the weather widget 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 .. " ")) @@ -315,8 +319,8 @@ function theme.at_screen_connect(s) cpu.widget, --fsicon, --theme.fs.widget, - weathericon, - theme.weather.widget, + --weathericon, + --theme.weather.widget, tempicon, temp.widget, baticon, diff --git a/themes/multicolor/wall.png b/themes/multicolor/wall.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow-dark/icons/ac.png b/themes/powerarrow-dark/icons/ac.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow-dark/icons/battery.png b/themes/powerarrow-dark/icons/battery.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow-dark/icons/battery_empty.png b/themes/powerarrow-dark/icons/battery_empty.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow-dark/icons/battery_low.png b/themes/powerarrow-dark/icons/battery_low.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow-dark/icons/centerfair.png b/themes/powerarrow-dark/icons/centerfair.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow-dark/icons/centerwork.png b/themes/powerarrow-dark/icons/centerwork.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow-dark/icons/centerworkh.png b/themes/powerarrow-dark/icons/centerworkh.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow-dark/icons/cpu.png b/themes/powerarrow-dark/icons/cpu.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow-dark/icons/dwindle.png b/themes/powerarrow-dark/icons/dwindle.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow-dark/icons/fairh.png b/themes/powerarrow-dark/icons/fairh.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow-dark/icons/fairv.png b/themes/powerarrow-dark/icons/fairv.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow-dark/icons/floating.png b/themes/powerarrow-dark/icons/floating.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow-dark/icons/hdd.png b/themes/powerarrow-dark/icons/hdd.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow-dark/icons/magnifier.png b/themes/powerarrow-dark/icons/magnifier.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow-dark/icons/mail.png b/themes/powerarrow-dark/icons/mail.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow-dark/icons/mail_on.png b/themes/powerarrow-dark/icons/mail_on.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow-dark/icons/max.png b/themes/powerarrow-dark/icons/max.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow-dark/icons/mem.png b/themes/powerarrow-dark/icons/mem.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow-dark/icons/net.png b/themes/powerarrow-dark/icons/net.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow-dark/icons/net_wired.png b/themes/powerarrow-dark/icons/net_wired.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow-dark/icons/note.png b/themes/powerarrow-dark/icons/note.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow-dark/icons/note_on.png b/themes/powerarrow-dark/icons/note_on.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow-dark/icons/scissors.png b/themes/powerarrow-dark/icons/scissors.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow-dark/icons/spiral.png b/themes/powerarrow-dark/icons/spiral.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow-dark/icons/square_sel.png b/themes/powerarrow-dark/icons/square_sel.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow-dark/icons/square_unsel.png b/themes/powerarrow-dark/icons/square_unsel.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow-dark/icons/submenu.png b/themes/powerarrow-dark/icons/submenu.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow-dark/icons/task.png b/themes/powerarrow-dark/icons/task.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow-dark/icons/temp.png b/themes/powerarrow-dark/icons/temp.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow-dark/icons/termfair.png b/themes/powerarrow-dark/icons/termfair.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow-dark/icons/tile.png b/themes/powerarrow-dark/icons/tile.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow-dark/icons/tilebottom.png b/themes/powerarrow-dark/icons/tilebottom.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow-dark/icons/tileleft.png b/themes/powerarrow-dark/icons/tileleft.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow-dark/icons/tiletop.png b/themes/powerarrow-dark/icons/tiletop.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow-dark/icons/titlebar/close_focus.png b/themes/powerarrow-dark/icons/titlebar/close_focus.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow-dark/icons/titlebar/close_normal.png b/themes/powerarrow-dark/icons/titlebar/close_normal.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow-dark/icons/titlebar/floating_focus_active.png b/themes/powerarrow-dark/icons/titlebar/floating_focus_active.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow-dark/icons/titlebar/floating_focus_inactive.png b/themes/powerarrow-dark/icons/titlebar/floating_focus_inactive.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow-dark/icons/titlebar/floating_normal_active.png b/themes/powerarrow-dark/icons/titlebar/floating_normal_active.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow-dark/icons/titlebar/floating_normal_inactive.png b/themes/powerarrow-dark/icons/titlebar/floating_normal_inactive.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow-dark/icons/titlebar/maximized_focus_active.png b/themes/powerarrow-dark/icons/titlebar/maximized_focus_active.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow-dark/icons/titlebar/maximized_focus_inactive.png b/themes/powerarrow-dark/icons/titlebar/maximized_focus_inactive.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow-dark/icons/titlebar/maximized_normal_active.png b/themes/powerarrow-dark/icons/titlebar/maximized_normal_active.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow-dark/icons/titlebar/maximized_normal_inactive.png b/themes/powerarrow-dark/icons/titlebar/maximized_normal_inactive.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow-dark/icons/titlebar/ontop_focus_active.png b/themes/powerarrow-dark/icons/titlebar/ontop_focus_active.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow-dark/icons/titlebar/ontop_focus_inactive.png b/themes/powerarrow-dark/icons/titlebar/ontop_focus_inactive.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow-dark/icons/titlebar/ontop_normal_active.png b/themes/powerarrow-dark/icons/titlebar/ontop_normal_active.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow-dark/icons/titlebar/ontop_normal_inactive.png b/themes/powerarrow-dark/icons/titlebar/ontop_normal_inactive.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow-dark/icons/titlebar/sticky_focus_active.png b/themes/powerarrow-dark/icons/titlebar/sticky_focus_active.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow-dark/icons/titlebar/sticky_focus_inactive.png b/themes/powerarrow-dark/icons/titlebar/sticky_focus_inactive.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow-dark/icons/titlebar/sticky_normal_active.png b/themes/powerarrow-dark/icons/titlebar/sticky_normal_active.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow-dark/icons/titlebar/sticky_normal_inactive.png b/themes/powerarrow-dark/icons/titlebar/sticky_normal_inactive.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow-dark/icons/vol.png b/themes/powerarrow-dark/icons/vol.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow-dark/icons/vol_low.png b/themes/powerarrow-dark/icons/vol_low.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow-dark/icons/vol_mute.png b/themes/powerarrow-dark/icons/vol_mute.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow-dark/icons/vol_no.png b/themes/powerarrow-dark/icons/vol_no.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow-dark/theme.lua b/themes/powerarrow-dark/theme.lua index 29bc468..03d75b1 100644 --- a/themes/powerarrow-dark/theme.lua +++ b/themes/powerarrow-dark/theme.lua @@ -91,6 +91,8 @@ theme.titlebar_maximized_button_normal_inactive = theme.dir .. "/icons/titlebar/ local markup = lain.util.markup local separators = lain.util.separators +local keyboardlayout = awful.widget.keyboardlayout:new() + -- Textclock local clockicon = wibox.widget.imagebox(theme.widget_clock) local clock = awful.widget.watch( @@ -316,6 +318,7 @@ function theme.at_screen_connect(s) { -- Right widgets layout = wibox.layout.fixed.horizontal, wibox.widget.systray(), + keyboardlayout, spr, arrl_ld, wibox.container.background(mpdicon, theme.bg_focus), diff --git a/themes/powerarrow-dark/wall.png b/themes/powerarrow-dark/wall.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow/icons/ac.png b/themes/powerarrow/icons/ac.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow/icons/awesome.png b/themes/powerarrow/icons/awesome.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow/icons/battery.png b/themes/powerarrow/icons/battery.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow/icons/battery_empty.png b/themes/powerarrow/icons/battery_empty.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow/icons/battery_low.png b/themes/powerarrow/icons/battery_low.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow/icons/brightness.png b/themes/powerarrow/icons/brightness.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow/icons/cpu.png b/themes/powerarrow/icons/cpu.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow/icons/floating.png b/themes/powerarrow/icons/floating.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow/icons/fwd.png b/themes/powerarrow/icons/fwd.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow/icons/hdd.png b/themes/powerarrow/icons/hdd.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow/icons/mail.png b/themes/powerarrow/icons/mail.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow/icons/mail_on.png b/themes/powerarrow/icons/mail_on.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow/icons/mem.png b/themes/powerarrow/icons/mem.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow/icons/net.png b/themes/powerarrow/icons/net.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow/icons/next.png b/themes/powerarrow/icons/next.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow/icons/note.png b/themes/powerarrow/icons/note.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow/icons/note_on.png b/themes/powerarrow/icons/note_on.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow/icons/pacman.png b/themes/powerarrow/icons/pacman.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow/icons/pause.png b/themes/powerarrow/icons/pause.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow/icons/phones.png b/themes/powerarrow/icons/phones.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow/icons/play.png b/themes/powerarrow/icons/play.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow/icons/prev.png b/themes/powerarrow/icons/prev.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow/icons/rwd.png b/themes/powerarrow/icons/rwd.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow/icons/scissors.png b/themes/powerarrow/icons/scissors.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow/icons/stop.png b/themes/powerarrow/icons/stop.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow/icons/task.png b/themes/powerarrow/icons/task.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow/icons/temp.png b/themes/powerarrow/icons/temp.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow/icons/tile.png b/themes/powerarrow/icons/tile.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow/icons/tilebottom.png b/themes/powerarrow/icons/tilebottom.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow/icons/tileleft.png b/themes/powerarrow/icons/tileleft.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow/icons/tiletop.png b/themes/powerarrow/icons/tiletop.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow/icons/titlebar/close_focus.png b/themes/powerarrow/icons/titlebar/close_focus.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow/icons/titlebar/close_normal.png b/themes/powerarrow/icons/titlebar/close_normal.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow/icons/titlebar/floating_focus_active.png b/themes/powerarrow/icons/titlebar/floating_focus_active.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow/icons/titlebar/floating_focus_inactive.png b/themes/powerarrow/icons/titlebar/floating_focus_inactive.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow/icons/titlebar/floating_normal_active.png b/themes/powerarrow/icons/titlebar/floating_normal_active.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow/icons/titlebar/floating_normal_inactive.png b/themes/powerarrow/icons/titlebar/floating_normal_inactive.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow/icons/titlebar/maximized_focus_active.png b/themes/powerarrow/icons/titlebar/maximized_focus_active.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow/icons/titlebar/maximized_focus_inactive.png b/themes/powerarrow/icons/titlebar/maximized_focus_inactive.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow/icons/titlebar/maximized_normal_active.png b/themes/powerarrow/icons/titlebar/maximized_normal_active.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow/icons/titlebar/maximized_normal_inactive.png b/themes/powerarrow/icons/titlebar/maximized_normal_inactive.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow/icons/titlebar/ontop_focus_active.png b/themes/powerarrow/icons/titlebar/ontop_focus_active.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow/icons/titlebar/ontop_focus_inactive.png b/themes/powerarrow/icons/titlebar/ontop_focus_inactive.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow/icons/titlebar/ontop_normal_active.png b/themes/powerarrow/icons/titlebar/ontop_normal_active.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow/icons/titlebar/ontop_normal_inactive.png b/themes/powerarrow/icons/titlebar/ontop_normal_inactive.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow/icons/titlebar/sticky_focus_active.png b/themes/powerarrow/icons/titlebar/sticky_focus_active.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow/icons/titlebar/sticky_focus_inactive.png b/themes/powerarrow/icons/titlebar/sticky_focus_inactive.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow/icons/titlebar/sticky_normal_active.png b/themes/powerarrow/icons/titlebar/sticky_normal_active.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow/icons/titlebar/sticky_normal_inactive.png b/themes/powerarrow/icons/titlebar/sticky_normal_inactive.png old mode 100644 new mode 100755 diff --git a/themes/powerarrow/wall.png b/themes/powerarrow/wall.png old mode 100644 new mode 100755 diff --git a/themes/rainbow/icons/awesome.png b/themes/rainbow/icons/awesome.png old mode 100644 new mode 100755 diff --git a/themes/rainbow/icons/square_sel.png b/themes/rainbow/icons/square_sel.png old mode 100644 new mode 100755 diff --git a/themes/rainbow/icons/square_unsel.png b/themes/rainbow/icons/square_unsel.png old mode 100644 new mode 100755 diff --git a/themes/rainbow/icons/submenu.png b/themes/rainbow/icons/submenu.png old mode 100644 new mode 100755 diff --git a/themes/rainbow/theme.lua b/themes/rainbow/theme.lua index 731ae0e..310618a 100644 --- a/themes/rainbow/theme.lua +++ b/themes/rainbow/theme.lua @@ -194,10 +194,13 @@ local volumebg = wibox.container.background(theme.volume.bar, "#585858", gears.s local volumewidget = wibox.container.margin(volumebg, dpi(7), dpi(7), dpi(5), dpi(5)) -- Weather +--[[ to be set before use theme.weather = lain.widget.weather({ + --APPID = city_id = 2643743, -- placeholder (London) notification_preset = { font = theme.font, fg = white } }) +--]] -- Separators local first = wibox.widget.textbox(markup.font("Terminus 4", " ")) diff --git a/themes/rainbow/wall.png b/themes/rainbow/wall.png old mode 100644 new mode 100755 diff --git a/themes/steamburn/icons/awesome.png b/themes/steamburn/icons/awesome.png old mode 100644 new mode 100755 diff --git a/themes/steamburn/icons/square_sel.png b/themes/steamburn/icons/square_sel.png old mode 100644 new mode 100755 diff --git a/themes/steamburn/icons/square_unsel.png b/themes/steamburn/icons/square_unsel.png old mode 100644 new mode 100755 diff --git a/themes/steamburn/icons/submenu.png b/themes/steamburn/icons/submenu.png old mode 100644 new mode 100755 diff --git a/themes/steamburn/theme.lua b/themes/steamburn/theme.lua index 098256c..118d706 100644 --- a/themes/steamburn/theme.lua +++ b/themes/steamburn/theme.lua @@ -96,7 +96,7 @@ theme.cal = lain.widget.cal({ }) -- Mail IMAP check ---[[ commented because it needs to be set before use +--[[ to be set before use theme.mail = lain.widget.imap({ timeout = 180, server = "server", @@ -191,9 +191,12 @@ theme.volume = lain.widget.alsa({ }) -- Weather +--[[ to be set before use theme.weather = lain.widget.weather({ + --APPID = city_id = 2643743, -- placeholder (London) }) +--]] -- Separators local first = wibox.widget.textbox(markup.font("Terminus 4", " ")) diff --git a/themes/steamburn/wall.png b/themes/steamburn/wall.png old mode 100644 new mode 100755 diff --git a/themes/vertex/icons/awesome.png b/themes/vertex/icons/awesome.png old mode 100644 new mode 100755 diff --git a/themes/vertex/icons/bat-000-charging.png b/themes/vertex/icons/bat-000-charging.png old mode 100644 new mode 100755 diff --git a/themes/vertex/icons/bat-000.png b/themes/vertex/icons/bat-000.png old mode 100644 new mode 100755 diff --git a/themes/vertex/icons/bat-020-charging.png b/themes/vertex/icons/bat-020-charging.png old mode 100644 new mode 100755 diff --git a/themes/vertex/icons/bat-020.png b/themes/vertex/icons/bat-020.png old mode 100644 new mode 100755 diff --git a/themes/vertex/icons/bat-040-charging.png b/themes/vertex/icons/bat-040-charging.png old mode 100644 new mode 100755 diff --git a/themes/vertex/icons/bat-040.png b/themes/vertex/icons/bat-040.png old mode 100644 new mode 100755 diff --git a/themes/vertex/icons/bat-060-charging.png b/themes/vertex/icons/bat-060-charging.png old mode 100644 new mode 100755 diff --git a/themes/vertex/icons/bat-060.png b/themes/vertex/icons/bat-060.png old mode 100644 new mode 100755 diff --git a/themes/vertex/icons/bat-080-charging.png b/themes/vertex/icons/bat-080-charging.png old mode 100644 new mode 100755 diff --git a/themes/vertex/icons/bat-080.png b/themes/vertex/icons/bat-080.png old mode 100644 new mode 100755 diff --git a/themes/vertex/icons/bat-100-charging.png b/themes/vertex/icons/bat-100-charging.png old mode 100644 new mode 100755 diff --git a/themes/vertex/icons/bat-100.png b/themes/vertex/icons/bat-100.png old mode 100644 new mode 100755 diff --git a/themes/vertex/icons/bat-charged.png b/themes/vertex/icons/bat-charged.png old mode 100644 new mode 100755 diff --git a/themes/vertex/icons/ethernet-connected.png b/themes/vertex/icons/ethernet-connected.png old mode 100644 new mode 100755 diff --git a/themes/vertex/icons/ethernet-disconnected.png b/themes/vertex/icons/ethernet-disconnected.png old mode 100644 new mode 100755 diff --git a/themes/vertex/icons/panel.png b/themes/vertex/icons/panel.png old mode 100644 new mode 100755 diff --git a/themes/vertex/icons/volume-high.png b/themes/vertex/icons/volume-high.png old mode 100644 new mode 100755 diff --git a/themes/vertex/icons/volume-low.png b/themes/vertex/icons/volume-low.png old mode 100644 new mode 100755 diff --git a/themes/vertex/icons/volume-medium.png b/themes/vertex/icons/volume-medium.png old mode 100644 new mode 100755 diff --git a/themes/vertex/icons/volume-muted-blocked.png b/themes/vertex/icons/volume-muted-blocked.png old mode 100644 new mode 100755 diff --git a/themes/vertex/icons/volume-muted.png b/themes/vertex/icons/volume-muted.png old mode 100644 new mode 100755 diff --git a/themes/vertex/icons/volume-off.png b/themes/vertex/icons/volume-off.png old mode 100644 new mode 100755 diff --git a/themes/vertex/icons/wireless-disconnected.png b/themes/vertex/icons/wireless-disconnected.png old mode 100644 new mode 100755 diff --git a/themes/vertex/icons/wireless-full.png b/themes/vertex/icons/wireless-full.png old mode 100644 new mode 100755 diff --git a/themes/vertex/icons/wireless-high.png b/themes/vertex/icons/wireless-high.png old mode 100644 new mode 100755 diff --git a/themes/vertex/icons/wireless-low.png b/themes/vertex/icons/wireless-low.png old mode 100644 new mode 100755 diff --git a/themes/vertex/icons/wireless-medium.png b/themes/vertex/icons/wireless-medium.png old mode 100644 new mode 100755 diff --git a/themes/vertex/icons/wireless-none.png b/themes/vertex/icons/wireless-none.png old mode 100644 new mode 100755 diff --git a/themes/vertex/theme.lua b/themes/vertex/theme.lua index 0d2af1e..4a5bd83 100644 --- a/themes/vertex/theme.lua +++ b/themes/vertex/theme.lua @@ -273,6 +273,7 @@ local mywifisig = awful.widget.watch( wificon:connect_signal("button::press", function() awful.spawn(string.format("%s -e wavemon", awful.util.terminal)) end) -- Weather +--[[ to be set before use theme.weather = lain.widget.weather({ city_id = 2643743, -- placeholder (London) notification_preset = { font = "Monospace 10" }, @@ -281,6 +282,7 @@ theme.weather = lain.widget.weather({ widget:set_markup(" " .. markup.font(theme.font, units .. "°C") .. " ") end }) +--]] -- Launcher local mylauncher = awful.widget.button({image = theme.awesome_icon}) @@ -449,8 +451,8 @@ function theme.at_screen_connect(s) layout = wibox.layout.fixed.horizontal, wibox.widget { nil, nil, theme.mpd.widget, layout = wibox.layout.align.horizontal }, rspace0, - theme.weather.icon, - theme.weather.widget, + --theme.weather.icon, + --theme.weather.widget, rspace1, wificon, rspace0, diff --git a/themes/vertex/wall.png b/themes/vertex/wall.png old mode 100644 new mode 100755