fixes multi-monitor setup, adds f8-f10 multi monitor keybinds
This commit is contained in:
		| @@ -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) | ||||
|   | ||||
| @@ -1,4 +1,4 @@ | ||||
|  | ||||
| #!/bin/bash | ||||
| sleep 0.15 | ||||
| sleep 0.21 | ||||
| cmatrix | ||||
|   | ||||
		Reference in New Issue
	
	Block a user