#!/bin/sh # This is to catch lock-session from systemd xss-lock lock & # No dpms xset -dpms # The idle timer is handled elsewhere echo "enable autolock" > ~/.autolock_status toggle_autolock # Monitor battery battery_monitor & # Automatic colour temperature adjustment for Baltimore redshift -l +39:-76 & # Compositor picom & # Monitor configuration srandrd display_handler if [ -n "$(xrandr | grep 'HDMI-1 connected')" ]; then SRANDRD_OUTPUT=HDMI-1 SRANDRD_EVENT=connected display_handler fi; exec dwm_status &