diff --git a/home-environments/radio/files/.config/river/init b/home-environments/radio/files/.config/river/init index 7a4173e..e5a64c2 100755 --- a/home-environments/radio/files/.config/river/init +++ b/home-environments/radio/files/.config/river/init @@ -9,6 +9,23 @@ for mode in locked normal wlrctl; do riverctl map-switch $mode lid close "doas zzz" done +# Autostart applications ______________________________________________________ + +spawn () { + $1 >> ~/.local/state/log/$(basename $1).log 2>&1 & +} + +# xdg-desktop-portal +dbus-update-activation-environment DISPLAY WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=river +spawn ~/.guix-home/profile/libexec/xdg-desktop-portal-wlr +spawn ~/.guix-home/profile/libexec/xdg-desktop-portal + +for application in gammastep waybar fnott keepassxc; do + spawn $application +done + +wayneko --background-colour 0x606060 --layer overlay & + # Decorations _________________________________________________________________ # wallpaper @@ -278,18 +295,3 @@ riverctl map passthrough Super F12 enter-mode normal # initial view tags # riverctl rule-add -app-id 'TelegramDesktop' ${scratch_tag} -# Autostart applications ______________________________________________________ - -spawn () { - riverctl spawn "$1 >> ~/.local/state/log/$(basename $1).log 2>&1" & -} - -dbus-update-activation-environment DISPLAY WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=river -spawn ~/.guix-home/profile/libexec/xdg-desktop-portal-wlr -spawn ~/.guix-home/profile/libexec/xdg-desktop-portal - -for application in gammastep waybar fnott keepassxc; do - spawn $application -done - -riverctl spawn "wayneko --background-colour 0x606060 --layer overlay"