Created
February 21, 2018 21:27
-
-
Save grahamc/3c26dd37c619e4f34f6304a1e066c8a5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[1] grahamc@Morbo> cat /nix/store/r6fx7f861dba25mks70lcidwjc9hxqdi-autorandr-1.1/lib/systemd/system/autorandr.service | |
[Unit] | |
Description=autorandr execution hook | |
After=sleep.target | |
# Note: StartLimitInterval was renamed to StartLimitIntervalSec in systemd-230. | |
# See autorandr bug #69. Do not rename for now, as the old name is kept for | |
# compatibility. | |
StartLimitInterval=5 | |
StartLimitBurst=1 | |
[Service] | |
ExecStart=/nix/store/r6fx7f861dba25mks70lcidwjc9hxqdi-autorandr-1.1/bin/autorandr --batch --change --default default | |
Type=oneshot | |
RemainAfterExit=false | |
[Install] | |
WantedBy=sleep.target | |
[130] grahamc@Morbo> ~ | |
[130] grahamc@Morbo> cat /nix/store/r6fx7f861dba25mks70lcidwjc9hxqdi-autorandr-1.1/bin/autorandr ~ | |
#! /nix/store/jgw8hxx7wzkyhb2dr9hwsd9h2caaasdc-bash-4.4-p12/bin/bash -e | |
export PATH=/nix/store/wngnwx7jjqwi0lqmh2m5radh58nhcira-xrandr-1.5.0/bin${PATH:+:}$PATH | |
exec -a "$0" "/nix/store/r6fx7f861dba25mks70lcidwjc9hxqdi-autorandr-1.1/bin/.autorandr-wrapped" "${extraFlagsArray[@]}" "$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment