river/colors

This commit is contained in:
Cat /dev/Nulo 2021-09-25 00:22:44 -03:00
parent 82b35ad59e
commit c5d50dfb57
3 changed files with 62 additions and 0 deletions

39
.config/river/colors Normal file
View file

@ -0,0 +1,39 @@
#!/bin/sh
# theme="$(cat ~/.theme)"
# if test "$theme" = dark; then
# # Rose Pine
# export bg=191724
# export bg2=26233a
# export fg=e0def4
# export fg2=6e6a86
# export hl=c4a7e7
# else
# # Rose Pine Dawn
# export bg=faf4ed
# export bg2=f2e9de
# export fg=575279
# export fg2=6e6a86
# export hl=907aa9
# fi
# Selenized Black
export bg=181818
export bg2=252525
export fg=b9b9b9
export fg2=dedede
export hl=$fg
# solarized light
# export bg=fdf6e3
# export bg2=eee8d5
# export fg=657b83
# export fg2=93a1a1
# export hl=d33682
# gruvbox dark
# export bg=282828
# export bg2=3c3836
# export fg=ebdbb2
# export hl=83a598

7
.local/bin/fuzzel-run Executable file
View file

@ -0,0 +1,7 @@
#!/bin/sh
. ~/.config/river/colors
fuzzel -T footclient -f 'JetBrainsMono Nerd Font:size=10' -w 45 \
--no-icons \
-b ${bg}ff -t ${fg}ff -m ${hl}ff -s ${bg2}ff -x 12 -B 2 -C ${fg}ff \
--border-radius=0

16
.local/bin/yambar-run Executable file
View file

@ -0,0 +1,16 @@
#!/bin/sh
. ~/.config/river/colors
killall yambar
config="$(mktemp)"
echo "background: &bg ${bg}ff
background2: &bg2 ${bg2}ff
foreground: &fg ${fg}ff
accent: &accent ${hl}ff
" > "$config"
cat ~/.config/yambar/config.yml >> "$config"
yambar --config="$config"
rm "$config"