





















Using cachyOS default installed dependencies (sway-lock + hyprland) I made this simple bash script and config to handle 3 simple scenarios : if laptop lid is closed and no external monitor connected = lock + suspend if laptop lid is closed BUT external monitor IS connected = just turn laptop screen off resume when lid is open Overall this kinda works but still very very buggy, especially when locking+sleeping while external monitor is connected. So im basically giving up and thinking the bes...
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。