diff --git a/README.rst b/README.rst index 4dc63e9..7faa95a 100644 --- a/README.rst +++ b/README.rst @@ -78,6 +78,8 @@ Notes **Do not** use without reading and modifying according to your preferences and system specs. +If you happen to get any problem (startup, ``surface.lua``, ...), **be sure** to have ``lua`` and ``lua-lgi`` up to date. + Widgets are provided by vicious_. Fonts are Terminus (Multicolor, Powerarrow Darker) and Tamsyn (other ones). @@ -104,8 +106,6 @@ Freedesktop menu in use is just an example: feel free to modify ``freedesktop/fr If you happen to get an error involving ``/home fs widget``, replace every occurrence of ``/home`` with ``/``, or some other argument defined in vicious readme_, section ``vicious.widgets.fs``. -Instead, if you happen to get any ``surface.lua`` problem, be sure to have ``lua`` and ``lua-lgi`` up to date. - Also be sure to set your music dir in ``scripts/mpdinfo``, and to have ``imagemagick`` and ``notify-send`` installed. .. _Awesome: http://awesome.naquadah.org/ diff --git a/rc.lua.blackburn b/rc.lua.blackburn index ff4be96..5f9402b 100755 --- a/rc.lua.blackburn +++ b/rc.lua.blackburn @@ -495,9 +495,9 @@ no_net_shown = true netwidget = wibox.widget.textbox() vicious.register(netwidget, vicious.widgets.net, function (widget, args) - if args["{wlan0 carrier}"] == 0 then + if args["{wlp3s0 carrier}"] == 0 then if no_net_shown == true then - naughty.notify({ title = "wlan0", text = "No carrier", + naughty.notify({ title = "wlp3s0", text = "No carrier", timeout = 7, position = "top_left", icon = beautiful.widget_no_net_notify, diff --git a/rc.lua.dremora b/rc.lua.dremora index dd9bf78..eb23c65 100755 --- a/rc.lua.dremora +++ b/rc.lua.dremora @@ -422,9 +422,9 @@ no_net_shown = true netwidget = wibox.widget.textbox() vicious.register(netwidget, vicious.widgets.net, function (widget, args) - if args["{wlan0 carrier}"] == 0 then + if args["{wlp3s0 carrier}"] == 0 then if no_net_shown == true then - naughty.notify({ title = "wlan0", text = "No carrier", + naughty.notify({ title = "wlp3s0", text = "No carrier", timeout = 7, position = "top_left", icon = beautiful.widget_no_net_notify, diff --git a/rc.lua.multicolor b/rc.lua.multicolor index 8e1653e..9f728a4 100755 --- a/rc.lua.multicolor +++ b/rc.lua.multicolor @@ -450,12 +450,12 @@ netdownicon = wibox.widget.imagebox() netdownicon:set_image(beautiful.widget_netdown) netdownicon.align = "middle" netdowninfo = wibox.widget.textbox() -vicious.register(netdowninfo, vicious.widgets.net, green .. "${wlan0 down_kb}" .. coldef, 1) +vicious.register(netdowninfo, vicious.widgets.net, green .. "${wlp3s0 down_kb}" .. coldef, 1) netupicon = wibox.widget.imagebox() netupicon:set_image(beautiful.widget_netup) netupicon.align = "middle" netupinfo = wibox.widget.textbox() -vicious.register(netupinfo, vicious.widgets.net, red .. "${wlan0 up_kb}" .. coldef, 1) +vicious.register(netupinfo, vicious.widgets.net, red .. "${wlp3s0 up_kb}" .. coldef, 1) -- Memory widget memicon = wibox.widget.imagebox() diff --git a/rc.lua.powerarrow-darker b/rc.lua.powerarrow-darker index 67bb73c..4f73621 100755 --- a/rc.lua.powerarrow-darker +++ b/rc.lua.powerarrow-darker @@ -477,7 +477,7 @@ end, 1, "Master") -- Net widget netwidget = wibox.widget.textbox() -vicious.register(netwidget, vicious.widgets.net, ' ${wlan0 down_kb} ↓↑ ${wlan0 up_kb} ', 3) +vicious.register(netwidget, vicious.widgets.net, ' ${wlp3s0 down_kb} ↓↑ ${wlp3s0 up_kb} ', 3) neticon = wibox.widget.imagebox() neticon:set_image(beautiful.widget_net) netwidget:buttons(awful.util.table.join(awful.button({ }, 1, function () awful.util.spawn_with_shell(iptraf) end))) diff --git a/rc.lua.rainbow b/rc.lua.rainbow index 9473617..01279d1 100755 --- a/rc.lua.rainbow +++ b/rc.lua.rainbow @@ -559,9 +559,9 @@ no_net_shown = true netwidget = wibox.widget.textbox() vicious.register(netwidget, vicious.widgets.net, function (widget, args) - if args["{wlan0 carrier}"] == 0 then + if args["{wlp3s0 carrier}"] == 0 then if no_net_shown == true then - naughty.notify({ title = "wlan0", text = "No carrier", + naughty.notify({ title = "wlp3s0", text = "No carrier", timeout = 7, position = "top_left", icon = beautiful.widget_no_net_notify, diff --git a/rc.lua.steamburn b/rc.lua.steamburn index 967dd32..4b867a1 100755 --- a/rc.lua.steamburn +++ b/rc.lua.steamburn @@ -447,7 +447,7 @@ end, 1, "Master") -- Net widget netwidget = wibox.widget.textbox() -vicious.register(netwidget, vicious.widgets.net, gray .. "Net " .. coldef .. white .. "${wlan0 down_kb} " .. "↓↑ " .. "${wlan0 up_kb} " .. coldef, 3) +vicious.register(netwidget, vicious.widgets.net, gray .. "Net " .. coldef .. white .. "${wlp3s0 down_kb} " .. "↓↑ " .. "${wlp3s0 up_kb} " .. coldef, 3) netwidget:buttons(awful.util.table.join(awful.button({ }, 1, function () awful.util.spawn_with_shell(wifi) end))) -- Weather widget