add i3-run
This commit is contained in:
parent
b19a693fb0
commit
127e346631
2 changed files with 11 additions and 0 deletions
|
@ -1,4 +1,6 @@
|
|||
*
|
||||
!/bin
|
||||
!/bin/i3-run
|
||||
!/.config
|
||||
!/.config/i3
|
||||
!/.config/i3/config
|
||||
|
|
9
bin/i3-run
Normal file
9
bin/i3-run
Normal file
|
@ -0,0 +1,9 @@
|
|||
#!/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)' && $@"
|
Loading…
Reference in a new issue