diff options
Diffstat (limited to '.config/polybar')
-rw-r--r-- | .config/polybar/config##h.lowe | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/.config/polybar/config##h.lowe b/.config/polybar/config##h.lowe index 6b7d7c9..9c1ae06 100644 --- a/.config/polybar/config##h.lowe +++ b/.config/polybar/config##h.lowe | |||
@@ -45,12 +45,38 @@ 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 pulseaudio-control spotify | 48 | modules-left = i3 github |
49 | modules-center = xwindow | 49 | modules-center = xwindow |
50 | modules-right = focus date time | 50 | modules-right = focus date time |
51 | 51 | ||
52 | tray-position = right | 52 | tray-position = right |
53 | 53 | ||
54 | [module/github] | ||
55 | type = internal/github | ||
56 | |||
57 | token = ${file:/home/yigit/.local/share/polybar/github_token} | ||
58 | user = yigitsever | ||
59 | empty-notifications = false | ||
60 | interval = 10 | ||
61 | api-url = https://api.github.com/ | ||
62 | |||
63 | format = <label> | ||
64 | label = %notifications% | ||
65 | |||
66 | label-padding = 1 | ||
67 | |||
68 | format-background = ${colors.background_modules} | ||
69 | format-foreground = ${colors.foreground_modules} | ||
70 | |||
71 | format-prefix = | ||
72 | format-prefix-foreground = ${colors.background_modules} | ||
73 | format-prefix-background = ${colors.purple} | ||
74 | format-prefix-padding = 1 | ||
75 | |||
76 | format-offline = <label-offline> | ||
77 | label-offline = Github offline | ||
78 | |||
79 | |||
54 | [module/focus] | 80 | [module/focus] |
55 | type = custom/script | 81 | type = custom/script |
56 | exec = ~/.config/polybar/focus | 82 | exec = ~/.config/polybar/focus |