Doors/configs/x11/xprofile
2024-01-09 20:38:24 -05:00

29 lines
645 B
Bash
Executable file

#!/bin/sh
# This is called by xinitrc during x startup
# Run multi-monitor config if it exists
if [ -f ".screenlayout/default.sh" ]; then
. ".screenlayout/default.sh" &
fi
# Tint screen at night
redshift -l \
"$(curl -s "https://location.services.mozilla.com/v1/geolocate?key=geoclue" \
| sed 's/.*"lat": \(-\?[0-9.]*\).*"lng": \(-\?[0-9.]*\).*/\1:\2/')" &
# Password prompt popup
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
# Compositor
picom -b &
# Key repeat rate
xset r rate 200 100 &
# Hide mouse cursor after inactivity
unclutter &
# Make clipboard work
xclip &