feat: initial commit

This commit is contained in:
2025-10-26 14:32:37 +01:00
commit 1a56cdf696
3 changed files with 71 additions and 0 deletions

13
setup_screen.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/sh
set -e
if swaymsg -t get_outputs | grep DP-2 > /dev/null;
then
echo "changing to external display"
swaymsg output DP-2 enable scale 1
swaymsg output eDP-1 disable
else
echo "changing to internal display"
swaymsg output eDP-1 enable scale 1
swaymsg output DP-2 disable
fi