add i3-run

This commit is contained in:
finga 2019-11-16 16:14:10 +01:00
parent b19a693fb0
commit 127e346631
2 changed files with 11 additions and 0 deletions

View file

@ -1,4 +1,6 @@
* *
!/bin
!/bin/i3-run
!/.config !/.config
!/.config/i3 !/.config/i3
!/.config/i3/config !/.config/i3/config

9
bin/i3-run Normal file
View 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)' && $@"