dotfiles-i3/.local/bin/i3-run

10 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)' && $@"