This commit is contained in:
fz0x1 2024-11-24 18:47:52 +01:00
parent b7591e4663
commit 1e64a7d670
16 changed files with 55 additions and 31 deletions

View file

@ -1,5 +0,0 @@
#!/usr/bin/env sh
pkill -u "$USER" -USR1 dunst
~/.config/i3/i3lock
pkill -u "$USER" -USR2 dunst

View file

@ -1,12 +0,0 @@
#!/usr/bin/env sh
connected_monitors=$(xrandr | grep " connected" | awk '{ print $1 }')
if echo "$connected_monitors" | grep -q "HDMI"; then
xrandr --output eDP-1 --off
xrandr --output HDMI-1-0 --mode 2560x1440 --rate 165.00 --dpi 120
# xrandr --output eDP-1 --left-of HDMI-1-0
xrandr --output HDMI-1-0 --primary
else
xrandr --output eDP-1 --mode 2560x1600 --rate 240.00 --dpi 160
fi