fixes multi-monitor setup, adds f8-f10 multi monitor keybinds

This commit is contained in:
2025-09-20 17:36:51 +02:00
parent b58b194797
commit 649e324ac7
5 changed files with 151 additions and 3 deletions

View File

@@ -9,13 +9,14 @@ ALACRITTY_CONF="$USER_HOME/.config/swaylock/alacritty-matrix.toml"
mapfile -t MONS < <(hyprctl -j monitors | jq -r '.[].name')
for mon in "${MONS[@]}"; do
hyprctl dispatch focusmonitor "$mon"
printf "Monitor: $mon\n"
sleep 0.06
kitty \
--app-id matrix \
--class matrix \
--title "matrix-$mon" \
--start-as fullscreen \
bash -lc "$MATRIX_SCRIPT" &
sleep 0.12
sleep 0.15
done
# 2) Lock screen (blocks until unlock)