Initial commit
This commit is contained in:
9
dot_config/hypr/scripts/eDPower.sh
Normal file
9
dot_config/hypr/scripts/eDPower.sh
Normal file
@ -0,0 +1,9 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user