diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2024-10-08 23:28:35 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2024-10-08 23:28:35 +0800 |
| commit | 5eb9f20c12fe65c265212a8bf451b731cf9d764a (patch) | |
| tree | 660331d686e581d15ad14185c094c749bae808be | |
| parent | 6716ebda1fc71af2ac23ed19d13ac42472600542 (diff) | |
add(notify, autostart status): notify user if something like vpn is already on
fix(wl-clip,dupe): removed dupe for wl-clip, now fixes it
add(hyprsession): recover session
| -rw-r--r-- | dot-config/hypr/autostart.conf | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/dot-config/hypr/autostart.conf b/dot-config/hypr/autostart.conf index e4a898ed..dc707d8e 100644 --- a/dot-config/hypr/autostart.conf +++ b/dot-config/hypr/autostart.conf @@ -42,10 +42,10 @@ exec-once = fcitx5 -d # exec-once = aa-notify -p -s 1 -w 60 -f /var/log/audit/audit.log & # Clipboard history -exec-once = wl-paste --watch cliphist store & +# exec-once = wl-paste --watch cliphist store exec-once = wl-paste --type text --watch cliphist store exec-once = wl-paste --type image --watch cliphist store -exec-once = wl-clip-persist --clipboard regular +# exec-once = wl-clip-persist --clipboard regular # Notification agent exec-once = swaync @@ -77,3 +77,12 @@ exec-once = nextcloud --background exec-once = discord --start-minimized exec-once = beeper --no-sandbox --hidden # exec-once = echo 'ddcci 0x37' | sudo tee /sys/bus/i2c/devices/i2c-13/new_device + +# Notify if stuff is already started +exec-once = warp-cli status | grep Connect && notify-send 'warp-vpn' 'connected' +exec-once = pactl get-source-mute @DEFAULT_SOURCE@ | grep 'Mute: yes' >/dev/null && notify-send 'microphone' 'muted' +exec-once = modprobe uvcvideo || notify-send 'uvcvideo' 'disabled' +exec-once = pgrep -f gpu-screen-recorder && notify-send 'recorder' 'recording' + +# restore session +exec-once = hyprsession |
