diff --git a/.config/river/colors b/.config/river/colors new file mode 100644 index 0000000..ecda2a0 --- /dev/null +++ b/.config/river/colors @@ -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 diff --git a/.local/bin/fuzzel-run b/.local/bin/fuzzel-run new file mode 100755 index 0000000..4255662 --- /dev/null +++ b/.local/bin/fuzzel-run @@ -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 diff --git a/.local/bin/yambar-run b/.local/bin/yambar-run new file mode 100755 index 0000000..e79f6d5 --- /dev/null +++ b/.local/bin/yambar-run @@ -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"