aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@rak.ac>2022-01-12 11:28:28 -0500
committerRyan Kavanagh <rak@rak.ac>2022-01-12 11:28:28 -0500
commita0df318a67ca283e14cebe53730a86dd26aed507 (patch)
treee3eae7daec6c7e6c75b0f413e5dc0d4ffd36745b
parentxconsole group 0 (diff)
xlock instead of slock on openbsd
-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"