Sorted some stuff in configuration
This commit is contained in:
parent
6599e23992
commit
5e05a1e5c1
36 changed files with 210 additions and 216 deletions
|
|
@ -1,12 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Получаем информацию о подключенных мониторах
|
||||
monitors_on=$(hyprctl monitors | grep "dpmsStatus: 1" | wc -l)
|
||||
echo $monitors_on
|
||||
if [ $monitors_on -gt 0 ]; then
|
||||
# Если мониторы включены, выключаем их
|
||||
hyprctl dispatch dpms off
|
||||
else
|
||||
hyprctl dispatch dpms on
|
||||
fi
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue