fix: laptopscreen 240 -> 60 hz

This commit is contained in:
AngeD 2023-01-08 01:42:31 +01:00
parent a0f286f006
commit e62e15c40b

View File

@ -17,9 +17,13 @@ xinput set-prop 'pointer:Logitech G903' 'libinput Accel Profile Enabled' 0, 1
) )
# display # display
xrandr \ (
--output eDP-1 --pos 0x0 --mode 1920x1080 --rate 60 --primary \ LAPTOP_SCREEN="$(xrandr --listmonitors | grep eDP | awk '{print $4}')"
--output DisplayPort-1-2 --pos 1920x0 --auto \
xrandr --output "${LAPTOP_SCREEN}" --mode 1920x1080 --rate 60 --primary
)
xrandr \
--output DisplayPort-1-2 --pos 1920x0 --auto \
--output DisplayPort-1-1 --pos 3840x0 --auto --output DisplayPort-1-1 --pos 3840x0 --auto
# startup # startup
@ -27,7 +31,6 @@ xrandr \
picom & picom &
redshift & redshift &
feh --bg-tile "$XDG_CONFIG_HOME/wallpapers/landscape.png" --no-fehbg feh --bg-tile "$XDG_CONFIG_HOME/wallpapers/landscape.png" --no-fehbg
nm-applet &
dunst & dunst &
xset dpms 300 15 # dim 5m, lock 5m15s xset dpms 300 15 # dim 5m, lock 5m15s