changing scripts slightly

This commit is contained in:
2020-05-04 10:53:44 +02:00
parent 96b8fd6911
commit b9b08a77ea
9 changed files with 15 additions and 6 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/env sh
#!/bin/bash
# copying tex templates
[ -z "$2" ] && echo "missing argument: filename (no ending)" && return 1
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
active=$(nmcli connection show --active | grep vpn | cut -d' ' -f1)
[[ ! -z "$active" ]] && { prompt "disconnect from $active?" || exit 1; }
+3
View File
@@ -0,0 +1,3 @@
#!/bin/sh
winetricks sandbox
wine $WINEPREFIX/drive_c/Program\ Files/Stronghold\ Crusader\ Extreme/Stronghold_Crusader_Extreme.exe
+3
View File
@@ -0,0 +1,3 @@
#!/bin/sh
mvn exec:java -Dexec.mainClass="de.uol.swp.client.Main" -f ~/gitrepos/uniOldenburg/inf004swp/Client
+3
View File
@@ -0,0 +1,3 @@
#!/bin/sh
mvn exec:java -Dexec.mainClass="de.uol.swp.server.ServerApp" -f ~/gitrepos/uniOldenburg/inf004swp/Server
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/zsh
#!/bin/bash
# for showing the diffs to the master branch of a git directory according to my suckless patch structure
# e.g. see dwm/st/etc
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/zsh
#!/bin/bash
# for merging all branches into the master branch of a git directory according to my suckless patch structure
# e.g. see dwm/st/etc
+1 -1
View File
@@ -4,7 +4,7 @@
# by lukesmithxyz, checkout github.com/lukesmithxyz/voidrice
intern=LVDS-1
extern=HDMI-1
extern=HDMI-2
(xrandr | grep "$extern disconnected")
(xrandr --listactivemonitors | grep $extern) || ((xrandr --output $extern --right-of $intern --auto && setbg) & exit)
(xrandr --listactivemonitors | grep $extern) && xrandr --output $extern --off
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
# Toggle touchpad. Requires xf86-input-synaptics.
# by lukesmithxyz, checkout github.com/lukesmithxyz/voidrice