44 lines
816 B
Bash
Executable File
44 lines
816 B
Bash
Executable File
#!/bin/sh
|
|
|
|
sudo ryzenadj-service &
|
|
|
|
# Enable Tear Free
|
|
xrandr --output eDP --set TearFree 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
|
|
|
|
# Hide the mouse after 5 seconds
|
|
unclutter --timeout 5 &
|
|
|
|
# Fix mouse cursor
|
|
xsetroot -cursor_name left_ptr
|
|
|
|
# Replace caps lock with escape
|
|
setxkbmap -option caps:escape
|
|
|
|
# Use the xresources settings
|
|
xrdb -merge $HOME/.Xresources
|
|
|
|
# Recompile xmonad
|
|
xmonad --recompile
|
|
|
|
# Set wallpaper
|
|
xwallpaper --stretch $HOME/pics/wallpapers/wawe.jpg
|
|
|
|
[ -f "$HOME/.cache/gaming.lock" ] && rm $HOME/.cache/gaming.lock
|
|
|
|
# Run xmonad with dbus
|
|
exec dbus-launch --exit-with-session xmonad
|