mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-03-25 04:27:46 +01:00
changing scripts slightly
This commit is contained in:
parent
b61d3da860
commit
0130de12b4
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env sh
|
||||
#!/bin/bash
|
||||
# copying tex templates
|
||||
|
||||
[ -z "$2" ] && echo "missing argument: filename (no ending)" && return 1
|
||||
|
@ -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
.local/bin/private/stronghold
Executable file
3
.local/bin/private/stronghold
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
winetricks sandbox
|
||||
wine $WINEPREFIX/drive_c/Program\ Files/Stronghold\ Crusader\ Extreme/Stronghold_Crusader_Extreme.exe
|
3
.local/bin/private/swp_client
Executable file
3
.local/bin/private/swp_client
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
mvn exec:java -Dexec.mainClass="de.uol.swp.client.Main" -f ~/gitrepos/uniOldenburg/inf004swp/Client
|
3
.local/bin/private/swp_server
Executable file
3
.local/bin/private/swp_server
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
mvn exec:java -Dexec.mainClass="de.uol.swp.server.ServerApp" -f ~/gitrepos/uniOldenburg/inf004swp/Server
|
@ -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,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
|
||||
|
@ -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,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
# Toggle touchpad. Requires xf86-input-synaptics.
|
||||
# by lukesmithxyz, checkout github.com/lukesmithxyz/voidrice
|
||||
|
Loading…
x
Reference in New Issue
Block a user