Added screen config file and updated .gitignore.

This commit is contained in:
Johannes Findeisen 2024-09-06 13:27:58 +02:00
commit 4711406ed0
2 changed files with 16 additions and 3 deletions

12
.config/screen.sh Executable file
View file

@ -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

7
.gitignore vendored
View file

@ -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