remove xfce4, add polybar
This commit is contained in:
		
							parent
							
								
									c6343392f8
								
							
						
					
					
						commit
						27eace9c8f
					
				| @ -2,6 +2,8 @@ | ||||
| sxhkd &                     # enable keybinds | ||||
| 
 | ||||
| . $SCRIPTS/comp             # mblur | ||||
| . $SCRIPTS/keeb             # caps lock -> ctrl+esc | ||||
| . $SCRIPTS/bar/launch       # bar | ||||
| 
 | ||||
| redshift -l 53:0 &          # make our eyes less strained | ||||
| 
 | ||||
|  | ||||
| @ -10,8 +10,8 @@ bspc monitor --reset-desktops 1 2 3 4 5 6 7 8 9 0 | ||||
| bspc config border_width		0  | ||||
| bspc config window_gap          0 | ||||
| 
 | ||||
| # change this to make space for a bar! | ||||
| bspc config bottom_padding      37 | ||||
| bspc config top_padding         27 | ||||
| bspc config bottom_padding      0 | ||||
| 
 | ||||
| bspc config split_ratio			0.52 | ||||
| bspc config borderless_monocle	true | ||||
|  | ||||
| @ -10,7 +10,6 @@ print_info() { | ||||
|     info "pkg" packages | ||||
|     info "shl" shell | ||||
|     info "win" wm | ||||
|     prin "dsk" "xfce4" | ||||
|     info "mem" memory | ||||
| 
 | ||||
|     # info "GPU Driver" gpu_driver  # Linux/macOS only | ||||
|  | ||||
| @ -6,9 +6,9 @@ | ||||
| super + Return | ||||
| 	$HOME/.scripts/term.sh | ||||
| 
 | ||||
| # web browser | ||||
| # toggle bar | ||||
| super + b | ||||
| 	/usr/bin/firefox | ||||
| 	$SCRIPTS/bar/toggle | ||||
| 
 | ||||
| # tiny web browser | ||||
| super + s | ||||
|  | ||||
							
								
								
									
										7
									
								
								.scripts/bar/launch
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										7
									
								
								.scripts/bar/launch
									
									
									
									
									
										Executable file
									
								
							| @ -0,0 +1,7 @@ | ||||
| #!/usr/bin/env bash | ||||
| 
 | ||||
| polybar example &               # launch bar | ||||
| touch $CONFIG/polybar/visible   # create a file to keep track of the bar's visibility | ||||
|                                 #   file exists -> bar visible | ||||
|                                 #   file doesnt exist -> bar hidden | ||||
|                          | ||||
							
								
								
									
										16
									
								
								.scripts/bar/toggle
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										16
									
								
								.scripts/bar/toggle
									
									
									
									
									
										Executable file
									
								
							| @ -0,0 +1,16 @@ | ||||
| #!/usr/bin/env bash | ||||
| 
 | ||||
| visible=$CONFIG/polybar/visible | ||||
| barheight=27 | ||||
| 
 | ||||
| if [ -f $visible ]; then | ||||
|     bspc config top_padding 0 | ||||
|     polybar-msg cmd hide | ||||
|     rm $visible | ||||
| else | ||||
|     bspc config top_padding 27 | ||||
|     polybar-msg cmd show | ||||
|     touch $visible | ||||
| fi | ||||
| 
 | ||||
| 
 | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user