aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/UserConfigs
diff options
context:
space:
mode:
authorDon Williams <don.e.williams@gmail.com>2026-07-26 21:40:49 -0400
committerPinapelz <yukais@pinapelz.com>2026-08-29 21:41:34 -0700
commitb725c587d285d99ab2a0b8514f9f976e1ec676fb (patch)
tree4e51c09f250a47c6b2b0c321bcf2c790fe4fcdb6 /config/hypr/UserConfigs
parent2201cbc9248dfdf51e0c911071a50fbd60f24af0 (diff)
Added script for Hyprlang config to handle LidSwitch
Signed-off-by: Don Williams <don.e.williams@gmail.com> On branch development Your branch is up to date with 'origin/development'. Changes to be committed: modified: config/hypr/UserConfigs/Laptops.conf new file: config/hypr/scripts/LidSwitch.sh
Diffstat (limited to 'config/hypr/UserConfigs')
-rw-r--r--config/hypr/UserConfigs/Laptops.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/hypr/UserConfigs/Laptops.conf b/config/hypr/UserConfigs/Laptops.conf
index fefc0d80..4fac8a5d 100644
--- a/config/hypr/UserConfigs/Laptops.conf
+++ b/config/hypr/UserConfigs/Laptops.conf
@@ -15,8 +15,8 @@ $UserConfigs = $HOME/.config/hypr/UserConfigs
# Suggest you edit below for your laptop display
# From WIKI This is to disable laptop monitor when lid is closed.
# consult https://wiki.hyprland.org/hyprland-wiki/pages/Configuring/Binds/#switches
-bindl = , switch:off:Lid Switch,exec,hyprctl keyword monitor "eDP-1, preferred, auto, 1"
-bindl = , switch:on:Lid Switch,exec,hyprctl keyword monitor "eDP-1, disable"
+bindl = , switch:off:Lid Switch, exec, $HOME/.config/hypr/scripts/LidSwitch.sh open
+bindl = , switch:on:Lid Switch, exec, $HOME/.config/hypr/scripts/LidSwitch.sh close
# WARNING! Using this method has some caveats!! USE THIS PART WITH SOME CAUTION!
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage