From 4711406ed082aae598d31f8f075e0e9f8d9b9156 Mon Sep 17 00:00:00 2001 From: hanez Date: Fri, 6 Sep 2024 13:27:58 +0200 Subject: [PATCH] Added screen config file and updated .gitignore. --- .config/screen.sh | 12 ++++++++++++ .gitignore | 7 ++++--- 2 files changed, 16 insertions(+), 3 deletions(-) create mode 100755 .config/screen.sh diff --git a/.config/screen.sh b/.config/screen.sh new file mode 100755 index 00000000..45bc9f8c --- /dev/null +++ b/.config/screen.sh @@ -0,0 +1,12 @@ +#!/bin/sh + +export DISPLAY=:0.0 + +xrandr --output DisplayPort-0 --mode 2560x1440 --pos 0x0 --rotate normal --output DisplayPort-1 --primary --mode 2560x1440 --pos 2560x0 --rotate normal --output DisplayPort-2 --mode 2560x1440 --pos 5120x0 --rotate normal --output HDMI-A-0 --off +#xrandr --output DisplayPort-0 --mode 2560x1440 --pos 0x0 --rotate normal --dpi 144 --output DisplayPort-1 --primary --mode 2560x1440 --pos 2560x0 --rotate normal --dpi 144 --output DisplayPort-2 --mode 2560x1440 --pos 5120x0 --rotate normal --dpi 144 --output HDMI-A-0 --off + +# Source: https://superuser.com/questions/644804/disable-screensaver-screen-blank-via-command-line +xset s off +xset s noblank +xset -dpms + diff --git a/.gitignore b/.gitignore index c30bd85f..8e67ad74 100644 --- a/.gitignore +++ b/.gitignore @@ -21,13 +21,14 @@ !.config/awesome/** .config/awesome/config.lua +!.emulationstation +!.emulationstation/es_systems.cfg + !.p10k.zsh !.config/powerline !.config/powerline/** -!.emulationstation -!.emulationstation/es_systems.cfg - +!.config/screen.sh !.config/user-dirs.dirs !.config/user-dirs.locale