mirror of
https://github.com/lcpz/awesome-copycats.git
synced 2024-12-22 11:12:31 +00:00
readme updated
This commit is contained in:
parent
ae302c01d1
commit
68379c2c55
|
@ -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/
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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()
|
||||
|
|
|
@ -477,7 +477,7 @@ end, 1, "Master")
|
|||
|
||||
-- Net widget
|
||||
netwidget = wibox.widget.textbox()
|
||||
vicious.register(netwidget, vicious.widgets.net, '<span background="#313131" font="Terminus 13" rise="2000"> <span font="Terminus 9" color="#7AC82E">${wlan0 down_kb}</span> <span font="Terminus 7" color="#EEDDDD">↓↑</span> <span font="Terminus 9" color="#46A8C3">${wlan0 up_kb} </span></span>', 3)
|
||||
vicious.register(netwidget, vicious.widgets.net, '<span background="#313131" font="Terminus 13" rise="2000"> <span font="Terminus 9" color="#7AC82E">${wlp3s0 down_kb}</span> <span font="Terminus 7" color="#EEDDDD">↓↑</span> <span font="Terminus 9" color="#46A8C3">${wlp3s0 up_kb} </span></span>', 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)))
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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} " .. "<span font=\"Terminus 8\">↓↑ </span>" .. "${wlan0 up_kb} " .. coldef, 3)
|
||||
vicious.register(netwidget, vicious.widgets.net, gray .. "Net " .. coldef .. white .. "${wlp3s0 down_kb} " .. "<span font=\"Terminus 8\">↓↑ </span>" .. "${wlp3s0 up_kb} " .. coldef, 3)
|
||||
netwidget:buttons(awful.util.table.join(awful.button({ }, 1, function () awful.util.spawn_with_shell(wifi) end)))
|
||||
|
||||
-- Weather widget
|
||||
|
|
Loading…
Reference in a new issue