From 300c58909d93328b6a310b7d377e11a52dd4cfcc Mon Sep 17 00:00:00 2001 From: yage Date: Tue, 24 May 2022 09:33:55 -0600 Subject: [PATCH] umbreon display changes --- bin/xorg/umbreon/homedock | 3 +++ bin/xorg/umbreon/runedock | 17 +++++++++++++++++ bin/xorg/umbreon/undock | 3 +++ 3 files changed, 23 insertions(+) create mode 100755 bin/xorg/umbreon/runedock diff --git a/bin/xorg/umbreon/homedock b/bin/xorg/umbreon/homedock index 082bc10..b16db50 100755 --- a/bin/xorg/umbreon/homedock +++ b/bin/xorg/umbreon/homedock @@ -12,5 +12,8 @@ xrandr \ --off \ ; +xset dpms 0 0 0 && xset s noblank && xset s off \ + && notify-send 'DPMS' 'disabled screen blank' + $DOTWRYN/bin/set-background random PLAY_SFX gamedock diff --git a/bin/xorg/umbreon/runedock b/bin/xorg/umbreon/runedock new file mode 100755 index 0000000..1df17f5 --- /dev/null +++ b/bin/xorg/umbreon/runedock @@ -0,0 +1,17 @@ +#!/bin/zsh +source ${0:a:h}/common + +xrandr \ + --output eDP-1 \ + --primary \ + --auto \ + --mode 1280x800 \ + --rotate normal \ + --pos 0x0 \ + ; + +xset dpms 0 0 0 && xset s noblank && xset s off \ + && notify-send 'DPMS' 'disabled screen blank' + +$DOTWRYN/bin/set-background random +PLAY_SFX gamedock diff --git a/bin/xorg/umbreon/undock b/bin/xorg/umbreon/undock index c142b33..050b597 100755 --- a/bin/xorg/umbreon/undock +++ b/bin/xorg/umbreon/undock @@ -12,5 +12,8 @@ xrandr \ --off \ ; +xset +dpms && xset s blank && xset s on \ + && notify-send 'DPMS' 'enabled screen blank' + $DOTWRYN/bin/set-background random PLAY_SFX gamedock