aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavan Jadhaw <pavanjadhaw96@gmail.com>2018-06-01 06:55:51 +0530
committerGitHub <noreply@github.com>2018-06-01 06:55:51 +0530
commite865c66cd7cc1463fdccd33708ae3b68c33a0b8f (patch)
treed7881d6574bec151b2bed9972d02e357ea885584
parent3b0e102c19b1e5278669ad7a814ef6a50fb9eaf1 (diff)
parent2e0a6dbcc340019f13f6981c9feb88794623a756 (diff)
Fix time position on multi-monitor setup
Without the x the time was showing only on the left-most monitor on multi-monitor setup
-rwxr-xr-xbetterlockscreen4
1 files changed, 2 insertions, 2 deletions
diff --git a/betterlockscreen b/betterlockscreen
index 4a60433..15fa94f 100755
--- a/betterlockscreen
+++ b/betterlockscreen
@@ -43,8 +43,8 @@ lock() {
foreground=ffffffff
i3lock \
-t -i "$1" \
- --timepos="110:h-70" \
- --datepos="135:h-45" \
+ --timepos="x+110:h-70" \
+ --datepos="x+135:h-45" \
--clock --datestr "Type password to unlock..." \
--insidecolor=$background --ringcolor=$foreground --line-uses-inside \
--keyhlcolor=$letterEnteredColor --bshlcolor=$letterRemovedColor --separatorcolor=$background \