AlLows i3-shell command to take command option
This commit is contained in:
parent
08b720dff9
commit
804b3394f7
1 changed files with 11 additions and 7 deletions
|
@ -6,6 +6,10 @@
|
|||
CMD=$TERMINAL
|
||||
CWD=''
|
||||
|
||||
if [ ! -z "$1" ]; then
|
||||
CMD="${CMD} -e $1"
|
||||
fi;
|
||||
|
||||
# Get window ID
|
||||
ID=$(xdpyinfo | grep focus | cut -f4 -d " ")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue