puntos/.config/river/init

32 lines
1.1 KiB
Bash
Executable file

#!/bin/sh
riverctl spawn "pgrep -x pipewire >/dev/null || pipewire"
riverctl spawn "/usr/libexec/xdg-desktop-portal-wlr"
~/.config/river/load-colors
brillo -I
riverctl spawn "pgrep -x foot >/dev/null || foot --server"
riverctl spawn "pgrep -x wlsunset >/dev/null || wlsunset -l -34.61315 -L -58.37723"
riverctl spawn "pgrep -x swaync >/dev/null || swaync"
riverctl spawn "pgrep -x syncthing >/dev/null || syncthing -no-browser"
riverctl spawn "pgrep -x kanshi >/dev/null || kanshi"
# yambar spawned by load-colors
riverctl spawn "pgrep -x goimapnotify >/dev/null || goimapnotify -conf ~/.config/imapnotify/config.json"
riverctl set-repeat 30 290
riverctl xcursor-theme Adwaita
riverctl float-filter-add title Picture-in-Picture
riverctl float-filter-add title "Firefox — Sharing Indicator"
riverctl float-filter-add app-id fzf
~/.config/river/keys
riverctl spawn "pgrep -x stacktile >/dev/null || stacktile --per-tag-config --drop-empty-configs --primary-sublayout=stack"
riverctl spawn "killall zeit-bg-daemon ; zeit-bg-daemon"
riverctl default-layout stacktile
dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=river