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"
|
||||
;;
|
||||
"--swaylock-only")
|
||||
sw_effects="set"
|
||||
sw_only="set"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
@ -42,7 +42,8 @@ option_sw_effects="-f \
|
|||
--effect-vignette 0.6:1 \
|
||||
--effect-blur 3x5 \
|
||||
--ring-color ff7f50 \
|
||||
--separator-color 000000ff"
|
||||
--separator-color 000000ff \
|
||||
--timestr %I:%M-%p"
|
||||
|
||||
|
||||
option_sw=""
|
||||
|
@ -54,10 +55,9 @@ then
|
|||
# no options_sw because I hadden't had time to add them.
|
||||
fi
|
||||
|
||||
if [ "${sw_effects}" == "set" ]
|
||||
if [ "${sw_only}" == "set" ]
|
||||
then
|
||||
swaylock ${option_sw}
|
||||
echo "ici"
|
||||
else
|
||||
swaylock ${option_sw_effects}
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue