44 lines
881 B
Bash
Executable File
44 lines
881 B
Bash
Executable File
#!/bin/sh
|
|
|
|
ryzenctl normal
|
|
|
|
# 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
|
|
|
|
# Load xresources
|
|
xrdb "$HOME"/.config/X11/xresources
|
|
|
|
# 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
|
|
[ -f "$HOME/.cache/dk.lock" ] && rm "$HOME"/.cache/dk.lock
|
|
|
|
# Run xmonad with dbus
|
|
exec dbus-launch --exit-with-session xmonad
|
|
# Run dk with dbus
|
|
# exec dbus-launch --exit-with-session dk
|