This commit is contained in:
Gregor Feierabend 2021-09-21 22:20:07 +02:00
parent 04aa07a158
commit a21c23ab41
2 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,2 @@
#!/bin/bash
#TODO: add support for more parameters :D
urxvt -e tmux new $1' '$2' '$3'; $SHELL'
urxvt -e tmux new "$*"'; $SHELL'

View File

@ -0,0 +1,4 @@
#!/bin/bash
CMD=$(echo $1 | awk '{print \
gensub(/(file:\/\/)?(.*)/, "\\2", "g")}' -)
~/.local/bin/spawn_urxvt_tmux.sh vifm $CMD