summaryrefslogtreecommitdiffstats
path: root/eww/var.yuck
diff options
context:
space:
mode:
authorLibravatarLibravatar Biswakalyan Bhuyan <biswa@surgot.in> 2022-10-03 21:42:20 +0530
committerLibravatarLibravatar Biswakalyan Bhuyan <biswa@surgot.in> 2022-10-03 21:42:20 +0530
commitaf120ab348f2e1a5a39dec035ed9dcf84189a64e (patch)
tree2a3aadd7ce1b7b771dfe3fe7c983569726c8d7ed /eww/var.yuck
downloaddotfiles-af120ab348f2e1a5a39dec035ed9dcf84189a64e.tar.gz
dotfiles-af120ab348f2e1a5a39dec035ed9dcf84189a64e.tar.bz2
dotfiles-af120ab348f2e1a5a39dec035ed9dcf84189a64e.zip
dotfiles
Diffstat (limited to 'eww/var.yuck')
-rw-r--r--eww/var.yuck58
1 files changed, 58 insertions, 0 deletions
diff --git a/eww/var.yuck b/eww/var.yuck
new file mode 100644
index 0000000..57a5779
--- /dev/null
+++ b/eww/var.yuck
@@ -0,0 +1,58 @@
+; system i.e for progress bars
+(defpoll cpu :interval "1s"
+ "scripts/system cpu")
+
+(defpoll ram :interval "1s"
+ "scripts/system ram")
+
+(defpoll disk :interval "1s"
+ "scripts/system disk")
+
+(defpoll battery :interval "1s"
+ "scripts/system battery")
+
+; date time
+(defpoll time :interval "1s"
+ "date +'%H:%M'")
+
+(defpoll date :interval "1s"
+ "date +'%a, %d %m %y'")
+
+; sliders
+
+; audio
+(defpoll master_vol :interval "1s"
+ "scripts/audio mastervol")
+
+(defpoll head_vol :interval "1s"
+ "scripts/audio headvol")
+
+(defpoll mic_vol :interval "1h"
+ "scripts/audio micvol")
+
+; backlight
+(defpoll brightness :interval "1s"
+ "scripts/system backlight")
+
+; pkg related
+(defpoll updates :interval "1s"
+ "scripts/system pkgUpdates")
+
+(defpoll pkgs :interval "1s"
+ "scripts/system pkgCount")
+
+; btns
+
+; wifi iwdgtk btn
+(defpoll wifi :interval "1s"
+ "scripts/system wifi")
+
+;fetch
+(defpoll os :interval '10000s'
+ 'scripts/fetch os')
+
+(defpoll shell :interval '100000s'
+ 'scripts/fetch shell')
+
+(defpoll wm :interval '100000s'
+ 'scripts/fetch wm')