mirror of
				https://git.davidovski.xyz/dot.git
				synced 2024-08-15 00:43:28 +00:00 
			
		
		
		
	Updated to graphite theme
This commit is contained in:
		
							parent
							
								
									365412b61b
								
							
						
					
					
						commit
						3739ff6661
					
				
					 16 changed files with 326 additions and 325 deletions
				
			
		|  | @ -1,4 +1,4 @@ | ||||||
| #define FG #f58f44 | #define FG #fefefe | ||||||
| #define BG #191919 | #define BG #191919 | ||||||
| *.foreground: FG  | *.foreground: FG  | ||||||
| URxvt.background: BG | URxvt.background: BG | ||||||
|  |  | ||||||
							
								
								
									
										
											BIN
										
									
								
								config/bg
									
										
									
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								config/bg
									
										
									
									
									
								
							
										
											Binary file not shown.
										
									
								
							| Before Width: | Height: | Size: 1.1 MiB After Width: | Height: | Size: 6.7 MiB | 
|  | @ -1,41 +1,34 @@ | ||||||
| #!/bin/sh | #!/bin/sh | ||||||
| 
 | 
 | ||||||
| setup=1 | setup=0 | ||||||
| 
 | 
 | ||||||
| COLOR_BACKGROUND="#151515" | COLOR_BACKGROUND="#191919" | ||||||
| COLOR_PRIMARY="#f58f44" | COLOR_PRIMARY="#fefefe" | ||||||
| COLOR_SECONDARY="#5977b3" | COLOR_SECONDARY="#f58f44" | ||||||
| 
 | 
 | ||||||
| xsetroot -cursor_name left_ptr & | xsetroot -cursor_name left_ptr & | ||||||
| xrdb ~/.Xdefaults | xrdb ~/.Xdefaults | ||||||
| bash $HOME/.config/xrandr.xi.sh |  | ||||||
| 
 |  | ||||||
| if [ "$setup" = "0" ]; then |  | ||||||
|     bspc monitor DP-0 -n A |  | ||||||
|     bspc monitor A -d a1 a2 a3 a4 a5 a6 a7 a8 a9 |  | ||||||
|     bspc monitor DP-3 -n B |  | ||||||
|     bspc monitor B -d b1 b2 b3 b4 b5 b6 b7 b8 b9 |  | ||||||
|     bspc monitor DP-4 -n C |  | ||||||
|     bspc monitor C -d c1 c2 c3 c4 c5 c6 c7 c8 c9 |  | ||||||
|     bspc monitor HDMI-0 -n D |  | ||||||
|     bspc monitor D -d d1 d2 |  | ||||||
| else |  | ||||||
|     bspc monitor DP-3 -n A |  | ||||||
|     bspc monitor A -d a1 a2 a3 a4 a5 a6 a7 a8 a9 |  | ||||||
|     bspc monitor DP-1 -n B |  | ||||||
|     bspc monitor B -d b1 b2 b3 b4 b5 b6 b7 b8 b9 |  | ||||||
|     bspc monitor DP-2 -n C |  | ||||||
|     bspc monitor C -d c1 c2 c3 c4 c5 c6 c7 c8 c9 |  | ||||||
|     bspc monitor HDMI-1 -n D |  | ||||||
|     bspc monitor D -d d1 d2 |  | ||||||
| fi |  | ||||||
| 
 | 
 | ||||||
| pgrep -x sxhkd > /dev/null || sxhkd & | pgrep -x sxhkd > /dev/null || sxhkd & | ||||||
| pgrep -x picom > /dev/null || picom & |  | ||||||
| pgrep -x xss-lock > /dev/null || xss-lock slock & | pgrep -x xss-lock > /dev/null || xss-lock slock & | ||||||
|  | pgrep -x bg.sh > /dev/null || $HOME/.scripts/bg.sh > /dev/null & | ||||||
| 
 | 
 | ||||||
