From db32c5e3ac728d8fff63e65076b295c6752db33f Mon Sep 17 00:00:00 2001 From: Nulo Date: Sun, 31 Oct 2021 21:59:43 -0300 Subject: [PATCH] river/colors: usar los colores con los nombres de Selenized --- .config/river/colors | 13 ++++++++----- .config/river/load-colors | 6 +++--- .local/bin/fuzzel-run | 8 ++++---- .local/bin/lock | 2 +- .local/bin/yambar-run | 10 +++++----- 5 files changed, 21 insertions(+), 18 deletions(-) diff --git a/.config/river/colors b/.config/river/colors index 5bf29ff..bc3320f 100644 --- a/.config/river/colors +++ b/.config/river/colors @@ -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 diff --git a/.config/river/load-colors b/.config/river/load-colors index c9515a7..5d3691d 100755 --- a/.config/river/load-colors +++ b/.config/river/load-colors @@ -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 diff --git a/.local/bin/fuzzel-run b/.local/bin/fuzzel-run index 7f8b72c..b8efda1 100755 --- a/.local/bin/fuzzel-run +++ b/.local/bin/fuzzel-run @@ -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 diff --git a/.local/bin/lock b/.local/bin/lock index 9cad8e6..d7cbca4 100755 --- a/.local/bin/lock +++ b/.local/bin/lock @@ -1,4 +1,4 @@ #!/bin/sh . ~/.config/river/colors -setsid -f swaylockd --color "$bg" +setsid -f swaylockd --color "$bg_0" sleep 1 diff --git a/.local/bin/yambar-run b/.local/bin/yambar-run index 955de4c..c5d5048 100755 --- a/.local/bin/yambar-run +++ b/.local/bin/yambar-run @@ -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"