- AQ_DRM_DEVICES=/dev/dri/card0 forces Aquamarine to use only the Intel iGPU, avoiding EGL_BAD_MATCH errors from the NVIDIA RTX 3060 after VT/DPMS cycles (page-flip lockups, black display) - lock.sh: guard against duplicate hyprlock instances (second instance steals surfaces, leaves screen black) - lid-close.sh: same guard for laptop - wake-display.sh: conditional DPMS cycle (only when display is off) to restore hyprlock surfaces without flicker - unstick-display.sh: emergency recovery script for tty3
9 lines
285 B
Bash
Executable file
9 lines
285 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# Prevent multiple hyprlock instances (second instance breaks the lock screen)
|
|
pidof hyprlock && exit 0
|
|
|
|
hyprctl switchxkblayout all 0
|
|
fcitx5-remote -s keyboard-us-dvorak
|
|
wpctl set-mute @DEFAULT_AUDIO_SINK@ 1
|
|
hyprlock --no-fade-in && wpctl set-mute @DEFAULT_AUDIO_SINK@ 0
|