| $HOME/.config/polybar/launch.sh | [ -f "$HOME/.config/xrandr.sh" ] && . $HOME/.config/xrandr.sh | ||||||
| $HOME/.scripts/bg.sh | 
 | ||||||
|  | primary=$(bspc query --monitors -m primary) | ||||||
|  | set -- a b c d e f g h i j k l m n o  | ||||||
|  | for m in $primary $(bspc query -M | grep -v $primary); do | ||||||
|  |     echo "adding monitor $m as $1" | ||||||
|  |     bspc monitor $m -n $1  | ||||||
|  |     shift 1 | ||||||
|  | done | ||||||
|  | 
 | ||||||
|  | for m in $(bspc query -M --names); do | ||||||
|  |     bspc monitor $m -d ${m}1 ${m}2 ${m}3 ${m}4 ${m}5 ${m}6 ${m}7 ${m}8 ${m}9 | ||||||
|  | done | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | $HOME/.config/polybar/launch.sh & | ||||||
| 
 | 
 | ||||||
| bspc config border_width	1 | bspc config border_width	1 | ||||||
| bspc config window_gap		0 | bspc config window_gap		0 | ||||||
|  |  | ||||||
|  | @ -1,3 +1,4 @@ | ||||||
|  | file:///home/david/hd1/important | ||||||
| file:///home/david/docs docs | file:///home/david/docs docs | ||||||
| file:///home/david/pics pics | file:///home/david/pics pics | ||||||
| file:///home/david/dl dl | file:///home/david/dl dl | ||||||
|  |  | ||||||
|  | @ -1,16 +1,18 @@ | ||||||
| [pos] | [pos] | ||||||
| offsetx                   = 24 | offsetx = 24 | ||||||
| offsety                   = 24 | offsety = 24 | ||||||
| 
 | 
 | ||||||
| [color] | [color] | ||||||
| bg                        = #191919 | bg = #191919 | ||||||
| bga                       = #191919 | bga = #191919 | ||||||
| fg1                       = #f58d44 | fg4= #f58d44 | ||||||
| fg2                       = #5f819d | fg2 = #5f819d | ||||||
|  | fg3 = #373b41 | ||||||
|  | fg1 = #fefefe | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| [bar/base] | [bar/base] | ||||||
| monitor                   = ${env:MONITOR} | monitor = ${env:MONITOR} | ||||||
| 
 | 
 | ||||||
| enable-ipc                = true | enable-ipc                = true | ||||||
| font-0                    = mononoki:style=Regular:pixelsize=11;3 | font-0                    = mononoki:style=Regular:pixelsize=11;3 | ||||||
|  | @ -23,33 +25,33 @@ font-5                    = Noto Sans Mono CJK TC:style=Medium,Regular;pixelsize | ||||||
| height                    = 25 | height                    = 25 | ||||||
| background                = ${color.bga} | background                = ${color.bga} | ||||||
| 
 | 
 | ||||||
| module-margin             = 1 | module-margin		      = 1 | ||||||
| wm-restack                = bspwm | wm-restack                = bspwm | ||||||
| radius                    = 0 | radius                    = 0 | ||||||
| foreground                = ${color.fg1} | foreground                = ${color.fg1} | ||||||
| 
 | 
 | ||||||
| padding-right             = 1 | padding-right		      = 1 | ||||||
| 
 | 
 | ||||||
| [bar/wsonly] | [bar/wsonly] | ||||||
| inherit                   = bar/base | inherit			          = bar/base | ||||||
| width                     = 100% | width			          = 100% | ||||||
| modules-left	          = workspaces | modules-left	          = workspaces | ||||||
| modules-right             = time | modules-right		      = time | ||||||
| 
 | 
 | ||||||
| [bar/ws] | [bar/ws] | ||||||
| inherit                   = bar/base | inherit                   = bar/base | ||||||
| width                     = 100% | width                     = 100% | ||||||
| offset-x                  = 0  | offset-x                  = 0  | ||||||
| modules-left              = workspaces xwindow | modules-left              = workspaces xwindow | ||||||
| modules-right             = mpd temperature memory wlan battery pulseaudio microphone time | modules-right		      = mpd temperature memory wlan battery pulseaudio microphone time | ||||||
| tray-position             = right | tray-position		      = right | ||||||
| background                = ${color.bga} | background		          = ${color.bga} | ||||||
| border-size               = 0 | border-size		          = 0 | ||||||
| fg                        = ${color.fg1} | fg			              = ${color.fg1} | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| [module/wsnumber] | [module/wsnumber] | ||||||
| type                      = custom/script | type                      = custom/scrip80 | ||||||
| exec                      = bspc query -D -d focused --names | exec                      = bspc query -D -d focused --names | ||||||
| tail                      = true | tail                      = true | ||||||
| interval                  = 0 | interval                  = 0 | ||||||
|  | @ -60,27 +62,25 @@ format-padding            = 0 | ||||||
| 
 | 
 | ||||||
| [module/xwindow] | [module/xwindow] | ||||||
| type                      = internal/xwindow | type                      = internal/xwindow | ||||||
| label                     = %title:0:40:% | label                     = %title:0:80:% | ||||||
| 
 | 
 | ||||||
| [module/workspaces] | [module/workspaces] | ||||||
| type                      = internal/xworkspaces | type = internal/xworkspaces | ||||||
| 
 | 
 | ||||||
| pin-workspaces            = true | pin-workspaces = true | ||||||
| 
 | 
 | ||||||
| enable-click              = true | enable-click = true | ||||||
| enable-scroll             = true | enable-scroll = true | ||||||
| 
 | 
 | ||||||
| format                    = <label-state> | format = <label-state> | ||||||
| format-padding            = 0 | format-padding = 0 | ||||||
| label-monitor             = %name% | label-monitor = %name% | ||||||
| label-active              = %{T2}雷%{T-} | label-active             = %{T2}雷%{T-} | ||||||
| label-active-padding      = 1 | label-active-padding     = 1 | ||||||
| label-occupied            = %{T2}ﲭ%{T-} | label-occupied            = %{T2}ﲭ%{T-} | ||||||
| label-occupied-padding    = 1 | label-occupied-padding    = 1 | ||||||
| label-empty               = %{T2}ﱤ%{T-} | label-empty               = %{T2}ﱤ%{T-} | ||||||
| label-empty-padding       = 1 | label-empty-padding       = 1 | ||||||
| label-urgent              = %{T2}ﲭ%{T-} |  | ||||||
| label-urgent-padding      = 1 |  | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| [module/time] | [module/time] | ||||||
|  | @ -96,26 +96,26 @@ type                      = internal/mpd | ||||||
| host                      = 127.0.0.1 | host                      = 127.0.0.1 | ||||||
| port                      = 6600 | port                      = 6600 | ||||||
| 
 | 
 | ||||||
| format-online             = <label-song> <icon-prev> <toggle> <icon-next> <bar-progress>  | format-online 		       = <label-song> <icon-prev> <toggle> <icon-next> <bar-progress>  | ||||||
| label-song                = %title% | label-song 		           = %title% | ||||||
| 
 | 
 | ||||||
| bar-progress-width        = 12  | bar-progress-width = 12  | ||||||
| bar-progress-indicator    = | | bar-progress-indicator = | | ||||||
| bar-progress-fill         = ─ | bar-progress-fill = ─ | ||||||
| bar-progress-empty        = ─ | bar-progress-empty = ─ | ||||||
| 
 | 
 | ||||||
| format-online-padding     = 0 | format-online-padding     = 0 | ||||||
| 
 | 
 | ||||||
| format-offline-padding    = 0 | format-offline-padding    = 0 | ||||||
| 
 | 
 | ||||||
| label-song-maxlen         = 40 | label-song-maxlen         = 80 | ||||||
| label-song-ellipsis       = true | label-song-ellipsis       = true | ||||||
| 
 | 
 | ||||||
| icon-play		          =   | icon-play		  =   | ||||||
| bar-empty                 = ─ | bar-empty         = ─ | ||||||
| icon-pause 		          =  | icon-pause 		  =  | ||||||
| icon-prev		          =  | icon-prev		  =  | ||||||
| icon-next		          =  | icon-next		  =  | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| [module/pulseaudio] | [module/pulseaudio] | ||||||
|  | @ -133,71 +133,71 @@ ramp-volume-2             = "" | ||||||
| label-muted               = "%{T3} %{T-}--%" | label-muted               = "%{T3} %{T-}--%" | ||||||
| 
 | 
 | ||||||
| [module/microphone] | [module/microphone] | ||||||
| type                      = custom/script | type = custom/script | ||||||
| exec                      = pactl list sources | grep -qi 'Mute: yes' && echo "" || echo "" | exec = pactl list sources | grep -qi 'Mute: yes' && echo "" || echo "" | ||||||
| interval                  = 1 | interval = 1 | ||||||
| click-left                = pactl list sources | grep -qi 'Mute: yes' && pactl set-source-mute 2 false || pactl set-source-mute 2 true | click-left =  pactl list sources | grep -qi 'Mute: yes' && pactl set-source-mute 2 false || pactl set-source-mute 2 true | ||||||
| 
 | 
 | ||||||
| [module/vpn] | [module/vpn] | ||||||
| type                      = custom/script | type = custom/script | ||||||
| exec                      = echo vpn | exec = echo vpn | ||||||
| exec-if                   = pgrep -x openvpn | exec-if = pgrep -x openvpn | ||||||
| interval                  = 5 | interval = 5 | ||||||
| format-underline          = #268bd2 | format-underline = #268bd2 | ||||||
| format-prefix             = "🖧 " | format-prefix = "🖧 " | ||||||
| format-prefix-foreground  = #5b | format-prefix-foreground = #5b | ||||||
| 
 | 
 | ||||||
| [module/temperature] | [module/temperature] | ||||||
| type                      = custom/script | type = custom/script | ||||||
| exec                      = sensors | awk '/^Tctl:/ { print substr($2, 2) }' | exec = sensors | awk '/^Tctl:/ { print substr($2, 2) }' | ||||||
| format-prefix             = " " | format-prefix = " " | ||||||
| interval                  = 1 | interval = 1 | ||||||
| 
 | 
 | ||||||
| [module/memory] | [module/memory] | ||||||
| type                      = custom/script | type = custom/script | ||||||
| exec                      = free -h | awk '/^Mem:/ {print $3 "/" $2}' | exec = free -h | awk '/^Mem:/ {print $3 "/" $2}' | ||||||
| interval                  = 1 | interval = 1 | ||||||
| format-prefix             = "力 " | format-prefix = "力 " | ||||||
| 
 | 
 | ||||||
| [module/battery] | [module/battery] | ||||||
| type                      = internal/battery | type = internal/battery | ||||||
| full-at                   = 99 | full-at = 99 | ||||||
| battery                   = BAT1 | battery = BAT1 | ||||||
| adapter                   = ADP1 | adapter = ADP1 | ||||||
| 
 | 
 | ||||||
| poll-interval             = 3 | poll-interval = 3 | ||||||
| time-format               = %H:%M | time-format = %H:%M | ||||||
| 
 | 
 | ||||||
| format-charging           = <animation-charging> <label-charging> | format-charging = <animation-charging> <label-charging> | ||||||
| format-discharging        = <ramp-capacity> <label-discharging> | format-discharging = <ramp-capacity> <label-discharging> | ||||||
| 
 | 
 | ||||||
| label-charging            = %percentage%% | label-charging = -%percentage%% | ||||||
| label-discharging         = %percentage%% | label-discharging = -%percentage%% | ||||||
| label-full                = %percentage%% | label-full = %percentage%% | ||||||
| 
 | 
 | ||||||
| ramp-capacity-0           =  | ramp-capacity-0 =  | ||||||
| ramp-capacity-1           =  | ramp-capacity-1 =  | ||||||
| ramp-capacity-2           =  | ramp-capacity-2 =  | ||||||
| ramp-capacity-3           =  | ramp-capacity-3 =  | ||||||
| ramp-capacity-4           =  | ramp-capacity-4 =  | ||||||
| 
 | 
 | ||||||
| animation-charging-0      =  | animation-charging-0 =  | ||||||
| animation-charging-1      =  | animation-charging-1 =  | ||||||
| animation-charging-2      =  | animation-charging-2 =  | ||||||
| animation-charging-3      =  | animation-charging-3 =  | ||||||
| animation-charging-4      =  | animation-charging-4 =  | ||||||
| animation-charging-framerate = 750 | animation-charging-framerate = 750 | ||||||
| 
 | 
 | ||||||
| [module/network] | [module/network] | ||||||
| type                      = internal/network | type = internal/network | ||||||
| interface                 = wlan0 | interface = wlan0 | ||||||
| udspeed-minwidth          = 5 | udspeed-minwidth = 5 | ||||||
| accumulate-stats          = true | accumulate-stats = true | ||||||
| unknown-as-up             = true | unknown-as-up = true | ||||||
| format-connected          = <label-connected> | format-connected = <label-connected> | ||||||
| format-disconnected       = <label-disconnected> | format-disconnected = <label-disconnected> | ||||||
| 
 | 
 | ||||||
| format-packetloss         = <label-connected> | format-packetloss = <label-connected> | ||||||
| 
 | 
 | ||||||
| label-connected           = %essid%  | label-connected = %essid%  | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -11,14 +11,11 @@ while pgrep -u $UID -x polybar >/dev/null; do sleep 0.1; done | ||||||
| 
 | 
 | ||||||
| #MONITOR=DP-0 polybar --reload  wsonly & | #MONITOR=DP-0 polybar --reload  wsonly & | ||||||
| 
 | 
 | ||||||
| export MONITOR=DP-1 | polybar -m | while read -r mon; do | ||||||
| polybar wsonly & |     export MONITOR=$(echo $mon | cut -d: -f1) | ||||||
| 
 |     echo $mon | grep -q "(primary)" && { | ||||||
| export MONITOR=DP-2 |         polybar ws & | ||||||
| polybar wsonly & |     } || { | ||||||
| 
 |         polybar wsonly & | ||||||
| export MONITOR=HDMI-1 |     } | ||||||
| polybar wsonly & | done | ||||||
| 
 |  | ||||||
| export MONITOR=DP-3 |  | ||||||
| polybar ws & |  | ||||||
|  |  | ||||||
|  | @ -114,12 +114,6 @@ super + ctrl + alt + c | ||||||
| super + shift + Return  | super + shift + Return  | ||||||
| 	iocane -i | 	iocane -i | ||||||
| 
 | 
 | ||||||
| # switch monitor modes |  | ||||||
| super + apostrophe |  | ||||||
| 	$HOME/.scripts/bg.sh ; $HOME/.config/xrandr.sh |  | ||||||
| super + shift + apostrophe |  | ||||||
| 	$HOME/.scripts/bg.sh ; $HOME/.config/xrandr.alt.sh |  | ||||||
| 
 |  | ||||||
| # switch monitor input sources | # switch monitor input sources | ||||||
| ctrl + super + apostrophe | ctrl + super + apostrophe | ||||||
|     ddc-switch-inputs 1 |     ddc-switch-inputs 1 | ||||||
|  | @ -260,8 +254,6 @@ super + alt + {_,shift + }{1,2,3,4,5,6,7,8,9} | ||||||
| 	bspc {desktop -f,node -d} '{b1,b2,b3,b4,b5,b6,b7,b8,b9}' | 	bspc {desktop -f,node -d} '{b1,b2,b3,b4,b5,b6,b7,b8,b9}' | ||||||
| super + ctrl + {_,shift + }{1,2,3,4,5,6,7,8,9} | super + ctrl + {_,shift + }{1,2,3,4,5,6,7,8,9} | ||||||
| 	bspc {desktop -f,node -d} '{c1,c2,c3,c4,c5,c6,c7,c8,c9}' | 	bspc {desktop -f,node -d} '{c1,c2,c3,c4,c5,c6,c7,c8,c9}' | ||||||
| super + alt + ctrl + {_,shift + }{1,2} |  | ||||||
| 	bspc {desktop -f,node -d} '{d1,d2}' |  | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| #Toggle between vertical and horizontal split | #Toggle between vertical and horizontal split | ||||||
|  |  | ||||||
|  | @ -25,8 +25,6 @@ inoremap ( ()<ESC>ha | ||||||
| 
 | 
 | ||||||
| inoremap <C-space> <C-n> | inoremap <C-space> <C-n> | ||||||
| 
 | 
 | ||||||
| nnoremap <S-J> <C-E> |  | ||||||
| nnoremap <S-K> <C-Y> |  | ||||||
| 
 | 
 | ||||||
| nnoremap <C-J> <C-W><C-J> | nnoremap <C-J> <C-W><C-J> | ||||||
| nnoremap <C-K> <C-W><C-K> | nnoremap <C-K> <C-W><C-K> | ||||||
|  |  | ||||||
|  | @ -19,10 +19,10 @@ save () { | ||||||
|     cp $HOME/.xinitrc xinitrc |     cp $HOME/.xinitrc xinitrc | ||||||
| 
 | 
 | ||||||
|     mkdir -p fonts/TTF |     mkdir -p fonts/TTF | ||||||
|     cp -r /usr/share/fonts/ttf-mononoki fonts/ |     cp -r $HOME/.fonts/ttf-mononoki fonts/ | ||||||
|     cp /usr/share/fonts/TTF/Meslo\ LG\ M\ Regular\ Nerd\ Font\ Complete\ Mono.ttf fonts/TTF/ |     cp $HOME/.fonts/TTF/Meslo\ LG\ M\ Regular\ Nerd\ Font\ Complete\ Mono.ttf fonts/TTF/ | ||||||
|     mkdir -p fonts/noto-cjk |     mkdir -p fonts/noto-cjk | ||||||
|     cp -r /usr/share/fonts/noto-cjk/NotoSansCJK-Regular.ttc fonts/noto-cjk |     cp -r $HOME/.fonts/noto-cjk/NotoSansCJK-Regular.ttc fonts/noto-cjk | ||||||
|      |      | ||||||
|     cp $HOME/.gtkrc-2.0 gtkrc-2.0 |     cp $HOME/.gtkrc-2.0 gtkrc-2.0 | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -1,3 +1,23 @@ | ||||||
| #!/bin/sh | #!/bin/sh | ||||||
| #feh --force-aliasing --bg-tile ~/.config/dither.png | setbg="feh --force-aliasing --bg-tile " | ||||||
| feh --force-aliasing --bg-fill ~/.config/bg | 
 | ||||||
|  | image=~/.config/bg.gif | ||||||
|  | dir=/tmp/bggif   | ||||||
|  | 
 | ||||||
|  | printf "Converting..." | ||||||
|  | [ ! -d "$dir" ] || rm -rf "$dir" | ||||||
|  | mkdir -p "$dir" | ||||||
|  | 
 | ||||||
|  | convert -coalesce $image $dir/%05d.png | ||||||
|  | printf "done\n" | ||||||
|  | 
 | ||||||
|  | amount_of_frames=$(ls -1 "$dir" | wc -l) | ||||||
|  | frames_per_second=30 | ||||||
|  | speed=$(echo "scale=3; ($amount_of_frames/$frames_per_second) * (1/$frames_per_second)" | bc -l) | ||||||
|  | 
 | ||||||
|  | while : ; do  | ||||||
|  |     for i in $(ls -1 $dir); do | ||||||
|  |         $setbg $dir/$i; | ||||||
|  |         sleep $speed | ||||||
|  |     done; | ||||||
|  | done     | ||||||
|  |  | ||||||
|  | @ -1,3 +1,3 @@ | ||||||
| #!/bin/sh | #!/bin/sh | ||||||
| MAIN_DP=DP-3;   | MAIN_DP=DP-1;   | ||||||
| v=$(xrandr --current --verbose | grep "Brightness" | cut -f2 -d " " | tr '\n' '*' | rev | cut -c 2- | rev | sed -e "s/$/==1/" | bc -l | grep -q 0 && echo 1 || echo 0); xrandr | grep " connected" | cut -f1 -d " " | while read -r line; do echo $line | grep -q $MAIN_DP && : || xrandr --output $line --brightness $v; done | v=$(xrandr --current --verbose | grep "Brightness" | cut -f2 -d " " | tr '\n' '*' | rev | cut -c 2- | rev | sed -e "s/$/==1/" | bc -l | grep -q 0 && echo 1 || echo 0); xrandr | grep " connected" | cut -f1 -d " " | while read -r line; do echo $line | grep -q $MAIN_DP && : || xrandr --output $line --brightness $v; done | ||||||
|  |  | ||||||
|  | @ -15,5 +15,5 @@ case $1 in | ||||||
|       ;; |       ;; | ||||||
| esac | esac | ||||||
| 
 | 
 | ||||||
| ddcutil --bus=23 setvcp 60 ${OUT[0]} & | ddcutil --bus=12 setvcp 60 ${OUT[0]} & | ||||||
| wait | wait | ||||||
|  |  | ||||||
|  | @ -1,5 +1,5 @@ | ||||||
| #!/bin/bash | #!/bin/bash | ||||||
| MAIN_DP=DP-0;   | MAIN_DP=DP-1;   | ||||||
| 
 | 
 | ||||||
| v=$1 | v=$1 | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -1,3 +1,3 @@ | ||||||
| #!/bin/sh | #!/bin/sh | ||||||
| GAP=16; bspc config window_gap | grep -q $GAP && bspc config window_gap 0 || bspc config window_gap $GAP | GAP=32; bspc config window_gap | grep -q $GAP && bspc config window_gap 0 || bspc config window_gap $GAP | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -4,13 +4,13 @@ gtk-color-scheme = "text_color:#c5c8c6\nbase_color:#191919" | ||||||
| # Foreground/background | # Foreground/background | ||||||
| gtk-color-scheme = "fg_color:#c5c8c6\nbg_color:#191919" | gtk-color-scheme = "fg_color:#c5c8c6\nbg_color:#191919" | ||||||
| # Selected foreground/background | # Selected foreground/background | ||||||
| gtk-color-scheme = "selected_fg_color:#191919\nselected_bg_color:#f58f44" | gtk-color-scheme = "selected_fg_color:#191919\nselected_bg_color:#707880" | ||||||
| # Titlebar foreground/background | # Titlebar foreground/background | ||||||
| gtk-color-scheme = "titlebar_fg_color:#f58f44\ntitlebar_bg_color:#191919" | gtk-color-scheme = "titlebar_fg_color:#707880\ntitlebar_bg_color:#191919" | ||||||
| # Links | # Links | ||||||
| gtk-color-scheme = "link_color:#5f819d\nvisited_link_color:#85678f" | gtk-color-scheme = "link_color:#5f819d\nvisited_link_color:#85678f" | ||||||
| # Panel | # Panel | ||||||
| gtk-color-scheme = "topbar_bg_color:#191919\ntopbar_fg_color:#f58f44" | gtk-color-scheme = "topbar_bg_color:#191919\ntopbar_fg_color:#707880" | ||||||
| 
 | 
 | ||||||
| # Set GTK settings | # Set GTK settings | ||||||
| gtk-auto-mnemonics              = 1 | gtk-auto-mnemonics              = 1 | ||||||
|  |  | ||||||
										
											
												File diff suppressed because it is too large
												Load diff
											
										
									
								
							
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue