From 64de56b9fef4089c1ff6f45372384db50f473feb Mon Sep 17 00:00:00 2001 From: CronyAkatsuki Date: Mon, 8 Jan 2024 16:21:00 +0100 Subject: [PATCH] General update. --- .config/X11/xinitrc | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/.config/X11/xinitrc b/.config/X11/xinitrc index c92374a..1d9971e 100755 --- a/.config/X11/xinitrc +++ b/.config/X11/xinitrc @@ -2,22 +2,19 @@ sudo ryzenadj-service & -# Enable Tear Free -xrandr --output eDP --set TearFree on +# disbale laptop monitor if external is connected +external-monitor.sh + +# toggle tear-free on +toggle-xrandr on # Set disable screensaver and set dmps to 0 xset dpms 0 0 0 xset s off xset s noblank -# set scaling to 1.25 -xrandr --dpi 120 - # Load xresources -xrdb $HOME/.config/X11/xresources - -# Disable mouse acceleration and change sensitivity -mouse-settings +xrdb "$HOME"/.config/X11/xresources # Hide the mouse after 5 seconds unclutter --timeout 5 & @@ -29,15 +26,15 @@ xsetroot -cursor_name left_ptr setxkbmap -option caps:escape # Use the xresources settings -xrdb -merge $HOME/.Xresources +xrdb -merge "$HOME"/.Xresources # Recompile xmonad xmonad --recompile # Set wallpaper -xwallpaper --stretch $HOME/pics/wallpapers/wawe.jpg +xwallpaper --stretch "$HOME"/pics/wallpapers/wawe.jpg -[ -f "$HOME/.cache/gaming.lock" ] && rm $HOME/.cache/gaming.lock +[ -f "$HOME/.cache/gaming.lock" ] && rm "$HOME"/.cache/gaming.lock # Run xmonad with dbus exec dbus-launch --exit-with-session xmonad