From 9429a86fcbd98ed2757d89ce29d675e93d454bf4 Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Wed, 6 Apr 2022 13:56:29 -0500 Subject: [PATCH] add autorandr configs --- .gitignore | 162 ++++++++++++++++++ home/.chezmoiignore | 1 + .../autorandr/default/config | 27 +++ .../autorandr/default/setup | 1 + .../autorandr/executable_postswitch | 3 + .../autorandr/mirror/config | 36 ++++ .../private_dot_config/autorandr/mirror/setup | 2 + home/private_dot_config/autorandr/work/config | 40 +++++ home/private_dot_config/autorandr/work/setup | 2 + 9 files changed, 274 insertions(+) create mode 100644 .gitignore create mode 100644 home/private_dot_config/autorandr/default/config create mode 100644 home/private_dot_config/autorandr/default/setup create mode 100644 home/private_dot_config/autorandr/executable_postswitch create mode 100644 home/private_dot_config/autorandr/mirror/config create mode 100644 home/private_dot_config/autorandr/mirror/setup create mode 100644 home/private_dot_config/autorandr/work/config create mode 100644 home/private_dot_config/autorandr/work/setup diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..dfe47f0 --- /dev/null +++ b/.gitignore @@ -0,0 +1,162 @@ + +# Created by https://www.toptal.com/developers/gitignore/api/python +# Edit at https://www.toptal.com/developers/gitignore?templates=python + +### Python ### +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] +*$py.class + +# C extensions +*.so + +# Distribution / packaging +.Python +build/ +develop-eggs/ +dist/ +downloads/ +eggs/ +.eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +wheels/ +share/python-wheels/ +*.egg-info/ +.installed.cfg +*.egg +MANIFEST + +# PyInstaller +# Usually these files are written by a python script from a template +# before PyInstaller builds the exe, so as to inject date/other infos into it. +*.manifest +*.spec + +# Installer logs +pip-log.txt +pip-delete-this-directory.txt + +# Unit test / coverage reports +htmlcov/ +.tox/ +.nox/ +.coverage +.coverage.* +.cache +nosetests.xml +coverage.xml +*.cover +*.py,cover +.hypothesis/ +.pytest_cache/ +cover/ + +# Translations +*.mo +*.pot + +# Django stuff: +*.log +local_settings.py +db.sqlite3 +db.sqlite3-journal + +# Flask stuff: +instance/ +.webassets-cache + +# Scrapy stuff: +.scrapy + +# Sphinx documentation +docs/_build/ + +# PyBuilder +.pybuilder/ +target/ + +# Jupyter Notebook +.ipynb_checkpoints + +# IPython +profile_default/ +ipython_config.py + +# pyenv +# For a library or package, you might want to ignore these files since the code is +# intended to run in multiple environments; otherwise, check them in: +# .python-version + +# pipenv +# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. +# However, in case of collaboration, if having platform-specific dependencies or dependencies +# having no cross-platform support, pipenv may install dependencies that don't work, or not +# install all needed dependencies. +#Pipfile.lock + +# poetry +# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control. +# This is especially recommended for binary packages to ensure reproducibility, and is more +# commonly ignored for libraries. +# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control +#poetry.lock + +# PEP 582; used by e.g. github.com/David-OConnor/pyflow +__pypackages__/ + +# Celery stuff +celerybeat-schedule +celerybeat.pid + +# SageMath parsed files +*.sage.py + +# Environments +.env +.venv +env/ +venv/ +ENV/ +env.bak/ +venv.bak/ + +# Spyder project settings +.spyderproject +.spyproject + +# Rope project settings +.ropeproject + +# mkdocs documentation +/site + +# mypy +.mypy_cache/ +.dmypy.json +dmypy.json + +# Pyre type checker +.pyre/ + +# pytype static type analyzer +.pytype/ + +# Cython debug symbols +cython_debug/ + +# PyCharm +# JetBrains specific template is maintained in a separate JetBrains.gitignore that can +# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore +# and can be added to the global gitignore or merged into this file. For a more nuclear +# option (not recommended) you can uncomment the following to ignore the entire idea folder. +#.idea/ + +# End of https://www.toptal.com/developers/gitignore/api/python + +# pdm +__pypackages__ diff --git a/home/.chezmoiignore b/home/.chezmoiignore index 9e63402..4009c08 100644 --- a/home/.chezmoiignore +++ b/home/.chezmoiignore @@ -4,4 +4,5 @@ bin/lock .xprofile .config/alacritty .config/leftwm +.config/autorandr {{- end }} diff --git a/home/private_dot_config/autorandr/default/config b/home/private_dot_config/autorandr/default/config new file mode 100644 index 0000000..95a8054 --- /dev/null +++ b/home/private_dot_config/autorandr/default/config @@ -0,0 +1,27 @@ +output DP1 +off +output DP2 +off +output DP3 +off +output DP4 +off +output HDMI1 +off +output HDMI2 +off +output HDMI3 +off +output VIRTUAL1 +off +output eDP1 +crtc 0 +mode 1920x1200 +pos 0x0 +primary +rate 60.00 +x-prop-broadcast_rgb Automatic +x-prop-colorspace Default +x-prop-max_bpc 12 +x-prop-non_desktop 0 +x-prop-scaling_mode Full aspect diff --git a/home/private_dot_config/autorandr/default/setup b/home/private_dot_config/autorandr/default/setup new file mode 100644 index 0000000..d57922a --- /dev/null +++ b/home/private_dot_config/autorandr/default/setup @@ -0,0 +1 @@ +eDP1 00ffffffffffff0026cf448c00000000001e0104a51e1378e3e9aaa7524c9c250e505400000001010101010101010101010101010101353c80a070b0234018306c002ebd10000019000000fd00303c3b4a0f010a202020202020000000fe00496e666f566973696f6e0a2020000000fe00523134304e573444205230200a00d4 diff --git a/home/private_dot_config/autorandr/executable_postswitch b/home/private_dot_config/autorandr/executable_postswitch new file mode 100644 index 0000000..e4dbebb --- /dev/null +++ b/home/private_dot_config/autorandr/executable_postswitch @@ -0,0 +1,3 @@ +#!/usr/bin/env bash +sleep 1 +leftwm-command "SoftReload" diff --git a/home/private_dot_config/autorandr/mirror/config b/home/private_dot_config/autorandr/mirror/config new file mode 100644 index 0000000..7077b98 --- /dev/null +++ b/home/private_dot_config/autorandr/mirror/config @@ -0,0 +1,36 @@ +output DP1 +off +output DP2 +off +output DP3 +off +output DP4 +off +output HDMI2 +off +output HDMI3 +off +output VIRTUAL1 +off +output eDP1 +crtc 0 +mode 1920x1080_60.00 +pos 0x0 +primary +rate 59.96 +x-prop-broadcast_rgb Automatic +x-prop-colorspace Default +x-prop-max_bpc 12 +x-prop-non_desktop 0 +x-prop-scaling_mode Full aspect +output HDMI1 +crtc 1 +mode 1920x1080 +pos 0x0 +rate 60.00 +x-prop-aspect_ratio Automatic +x-prop-audio auto +x-prop-broadcast_rgb Automatic +x-prop-colorspace Default +x-prop-max_bpc 12 +x-prop-non_desktop 0 diff --git a/home/private_dot_config/autorandr/mirror/setup b/home/private_dot_config/autorandr/mirror/setup new file mode 100644 index 0000000..438bd30 --- /dev/null +++ b/home/private_dot_config/autorandr/mirror/setup @@ -0,0 +1,2 @@ +HDMI1 00ffffffffffff000472180379a70772141b010380331d782a6275a3554fa027125054b30c00714f818081c081009500b300d1c00101023a801871382d40582c4500fd1e1100001e000000fd00324c1e5011000a202020202020000000ff004c58314141303034343231300a000000fc00416365722048323336484c0a2001ca02031a7147010312131f1004230907078301000065030c001000023a801871382d40582c4500fd1e1100001e011d007251d01e206e285500fd1e1100001e011d00bc52d01e20b8285540fd1e1100001e8c0ad090204031200c405500fd1e110000180000000000000000000000000000000000000000000000000000000000e5 +eDP1 00ffffffffffff0026cf448c00000000001e0104a51e1378e3e9aaa7524c9c250e505400000001010101010101010101010101010101353c80a070b0234018306c002ebd10000019000000fd00303c3b4a0f010a202020202020000000fe00496e666f566973696f6e0a2020000000fe00523134304e573444205230200a00d4 diff --git a/home/private_dot_config/autorandr/work/config b/home/private_dot_config/autorandr/work/config new file mode 100644 index 0000000..aee3062 --- /dev/null +++ b/home/private_dot_config/autorandr/work/config @@ -0,0 +1,40 @@ +output DP1 +off +output DP2 +off +output DP3 +off +output DP3-1 +off +output DP3-3 +off +output DP4 +off +output HDMI1 +off +output HDMI2 +off +output HDMI3 +off +output VIRTUAL1 +off +output DP3-2 +crtc 0 +mode 1920x1080 +pos 0x0 +primary +rate 60.00 +x-prop-audio auto +x-prop-broadcast_rgb Automatic +x-prop-max_bpc 12 +x-prop-non_desktop 0 +output eDP1 +crtc 1 +mode 1920x1200 +pos 1920x0 +rate 60.00 +x-prop-broadcast_rgb Automatic +x-prop-colorspace Default +x-prop-max_bpc 12 +x-prop-non_desktop 0 +x-prop-scaling_mode Full aspect diff --git a/home/private_dot_config/autorandr/work/setup b/home/private_dot_config/autorandr/work/setup new file mode 100644 index 0000000..ed5d8c0 --- /dev/null +++ b/home/private_dot_config/autorandr/work/setup @@ -0,0 +1,2 @@ +DP3-2 00ffffffffffff000469a42701010101101f0104a53c22783a2fa5a554509e27105054bfef00818081409500a940b300d1c001010101023a801871382d40582c450055502100001e000000fd00324c1e5311000a202020202020000000fc00564e3237390a20202020202020000000ff004d344c4d51533037393032300a0191020318f14b900504030201111213141f2309070783010000023a801871382d40582c450055502100001e662156aa51001e30468f330055502100001e011d007251d01e206e28550055502100001e8c0ad08a20e02d10103e9600555021000018011d8018711c1620582c250055502100009e0000000000000000000000000005 +eDP1 00ffffffffffff0026cf448c00000000001e0104a51e1378e3e9aaa7524c9c250e505400000001010101010101010101010101010101353c80a070b0234018306c002ebd10000019000000fd00303c3b4a0f010a202020202020000000fe00496e666f566973696f6e0a2020000000fe00523134304e573444205230200a00d4