Fix some polybar stuff
This commit is contained in:
		
							parent
							
								
									be03e4d50e
								
							
						
					
					
						commit
						f2e9a4061f
					
				
					 2 changed files with 5 additions and 5 deletions
				
			
		| 
						 | 
					@ -12,7 +12,7 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[module/check-arch-updates]
 | 
					[module/check-arch-updates]
 | 
				
			||||||
    type = custom/script
 | 
					    type = custom/script
 | 
				
			||||||
    exec = cat $HOME/.cache/archlinux-updates.txt | wc -l | sed 's/^0$//'
 | 
					    exec = wc -l $HOME/.cache/archlinux-updates.txt 2>/dev/null | sed 's/^0$//'
 | 
				
			||||||
    interval = 30
 | 
					    interval = 30
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    format-prefix = " "
 | 
					    format-prefix = " "
 | 
				
			||||||
| 
						 | 
					@ -26,7 +26,7 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[module/bsp-layout]
 | 
					[module/bsp-layout]
 | 
				
			||||||
    type = custom/script
 | 
					    type = custom/script
 | 
				
			||||||
    exec = bsp-layout get $(bspc query -D --names -d focused)
 | 
					    exec = bsp-layout get $(bspc query -D --names -d focused) | sed -E 's/^(-|tiled)$//m'
 | 
				
			||||||
    interval = 0.1
 | 
					    interval = 0.1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    format-prefix = " "
 | 
					    format-prefix = " "
 | 
				
			||||||
| 
						 | 
					@ -40,11 +40,11 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[module/bsp-layout-primary]
 | 
					[module/bsp-layout-primary]
 | 
				
			||||||
    inherit = module/bsp-layout
 | 
					    inherit = module/bsp-layout
 | 
				
			||||||
    exec = bsp-layout get $(bspc query -D --names -d ${MONITOR_PRIMARY}:focused)
 | 
					    exec = bsp-layout get $(bspc query -D --names -d ${MONITOR_PRIMARY}:focused) | sed -E 's/^(-|tiled)$//m'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[module/bsp-layout-secondary]
 | 
					[module/bsp-layout-secondary]
 | 
				
			||||||
    inherit = module/bsp-layout
 | 
					    inherit = module/bsp-layout
 | 
				
			||||||
    exec = bsp-layout get $(bspc query -D --names -d ${MONITOR_SECONDARY}:focused)
 | 
					    exec = bsp-layout get $(bspc query -D --names -d ${MONITOR_SECONDARY}:focused) | sed -E 's/^(-|tiled)$//m'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[module/openweather]
 | 
					[module/openweather]
 | 
				
			||||||
    type = custom/script
 | 
					    type = custom/script
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,6 @@
 | 
				
			||||||
#!/usr/bin/env sh
 | 
					#!/usr/bin/env sh
 | 
				
			||||||
 | 
					
 | 
				
			||||||
. "$HOME/.config/environment.local"
 | 
					. "$HOME/.config/environment"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
get_icon() {
 | 
					get_icon() {
 | 
				
			||||||
    case $1 in
 | 
					    case $1 in
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue