mirror of https://codeberg.org/anemofilia/zero
radio: files: river: Move the 'Autostart applications' section to the begin of the file, also avoid using `riverctl spawn` when not necessary
parent
5660383e56
commit
2adb94e2db
|
@ -9,6 +9,23 @@ for mode in locked normal wlrctl; do
|
||||||
riverctl map-switch $mode lid close "doas zzz"
|
riverctl map-switch $mode lid close "doas zzz"
|
||||||
done
|
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 _________________________________________________________________
|
# Decorations _________________________________________________________________
|
||||||
|
|
||||||
# wallpaper
|
# wallpaper
|
||||||
|
@ -278,18 +295,3 @@ riverctl map passthrough Super F12 enter-mode normal
|
||||||
# initial view tags
|
# initial view tags
|
||||||
# riverctl rule-add -app-id 'TelegramDesktop' ${scratch_tag}
|
# 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"
|
|
||||||
|
|
Loading…
Reference in New Issue