Small adjustments for new computer
Getty Ritter
9 years ago
1 | 1 |
#!/bin/sh
|
2 | 2 |
|
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 $@
|
25 | 25 |
args = ['xrandr', '--auto']
|
26 | 26 |
invoke(args)
|
27 | 27 |
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',
|
30 | 30 |
other, '--output', other, '--auto'])
|
31 | 31 |
else:
|
32 | 32 |
sys.stderr.write("more than two connected displays;\n")
|
33 | 33 |
sys.stderr.write("unsure how to continue\n")
|
34 | 34 |
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
|
2 | 2 |
|
3 | 3 |
if [[ "$1" = /* ]]; then
|
4 | 4 |
firefox file://$1
|
1 | |
#!/bin/sh -e
|
| 1 |
#!/bin/bash -e
|
2 | 2 |
|
3 | 3 |
if [ "$#" -lt "1" ]; then
|
4 | 4 |
APPNAME=$(basename $0)
|