Swayscript : Add default pring outputs.
This commit is contained in:
parent
54d6370d1a
commit
97645805aa
|
@ -29,7 +29,7 @@
|
|||
|
||||
function _monstate() {
|
||||
if [[ "''${1}" = "" ]]; then
|
||||
cat /tmp/.monstate 2> /dev/null
|
||||
cat /tmp/.monstate 2> /dev/null || echo on
|
||||
else
|
||||
echo "''${*}" > /tmp/.monstate
|
||||
fi
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
|
||||
function _vrrstate() {
|
||||
if [[ "''${1}" = "" ]]; then
|
||||
cat /tmp/.vrrstate 2> /dev/null
|
||||
cat /tmp/.vrrstate 2> /dev/null || off
|
||||
else
|
||||
echo "''${*}" > /tmp/.vrrstate
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue