river: Coordenadas estáticas

This commit is contained in:
Cat /dev/Nulo 2022-05-04 16:08:49 -03:00
parent e874e2172d
commit 72e8086ccf
6 changed files with 1 additions and 150 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 157 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 511 KiB

View file

@ -8,11 +8,7 @@ riverctl spawn "/usr/libexec/xdg-desktop-portal-wlr"
brillo -I
riverctl spawn "pgrep -x foot >/dev/null || foot --server"
if test -f ~/.config/river/coordenadas; then
riverctl spawn "pgrep -x wlsunset >/dev/null || wlsunset $(cat ~/.config/river/coordenadas)"
else
echo "¡Falta ~/.config/river/coordenadas!"
fi
riverctl spawn "pgrep -x wlsunset >/dev/null || wlsunset -l -34.61315 -L -58.37723"
riverctl spawn "pgrep -x syncthing >/dev/null || syncthing -no-browser"
# yambar spawned by load-colors
riverctl spawn "pgrep -x kanshi >/dev/null || kanshi"

View file

@ -1,58 +0,0 @@
#!/bin/sh
set -e
echo "#!/bin/sh
# Autogenerated by ~/.config/themer/river-colors.sh
" > ~/.config/river/colors
rose_pine () {
if $dark; then
border_focused=$iris
border_unfocused=$inactive
else
border_focused=$subtle
border_unfocused=$overlay
fi
echo "
export background=$base
export foreground=$text
export border_focused=$border_focused
export border_unfocused=$border_unfocused
export dark=$dark
" >> ~/.config/river/colors
}
mono () {
test ! "$dark" = true && bg="export bg=~/.config/river/wallpapers/'Abyss Reflections - Cat ears.png'"
echo "
export background=$background
export foreground=$foreground
export border_focused=$accent
export border_unfocused=$backgroundish
export dark=$dark
$bg
" >> ~/.config/river/colors
}
if test "$1" = rose-pine; then
. ~/.config/themer/themes/rose-pine.sh
rose_pine
elif test "$1" = rose-pine-dawn; then
. ~/.config/themer/themes/rose-pine-dawn.sh
rose_pine
elif test "$1" = rose-pine-moon; then
. ~/.config/themer/themes/rose-pine-moon.sh
rose_pine
elif test "$1" = mono; then
. ~/.config/themer/themes/mono.sh
mono
elif test "$1" = mono-light; then
. ~/.config/themer/themes/mono-light.sh
mono
else
if test -n "$1"; then
echo "I don't know that theme"
else
echo "No theme specified"
fi
exit 1
fi

View file

@ -1,43 +0,0 @@
#!/bin/sh
set -e
rose_pine () {
echo "# Autogenerated by ~/.config/themer/waylock.sh
[colors]
init_color = 0x$base
input_color = 0x$pine
fail_color = 0x$love
" > ~/.config/waylock/waylock.toml
}
mono () {
echo "# Autogenerated by ~/.config/themer/waylock.sh
[colors]
init_color = 0x$background
input_color = 0x$foreground
fail_color = 0x$foregroundish
" > ~/.config/waylock/waylock.toml
}
if test "$1" = rose-pine; then
. ~/.config/themer/themes/rose-pine.sh
rose_pine
elif test "$1" = rose-pine-dawn; then
. ~/.config/themer/themes/rose-pine-dawn.sh
rose_pine
elif test "$1" = rose-pine-moon; then
. ~/.config/themer/themes/rose-pine-moon.sh
rose_pine
elif test "$1" = mono; then
. ~/.config/themer/themes/mono.sh
mono
elif test "$1" = mono-light; then
. ~/.config/themer/themes/mono-light.sh
mono
else
if test -n "$1"; then
echo "I don't know that theme"
else
echo "No theme specified"
fi
exit 1
fi

View file

@ -1,44 +0,0 @@
#!/bin/sh
set -e
rose_pine () {
echo "# Autogenerated by ~/.config/themer/yambar.sh
background: &bg ${base}ff
foreground: &fg ${text}ff
accent: &accent ${iris}ff
" > ~/.config/yambar/config.yml
}
mono () {
echo "# Autogenerated by ~/.config/themer/yambar.sh
background: &bg ${background}ff
backgroundish: &bgish ${backgroundish}ff
foreground: &fg ${foreground}ff
accent: &accent ${accent}ff
" > ~/.config/yambar/config.yml
}
if test "$1" = rose-pine; then
. ~/.config/themer/themes/rose-pine.sh
rose_pine
elif test "$1" = rose-pine-dawn; then
. ~/.config/themer/themes/rose-pine-dawn.sh
rose_pine
elif test "$1" = rose-pine-moon; then
. ~/.config/themer/themes/rose-pine-moon.sh
rose_pine
elif test "$1" = mono; then
. ~/.config/themer/themes/mono.sh
mono
elif test "$1" = mono-light; then
. ~/.config/themer/themes/mono-light.sh
mono
else
if test -n "$1"; then
echo "I don't know that theme"
else
echo "No theme specified"
fi
exit 1
fi
cat ~/.config/yambar/real-config.yml >> ~/.config/yambar/config.yml