diff options
author | Yigit Sever | 2021-11-01 18:03:09 +0300 |
---|---|---|
committer | Yigit Sever | 2021-11-01 18:03:24 +0300 |
commit | 0ee0b219d4f7bd235043d262e41d517f3c5a507e (patch) | |
tree | 41ba6091856025dd4fa7c8d73b0dd73028860a90 /.config/polybar | |
parent | 5c8368d57cacd1c26df38b88ea7da9a2d3ad24b1 (diff) | |
download | dotfiles-0ee0b219d4f7bd235043d262e41d517f3c5a507e.tar.gz dotfiles-0ee0b219d4f7bd235043d262e41d517f3c5a507e.tar.bz2 dotfiles-0ee0b219d4f7bd235043d262e41d517f3c5a507e.zip |
polybar, lowe: add toread & iss
Diffstat (limited to '.config/polybar')
-rw-r--r-- | .config/polybar/config##h.lowe | 15 | ||||
-rwxr-xr-x | .config/polybar/scripts/toread | 6 |
2 files changed, 18 insertions, 3 deletions
diff --git a/.config/polybar/config##h.lowe b/.config/polybar/config##h.lowe index a631c77..8dd08f7 100644 --- a/.config/polybar/config##h.lowe +++ b/.config/polybar/config##h.lowe | |||
@@ -45,9 +45,9 @@ module-margin = 1 | |||
45 | font-0 = scientifica:antialias=false;1 | 45 | font-0 = scientifica:antialias=false;1 |
46 | font-1 = Siji:size=20;1 | 46 | font-1 = Siji:size=20;1 |
47 | 47 | ||
48 | modules-left = i3 github | 48 | modules-left = i3 github iss |
49 | modules-center = xwindow | 49 | modules-center = xwindow |
50 | modules-right = habit focus date time | 50 | modules-right = toread habit focus date time |
51 | 51 | ||
52 | tray-position = right | 52 | tray-position = right |
53 | 53 | ||
@@ -76,12 +76,21 @@ format-prefix-padding = 1 | |||
76 | format-offline = <label-offline> | 76 | format-offline = <label-offline> |
77 | label-offline = Github offline | 77 | label-offline = Github offline |
78 | 78 | ||
79 | [module/iss] | ||
80 | type = custom/script | ||
81 | exec = /home/yigit/.config/polybar/scripts/space | ||
82 | interval = 5 | ||
83 | |||
84 | [module/toread] | ||
85 | type = custom/script | ||
86 | exec = /home/yigit/.config/polybar/scripts/toread | ||
87 | interval = 5 | ||
79 | 88 | ||
80 | [module/focus] | 89 | [module/focus] |
81 | type = custom/script | 90 | type = custom/script |
82 | exec = ~/.config/polybar/scripts/focus | 91 | exec = ~/.config/polybar/scripts/focus |
83 | double-click-left = exec ~/.config/polybar/scripts/stop & | 92 | double-click-left = exec ~/.config/polybar/scripts/stop & |
84 | interval = 1 | 93 | interval = 5 |
85 | 94 | ||
86 | [module/habit] | 95 | [module/habit] |
87 | type = custom/script | 96 | type = custom/script |
diff --git a/.config/polybar/scripts/toread b/.config/polybar/scripts/toread new file mode 100755 index 0000000..a8efc41 --- /dev/null +++ b/.config/polybar/scripts/toread | |||
@@ -0,0 +1,6 @@ | |||
1 | #!/bin/bash | ||
2 | |||
3 | lines=$(buku --nostdin --stag 'toread' -f 10 | wc -l) | ||
4 | |||
5 | # echo "${count} foo" | ||
6 | echo " $lines" | ||