river/colors: usar los colores con los nombres de Selenized

This commit is contained in:
Cat /dev/Nulo 2021-10-31 21:59:43 -03:00
parent 65b46c7981
commit db32c5e3ac
5 changed files with 21 additions and 18 deletions

View file

@ -19,11 +19,14 @@
# fi
# Selenized Black
export bg=181818
export bg2=252525
export fg=b9b9b9
export fg2=dedede
export hl=368aeb
# https://github.com/jan-warchol/selenized/blob/e93e0d9fb47c7485f18fa16f9bdb70c2ee7fb5db/the-values.md
export bg_0=181818
export bg_1=252525
export bg_2=3b3b3b
export dim_0=777777
export fg_0=b9b9b9
export fg_1=dedede
export fg_accent=368aeb
# solarized light
# export bg=fdf6e3

View file

@ -1,8 +1,8 @@
#!/bin/sh
. ~/.config/river/colors
riverctl background-color 0x$bg
riverctl border-color-focused 0x$fg
riverctl border-color-unfocused 0x$bg2
riverctl background-color 0x$bg_0
riverctl border-color-focused 0x$fg_1
riverctl border-color-unfocused 0x$dim_0
riverctl border-width 2
riverctl spawn yambar-run

View file

@ -5,8 +5,8 @@ exec fuzzel --terminal=footclient --font='Inter:style=Bold:size=11' \
--prompt="➦ " \
--no-icons \
--width=20 \
--background=${bg}ff --text-color=${fg}ff \
--match-color=${hl}ff \
--selection-color=${bg2}ff --selection-text-color=${fg}ff \
--background=${bg_0}ff --text-color=${fg_0}ff \
--match-color=${fg_accent}ff \
--selection-color=${bg_1}ff --selection-text-color=${fg_0}ff \
--horizontal-pad=12 \
--border-width=1 --border-color=${fg}ff --border-radius=2
--border-width=1 --border-color=${fg_0}ff --border-radius=2

View file

@ -1,4 +1,4 @@
#!/bin/sh
. ~/.config/river/colors
setsid -f swaylockd --color "$bg"
setsid -f swaylockd --color "$bg_0"
sleep 1

View file

@ -4,11 +4,11 @@ killall yambar
config="$(mktemp)"
echo "background: &bg ${bg}ff
background2: &bg2 ${bg2}ff
foreground: &fg ${fg}ff
foreground2: &fg2 ${fg2}ff
accent: &accent ${hl}ff
echo "background: &bg ${bg_0}ff
background2: &bg2 ${bg_1}ff
foreground: &fg ${fg_0}ff
foreground2: &fg2 ${fg_1}ff
accent: &accent ${fg_accent}ff
" > "$config"
cat ~/.config/yambar/config.yml >> "$config"