Browse Source

Updating for swaync

pull/106/head
JaKooLit 2 years ago
parent
commit
4c669e2a87
  1. 5
      config/hypr/configs/Execs.conf
  2. 13
      config/hypr/scripts/SwayNC.sh

5
config/hypr/configs/Execs.conf

@ -23,11 +23,10 @@ exec-once = $scriptsDir/Polkit.sh
# starup apps
exec-once = waybar &
exec-once = nm-applet --indicator &
exec-once = blueman-applet &
exec-once = swaync &
#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

13
config/hypr/scripts/SwayNC.sh

@ -1,13 +0,0 @@
#!/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