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