Browse Source

updated

pull/106/head
JaKooLit 2 years ago
parent
commit
88181a1303
  1. 6
      config/hypr/configs/Execs.conf
  2. 13
      config/hypr/scripts/SwayNC.sh

6
config/hypr/configs/Execs.conf

@ -22,11 +22,13 @@ exec-once = $scriptsDir/Polkit.sh
# starup apps
exec-once = waybar &
exec-once = swaync &
exec-once = nm-applet --indicator &
#exec-once = blueman-applet &
exec-once = blueman-applet &
#exec-once = rog-control-center &
# notification
exec-once = $scriptsDir/SwayNC.sh
#clipboard manager
exec-once = wl-paste --type text --watch cliphist store
exec-once = wl-paste --type image --watch cliphist store

13
config/hypr/scripts/SwayNC.sh

@ -0,0 +1,13 @@
#!/bin/bash
# Killall running notification agents
_ps=(mako dunst swaync)
for _prs in "${_ps[@]}"; do
if pidof "${_prs}" >/dev/null; then
pkill "${_prs}"
fi
done
# relaunch sway
sleep 0.5
swaync
Loading…
Cancel
Save