summaryrefslogtreecommitdiff
path: root/.config/polybar
diff options
context:
space:
mode:
authorAdam <56338480+adastx@users.noreply.github.com>2022-07-17 17:18:46 +0200
committerAdam <56338480+adastx@users.noreply.github.com>2022-07-17 17:24:05 +0200
commitc76369ae9bd0ec9bd3e1bb3ecd94a0abfccb0285 (patch)
treedebb7037aab9911536a5a2a2f71160c49b6a13cd /.config/polybar
parent71bf6170c458bcd3faead904be51f7c5c635f9f5 (diff)
polybar: switched to custom forecast app
Diffstat (limited to '.config/polybar')
-rw-r--r--.config/polybar/config.ini36
1 files changed, 4 insertions, 32 deletions
diff --git a/.config/polybar/config.ini b/.config/polybar/config.ini
index b92911e..79b8a40 100644
--- a/.config/polybar/config.ini
+++ b/.config/polybar/config.ini
@@ -1,25 +1,17 @@
[colors]
-;background = ${xrdb:color0:#222}
-;background = #10152c
-;background = #080f1f
background = #090809
background-alt = #1b2f60
background-module = #111e3d
-;foreground = ${xrdb:color7:#222}
foreground = #dfdfdf
foreground-alt = #254183
primary = #ffb52a
secondary = #e60053
alert = #bd2c40
-
-
[bar/bar1]
monitor = ${env:MONITOR:}
width = 100%
height = 30
-;offset-x = 1%
-;offset-y = 1%
radius = 0
fixed-center = false
bottom = false
@@ -46,7 +38,7 @@ font-4 = MaterialIcons:size=18;7
modules-left = i3 xwindow
modules-center =
-modules-right = updates-pacman-aurhelper weather xkeyboard pulseaudio battery date
+modules-right = updates-pacman-aurhelper forecast xkeyboard pulseaudio battery date
tray-maxsize = 22
tray-position = right
@@ -56,17 +48,12 @@ cursor-scroll = ns-resize
enable-ipc = true
-
-
[module/xkeyboard]
type = internal/xkeyboard
blacklist-0 = num lock
format = <label-layout><label-indicator>
format-spacing = 0
-;format-prefix = "  "
-;format-prefix-foreground = ${colors.foreground}
-;format-prefix-background = ${colors.background-alt}
label-layout = " %layout% "
label-layout-background = ${colors.background-module}
@@ -74,8 +61,6 @@ label-layout-background = ${colors.background-module}
label-indicator-padding = 2
label-indicator-background = ${colors.secondary}
-
-
[module/i3]
type = internal/i3
format = <label-state> <label-mode>
@@ -174,13 +159,11 @@ label-muted = "  muted "
label-muted-foreground = #999
label-muted-background = ${colors.background-module}
-
[module/xwindow]
type = internal/xwindow
format-padding = 3
label-maxlen = 50
-
[module/updates-pacman-aurhelper]
type = custom/script
exec = /home/adam/.config/polybar/extra/updates-pacman-aurhelper.sh
@@ -188,26 +171,15 @@ interval = 600
format-foreground = ${root.foreground}
format-background = ${colors.background-module}
-
-[module/weather]
+[module/forecast]
type = custom/script
-exec = busctl --user -j get-property io.ntfd /weather openweathermap.strings RenderedTemplate | jq -r .data
-interval = 60
+exec = /home/adam/.local/bin/forecast
+interval = 1800
format-background = ${colors.background-module}
[settings]
screenchange-reload = true
-;compositing-background = xor
-;compositing-background = screen
-;compositing-foreground = source
-;compositing-border = over
-;pseudo-transparency = false
-
-
[global/wm]
margin-top = 5
margin-bottom = 5
-
-; vim:ft=dosini
-