radio: files: river: Add gammastep to autostart applications

impermanence
Luis Guilherme Coelho 2024-06-09 02:21:52 -03:00
parent d0b46e50be
commit 0fb6c3e958
No known key found for this signature in database
GPG Key ID: 1F2E76ACE3F531C8
1 changed files with 11 additions and 16 deletions

View File

@ -12,8 +12,8 @@ done
# Decorations _________________________________________________________________ # Decorations _________________________________________________________________
# wallpaper # wallpaper
setsid -f swww-daemon && \ riverctl spawn "swww-daemon"
swww img ~/media/pictures/wallpapers/wall.png -t none & riverctl spawn "swww img ~/media/pictures/wallpapers/wall.png -t none" &
# Set background and border color # Set background and border color
riverctl border-color-focused 0x8581e0 riverctl border-color-focused 0x8581e0
@ -280,21 +280,16 @@ riverctl map passthrough Super F12 enter-mode normal
# Autostart applications ______________________________________________________ # 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 dbus-update-activation-environment DISPLAY WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=river
riverctl spawn "~/.guix-home/profile/libexec/xdg-desktop-portal-wlr -r >> ~/.local/state/log/xdg-desktop-portal.log 2>&1" spawn ~/.guix-home/profile/libexec/xdg-desktop-portal-wlr
riverctl spawn "~/.guix-home/profile/libexec/xdg-desktop-portal -r >> ~/.local/state/log/xdg-desktop-portal.log 2>&1" spawn ~/.guix-home/profile/libexec/xdg-desktop-portal
# status bar for application in gammastep waybar telegram-desktop fnott keepassxc; do
riverctl spawn "waybar >> ~/.local/state/log/waybar.log 2>&1" spawn $application
done
# password manager
riverctl spawn "keepassxc >> ~/.local/state/log/keepassxc.log 2>&1"
# notifications
riverctl spawn "fnott >> ~/.local/state/log/fnott.log 2>&1"
# messengers
riverctl spawn "telegram-desktop >> ~/.local/state/log/telegram-desktop.log 2>&1"
# wayneko
riverctl spawn "wayneko --background-colour 0x606060 --layer overlay" riverctl spawn "wayneko --background-colour 0x606060 --layer overlay"