Polybar: Rofi tools, WifiOnICE status

This commit is contained in:
Tobias Manske 2022-11-02 19:15:43 +01:00
parent 7c7a10c488
commit db7a295dc3
Signed by: tobias
GPG Key ID: E83C743C1FC2F79A

View File

@ -54,12 +54,12 @@ module-margin-right = 2
font-0 = fixed:pixelsize=10;1 font-0 = fixed:pixelsize=10;1
font-1 = siji:pixelsize=10;1 font-1 = siji:pixelsize=10;1
font-2 = Noto Color Emoji:style=Regular:scale=10;size=1;1 font-2 = Symbols Nerd Font:style=Regular:scale=8;size=1;1
font-3 = Symbols Nerd Font:style=Regular:scale=10;size=1;1 font-3 = Noto Color Emoji:style=Regular:scale=8;size=1;1
modules-left = i3 spotify xwindow modules-left = i3 heart spotify xwindow
modules-center = date modules-center = date dunst-snooze info-wifionice
modules-right = bluetooth filesystem pulseaudio cpu wlan battery temperature modules-right = bluetooth filesystem pulseaudio cpu network-networkmanager battery temperature
tray-position = right tray-position = right
tray-padding = 2 tray-padding = 2
@ -80,6 +80,13 @@ scroll-down = i3wm-wsprev
cursor-click = pointer cursor-click = pointer
cursor-scroll = pointer cursor-scroll = pointer
[module/heart]
type = custom/text
content =
content-foreground=#D24D57
content-padding=2
click-left=dunstify "Message from my Heart" "Naaww! :3"
[module/xwindow] [module/xwindow]
type = internal/xwindow type = internal/xwindow
label = %title:0:30:...% label = %title:0:30:...%
@ -151,9 +158,9 @@ label-urgent-padding = 2
[module/spotify] [module/spotify]
type = custom/script type = custom/script
interval = 1 interval = 1
format-prefix = "" format-prefix = ""
format = <label> format = <label>
exec = python3 /home/rad4day/Documents/src/polybar-spotify/spotify_status.py -f '{artist}: {song}' exec = python3 /home/rad4day/Documents/src/polybar-spotify/spotify_status.py -f '{play_pause} {artist}: {song}' -p ,
format-underline = #1db954 format-underline = #1db954
@ -195,44 +202,6 @@ format-prefix-foreground = ${colors.foreground-alt}
format-underline = #4bffdc format-underline = #4bffdc
label = %percentage_used%% label = %percentage_used%%
[module/wlan]
type = internal/network
interface = wlp170s0
interval = 3.0
format-connected = <ramp-signal> <label-connected>
format-connected-underline = #9f78e1
label-connected = %essid%
format-disconnected =
;format-disconnected = <label-disconnected>
;format-disconnected-underline = ${self.format-connected-underline}
;label-disconnected = %ifname% disconnected
;label-disconnected-foreground = ${colors.foreground-alt}
ramp-signal-0 =
ramp-signal-1 =
ramp-signal-2 =
ramp-signal-3 =
ramp-signal-4 =
ramp-signal-foreground = ${colors.foreground-alt}
[module/eth]
type = internal/network
interface = enp62s0u1u3
interval = 3.0
format-connected-underline = #55aa55
format-connected-prefix = " "
format-connected-prefix-foreground = ${colors.foreground-alt}
label-connected = %local_ip%
format-disconnected =
;format-disconnected = <label-disconnected>
;format-disconnected-underline = ${self.format-connected-underline}
;label-disconnected = %ifname% disconnected
;label-disconnected-foreground = ${colors.foreground-alt}
[module/date] [module/date]
type = internal/date type = internal/date
interval = 5 interval = 5
@ -270,41 +239,13 @@ use-ui-max = false
interval = 5 interval = 5
[module/alsa]
type = internal/alsa
format-volume = <label-volume> <bar-volume>
label-volume = VOL
label-volume-foreground = ${root.foreground}
format-muted-prefix = " "
format-muted-foreground = ${colors.foreground-alt}
label-muted = sound muted
bar-volume-width = 10
bar-volume-foreground-0 = #55aa55
bar-volume-foreground-1 = #55aa55
bar-volume-foreground-2 = #55aa55
bar-volume-foreground-3 = #55aa55
bar-volume-foreground-4 = #55aa55
bar-volume-foreground-5 = #f5a70a
bar-volume-foreground-6 = #ff5555
bar-volume-gradient = false
bar-volume-indicator = |
bar-volume-indicator-font = 2
bar-volume-fill =
bar-volume-fill-font = 2
bar-volume-empty =
bar-volume-empty-font = 2
bar-volume-empty-foreground = ${colors.foreground-alt}
[module/battery] [module/battery]
type = internal/battery type = internal/battery
battery = BAT1 battery = BAT1
adapter = ACAD adapter = ACAD
full-at = 98 full-at = 98
format-charging = <animation-charging> <label-charging> format-charging =  <label-charging>
format-charging-underline = #ffb52a format-charging-underline = #ffb52a
format-discharging = <animation-discharging> <label-discharging> format-discharging = <animation-discharging> <label-discharging>
@ -332,11 +273,11 @@ animation-discharging-foreground = ${colors.foreground-alt}
animation-discharging-framerate = 750 animation-discharging-framerate = 750
time-format = %H:%m time-format = %H:%m
label-discharging = %percentage%% %time% remaining label-discharging = %percentage%%
[module/temperature] [module/temperature]
type = internal/temperature type = internal/temperature
thermal-zone = 5 thermal-zone = 4
warn-temperature = 60 warn-temperature = 60
format = <ramp> <label> format = <ramp> <label>
@ -385,7 +326,7 @@ menu-2-1-exec = menu-open-0
[module/bluetooth] [module/bluetooth]
type = custom/script type = custom/script
exec = rofi-bluetooth --status exec = rofi-bluetooth --status
interval = 1 interval = 3
click-left = rofi-bluetooth & click-left = rofi-bluetooth &
[settings] [settings]
@ -401,4 +342,22 @@ compositing-underline = over
margin-top = 5 margin-top = 5
margin-bottom = 5 margin-bottom = 5
[module/info-wifionice]
type = custom/script
exec = ~/Documents/src/polybar-scripts/polybar-scripts/info-wifionice/info-wifionice.sh
interval = 10
[module/dunst-snooze]
type = custom/script
exec = ~/Documents/src/polybar-scripts/polybar-scripts/dunst-snooze/dunst-snooze.sh
interval = 5
click-left = ~/Documents/src/polybar-scripts/polybar-scripts/dunst-snooze/dunst-snooze.sh --toggle &
[module/network-networkmanager]
type = custom/script
format-underline = #55aa55
click-left = networkmanager_dmenu -i &
exec = ~/Documents/src/polybar-scripts/polybar-scripts/network-networkmanager/network-networkmanager.sh
tail = true
; vim:ft=dosini ; vim:ft=dosini