From 18ead61beaaa78d918189099622e3fc55066d494 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Sat, 24 Oct 2020 13:22:35 -0700 Subject: on hephaestus, rely on xfce4-power-manager to handle dpms At time of writing, have it set never to turn screen off, because that also turns speakers off. Maybe we should always use xfce4-power-manager for this? --- bin/i3-startup-always | 32 -------------------------------- 1 file changed, 32 deletions(-) diff --git a/bin/i3-startup-always b/bin/i3-startup-always index d7f77dea..61377c5b 100755 --- a/bin/i3-startup-always +++ b/bin/i3-startup-always @@ -81,35 +81,3 @@ if i3-wallpaper --check-have; then # else # feh --bg-tile ~/lib/img/diagmonds_2X.png fi - -# Set how long before automatic lock. We have the DPMS time and the -# automatic lock time set to the same value. -# -# I used to have have (e.g.) `xset s 150 180; xset dpms 1200 1200 0` -# with a --notifier option passed to xss-lock which used i3-nagbar to -# warn of an impending lock. This warning was necessary because -# xtrlock's visual feedback is low. However, when i3-nagbar (or, -# indeed, notify-send) is launched by xss-lock, they break the -# display of various windows until the mouse is moved around. This -# problem does not occur if I launch i3-nagbar from a terminal window. -# In that case, everything gets redrawn as it should be. -# -# So instead, we wait to lock the screen until the point at which we -# are blanking it for power saving. The screen going blank is -# sufficient visual feedback. -# -# If my screen actually needs locking, I always just do that manually, -# so this is only a fallback, in any case. -# -# Changes to these values should be kept in sync with comproc.org -# notes for configuring xfce4-power-manager -xset s default -if in-develacc; then - xset s 0 - xset dpms 0 0 0 - xset -dpms -else - xset s 1200 - xset dpms 1200 1200 1200 - xset +dpms -fi -- cgit v1.2.3