File: execwith.sh

package info (click to toggle)
herbstluftwm 0.6.2-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,248 kB
  • ctags: 1,516
  • sloc: ansic: 12,309; sh: 655; makefile: 180; python: 99
file content (9 lines) | stat: -rwxr-xr-x 184 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
#!/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 "$@"