Adds "simple" shell for keybinding
I have been experimenting with running a terminal on a black and white e-ink display. A lot of things are difficult to see when converted from colour to black and white.
Šis iesūtījums ir iekļauts:
vecāks
fcbd5f3637
iesūtījums
081c3bfeb4
1 izmainītas datnes ar 13 papildinājumiem un 1 izdzēšanām
|
@ -5,9 +5,21 @@
|
|||
|
||||
CMD=$TERMINAL
|
||||
CWD=''
|
||||
SIMPLE=''
|
||||
|
||||
if [ ! -z "$1" ]; then
|
||||
export initialCommand="$1"
|
||||
while [ "$#" -gt 0 ]; do
|
||||
case "$1" in
|
||||
--simple|-s)
|
||||
export SIMPLE=1
|
||||
export NO_COLOR=1
|
||||
shift
|
||||
;;
|
||||
*)
|
||||
export initialCommand="$1"
|
||||
break
|
||||
esac
|
||||
done
|
||||
fi;
|
||||
|
||||
# Get window ID
|
||||
|
|
Notiek ielāde…
Pievienot tabulu
Pievienot saiti
Atsaukties jaunā pieteikumā