Finally working display toggle

This commit is contained in:
2026-08-29 13:54:04 +02:00
parent be4de88d1a
commit 659cbf0145
19 changed files with 120 additions and 117 deletions

View File

@@ -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"