feat: Updates to hyprland, adds waybar (default config for now), adds arch linux notes file to start tracking things that are needed when setting up a new system.

This commit is contained in:
2025-09-23 18:06:09 -04:00
parent b7edc19958
commit 81428fde31
12 changed files with 629 additions and 5 deletions

13
scripts/arch/lid.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
INTERNAL="eDP-1" # or eDP-1, check with `hyprctl monitors`
DEVICE="/dev/input/event0" # replace with your lid event device
evtest --grab "$DEVICE" |
while read -r line; do
if echo "$line" | grep -q "SW_LID.*value 1"; then
hyprctl keyword monitor "$INTERNAL,disable"
elif echo "$line" | grep -q "SW_LID.*value 0"; then
hyprctl keyword monitor "$INTERNAL,preferred,auto,auto"
fi
done