change date format to am-pm
This commit is contained in:
parent
4d792a19ef
commit
71d8b620dc
1 changed files with 4 additions and 4 deletions
|
@ -27,7 +27,7 @@ for i in "$@"; do
|
||||||
sleep_flag="set"
|
sleep_flag="set"
|
||||||
;;
|
;;
|
||||||
"--swaylock-only")
|
"--swaylock-only")
|
||||||
sw_effects="set"
|
sw_only="set"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
@ -42,7 +42,8 @@ option_sw_effects="-f \
|
||||||
--effect-vignette 0.6:1 \
|
--effect-vignette 0.6:1 \
|
||||||
--effect-blur 3x5 \
|
--effect-blur 3x5 \
|
||||||
--ring-color ff7f50 \
|
--ring-color ff7f50 \
|
||||||
--separator-color 000000ff"
|
--separator-color 000000ff \
|
||||||
|
--timestr %I:%M-%p"
|
||||||
|
|
||||||
|
|
||||||
option_sw=""
|
option_sw=""
|
||||||
|
@ -54,10 +55,9 @@ then
|
||||||
# no options_sw because I hadden't had time to add them.
|
# no options_sw because I hadden't had time to add them.
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${sw_effects}" == "set" ]
|
if [ "${sw_only}" == "set" ]
|
||||||
then
|
then
|
||||||
swaylock ${option_sw}
|
swaylock ${option_sw}
|
||||||
echo "ici"
|
|
||||||
else
|
else
|
||||||
swaylock ${option_sw_effects}
|
swaylock ${option_sw_effects}
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue