mirror of
				https://github.com/mitchell/dotfiles.git
				synced 2025-11-03 21:25:26 +00:00 
			
		
		
		
	Autostart cbatticon, pasystray, barrierc; Modify UI scaling
This commit is contained in:
		
							parent
							
								
									5e333db741
								
							
						
					
					
						commit
						6b60b64c2b
					
				| 
						 | 
				
			
			@ -1,7 +1,6 @@
 | 
			
		|||
#!/bin/sh
 | 
			
		||||
 | 
			
		||||
slock &
 | 
			
		||||
setxkbmap -option altwin:swap_alt_win
 | 
			
		||||
setxkbmap -option ctrl:swapcaps
 | 
			
		||||
xset s off -dpms
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -10,17 +9,20 @@ picom -b
 | 
			
		|||
 | 
			
		||||
wmname LG3D
 | 
			
		||||
 | 
			
		||||
killall -q polybar
 | 
			
		||||
polybar m-bar &
 | 
			
		||||
 | 
			
		||||
xfce4-screensaver &
 | 
			
		||||
~/.fehbg &
 | 
			
		||||
 | 
			
		||||
killall -q polybar barrier barrierc cbatticon pasystray
 | 
			
		||||
polybar m-bar &
 | 
			
		||||
cbatticon &
 | 
			
		||||
pasystray &
 | 
			
		||||
barrier &
 | 
			
		||||
 | 
			
		||||
bspc monitor -d I II III IV V VI VII
 | 
			
		||||
 | 
			
		||||
bspc config border_width   2
 | 
			
		||||
bspc config window_gap     10
 | 
			
		||||
bspc config top_padding    -10
 | 
			
		||||
bspc config window_gap     18
 | 
			
		||||
bspc config top_padding    -18
 | 
			
		||||
 | 
			
		||||
bspc config split_ratio         0.52
 | 
			
		||||
bspc config borderless_monocle  false
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -30,7 +30,7 @@ alert = #cc241d
 | 
			
		|||
[bar/m-bar]
 | 
			
		||||
;monitor = ${env:MONITOR:HDMI-1}
 | 
			
		||||
width = 100%
 | 
			
		||||
height = 26
 | 
			
		||||
height = 38
 | 
			
		||||
;offset-x = 1%
 | 
			
		||||
;offset-y = 1%
 | 
			
		||||
radius = 0.0
 | 
			
		||||
| 
						 | 
				
			
			@ -42,7 +42,7 @@ foreground = ${colors.foreground}
 | 
			
		|||
line-size = 3
 | 
			
		||||
line-color = #f00
 | 
			
		||||
 | 
			
		||||
border-size = 10
 | 
			
		||||
border-size = 18
 | 
			
		||||
border-color = #00000000
 | 
			
		||||
 | 
			
		||||
padding-left = 0
 | 
			
		||||
| 
						 | 
				
			
			@ -51,8 +51,8 @@ padding-right = 0
 | 
			
		|||
module-margin-left = 0
 | 
			
		||||
module-margin-right = 2
 | 
			
		||||
 | 
			
		||||
font-0 = IBM Plex Sans:size=10;3
 | 
			
		||||
font-1 = JetBrains Mono:size=10;3
 | 
			
		||||
font-0 = IBM Plex Sans:size=14;3
 | 
			
		||||
font-1 = JetBrains Mono:size=15;3
 | 
			
		||||
#font-2 = JetBrains Mono:pixelsize=10;1
 | 
			
		||||
#font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
 | 
			
		||||
#font-2 = siji:pixelsize=10;1
 | 
			
		||||
| 
						 | 
				
			
			@ -208,7 +208,7 @@ ramp-signal-foreground = ${colors.foreground-alt}
 | 
			
		|||
 | 
			
		||||
[module/eth]
 | 
			
		||||
type = internal/network
 | 
			
		||||
interface = br0
 | 
			
		||||
interface = enp125s0u1u4
 | 
			
		||||
interval = 3.0
 | 
			
		||||
 | 
			
		||||
format-connected-underline = ${colors.secondary}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -91,3 +91,5 @@ settings:
 | 
			
		|||
    global: http://search.m
 | 
			
		||||
  window.title_format:
 | 
			
		||||
    global: '{perc}{host}{title_sep}qutebrowser'
 | 
			
		||||
  zoom.default:
 | 
			
		||||
    global: 125%
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -14,7 +14,7 @@ super + shift + Return
 | 
			
		|||
super + @space
 | 
			
		||||
	rofi -width 30 \
 | 
			
		||||
       -lines 10 \
 | 
			
		||||
       -font 'JetBrains Mono 10' \
 | 
			
		||||
       -font 'JetBrains Mono 15' \
 | 
			
		||||
       -location 2 \
 | 
			
		||||
       -yoffset 100 \
 | 
			
		||||
       -terminal kitty \
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue