summaryrefslogtreecommitdiff
path: root/polybar/modules.ini
diff options
context:
space:
mode:
Diffstat (limited to 'polybar/modules.ini')
-rw-r--r--polybar/modules.ini218
1 files changed, 218 insertions, 0 deletions
diff --git a/polybar/modules.ini b/polybar/modules.ini
new file mode 100644
index 0000000..0401a5e
--- /dev/null
+++ b/polybar/modules.ini
@@ -0,0 +1,218 @@
+[module/bspwm]
+type = internal/bspwm
+
+ws-icon-0 = 1;1
+ws-icon-1 = 2;2
+ws-icon-2 = 3;3
+ws-icon-3 = 4;4
+ws-icon-4 = 5;5
+ws-icon-5 = 6;6
+ws-icon-6 = 7;7
+ws-icon-7 = 8;8
+ws-icon-8 = 9;9
+
+label-focused = %icon%
+label-focused-foreground = ${colors.foreground2}
+label-focused-background = ${colors.contrast}
+label-focused-padding = 3
+
+label-occupied = %icon%
+label-occupied-foreground = ${colors.foreground3}
+label-occupied-padding = 2
+
+label-urgent = %icon%
+label-urgent-foreground = ${colors.contrast2}
+label-urgent-padding = 2
+
+label-empty =
+label-empty-foreground = ${colors.foreground}
+label-empty-padding = 2
+
+;-------------------------
+
+[module/xwindow]
+type = internal/xwindow
+label = %title:0:100:...%
+label-padding = 4
+label-empty = ~
+label-empty-padding = 4
+label-empty-foreground = ${colors.contrast4}
+format-foreground = ${colors.foreground}
+
+;-------------------------
+
+[module/mpris]
+type = custom/script
+icon = 契
+exec = ~/.config/polybar/scripts/mpris_tail.py --icon-stopped '' --icon-paused '' --icon-playing '' --truncate-text '..' -f '%{A1:playerctl previous:}{icon} %{A} {:artist:t18:{artist}:}{:artist: - :}{:t25:{title}:}'
+tail = true
+format-foreground = ${colors.contrast3}
+format-padding = 2
+label = "%output%"
+click-left = ~/.config/polybar/scripts/mpris_tail.py play-pause &
+click-right = ~/.config/polybar/scripts/mpris_tail.py next &
+
+;-------------------------
+
+[module/date]
+type = internal/date
+interval = 1
+
+time = %A, %b %d
+
+label-padding = 2
+label = %time%
+
+[module/time]
+type = internal/date
+internal = 1
+
+time = %H:%M
+label-padding = 2
+label = %time%
+
+;-------------------------
+
+[module/network]
+type = internal/network
+interface = ${env:DEFAULT_NETWORK_INTERFACE:wlan0}
+
+interval = 3.0
+accumulate-stats = true
+unknown-as-up = true
+
+format-connected = 
+format-connected-padding = 2
+
+format-disconnected = 󱘖
+format-disconnected-padding = 2
+
+;label-connected = "Connected"
+;label-connected-padding = 2
+;label-disconnected = "No signal"
+;label-disconnected-padding = 2
+
+;ramp-signal-0 = 󰢿
+;ramp-signal-1 = 󰢼
+;ramp-signal-2 = 󰢽
+;ramp-signal-3 = 󰢽
+;ramp-signal-4 = 󰢾
+
+;-------------------------
+
+[module/pulseaudio]
+type = internal/pulseaudio
+
+use-ui-max = false
+interval = 5
+
+format-volume = 󰕾 <label-volume>
+format-volume-padding = 2
+
+label-volume = %percentage%%
+label-volume-padding = 1
+
+format-muted = 󰝟 <label-muted>
+label-muted = "Muted"
+label-muted-padding = 1
+format-muted-padding = 2
+
+click-right = tdrop -am -w 1000 -h 650 -x 23% -y 17% -n 2 kitty -e pulsemixer
+
+;-------------------------
+
+[module/battery]
+type = internal/battery
+
+full-at = 99
+
+battery = BAT0
+adapter = ACAD
+
+poll-interval = 2
+time-format = %H:%M
+
+format-charging = <animation-charging>
+format-charging-background = ${colors.dark3}
+format-charging-foreground = ${colors.contrast1}
+format-charging-padding = 2
+
+format-discharging = <ramp-capacity>
+format-discharging-background = ${colors.dark3}
+format-discharging-foreground = ${colors.foreground}
+format-discharging-padding = 2
+
+;label-charging = %percentage%%
+;label-discharging = %percentage%%
+
+label-full =󰁹
+label-full-background = ${colors.dark3}
+label-full-foreground = ${colors.foreground}
+label-full-padding = 2
+
+ramp-capacity-0 = 󰂎
+ramp-capacity-1 = 󰁺
+ramp-capacity-2 = 󰁻
+ramp-capacity-3 = 󰁼
+ramp-capacity-4 = 󰁽
+ramp-capacity-5 = 󰁾
+ramp-capacity-6 = 󰁿
+ramp-capacity-7 = 󰂀
+ramp-capacity-8 = 󰂁
+ramp-capacity-9 = 󰂂
+
+animation-charging-0 = 󰁺
+animation-charging-1 = 󰁻
+animation-charging-2 = 󰁼
+animation-charging-3 = 󰁽
+animation-charging-4 = 󰁾
+animation-charging-5 = 󰁿
+animation-charging-6 = 󰂀
+animation-charging-7 = 󰂁
+animation-charging-8 = 󰂂
+animation-charging-framerate = 750
+
+;-------------------------
+
+[module/xkeyboard]
+type = internal/xkeyboard
+
+; blacklist-0 = num lock
+; blacklist-1 = scroll lock
+; blacklist-2 = caps lock
+
+format = <label-layout> <label-indicator>
+
+format-prefix = "󰌌 "
+
+label-layout = %layout%
+label-layout-padding = 1
+
+blacklist-0 = num lock
+blacklist-1 = scroll lock
+
+format-padding = 2
+label-indicator = %name%
+label-indicator-on-capslock = 
+
+;------------------------
+
+[module/powercontrol]
+type = custom/text
+
+format = ⏻
+format-foreground = ${colors.contrast}
+format-padding = 2
+
+click-left = rofi -show p -modi p:rofi-power-menu -theme iconic -show-icons
+
+;------------------------
+
+[module/launcher]
+type = custom/text
+
+format = 󰘳
+format-foreground = ${colors.contrast}
+format-padding = 4
+
+click-left = rofi -show drun -theme iconic -show-icons