Finally working display toggle
This commit is contained in:
@@ -24,7 +24,8 @@ esac
|
||||
set_mode "$next"
|
||||
|
||||
# Redémarrage de hyprdynamicmonitors pour appliquer la nouvelle config
|
||||
pkill -x hyprdynamicmonitors 2>/dev/null || true
|
||||
hyprdynamicmonitors &
|
||||
pkill -f -x hyprdynamicmonitors 2>/dev/null || true
|
||||
sleep 0.2
|
||||
hyprdynamicmonitors >/dev/null 2>&1 &
|
||||
|
||||
notify-send "Écrans" "Mode : $next"
|
||||
Reference in New Issue
Block a user