Files
dotfiles/dot_config/hypr/scripts/eDPower.sh
2025-10-14 19:12:58 +03:00

10 lines
192 B
Bash

#!/bin/bash
check=$(hyprctl monitors | awk '/HDMI-A-1/{print $1}' | tr -d '\n')
if [ $check != '' ]; then
hyprctl keyword monitor "eDP-1, disable"
swww kill
uwsm app -- swww-daemon
fi