Added comamnds to enable/disable screen saver

- change to laptop and enable screensaver
  - change to dock and disable screenaver
This commit is contained in:
Ben Vincent 2023-08-27 19:13:27 +10:00
parent 83fbb91d03
commit 2d6bcd9ff7
2 changed files with 4 additions and 0 deletions

View File

@ -1,2 +1,4 @@
#!/bin/sh
xrandr --output eDP --off --output DisplayPort-0 --off --output DisplayPort-1 --off --output DisplayPort-2 --mode 2560x1440 --pos 0x615 --rotate normal --output DisplayPort-3 --mode 2560x1440 --pos 2560x0 --rotate left --output DisplayPort-4 --off
xset s 0 0 -dpms
notify-send -t 3000 "Screensaver Disabled!"

View File

@ -1,2 +1,4 @@
#!/bin/sh
xrandr --output eDP --primary --mode 1920x1080 --pos 0x0 --rotate normal --output DisplayPort-0 --off --output DisplayPort-1 --off --output DisplayPort-2 --off --output DisplayPort-3 --off --output DisplayPort-4 --off
xset s 360 360 +dpms
notify-send -t 3000 "Screensaver Enabled!"