mirror of
https://github.com/gryf/urxvt-wrapper.git
synced 2025-12-17 11:30:21 +01:00
Run urxvt in daemon mode.
This commit is contained in:
9
urxvt.sh
9
urxvt.sh
@@ -19,6 +19,13 @@ EXEC=''
|
|||||||
PERLEXT="url-select,keyboard-select,font-size,color-themes"
|
PERLEXT="url-select,keyboard-select,font-size,color-themes"
|
||||||
|
|
||||||
|
|
||||||
|
function rxvt {
|
||||||
|
urxvtc "$@"
|
||||||
|
if [ $? -eq 2 ]; then
|
||||||
|
urxvtd -q -o -f
|
||||||
|
urxvtc "$@"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
function usage {
|
function usage {
|
||||||
echo "Usage: $(basename "${0}") [options]"
|
echo "Usage: $(basename "${0}") [options]"
|
||||||
@@ -82,4 +89,4 @@ if [ -n "${EXEC}" ]; then
|
|||||||
args+=("-e" "${EXEC}")
|
args+=("-e" "${EXEC}")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
urxvt "${args[@]}"
|
rxvt "${args[@]}"
|
||||||
|
|||||||
Reference in New Issue
Block a user