diff options
| -rw-r--r-- | dot-config/hypr/autostart.conf | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dot-config/hypr/autostart.conf b/dot-config/hypr/autostart.conf index 1c0900c5..58efc480 100644 --- a/dot-config/hypr/autostart.conf +++ b/dot-config/hypr/autostart.conf @@ -87,7 +87,8 @@ exec-once = modprobe uvcvideo || notify-send 'uvcvideo' 'disabled' exec-once = pgrep -f gpu-screen-recorder && notify-send 'recorder' 'recording' # restore session -exec-once = hyprsession +exec-once = hyprctl keyword misc:focus_on_activate false; hyprsession --mode load-and-exit; hyprctl keyword misc:focus_on_activate true +exec-once = hyprsession --mode save-only # spam of notification at start(e.g. chromium) exec-once = swaync-client --dnd-on && sleep 3 && swaync-client --dnd-off |
