mirror of
https://github.com/WarrenHood/dotfiles.git
synced 2025-04-30 03:24:59 +01:00
Added battery indicator to awesome wm
This commit is contained in:
parent
d73ab7dfb4
commit
fa428f29c3
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
[submodule "awesome/.config/awesome/battery-widget"]
|
||||||
|
path = awesome/.config/awesome/battery-widget
|
||||||
|
url = https://github.com/deficient/battery-widget
|
1
awesome/.config/awesome/battery-widget
Submodule
1
awesome/.config/awesome/battery-widget
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 25b7e94a34ed854697d61e3cbb0a3ebd9745dbd4
|
|
@ -229,6 +229,10 @@ awful.screen.connect_for_each_screen(function(s)
|
||||||
{ -- Right widgets
|
{ -- Right widgets
|
||||||
layout = wibox.layout.fixed.horizontal,
|
layout = wibox.layout.fixed.horizontal,
|
||||||
mykeyboardlayout,
|
mykeyboardlayout,
|
||||||
|
|
||||||
|
-- battery widget from https://raw.githubusercontent.com/deficient/battery-widget/master/battery-widget.lua
|
||||||
|
require("battery-widget") {},
|
||||||
|
|
||||||
wibox.widget.systray(),
|
wibox.widget.systray(),
|
||||||
mytextclock,
|
mytextclock,
|
||||||
s.mylayoutbox,
|
s.mylayoutbox,
|
||||||
|
@ -511,7 +515,8 @@ awful.rules.rules = {
|
||||||
"Tor Browser", -- Needs a fixed window size to avoid fingerprinting by screen size.
|
"Tor Browser", -- Needs a fixed window size to avoid fingerprinting by screen size.
|
||||||
"Wpa_gui",
|
"Wpa_gui",
|
||||||
"veromix",
|
"veromix",
|
||||||
"xtightvncviewer"},
|
"xtightvncviewer"
|
||||||
|
},
|
||||||
|
|
||||||
-- Note that the name property shown in xprop might be set slightly after creation of the client
|
-- 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.
|
-- and the name shown there might not match defined rules here.
|
||||||
|
|
Loading…
Reference in a new issue