dotfiles-i3/bin/i3-run
2019-12-03 23:30:15 +01:00

9 lines
277 B
Bash
Executable file

#!/bin/sh
# stolen from https://r0tty.org/git/dotfiles/i3
# Make i3 spawn a program, in the current working directory. This is
# useful for running GUI apps from a terminal without cluttering the
# terminal with their output.
exec i3-msg -t command exec "cd '$(pwd)' && $@"