mirror of
				https://git.davidovski.xyz/dot.git
				synced 2024-08-15 00:43:28 +00:00 
			
		
		
		
	added polybar configs
This commit is contained in:
		
							parent
							
								
									1b721435b7
								
							
						
					
					
						commit
						02c60f1af7
					
				
					 3 changed files with 164 additions and 2 deletions
				
			
		|  | @ -157,3 +157,166 @@ exec = free -h | awk '/^Mem:/ {print $3 "/" $2}' | ||||||
| interval = 1 | interval = 1 | ||||||
| format-prefix = "力 " | format-prefix = "力 " | ||||||
| 
 | 
 | ||||||
|  | [module/battery] | ||||||
|  | type = internal/battery | ||||||
|  | full-at = 99 | ||||||
|  | battery = BAT0 | ||||||
|  | adapter = ADP1 | ||||||
|  | 
 | ||||||
|  | poll-interval = 5 | ||||||
|  | ; see "man date" for details on how to format the time string | ||||||
|  | ; NOTE: if you want to use syntax tags here you need to use %%{...} | ||||||
|  | ; Default: %H:%M:%S | ||||||
|  | time-format = %H:%M | ||||||
|  | 
 | ||||||
|  | ; Available tags: | ||||||
|  | ;   <label-charging> (default) | ||||||
|  | ;   <bar-capacity> | ||||||
|  | ;   <ramp-capacity> | ||||||
|  | ;   <animation-charging> | ||||||
|  | format-charging = <animation-charging> <label-charging> | ||||||
|  | 
 | ||||||
|  | ; Available tags: | ||||||
|  | ;   <label-discharging> (default) | ||||||
|  | ;   <bar-capacity> | ||||||
|  | ;   <ramp-capacity> | ||||||
|  | ;   <animation-discharging> | ||||||
|  | format-discharging = <ramp-capacity> <label-discharging> | ||||||
|  | 
 | ||||||
|  | ; Available tags: | ||||||
|  | ;   <label-full> (default) | ||||||
|  | ;   <bar-capacity> | ||||||
|  | ;   <ramp-capacity> | ||||||
|  | ;format-full = <ramp-capacity> <label-full> | ||||||
|  | 
 | ||||||
|  | ; Available tokens: | ||||||
|  | ;   %percentage% (default) - is set to 100 if full-at is reached | ||||||
|  | ;   %percentage_raw% | ||||||
|  | ;   %time% | ||||||
|  | ;   %consumption% (shows current charge rate in watts) | ||||||
|  | label-charging = Charging %percentage%% | ||||||
|  | 
 | ||||||
|  | ; Available tokens: | ||||||
|  | ;   %percentage% (default) - is set to 100 if full-at is reached | ||||||
|  | ;   %percentage_raw% | ||||||
|  | ;   %time% | ||||||
|  | ;   %consumption% (shows current discharge rate in watts) | ||||||
|  | label-discharging = Discharging %percentage%% | ||||||
|  | 
 | ||||||
|  | ; Available tokens: | ||||||
|  | ;   %percentage% (default) - is set to 100 if full-at is reached | ||||||
|  | ;   %percentage_raw% | ||||||
|  | label-full = Fully charged | ||||||
|  | 
 | ||||||
|  | ; Only applies if <ramp-capacity> is used | ||||||
|  | ramp-capacity-0 =  | ||||||
|  | ramp-capacity-1 =  | ||||||
|  | ramp-capacity-2 =  | ||||||
|  | ramp-capacity-3 =  | ||||||
|  | ramp-capacity-4 =  | ||||||
|  | 
 | ||||||
|  | ; Only applies if <bar-capacity> is used | ||||||
|  | bar-capacity-width = 10 | ||||||
|  | 
 | ||||||
|  | ; Only applies if <animation-charging> is used | ||||||
|  | animation-charging-0 =  | ||||||
|  | animation-charging-1 =  | ||||||
|  | animation-charging-2 =  | ||||||
|  | animation-charging-3 =  | ||||||
|  | animation-charging-4 =  | ||||||
|  | ; Framerate in milliseconds | ||||||
|  | animation-charging-framerate = 750 | ||||||
|  | 
 | ||||||
|  | ; Only applies if <animation-discharging> is used | ||||||
|  | animation-discharging-0 =  | ||||||
|  | animation-discharging-1 =  | ||||||
|  | animation-discharging-2 =  | ||||||
|  | animation-discharging-3 =  | ||||||
|  | animation-discharging-4 =  | ||||||
|  | ; Framerate in milliseconds | ||||||
|  | animation-discharging-framerate = 500 | ||||||
|  | 
 | ||||||
|  | [module/network] | ||||||
|  | type = internal/network | ||||||
|  | ; Name of the network interface to display. You can get the names of the | ||||||
|  | ; interfaces on your machine with `ip link` | ||||||
|  | ; Wireless interfaces often start with `wl` and ethernet interface with `eno` or `eth` | ||||||
|  | interface = wlan1 | ||||||
|  | 
 | ||||||
|  | ; Seconds to sleep between updates | ||||||
|  | ; Default: 1 | ||||||
|  | interval = 3.0 | ||||||
|  | 
 | ||||||
|  | ; Test connectivity every Nth update | ||||||
|  | ; A value of 0 disables the feature | ||||||
|  | ; NOTE: Experimental (needs more testing) | ||||||
|  | ; Default: 0 | ||||||
|  | ;ping-interval = 3 | ||||||
|  | 
 | ||||||
|  | ; @deprecated: Define min width using token specifiers (%downspeed:min% and %upspeed:min%) | ||||||
|  | ; Minimum output width of upload/download rate | ||||||
|  | ; Default: 3 | ||||||
|  | udspeed-minwidth = 5 | ||||||
|  | 
 | ||||||
|  | ; Accumulate values from all interfaces | ||||||
|  | ; when querying for up/downspeed rate | ||||||
|  | ; Default: false | ||||||
|  | accumulate-stats = true | ||||||
|  | 
 | ||||||
|  | ; Consider an `UNKNOWN` interface state as up. | ||||||
|  | ; Some devices like USB network adapters have  | ||||||
|  | ; an unknown state, even when they're running | ||||||
|  | ; Default: false | ||||||
|  | unknown-as-up = true | ||||||
|  | ; Available tags: | ||||||
|  | ;   <label-connected> (default) | ||||||
|  | ;   <ramp-signal> | ||||||
|  | format-connected = <ramp-signal> <label-connected> | ||||||
|  | 
 | ||||||
|  | ; Available tags: | ||||||
|  | ;   <label-disconnected> (default) | ||||||
|  | format-disconnected = <label-disconnected> | ||||||
|  | 
 | ||||||
|  | ; Available tags: | ||||||
|  | ;   <label-connected> (default) | ||||||
|  | ;   <label-packetloss> | ||||||
|  | ;   <animation-packetloss> | ||||||
|  | format-packetloss = <animation-packetloss> <label-connected> | ||||||
|  | 
 | ||||||
|  | ; All labels support the following tokens: | ||||||
|  | ;   %ifname%    [wireless+wired] | ||||||
|  | ;   %local_ip%  [wireless+wired] | ||||||
|  | ;   %local_ip6% [wireless+wired] | ||||||
|  | ;   %essid%     [wireless] | ||||||
|  | ;   %signal%    [wireless] | ||||||
|  | ;   %upspeed%   [wireless+wired] | ||||||
|  | ;   %downspeed% [wireless+wired] | ||||||
|  | ;   %linkspeed% [wired] | ||||||
|  | 
 | ||||||
|  | ; Default: %ifname% %local_ip% | ||||||
|  | label-connected = %essid% %downspeed:9% | ||||||
|  | label-connected-foreground = #eefafafa | ||||||
|  | 
 | ||||||
|  | ; Default: (none) | ||||||
|  | label-disconnected = not connected | ||||||
|  | label-disconnected-foreground = #66ffffff | ||||||
|  | 
 | ||||||
|  | ; Default: (none) | ||||||
|  | ;label-packetloss = %essid% | ||||||
|  | ;label-packetloss-foreground = #eefafafa | ||||||
|  | 
 | ||||||
|  | ; Only applies if <ramp-signal> is used | ||||||
|  | ramp-signal-0 = 😱 | ||||||
|  | ramp-signal-1 = 😠 | ||||||
|  | ramp-signal-2 = 😒 | ||||||
|  | ramp-signal-3 = 😊 | ||||||
|  | ramp-signal-4 = 😃 | ||||||
|  | ramp-signal-5 = 😈 | ||||||
|  | 
 | ||||||
|  | ; Only applies if <animation-packetloss> is used | ||||||
|  | animation-packetloss-0 = ⚠ | ||||||
|  | animation-packetloss-0-foreground = #ffa64c | ||||||
|  | animation-packetloss-1 = 📶 | ||||||
|  | animation-packetloss-1-foreground = #000000 | ||||||
|  | ; Framerate in milliseconds | ||||||
|  | animation-packetloss-framerate = 500 | ||||||
|  |  | ||||||
|  | @ -59,7 +59,7 @@ load () { | ||||||
| 
 | 
 | ||||||
| install () { | install () { | ||||||
|     PKG="yay -S " |     PKG="yay -S " | ||||||
|     $PKG xorg xorg-xinit pulseaudio fzf bspwm cava neofetch mpd mpv ncmpcpp vim sxhkd polybar picom rofi rxvt-unicode |     $PKG xorg xorg-xinit pulseaudio pulsemixer alsa-utils fzf bspwm cava neofetch mpd mpv ncmpcpp vim sxhkd polybar picom rofi rxvt-unicode | ||||||
| 
 | 
 | ||||||
|     ln -s /usr/bin/rofi /usr/bin/dmenu |     ln -s /usr/bin/rofi /usr/bin/dmenu | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -1,3 +1,2 @@ | ||||||
| #!/bin/sh | #!/bin/sh | ||||||
| 
 |  | ||||||
| feh --bg-fill ~/.config/bg | feh --bg-fill ~/.config/bg | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue