Browse Source

Small adjustments for new computer

Getty Ritter 8 years ago
parent
commit
2c613477ff
4 changed files with 6 additions and 6 deletions
  1. 1 1
      scripts/add-link
  2. 3 3
      scripts/adjust-screens
  3. 1 1
      scripts/ff-here
  4. 1 1
      scripts/pr-paper

+ 1 - 1
scripts/add-link

@@ -1,3 +1,3 @@
 #!/bin/sh
 
-LIB_REPO=/home/gdritter/Projects/sites/lib-data /home/gdritter/Projects/sites/lib-static/utils/add-link $@
+LIB_REPO=/home/gdritter/projects/sites/lib-data /home/gdritter/projects/sites/lib-static/utils/add-link $@

+ 3 - 3
scripts/adjust-screens

@@ -25,11 +25,11 @@ elif len(disps) == 1:
     args = ['xrandr', '--auto']
     invoke(args)
 elif len(disps) == 2:
-    other = (disps ^ set(['LVDS1'])).pop()
-    invoke(['xrandr', '--output', 'LVDS1', '--primary', '--left-of',
+    other = (disps ^ set(['eDP1'])).pop()
+    invoke(['xrandr', '--output', 'eDP1', '--primary', '--left-of',
             other, '--output', other, '--auto'])
 else:
     sys.stderr.write("more than two connected displays;\n")
     sys.stderr.write("unsure how to continue\n")
     sys.exit(1)
-invoke(['/home/gdritter/Pictures/ghibli/rand.sh'])
+# invoke(['/home/gdritter/Pictures/ghibli/rand.sh'])

+ 1 - 1
scripts/ff-here

@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 if [[ "$1" = /* ]]; then
 	firefox file://$1

+ 1 - 1
scripts/pr-paper

@@ -1,4 +1,4 @@
-#!/bin/sh -e
+#!/bin/bash -e
 
 if [ "$#" -lt "1" ]; then
 	APPNAME=$(basename $0)