2023-12-28 04:18:32 -05:00
|
|
|
#!/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
|
|
|
|
|
2024-01-01 06:31:22 -05:00
|
|
|
# Tint screen at night
|
|
|
|
redshift -l \
|
2024-01-09 20:38:24 -05:00
|
|
|
"$(curl -s "https://location.services.mozilla.com/v1/geolocate?key=geoclue" \
|
|
|
|
| sed 's/.*"lat": \(-\?[0-9.]*\).*"lng": \(-\?[0-9.]*\).*/\1:\2/')" &
|
2024-01-01 06:31:22 -05:00
|
|
|
|
|
|
|
# Password prompt popup
|
2023-12-30 21:00:57 -05:00
|
|
|
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
|
2024-01-01 06:31:22 -05:00
|
|
|
|
|
|
|
# Compositor
|
|
|
|
picom -b &
|
|
|
|
|
|
|
|
# Key repeat rate
|
|
|
|
xset r rate 200 100 &
|
|
|
|
|
|
|
|
# Hide mouse cursor after inactivity
|
|
|
|
unclutter &
|
|
|
|
|
|
|
|
# Make clipboard work
|
|
|
|
xclip &
|
|
|
|
|