update colorscheme for new bar

This commit is contained in:
ksyasuda 2021-11-15 15:29:58 -08:00
parent 9abd3b77cf
commit c982c898e0
5 changed files with 91 additions and 83 deletions

View File

@ -612,5 +612,5 @@ bindsym $mod+Shift+e exec --no-startup-id emacsclient -n -c ~
bindsym $mod+Shift+v exec --no-startup-id emacsclient -n -c -e '(+vterm/here nil)' bindsym $mod+Shift+v exec --no-startup-id emacsclient -n -c -e '(+vterm/here nil)'
bindsym $mod+Shift+Return exec --no-startup-id emacsclient -n -c -e '(+vterm/here nil)' bindsym $mod+Shift+Return exec --no-startup-id emacsclient -n -c -e '(+vterm/here nil)'
bindsym Control+Shift+a exec --no-startup-id ~/SudacodeRice/scripts/emc ~/Projects/Scripts/aniwrapper bindsym Control+Shift+a exec --no-startup-id ~/SudacodeRice/scripts/emc ~/Projects/Scripts/aniwrapper
bindsym Control+e exec --no-startup-id ~/SudacodeRice/scripts/emc ~/.config bindsym Control+Shift+e exec --no-startup-id ~/SudacodeRice/scripts/emc ~/.config
bindsym Control+h exec --no-startup-id emacsclient -n -c ~/org/help/links.org bindsym Control+Shift+h exec --no-startup-id emacsclient -n -c ~/org/help/links.org

View File

@ -13,24 +13,35 @@
;; main colors ;; main colors
background = #3B4252 background = #3B4252
background-alt = #4C566A ; background-alt = #4C566A
background-alt = "#464b55"
foreground = #ECEFF4 foreground = #ECEFF4
foreground-alt = #E5E9F0 ; foreground-alt = #E5E9F0
primary = #A3BE8C foreground-alt = "#abb2bf"
primary = "#98be65"
white = #FFFFFF ; white = #FFFFFF
black = #000000 white = "#bbc2cf"
red = #EC7875 ; black = #000000
black = "#464b55"
; red = #EC7875
red = "#ff6c6b"
pink = #EC6798 pink = #EC6798
purple = #BE78D1 ; purple = #BE78D1
blue = #75A4CD purple = "#c678dd"
cyan = #00C7DF ; blue = #75A4CD
blue = "#51afef"
; cyan = #00C7DF
cyan = "#46d9ff"
teal = #00B19F teal = #00B19F
green = #61C766 ; green = #61C766
green = "#98be65"
lime = #B9C244 lime = #B9C244
yellow = #EBD369 ; yellow = #EBD369
yellow = "#ecbe7b"
amber = #EDB83F amber = #EDB83F
orange = #E57C46 ; orange = #E57C46
orange = #da8548
brown = #AC8476 brown = #AC8476
gray = #9E9E9E gray = #9E9E9E
indigo = #6C77BB indigo = #6C77BB

View File

@ -1312,7 +1312,7 @@ label-active-background = ${color.primary}
label-occupied = %icon% %name% label-occupied = %icon% %name%
; label-occupied-foreground = ${color.indigo} ; label-occupied-foreground = ${color.indigo}
label-occupied-foreground = ${color.foreground} label-occupied-foreground = ${color.foreground}
label-occupied-background = ${color.gray} label-occupied-background = ${color.black}
; Available tokens: ; Available tokens:
; %name% ; %name%

View File

@ -5,7 +5,7 @@
## Github : @adi1090x ## Github : @adi1090x
## Twitter : @adi1090x ## Twitter : @adi1090x
dir="~/.config/polybar/blocks/scripts/rofi" dir="$HOME/SudacodeRice/polybar-themes/sblocks/scripts/rofi"
uptime=$(uptime -p | sed -e 's/up //g') uptime=$(uptime -p | sed -e 's/up //g')
rofi_command="rofi -theme $dir/powermenu.rasi" rofi_command="rofi -theme $dir/powermenu.rasi"
@ -19,10 +19,7 @@ logout=" Logout"
# Confirmation # Confirmation
confirm_exit() { confirm_exit() {
rofi -dmenu\ rofi -dmenu -i -no-fixed-num-lines -p "Are You Sure? : " \
-i\
-no-fixed-num-lines\
-p "Are You Sure? : "\
-theme $dir/confirm.rasi -theme $dir/confirm.rasi
} }

View File

@ -1,8 +1,8 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Color files # Color files
PFILE="$HOME/.config/polybar/blocks/colors.ini" PFILE="$HOME/SudacodeRice/polybar-themes/sblocks/colors.ini"
RFILE="$HOME/.config/polybar/blocks/scripts/rofi/colors.rasi" RFILE="$HOME/SudacodeRice/polybar-themes/sblocks/scripts/rofi/colors.rasi"
# Change colors # Change colors
change_color() { change_color() {
@ -14,7 +14,7 @@ change_color() {
sed -i -e "s/primary = #.*/primary = $AC/g" $PFILE sed -i -e "s/primary = #.*/primary = $AC/g" $PFILE
# rofi # rofi
cat > $RFILE <<- EOF cat >$RFILE <<-EOF
/* colors */ /* colors */
* { * {
@ -67,7 +67,7 @@ elif [[ $1 = "--cherry" ]]; then
AC="#D94085" AC="#D94085"
change_color change_color
else else
cat <<- _EOF_ cat <<-_EOF_
No option specified, Available options: No option specified, Available options:
--default --nord --gruvbox --adapta --cherry --default --nord --gruvbox --adapta --cherry
_EOF_ _EOF_