gentoo-dots/.config/X11/xinitrc

33 lines
679 B
Plaintext
Raw Normal View History

2023-04-30 17:36:12 +02:00
#!/bin/sh
# Enable Tear Free
xrandr --output eDP --set TearFree on
# Load xresources
xrdb --merge $HOME/.config/X11/xresources
# Disable mouse acceleration
xinput --set-prop 18 'libinput Accel Speed' 0
xinput --set-prop 18 'libinput Accel Profile Enabled' 0, 1
# 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/cowppuccin.png
# Run xmonad with dbus
exec dbus-launch --exit-with-session xmonad