aboutsummaryrefslogtreecommitdiff
path: root/.config/polybar/config.ini
diff options
context:
space:
mode:
authorsrdusr <trevorgray@srdusr.com>2024-01-07 23:53:05 +0200
committersrdusr <trevorgray@srdusr.com>2024-01-07 23:53:05 +0200
commit0c1e9bd634567427f55d18934027fdf1864354a2 (patch)
treedce179cdf866fed391e1c964d8a484f58a7624a1 /.config/polybar/config.ini
parent37fcf34b071afa3ef5cad01f0a317bea4642d5e6 (diff)
downloaddotfiles-0c1e9bd634567427f55d18934027fdf1864354a2.tar.gz
dotfiles-0c1e9bd634567427f55d18934027fdf1864354a2.zip
Update entire config
Diffstat (limited to '.config/polybar/config.ini')
-rw-r--r--.config/polybar/config.ini695
1 files changed, 324 insertions, 371 deletions
diff --git a/.config/polybar/config.ini b/.config/polybar/config.ini
index 1df6428..7726dac 100644
--- a/.config/polybar/config.ini
+++ b/.config/polybar/config.ini
@@ -16,251 +16,237 @@
;
;==========================================================
[colors]
-disabled = #707880
-Rosewater = #f5e0dc
-Flamingo = #f2cdcd
-Pink = #f5c2e7
-Mauve = #cba6f7
-Red = #f38ba8
-Maroon = #eba0ac
-Peach = #fab387
-Yellow = #f9e2af
-Green = #a6e3a1
-Teal = #94e2d5
-Sky = #89dceb
-Sapphire = #74c7ec
-Blue = #89b4fa
-Lavender = #b4befe
-Base = #1e1e2e
-Mantle = #181825
foreground = #fafafa
-;foreground-alt = #aaCECCC9
-;primary = #aaCECCC9
-;secondary = #aaCECCC9
+foreground-alt = #aaCECCC9
background = #aa000000
-non = #aaCECCC9
;background = #aa101212
;background = #00000000
background-alt = #aaCECCC9
-;foreground = #aaCECCC9
-;alert = #aaCECCC9
+disabled = #707880
altblend = #282e49
-;background = #aa000000
+;primary = #aaCECCC9
+;secondary = #aaCECCC9
+;non = #aaCECCC9
blue = #61afef
dark_blue = #42A5F5
nord = #81a1c1
light_blue = #ADD8E6
-;green = #a0c980
purple = #c882e7
orange = #E57C46
-;orange = #d08770
gray = #676E95
red = #EC7875
pink = #EC407A
yellow = #FDD835
-;yellow = #ECBE7B
amber = #FBC02D
indigo = #6C77BB
green = #61C766
lime = #B9C244
cyber = #53E2AE
alert = #ff8989
-;disabled = #989898
-
-[bar/left]
-
-width = 25%
-offset-x = 0.5%
-offset-y = 1%
-height = 22pt
-radius = 10.0
-fixed-center = true
-
-background = ${colors.Mantle}
-foreground = ${colors.Lavender}
-line-size = 1pt
-;font-0 = "RobotoMono Nerd Font:weight=bold:size=9;2"
-;font-1 = "RobotoMono Nerd Font:size=10;3"
-;font-2 = "RobotoMono Nerd Font:size=11;3"
-;font-3 = "NotoEmoji:scale=11;3"
-;font-4 = "Noto Sans CJK JP:size=10;3"
-; Font for date
-font-0 = "SF Pro Mono:style=Display Bold:size=10;2"
+[fonts]
+font0 = "SF Pro Mono:style=Display Bold:size=10;2"
; Font for crypto, dunst
-font-1 = "Material Design Icons:style=Bold:size=11.5;2"
+font1 = "Material Design Icons:style=Bold:size=11.5;2"
; Font for menu
-font-2 = "Material Design Icons:style=Bold:size=13.5;2"
+font2 = "Material Design Icons:style=Bold:size=13.5;2"
; Font for controlCenter
-font-3 = "SF Pro:style=Medium:size=10.5;2"
+font3 = "SF Pro:style=Medium:size=10.5;2"
; Font for search
-font-4 = "SF Pro:style=Medium:size=9.5;2"
+font4 = "SF Pro:style=Regular:size=13;2"
; Font for bspwm/workspaces
-font-5 = "UbuntuMono Nerd font:size=11;2"
-font-6="Feather:style=Regular:size=15;4"
-font-7="Font Awesome 6 Pro Solid:style=Solid:size=14;4"
-
-modules-left = space space power bspwm space cpu space sep space memory space sep space temperature space space
-
+font5 = "UbuntuMono Nerd font:size=11;2"
+font6="Feather:style=Regular:size=15;4"
+font7="Font Awesome 6 Pro Solid:style=Solid:size=14;4"
+font8 ="JetBrainsMono Nerd Font:size=9;2"
+
+[bar/top-left]
+#monitor = ${env:MONITOR1}
+monitor = ${env:MONITOR:}
+#monitor = ${env:MONITOR:HDMI-1}
+width = 260px
+offset-x = 1%
+offset-y = 1%
+height = 22pt
+radius = 10.0
+fixed-center = true
+background = ${colors.background}
+foreground = ${colors.foreground}
+font-0 = ${fonts.font0}
+font-1 = ${fonts.font1}
+font-2 = ${fonts.font2}
+font-3 = ${fonts.font3}
+font-4 = ${fonts.font4}
+font-5 = ${fonts.font5}
+font-6 = ${fonts.font6}
+font-7 = ${fonts.font7}
+font-8 = ${fonts.font8}
+line-size = 1pt
enable-ipc = true
-
wm-restack = generic
-
-[bar/middle]
-
-width = 20%
-offset-x = 40%
+modules-left = space space menu space bspwm space space
+
+[bar/top-middle-left]
+#monitor = ${env:MONITOR1}
+monitor = ${env:MONITOR:}
+#monitor = ${env:MONITOR:HDMI-1}
+width = 220px
+offset-x = 25%
offset-y = 1%
height = 22pt
radius = 10.0
fixed-center = true
-
-background = ${colors.Mantle}
-foreground = ${colors.Lavender}
-
+background = ${colors.background}
+foreground = ${colors.foreground}
+font-0 = ${fonts.font0}
+font-1 = ${fonts.font1}
+font-2 = ${fonts.font2}
+font-3 = ${fonts.font3}
+font-4 = ${fonts.font4}
+font-5 = ${fonts.font5}
+font-6 = ${fonts.font6}
+font-7 = ${fonts.font7}
+font-8 = ${fonts.font8}
line-size = 1pt
-
-font-0 = "RobotoMono Nerd Font:weight=bold:size=9;2"
-font-1 = "RobotoMono Nerd Font:size=10;3"
-font-2 = "RobotoMono Nerd Font:size=11;3"
-
-modules-center = day space sep space calendar date space sep space time
-
enable-ipc = true
-
wm-restack = generic
-
-[bar/right]
-
-width = 25%
-offset-x = 74.6%
+modules-center = space space cpu space sep space memory space sep space temperature space space
+
+[bar/top-middle]
+#monitor = ${env:MONITOR1}
+monitor = ${env:MONITOR:}
+#monitor = ${env:MONITOR:HDMI-1}
+width = 220px
+offset-x = 42%
offset-y = 1%
height = 22pt
radius = 10.0
fixed-center = true
-
-background = ${colors.Mantle}
-foreground = ${colors.Lavender}
-
+background = ${colors.background}
+foreground = ${colors.foreground}
line-size = 1pt
-
-;font-0 = "RobotoMono Nerd Font:weight=bold:size=9;2"
-;font-1 = "RobotoMono Nerd Font:size=10;3"
-;font-2 = "RobotoMono Nerd Font:size=11;3"
-font-0 = "SF Pro Mono:style=Display Bold:size=10;2"
-; Font for crypto, dunst
-font-1 = "Material Design Icons:style=Bold:size=11.5;2"
-; Font for menu
-font-2 = "Material Design Icons:style=Bold:size=13.5;2"
-; Font for controlCenter
-font-3 = "SF Pro:style=Medium:size=10.5;2"
-; Font for search
-font-4 = "SF Pro:style=Medium:size=9.5;2"
-; Font for bspwm/workspaces
-font-5 = "UbuntuMono Nerd font:size=11;2"
-font-6="Feather:style=Regular:size=15;4"
-font-7="Font Awesome 6 Pro Solid:style=Solid:size=14;4"
-
-
-modules-right = space space networkspeeddown space networkspeedup space sep space wlan space eth space sep space volume space sep space backlight space sep space battery dunst space systray space control space space
+font-0 = "RobotoMono Nerd Font:weight=bold:size=9;2"
+font-1 = "RobotoMono Nerd Font:size=10;3"
+font-2 = "RobotoMono Nerd Font:size=11;3"
enable-ipc = true
-
wm-restack = generic
-
-[bar/tray]
-
-width = 7%
-offset-x = 80%
+modules-center = space space day space sep space date space sep space time space space
+
+[bar/top-middle-right]
+#monitor = ${env:MONITOR1}
+monitor = ${env:MONITOR:}
+# Tray
+#tray-position = ${env:TRAY_POSITION:right}
+#monitor = ${env:MONITOR:HDMI-1}
+width = 220px
+offset-x = 59%
offset-y = 1%
height = 22pt
+radius = 10.0
fixed-center = true
-
-background = ${colors.Mantle}
-foreground = ${colors.Lavender}
-
+background = ${colors.background}
+foreground = ${colors.foreground}
+font-0 = ${fonts.font0}
+font-1 = ${fonts.font1}
+font-2 = ${fonts.font2}
+font-3 = ${fonts.font3}
+font-4 = ${fonts.font4}
+font-5 = ${fonts.font5}
+font-6 = ${fonts.font6}
+font-7 = ${fonts.font7}
+font-8 = ${fonts.font8}
line-size = 1pt
-
-font-0 = "RobotoMono Nerd Font:size=10;3"
-
-; modules-center = tray
-
-modules-center = space
-
-tray-position = center
-
-tray-detached = false
-
-tray-maxsize = 16
-
-tray-padding = 4
-
enable-ipc = true
-
wm-restack = generic
+modules-center = space space wireless-network netspeed space space
-[bar/xwindow]
-
-width = 19%
-offset-x = 18%
+[bar/top-right]
+#monitor = ${env:MONITOR1}
+monitor = ${env:MONITOR:}
+#monitor = ${env:MONITOR:HDMI-1}
+width = 260px
+offset-x = 80%
offset-y = 1%
height = 22pt
+radius = 10.0
fixed-center = true
-
-background = ${colors.Mantle}
-foreground = ${colors.Lavender}
-
+background = ${colors.background}
+foreground = ${colors.foreground}
+font-0 = ${fonts.font0}
+font-1 = ${fonts.font1}
+font-2 = ${fonts.font2}
+font-3 = ${fonts.font3}
+font-4 = ${fonts.font4}
+font-5 = ${fonts.font5}
+font-6 = ${fonts.font6}
+font-7 = ${fonts.font7}
+font-8 = ${fonts.font8}
line-size = 1pt
-
-font-0 = "RobotoMono Nerd Font:weight=bold:size=10;3"
-font-1 = "NotoSans;size=10;3"
-font-2 = "NotoEmoji;scale=11;3"
-
-modules-center = space xwindow space
+padding-left = 2
+;padding-right = 2
enable-ipc = true
-
wm-restack = generic
+modules-right = space space mic space sep space volume space sep space backlight space sep space inbox space space systray space space control space space
+
+;[bar/top-left2]
+;;monitor = ${env:MONITOR2}
+;monitor = ${env:MONITOR:}
+;;monitor = ${env:MONITOR:HDMI-1}
+;width = 15%
+;offset-x = 1%
+;offset-y = 1%
+;height = 22pt
+;radius = 10.0
+;fixed-center = true
+;background = ${colors.background}
+;foreground = ${colors.foreground}
+;font-0 = ${fonts.font0}
+;font-1 = ${fonts.font1}
+;font-2 = ${fonts.font2}
+;font-3 = ${fonts.font3}
+;font-4 = ${fonts.font4}
+;font-5 = ${fonts.font5}
+;font-6 = ${fonts.font6}
+;font-7 = ${fonts.font7}
+;font-8 = ${fonts.font8}
+;line-size = 1pt
+;enable-ipc = true
+;wm-restack = generic
+;modules-center = space space menu space bspwm space space
+
+[module/xworkspaces]
+type = internal/xworkspaces
+label-active = 
+label-active-padding = 1
+label-occupied = 
+label-occupied-padding = 1
+label-empty = 
+label-empty-foreground = ${colors.disabled}
+label-empty-padding = 1
[module/bspwm]
type = internal/bspwm
format = <label-state>
-;format = <label-state> <label-mode>
-format-padding = 0
-;format-padding-right = 2
+format-padding = 2
format-foreground = ${colors.foreground}
index-sort = true
enable-click = true
-reverse-scroll = true
-#reverse-scroll = false
-
-label-focused = 
-label-focused-padding = 2
-
-label-occupied = 
-label-occupied-padding = 2
+reverse-scroll = false
-label-empty = 
-label-empty-padding = 2
-
-[module/xworkspaces]
-type = internal/xworkspaces
-
-label-active = 
-label-active-padding = 2
-label-active-foreground = ${colors.Lavender}
-label-active-font = 2
+label-focused = ●
+label-focused-padding = 1
-label-occupied = 
-label-occupied-padding = 2
-label-occupied-font = 2
+label-occupied = "%name%"
+label-occupied-padding = 1
-label-empty = 
+;label-empty = ○
+label-empty="%name%"
label-empty-foreground = ${colors.disabled}
-label-empty-padding = 2
-label-empty-font = 2
+label-empty-padding = 1
+format-font = 5
[module/xwindow]
-
type = internal/xwindow
format = <label>
format-background = ${colors.Mantle}
@@ -275,30 +261,21 @@ label-empty-foreground = ${colors.disabled}
[module/pulseaudio]
type = internal/pulseaudio
-format-volume-prefix-foreground = ${colors.Rosewater}
-format-volume = <ramp-volume> <label-volume>
-format-volume-prefix-font = 2
-
-label-volume = %percentage%%
-
-ramp-volume-0 = ""
-ramp-volume-1 = ""
-ramp-volume-2 = ""
-ramp-volume-3 = ""
-ramp-volume-4 = ""
-ramp-volume-5 = ""
-ramp-volume-6 = ""
-label-muted = muted
+format-volume-prefix = " "
+format-volume = <label-volume>
+click-right = pavucontrol
+label-volume = "%percentage%%"
+label-muted = "󰝟 muted"
label-muted-foreground = ${colors.disabled}
[module/volume]
type = internal/pulseaudio
format-volume = <ramp-volume> <label-volume>
-format-volume-font = 10
+format-volume-font = 9
format-volume-padding = 0
;ramp-volume-foreground = ${colors.foreground}
-label-volume = %percentage%%
-label-volume-padding = 2
+label-volume = %percentage:2%%
+label-volume-padding = 1
;label-muted-foreground = ${colors.foreground}
;format-volume-foreground = ${colors.purple}
format-muted-foreground = ${colors.red}
@@ -306,72 +283,37 @@ format-muted-underline = ${colors.red}
ramp-volume-foreground = ${colors.foreground}
label-muted = "muted"
label-muted-foreground = ${colors.disabled}
-ramp-volume-0 = ""
-ramp-volume-1 = ""
-ramp-volume-2 = ""
-ramp-volume-3 = ""
-ramp-volume-4 = ""
-ramp-volume-5 = ""
-ramp-volume-6 = ""
-
-[module/dunst]
+ramp-volume-0 = " "
+ramp-volume-1 = " "
+ramp-volume-2 = " "
+ramp-volume-3 = " "
+ramp-volume-4 = " "
+ramp-volume-5 = " "
+ramp-volume-6 = " "
+click-right = "pavucontrol"
+
+[module/inbox]
type = custom/text
content-foreground = ${colors.foreground}
-content-padding = 1
-content = 󰂜
+;content-padding = 1
+content = 󰮒
+;󰧬󰮒󰻨􀍕
click-left = "dunstctl history-pop"
-;[network-base]
-;type = internal/network
-;interval = 5
-;format-connected = <label-connected>
-;format-disconnected = <label-disconnected>
-;label-disconnected = disconnected
-;format-connected-foreground = ${colors.Lavender}
-;
-;[module/wlan]
-;inherit = network-base
-;interface-type = wireless
-;label-connected-font = 3
-;label-connected = 
-;label-connected-foreground = ${colors.Rosewater}
-
-[module/wlan]
-type = internal/network
-interface = wlan0
-interval = 3
-format-connected-prefix = %{A1:nm-connection-editor:}%{A}
-format-connected-prefix-foreground = ${colors.Rosewater}
-format-connected = <label-connected>
-label-connected = %essid%
-label-connected-maxlen = 9
-label-connected-font = 0
-label-connected-padding-left = 4
-format-disconnected =
-
-[module/eth]
-type = internal/network
-interface = net0
-interval = 3
-format-connected-prefix = 
-label-connected = %local_ip%
[module/day]
type = internal/date
interval = 1
-
date = %A
-
-label = %date%
-label-foreground = ${colors.Lavender}
+label = %date:8%
+label-foreground = ${colors.foreground}
[module/date]
type = internal/date
interval = 1
-
date = %d-%m-%Y
-
label = %date%
-label-foreground = ${colors.Lavender}
+label-foreground = ${colors.foreground}
+format = %{A1:$HOME/.config/eww/scripts/popup calendar &:}<label>%{A}
[module/calendar]
type = custom/text
@@ -385,11 +327,9 @@ click-left = ~/.config/eww/scripts/popup calendar &
[module/time]
type = internal/date
interval = 1
-
date = %H:%M:%S
-
label = %date%
-label-foreground = ${colors.Lavender}
+label-foreground = ${colors.foreground}
[module/battery]
type = internal/battery
@@ -433,124 +373,68 @@ animation-charging-4 = 
animation-charging-5 = 
animation-charging-6 = 
animation-charging-foreground = ${colors.green}
-
animation-charging-framerate = 750
-;[module/battery]
-;type = internal/battery
-;;/sys/class/power_supply
-;battery = BAT0
-;adapter = ADP1
-;poll-interval = 5
-;full-at = 99
-;format-charging = <animation-charging> <label-charging>
-;label-charging = %percentage%%
-;animation-charging-foreground = ${colors.Rosewater}
-;label-discharging = %percentage%%
-;format-discharging = <ramp-capacity> <label-discharging>
-;ramp-capacity-foreground = ${colors.Rosewater}
-;;label-charging = 
-;format-full = <label-full>
-;label-full = 
-;label-full-foreground = ${colors.Rosewater}
-;ramp-capacity-0 = 
-;ramp-capacity-1 = 
-;ramp-capacity-2 = 
-;ramp-capacity-3 = 
-;ramp-capacity-4 = 
-;animation-charging-0 = 
-;animation-charging-1 = 
-;animation-charging-2 = 
-;animation-charging-3 = 
-;animation-charging-4 = 
-;animation-charging-framerate = 750
[module/memory]
type=internal/memory
-
interval=5
-
format=<label>
format-font=8
-format-prefix="%{A1:alacritty -e btop &:}%{A}"
-format-foreground=${colors.Rosewater}
-format-prefix-foreground=${colors.Rosewater}
-
+format-prefix="󰨅"
+;󰘚󰥜󰥠󰨅
+format-foreground=${colors.foreground}
+format-prefix-foreground=${colors.foreground}
label-font=2
-label-foreground=${colors.Rosewater}
-label="%{A1:alacritty -e btop &:} %gb_used% 󰾆%{A}"
+label-foreground=${colors.foreground}
+label="%{A1:alacritty -e btop &:} %gb_used%%{A}"
[module/cpu]
type=internal/cpu
interval=5
format-prefix-font=4
-format-prefix=" "
+format-prefix="󰍛 "
format-padding=0
-format-prefix-foreground=${colors.green}
-format-foreground=${colors.Rosewater}
+;format-prefix-foreground=${colors.green}
+format-prefix-foreground=${colors.foreground}
+format-foreground=${colors.foreground}
;format-background=${colors.altblend}
-label="%percentage%% 󰍛"
-label-foreground=${colors.Rosewater}
+label="%percentage%%"
+label-foreground=${colors.foreground}
label-font=2
-;[module/cpu]
-;type = internal/cpu
-;interval = 5
-;format-prefix = ""
-;format-prefix-foreground = ${colors.Rosewater}
-;label = "%percentage:2%%󰍛"
[module/temperature]
type=internal/temperature
-
; Seconds to sleep between updates
; Default: 1
interval=10
-
; Thermal zone to use
; To list all the zone types, run
; $ for i in /sys/class/thermal/thermal_zone*; do echo "$i: $(<$i/type)"; done
; Default: 0
thermal-zone=0
-
; Full path of temperature sysfs path
; Use `sensors` to find preferred temperature source, then run
; $ for i in /sys/class/hwmon/hwmon*/temp*_input; do echo "$(<$(dirname $i)/name): $(cat ${i%_*}_label 2>/dev/null || echo $(basename ${i%_*})) $(readlink -f $i)"; done
; to find path to desired file
; Default reverts to thermal zone setting
hwmon-path=/sys/devices/platform/dell_smm_hwmon/hwmon/hwmon1/temp1_input
-
-
; Base temperature for where to start the ramp (in degrees celsius)
; Default: 0
base-temperature=20
warn-temperature=60
-
; Threshold temperature to display warning label (in degrees celsius)
; Default: 80
-
-;format-prefix=""
-format-warn-prefix=" "
+format-prefix=" "
+format-warn-prefix=" "
format-warn-foreground=${colors.red}
format-foreground=${colors.foreground}
format-font=4
format-warn-font=4
label-warn-font=2
-label-foreground=${colors.Rosewater}
-format = "<label> "
-
+label-foreground=${colors.foreground}
+format = "<label>"
label-font=2
-;[module/backlight]
-;type = internal/backlight
-;
-;; Use the following command to list available cards:
-;; $ ls -1 /sys/class/backlight/
-;
-;card = intel_backlight
-;use-actual-brightness = true
-;format-prefix = "盛 "
-;format-prefix-foreground = ${colors.Rosewater}
-;format-prefix-font = 3
-;enable-scroll = true
[module/xbacklight]
type = internal/xbacklight
enable-scroll = true
@@ -559,19 +443,20 @@ enable-scroll = true
inherit = module/xbacklight
type = internal/backlight
card = intel_backlight
-format-backlight = <ramp-backlight> <label>
+format-backlight = <label>
+;format-backlight = <ramp-backlight> <label>
format-padding = 0
-format-prefix = " "
-format-prefix-foreground = ${colors.foreground}
-label = %percentage%%
+format-prefix = "󰃟"
+format-prefix-forejround = ${colors.foreground}
+;ramp-backlight = %percentage:4%%
+label = %percentage:4%%
;label-foreground = ${colors.foreground}
-
[module/bluetooth]
type = custom/text
content = ""
format = <label>
-content-foreground = ${colors.Rosewater}
+content-foreground = ${colors.foreground}
; click-middle = bspc rule -a '*' -o state=floating rectangle=400x120+775+48 && kitty -e sudo polybarblue.sh
click-left = blueman-manager
@@ -582,69 +467,118 @@ format = <label>
format-padding = 1
label-padding =
content-background =
-format-foreground = ${colors.Rosewater}
+format-foreground = ${colors.foreground}
click-left = $HOME/.scripts/toggle-control &
-[module/networkspeedup]
-
-;https://github.com/jaagr/polybar/wiki/Module:-network
-
+[module/wireless-network]
type = internal/network
-
interface = wlan0
+interval = 3.0
+unknown-as-up = true
+format-connected-background = ${colors.background}
+format-connected-foreground = ${colors.foreground}
+format-connected-padding = 1
+format-connected = %{A1:$HOME/.scripts/rofi-network-manager.sh:}<ramp-signal> <label-connected>%{A}
+label-connected = "%essid:03:5%/%local_ip% |"
+format-disconnected-background = ${colors.background}
+format-disconnected-foreground = ${colors.foreground}
+format-disconnected-padding = 1
+format-disconnected = %{A1:$HOME/.scripts//rofi-network-manager.sh:}<label-disconnected>%{A}
+;label-disconnected ="Network Disconnected 󱍢 ......"
+label-disconnected ="󰤮 Network Disconnected"
+ramp-signal-0 = "󰤯"
+ramp-signal-1 = "󰤟"
+ramp-signal-2 = "󰤢"
+ramp-signal-3 = "󰤥"
+ramp-signal-4 = "󰤨"
+ramp-signal-foreground = ${colors.white}
+enable-click = true
+click-left = $HOME/.scripts/rofi-network-manager.sh &
-label-connected = "%upspeed:7%"
+[module/wifi]
+type = custom/script
+tail = true
+interval = 1
+format = <label>
+format-prefix = " "
+wifi = wifi
+wifi-alt = iwgetid -r
+exec = iwgetid -r
+click-left = kitty nmtui
+click-right = nm-connection-editor
+label-disconnected = %{A1:nm-connection-editor:}%essid%%{A}
+
+[module/wlan-signal]
+type = custom/script
+label = %output%
+exec = awk 'NR==3 {print $4 "00 dBm"}' /proc/net/wireless
+format-prefix = "ﴽ "
+format-prefix-foreground = ${colors.yellow}
+format-background = ${colors.background}
+format-foreground = ${colors.foreground}
+interval = 1
+[module/netspeed]
+type = internal/network
+;interface = ${system.sys_network_interface}
+interface-type = wireless
+interval = 3.0
+accumulate-stats = true
+unknown-as-up = true
format-connected = <label-connected>
-
-format-connected-prefix = ""
-
-format-connected-prefix-foreground = ${colors.Rosewater}
-
-format-connected-foreground = ${colors.Rosewater}
-
-;format-connected-background = ${colors.background}
-
-;format-connected-underline = ${colors.foreground}
-
-################################################################################
-
-[module/networkspeeddown]
-
-;https://github.com/jaagr/polybar/wiki/Module:-network
-
+format-disconnected = <label-disconnected>
+label-disconnected = ""
+format-disconnected-prefix = ""
+format-connected-prefix = "󰯎"
+speed-unit = ""
+label-connected = "%netspeed:6%B/s"
+
+[module/upspeed]
type = internal/network
-
-interface = wlan0
-
-label-connected = "%downspeed:7%"
-
+interface-type = wireless
+interval = 1
format-connected = <label-connected>
+format-disconnected = <label-disconnected>
+label-disconnected = ""
+format-disconnected-prefix = ""
+format-connected-prefix = " "
+label-connected = " %upspeed:8%"
-format-connected-prefix = ""
-
-format-connected-prefix-foreground = ${colors.Rosewater}
-
-format-connected-foreground = ${colors.Rosewater}
-
-;format-connected-background = ${colors.background}
-
-;format-connected-underline = ${colors.foreground}
-
+[module/downspeed]
+type = internal/network
+interface-type = wireless
+interval = 1
+format-connected = <label-connected>
+format-disconnected = <label-disconnected>
+label-disconnected = ""
+format-disconnected-prefix = ""
+format-connected-prefix = ""
+label-connected = " %downspeed:8%"
+[module/spotify]
+type = custom/script
+tail = true
+interval = 1
+format-prefix = " "
+format = <label>
+exec = ~/.config/polybar/scripts/get_spotify_status.sh
[module/tray]
type = internal/tray
format-margin = 8px
tray-spacing = 8px
-;[module/power]
-;type = custom/text
-;content = 
-;content-font = 3
-;content-foreground = ${colors.Red}
-;content-margin = 1
-;click-left = "sh ~/.config/rofi/powermenu/type-6/powermenu.sh"
+[module/menu]
+type = custom/text
+content = 󱎂
+;󰣇󰈷󰨝󰵆􀇸􀘸􀟒􀣺􀦲
+content-font = 3
+content-padding = 1
+content-foreground = ${colors.foreground}
+enable-click = true
+click-left = $HOME/.scripts/menu.sh
+click-right = $HOME/.scripts/menu_full.sh
+
[module/power]
type = custom/text
content = 󰐥
@@ -661,13 +595,32 @@ hook-1=echo " "
click-left=systray
initial=2
format-font=2
-
format-foreground=${colors.blue}
+
[module/weather]
type = custom/script
exec = "sh ~/.config/polybar/weather.sh"
interval = 700
+[module/updates]
+type = custom/script
+tail = true
+interval = 1
+format-prefix = " "
+format = <label>
+exec = checkupdates | wc -l
+click-left = kitty yay -Syu --noconfirm
+
+[module/mic]
+type = custom/script
+interval = 0.5
+exec = $HOME/.config/polybar/scripts/microphone.sh
+format = <label>
+format-font = 9
+click-left = pamixer --source 1 -t
+scroll-up = pamixer --source 1 -i 5
+scroll-down = pamixer --source 1 -d 5
+
; decor
[module/sep]