aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dot_cwmrc.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/dot_cwmrc.tmpl b/dot_cwmrc.tmpl
index 0be32ee..d41ff90 100644
--- a/dot_cwmrc.tmpl
+++ b/dot_cwmrc.tmpl
@@ -9,7 +9,7 @@ autogroup 6 "pavucontrol", "Pavucontrol"
sticky yes
command term {{ if (eq .chezmoi.os "openbsd" ) -}}xterm{{ else }}urxvtc{{ end }}
-command lock "slock xset dpms force off"
+command lock {{ if (eq .chezmoi.os "openbsd") -}}"xlock -dpmsoff 1"{{ else }}"slock xset dpms force off"{{ end }}
command dpmsoff "xset dpms force off"
color activeborder "#ff7701"