2023-04-30 17:36:12 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
2023-08-23 19:51:32 +02:00
|
|
|
sudo ryzenadj-service &
|
|
|
|
|
2023-04-30 17:36:12 +02:00
|
|
|
# Enable Tear Free
|
|
|
|
xrandr --output eDP --set TearFree on
|
|
|
|
|
2023-10-22 10:45:51 +02:00
|
|
|
# Set disable screensaver and set dmps to 0
|
2023-08-23 19:51:32 +02:00
|
|
|
xset dpms 0 0 0
|
2023-10-22 10:45:51 +02:00
|
|
|
xset s off
|
|
|
|
xset s noblank
|
2023-08-23 19:51:32 +02:00
|
|
|
|
2023-04-30 17:36:12 +02:00
|
|
|
# Load xresources
|
2023-08-23 19:51:32 +02:00
|
|
|
xrdb $HOME/.config/X11/xresources
|
2023-04-30 17:36:12 +02:00
|
|
|
|
2023-08-23 19:51:32 +02:00
|
|
|
# Disable mouse acceleration and change sensitivity
|
|
|
|
mouse-settings
|
2023-04-30 17:36:12 +02:00
|
|
|
|
|
|
|
# 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
|
2023-08-23 19:51:32 +02:00
|
|
|
xwallpaper --stretch $HOME/pics/wallpapers/wawe.jpg
|
|
|
|
|
|
|
|
[ -f "$HOME/.cache/gaming.lock" ] && rm $HOME/.cache/gaming.lock
|
2023-04-30 17:36:12 +02:00
|
|
|
|
|
|
|
# Run xmonad with dbus
|
|
|
|
exec dbus-launch --exit-with-session xmonad
|