]> git.rmz.io Git - dotfiles.git/commitdiff
awesome: add net_widget
authorSamir Benmendil <samir.benmendil@gmail.com>
Mon, 9 Feb 2015 14:48:30 +0000 (14:48 +0000)
committerSamir Benmendil <samir.benmendil@gmail.com>
Mon, 9 Feb 2015 14:48:30 +0000 (14:48 +0000)
.gitmodules
awesome/net_widgets [new submodule]
awesome/topbar.lua

index b274d065bb404b8522e8a32421dece19196a297e..4ad3649f5d32c24077df3971da64c3a3b5c30dde 100644 (file)
@@ -4,3 +4,6 @@
 [submodule "awesome/widgets/awesompd"]
        path = awesome/widgets/awesompd
        url = git@github.com:Ram-Z/awesompd.git
+[submodule "awesome/net_widgets"]
+       path = awesome/net_widgets
+       url = https://github.com/plotnikovanton/net_widgets
diff --git a/awesome/net_widgets b/awesome/net_widgets
new file mode 160000 (submodule)
index 0000000..8223760
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit 8223760041a49604f9b1a498e09943e24c2ebeb2
index 638e9675edae866cf4048e4254dbf4310619d0d8..0e413e5af20617c209c127ccb179020c81df16d0 100644 (file)
@@ -3,6 +3,7 @@ local utils = require("utils")
 
 -- Widget and layout library
 local wibox = require("wibox")
+local net_widgets = require("net_widgets")
 
 -- Create a textclock widget
 separator = wibox.widget.textbox()
@@ -96,6 +97,8 @@ for s = 1, screen.count() do
         right_layout:add(require("widgets/battery_widget"))
     end
     right_layout:add(separator)
+    right_layout:add(net_widgets.wireless({interface='wlp3s0'}))
+    right_layout:add(separator)
     right_layout:add(require("widgets/calendar"))
     right_layout:add(mylayoutbox[s])