]> git.friedersdorff.com Git - max/dotfiles.git/commitdiff
Add battery information to conky
authorMaximilian Friedersdorff <max@friedersdorff.com>
Wed, 10 Apr 2019 09:39:35 +0000 (10:39 +0100)
committerMaximilian Friedersdorff <max@friedersdorff.com>
Wed, 10 Apr 2019 09:39:35 +0000 (10:39 +0100)
sway/.conkyrc

index cc7d85ed8afba4d6b5fd197ee46c661a8b984e8c..6f41e18954883630c2b440ddb1fca58e2e1bb5c5 100644 (file)
@@ -46,6 +46,9 @@ conky.text = [[
                "\#ff0000"
          ${endif} 
   },
+  ${if_match "${exec hostname}"=="platinum"}
+       {"full_text": "${acpitool}", "color": "\#ffffff"},
+  ${endif}
   {"full_text": "${time}", "color": "\#ffffff"}
 ],
 ]];