Moar colors
This commit is contained in:
parent
0952eab0de
commit
f30dc1adc4
|
@ -1,2 +1,2 @@
|
|||
#!/bin/sh
|
||||
dmenu -fn 'DejaVu Sans Mono-10' -nb '#222222' -nf '#888888' -sb '#4E9C00' -sf '#FFFFFF' -l 8 -f -i -h 19 "$@"
|
||||
dmenu -fn 'DejaVu Sans Mono-10' -nb '#48483e' -nf '#f1ebeb' -sb '#8fc029' -sf '#272822' -l 8 -f -i -h 19 "$@"
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
#!/bin/bash
|
||||
if [ "$1" == 'root' ]; then
|
||||
a=" (root)"
|
||||
b="sudo -E "
|
||||
b="-t 'sudo -s'"
|
||||
fi
|
||||
machine=$(cat ~/.ssh/config | grep '^Host ' | cut -d ' ' -f 2 | grep -v '*' | sort | $HOME/.config/i3/dmenu_cmd -p "SSH$a to ")
|
||||
if [ ! -z $machine ]; then
|
||||
xterm -e "ssh $machine -t '${b}bash --login'"
|
||||
xterm -e "ssh $machine $b"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue