diff options
| author | 135e2 <135e2@135e2.tk> | 2022-01-28 13:23:22 +0800 | 
|---|---|---|
| committer | 135e2 <135e2@135e2.tk> | 2022-01-28 13:23:22 +0800 | 
| commit | 25f350ac7de7b7cc2069f51eff7eb9671e76cf47 (patch) | |
| tree | 2f909698d018736824cc22f654b60221a097cd29 /config/polybar | |
| parent | 2b10cef238fbd77f063e5089f52d705d505dcb5c (diff) | |
| download | dotfiles-25f350ac7de7b7cc2069f51eff7eb9671e76cf47.tar.gz dotfiles-25f350ac7de7b7cc2069f51eff7eb9671e76cf47.tar.bz2 dotfiles-25f350ac7de7b7cc2069f51eff7eb9671e76cf47.zip  | |
config/polybar: update to 20220128
- Switch to black background
- Make scripts/powermenu.sh happy with $DESKTOP_SESSION
- Adjust Lock & Sleep function
Diffstat (limited to 'config/polybar')
| -rw-r--r-- | config/polybar/forest/colors.ini | 6 | ||||
| -rwxr-xr-x | config/polybar/forest/scripts/powermenu.sh | 6 | ||||
| -rw-r--r-- | config/polybar/forest/scripts/rofi/colors.rasi | 10 | 
3 files changed, 12 insertions, 10 deletions
diff --git a/config/polybar/forest/colors.ini b/config/polybar/forest/colors.ini index e81c44d..b77cbeb 100644 --- a/config/polybar/forest/colors.ini +++ b/config/polybar/forest/colors.ini @@ -12,9 +12,9 @@  ;; Use pywal.sh in scripts directory to use colors from an image/wallpaper.  ;; main colors -background = #212B30 -foreground = #C4C7C5 -sep = #3F5360 +background = #141C21 +foreground = #93A1A1 +sep = #3C4449  white = #FFFFFF  black = #000000 diff --git a/config/polybar/forest/scripts/powermenu.sh b/config/polybar/forest/scripts/powermenu.sh index 84eddf4..b3b0fb7 100755 --- a/config/polybar/forest/scripts/powermenu.sh +++ b/config/polybar/forest/scripts/powermenu.sh @@ -57,7 +57,9 @@ case $chosen in          fi          ;;      $lock) -		if [[ -f /usr/bin/i3lock ]]; then +		if [[ -f /usr/bin/i3lock-fancy ]]; then +			i3lock-fancy +		elif [[ -f /usr/bin/i3lock ]]; then  			i3lock  		elif [[ -f /usr/bin/betterlockscreen ]]; then  			betterlockscreen -l @@ -68,7 +70,7 @@ case $chosen in  		if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then  			mpc -q pause  			amixer set Master mute -			systemctl suspend +			croutonpowerd --suspend  		elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then  			exit 0          else diff --git a/config/polybar/forest/scripts/rofi/colors.rasi b/config/polybar/forest/scripts/rofi/colors.rasi index cd1f090..72183d9 100644 --- a/config/polybar/forest/scripts/rofi/colors.rasi +++ b/config/polybar/forest/scripts/rofi/colors.rasi @@ -2,9 +2,9 @@  * {    al:   #00000000; -  bg:   #212B30FF; -  bga:  #263035FF; -  fg:   #C4C7C5FF; -  ac:   #EC407AFF; -  se:   #4DD0E1FF; +  bg:   #141C21FF; +  bga:  #1E262BFF; +  fg:   #93A1A1FF; +  ac:   #D12F2CFF; +  se:   #33C5BAFF;  }  | 
