Add screencfgs

This commit is contained in:
2020-12-14 13:53:33 +01:00
parent 36d601f30f
commit 57e24abfc1
4 changed files with 10 additions and 0 deletions

View File

@@ -38,3 +38,4 @@ environment:
MACHINE_HAS_RESTIC_BACKUP: "false"
MACHINE_HAS_SPOTIFY: "true"
MACHINE_HAS_TOUCHPAD: "false"
MACHINE_DEFAULT_SCREENPROFILE: "ares"

View File

@@ -142,6 +142,10 @@ run redshift redshift-gtk -c ~/.config/redshift.conf
run yubikey-touch-detector yubikey-touch-detector -libnotify
if [[ "${MACHINE_DEFAULT_SCREENPROFILE}" ]] ; then
run screencfg "$HOME/.screencfg/${MACHINE_DEFAULT_SCREENPROFILE}.sh"
fi
if [[ "${MACHINE_HAS_KEEPASSX}" == "true" ]] ; then
run keepassx keepassx --keyfile ~/.secret/main.key ~/.secret/main.kdbx
fi

View File

@@ -66,3 +66,5 @@ dotfiles:
to: .gtkrc-2.0
- from: qt/qt5ct.conf
to: .config/qt5ct/qt5ct.conf
- from: screencfg
to: .screencfg

3
screencfg/ares.sh Executable file
View File

@@ -0,0 +1,3 @@
#!/usr/bin/env bash
xrandr --output DisplayPort-0 --mode 2560x1440 --primary --rate 144.00 --set TearFree on