dotfiles-i3/bin/i3-run
2019-11-16 16:14:10 +01:00

9 lines
277 B
Bash

#!/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)' && $@"