mirror of
https://github.com/gryf/urxvt-wrapper.git
synced 2026-11-26 07:16:54 +01:00
Run urxvt in daemon mode.
This commit is contained in:
1 parent
dd7225c6eb
commit
40c12d7671
1 file changed
+8
-1
@@ -19,6 +19,13 @@ EXEC=''
|
||||
PERLEXT="url-select,keyboard-select,font-size,color-themes"
|
||||
|
||||
|
||||
function rxvt {
|
||||
urxvtc "$@"
|
||||
if [ $? -eq 2 ]; then
|
||||
urxvtd -q -o -f
|
||||
urxvtc "$@"
|
||||
fi
|
||||
}
|
||||
|
||||
function usage {
|
||||
echo "Usage: $(basename "${0}") [options]"
|
||||
@@ -82,4 +89,4 @@ if [ -n "${EXEC}" ]; then
|
||||
args+=("-e" "${EXEC}")
|
||||
fi
|
||||
|
||||
urxvt "${args[@]}"
|
||||
rxvt "${args[@]}"
|
||||
Reference in new issue
Block a user