⚡️ Polybar
This commit is contained in:
		@@ -54,7 +54,7 @@ module-margin-right = 2
 | 
			
		||||
 | 
			
		||||
font-0 = fixed:pixelsize=10;1
 | 
			
		||||
font-1 = siji:pixelsize=10;1
 | 
			
		||||
font-2 = Symbols Nerd Font:style=Regular:scale=8;size=1;1
 | 
			
		||||
font-2 = FantasqueSansMono Nerd Font:style=Regular:scale=8;size=1;1
 | 
			
		||||
font-3 = Noto Color Emoji:style=Regular:scale=8;size=1;1
 | 
			
		||||
 | 
			
		||||
modules-left   = i3 heart spotify xwindow
 | 
			
		||||
@@ -85,7 +85,7 @@ type = custom/text
 | 
			
		||||
content = ♥
 | 
			
		||||
content-foreground=#D24D57
 | 
			
		||||
content-padding=2
 | 
			
		||||
click-left=dunstify "Message from my Heart" "Naaww! :3"
 | 
			
		||||
click-left=dunstctl history-pop
 | 
			
		||||
 | 
			
		||||
[module/xwindow]
 | 
			
		||||
type = internal/xwindow
 | 
			
		||||
@@ -100,6 +100,7 @@ mount-0 = /
 | 
			
		||||
label-mounted = root: %percentage_used%%
 | 
			
		||||
label-unmounted = %mountpoint% not mounted
 | 
			
		||||
label-unmounted-foreground = ${colors.foreground-alt}
 | 
			
		||||
click-left = thunar &
 | 
			
		||||
 | 
			
		||||
[module/i3]
 | 
			
		||||
type = internal/i3
 | 
			
		||||
@@ -144,7 +145,7 @@ type = custom/script
 | 
			
		||||
interval = 1
 | 
			
		||||
format-prefix = ""
 | 
			
		||||
format = <label>
 | 
			
		||||
exec = python3 /home/rad4day/Documents/src/polybar-spotify/spotify_status.py -f '{play_pause} {song} -- {artist}' -p ,
 | 
			
		||||
exec = python3 /home/rad4day/Documents/src/polybar-spotify/spotify_status.py -f '{play_pause}   {song} -- {artist}' -p ,
 | 
			
		||||
format-underline = #1db954
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@@ -306,8 +307,8 @@ tail = true
 | 
			
		||||
[module/dunst]
 | 
			
		||||
type = custom/ipc
 | 
			
		||||
initial = 1
 | 
			
		||||
hook-0 = echo "%{A1:dunstctl set-paused true && polybar-msg hook dunst 2:}%{A}" &
 | 
			
		||||
hook-1 = echo "%{A1:dunstctl set-paused false && polybar-msg hook dunst 1:}%{A}" &
 | 
			
		||||
hook-0 = echo "%{A1:dunstctl set-paused true && polybar-msg action '#dunst.hook.1':}%{A}" &
 | 
			
		||||
hook-1 = echo "%{A1:dunstctl set-paused false && polybar-msg action '#dunst.hook.0':}%{A}" &
 | 
			
		||||
 | 
			
		||||
[module/network-networkmanager]
 | 
			
		||||
type = custom/script
 | 
			
		||||
@@ -316,4 +317,10 @@ click-left = networkmanager_dmenu -i &
 | 
			
		||||
exec = ~/Documents/src/polybar-scripts/polybar-scripts/network-networkmanager/network-networkmanager.sh
 | 
			
		||||
tail = true
 | 
			
		||||
 | 
			
		||||
[module/timeleft]
 | 
			
		||||
type = custom/script
 | 
			
		||||
label = %output% hours till CTF concludes
 | 
			
		||||
exec = echo "scale=2; ($(date -u -d "2023-06-10 21:59:59" "+%s") - $(date -u "+%s")) / 3600" | bc
 | 
			
		||||
format-underline = #FF0000
 | 
			
		||||
 | 
			
		||||
; vim:ft=dosini
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user