File: execwith.sh

package info (click to toggle)
herbstluftwm 0.3-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 684 kB
  • sloc: ansic: 6,168; sh: 399; makefile: 117
file content (10 lines) | stat: -rwxr-xr-x 185 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

# exec a script $2... with settings from rc-file $1
# useful for various dmenu scripts, e.g.:
# ./execwith.sh ~/.bash_settings ./dmenu.sh use

source "$1"
shift
exec "$@"