gdritter repos GRUtils / 2c61347
Small adjustments for new computer Getty Ritter 8 years ago
4 changed file(s) with 6 addition(s) and 6 deletion(s). Collapse all Expand all
11 #!/bin/sh
22
3 LIB_REPO=/home/gdritter/Projects/sites/lib-data /home/gdritter/Projects/sites/lib-static/utils/add-link $@
3 LIB_REPO=/home/gdritter/projects/sites/lib-data /home/gdritter/projects/sites/lib-static/utils/add-link $@
2525 args = ['xrandr', '--auto']
2626 invoke(args)
2727 elif len(disps) == 2:
28 other = (disps ^ set(['LVDS1'])).pop()
29 invoke(['xrandr', '--output', 'LVDS1', '--primary', '--left-of',
28 other = (disps ^ set(['eDP1'])).pop()
29 invoke(['xrandr', '--output', 'eDP1', '--primary', '--left-of',
3030 other, '--output', other, '--auto'])
3131 else:
3232 sys.stderr.write("more than two connected displays;\n")
3333 sys.stderr.write("unsure how to continue\n")
3434 sys.exit(1)
35 invoke(['/home/gdritter/Pictures/ghibli/rand.sh'])
35 # invoke(['/home/gdritter/Pictures/ghibli/rand.sh'])
1 #!/bin/sh
1 #!/bin/bash
22
33 if [[ "$1" = /* ]]; then
44 firefox file://$1
1 #!/bin/sh -e
1 #!/bin/bash -e
22
33 if [ "$#" -lt "1" ]; then
44 APPNAME=$(basename $0)