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