hyprland: decouple waybar into a script that gets run every config reload
This commit is contained in:
parent
f79dc5f08b
commit
88bcb04ad4
|
@ -82,6 +82,7 @@
|
||||||
|
|
||||||
# Execute your favorite apps at launch
|
# Execute your favorite apps at launch
|
||||||
exec-once = ~/.local/share/scripts/hyprland/start_services.sh
|
exec-once = ~/.local/share/scripts/hyprland/start_services.sh
|
||||||
|
exec = ~/.local/share/scripts/hyprland/start_apps.sh
|
||||||
|
|
||||||
# Set cursor size.
|
# Set cursor size.
|
||||||
env = HYPRCURSOR_SIZE, 36
|
env = HYPRCURSOR_SIZE, 36
|
||||||
|
|
11
scripts/hyprland/start_apps.sh
Executable file
11
scripts/hyprland/start_apps.sh
Executable file
|
@ -0,0 +1,11 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
#
|
||||||
|
# Start waybar.
|
||||||
|
#
|
||||||
|
waybar &
|
||||||
|
|
||||||
|
#
|
||||||
|
# Start xwaylandvideobridge
|
||||||
|
#
|
||||||
|
xwaylandvideobridge &
|
|
@ -10,16 +10,6 @@ dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||||
#
|
#
|
||||||
/nix/store/$(ls -la /nix/store | rg '^d.*polkit-kde-agent.*\d$' | awk '{print $9}')/libexec/polkit-kde-authentication-agent-1 &
|
/nix/store/$(ls -la /nix/store | rg '^d.*polkit-kde-agent.*\d$' | awk '{print $9}')/libexec/polkit-kde-authentication-agent-1 &
|
||||||
|
|
||||||
#
|
|
||||||
# Start waybar.
|
|
||||||
#
|
|
||||||
waybar &
|
|
||||||
|
|
||||||
#
|
|
||||||
# Start xwaylandvideobridge
|
|
||||||
#
|
|
||||||
xwaylandvideobridge &
|
|
||||||
|
|
||||||
#
|
#
|
||||||
## Start wallpaper daemon and set one.
|
## Start wallpaper daemon and set one.
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in a new issue