Fix time position on multi-monitor setup

Without the x the time was showing only on the left-most monitor on multi-monitor setup
This commit is contained in:
Pavan Jadhaw 2018-06-01 06:55:51 +05:30 committed by GitHub
commit e865c66cd7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -43,8 +43,8 @@ lock() {
foreground=ffffffff foreground=ffffffff
i3lock \ i3lock \
-t -i "$1" \ -t -i "$1" \
--timepos="110:h-70" \ --timepos="x+110:h-70" \
--datepos="135:h-45" \ --datepos="x+135:h-45" \
--clock --datestr "Type password to unlock..." \ --clock --datestr "Type password to unlock..." \
--insidecolor=$background --ringcolor=$foreground --line-uses-inside \ --insidecolor=$background --ringcolor=$foreground --line-uses-inside \
--keyhlcolor=$letterEnteredColor --bshlcolor=$letterRemovedColor --separatorcolor=$background \ --keyhlcolor=$letterEnteredColor --bshlcolor=$letterRemovedColor --separatorcolor=$background \