mirror of
https://github.com/ksyasuda/rice.git
synced 2024-10-28 09:04:10 -07:00
update colorscheme for new bar
This commit is contained in:
parent
9abd3b77cf
commit
c982c898e0
@ -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+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+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+e exec --no-startup-id ~/SudacodeRice/scripts/emc ~/.config
|
||||
bindsym Control+Shift+h exec --no-startup-id emacsclient -n -c ~/org/help/links.org
|
||||
|
@ -13,24 +13,35 @@
|
||||
|
||||
;; main colors
|
||||
background = #3B4252
|
||||
background-alt = #4C566A
|
||||
; background-alt = #4C566A
|
||||
background-alt = "#464b55"
|
||||
foreground = #ECEFF4
|
||||
foreground-alt = #E5E9F0
|
||||
primary = #A3BE8C
|
||||
; foreground-alt = #E5E9F0
|
||||
foreground-alt = "#abb2bf"
|
||||
primary = "#98be65"
|
||||
|
||||
white = #FFFFFF
|
||||
black = #000000
|
||||
red = #EC7875
|
||||
; white = #FFFFFF
|
||||
white = "#bbc2cf"
|
||||
; black = #000000
|
||||
black = "#464b55"
|
||||
; red = #EC7875
|
||||
red = "#ff6c6b"
|
||||
pink = #EC6798
|
||||
purple = #BE78D1
|
||||
blue = #75A4CD
|
||||
cyan = #00C7DF
|
||||
; purple = #BE78D1
|
||||
purple = "#c678dd"
|
||||
; blue = #75A4CD
|
||||
blue = "#51afef"
|
||||
; cyan = #00C7DF
|
||||
cyan = "#46d9ff"
|
||||
teal = #00B19F
|
||||
green = #61C766
|
||||
; green = #61C766
|
||||
green = "#98be65"
|
||||
lime = #B9C244
|
||||
yellow = #EBD369
|
||||
; yellow = #EBD369
|
||||
yellow = "#ecbe7b"
|
||||
amber = #EDB83F
|
||||
orange = #E57C46
|
||||
; orange = #E57C46
|
||||
orange = #da8548
|
||||
brown = #AC8476
|
||||
gray = #9E9E9E
|
||||
indigo = #6C77BB
|
||||
|
@ -1312,7 +1312,7 @@ label-active-background = ${color.primary}
|
||||
label-occupied = %icon% %name%
|
||||
; label-occupied-foreground = ${color.indigo}
|
||||
label-occupied-foreground = ${color.foreground}
|
||||
label-occupied-background = ${color.gray}
|
||||
label-occupied-background = ${color.black}
|
||||
|
||||
; Available tokens:
|
||||
; %name%
|
||||
|
@ -5,7 +5,7 @@
|
||||
## Github : @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')
|
||||
|
||||
rofi_command="rofi -theme $dir/powermenu.rasi"
|
||||
@ -19,10 +19,7 @@ logout=" Logout"
|
||||
|
||||
# Confirmation
|
||||
confirm_exit() {
|
||||
rofi -dmenu\
|
||||
-i\
|
||||
-no-fixed-num-lines\
|
||||
-p "Are You Sure? : "\
|
||||
rofi -dmenu -i -no-fixed-num-lines -p "Are You Sure? : " \
|
||||
-theme $dir/confirm.rasi
|
||||
}
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Color files
|
||||
PFILE="$HOME/.config/polybar/blocks/colors.ini"
|
||||
RFILE="$HOME/.config/polybar/blocks/scripts/rofi/colors.rasi"
|
||||
PFILE="$HOME/SudacodeRice/polybar-themes/sblocks/colors.ini"
|
||||
RFILE="$HOME/SudacodeRice/polybar-themes/sblocks/scripts/rofi/colors.rasi"
|
||||
|
||||
# Change colors
|
||||
change_color() {
|
||||
@ -14,7 +14,7 @@ change_color() {
|
||||
sed -i -e "s/primary = #.*/primary = $AC/g" $PFILE
|
||||
|
||||
# rofi
|
||||
cat > $RFILE <<- EOF
|
||||
cat >$RFILE <<-EOF
|
||||
/* colors */
|
||||
|
||||
* {
|
||||
@ -67,7 +67,7 @@ elif [[ $1 = "--cherry" ]]; then
|
||||
AC="#D94085"
|
||||
change_color
|
||||
else
|
||||
cat <<- _EOF_
|
||||
cat <<-_EOF_
|
||||
No option specified, Available options:
|
||||
--default --nord --gruvbox --adapta --cherry
|
||||
_EOF_
|
||||
|
Loading…
Reference in New Issue
Block a user