summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2020-10-24 13:22:35 -0700
committerSean Whitton <spwhitton@spwhitton.name>2020-10-24 13:23:40 -0700
commit18ead61beaaa78d918189099622e3fc55066d494 (patch)
tree15c8ae7d9a3edf644741e6151ecb212a903a8844
parent2d9fadda528fb4b0a8b63b63909a3cec39cf517f (diff)
downloaddotfiles-archive/hephaestus.tar.gz
on hephaestus, rely on xfce4-power-manager to handle dpmsarchive/hephaestus
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?
-rwxr-xr-xbin/i3-startup-always32
1 files changed, 0 insertions, 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