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