From a0df318a67ca283e14cebe53730a86dd26aed507 Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Wed, 12 Jan 2022 11:28:28 -0500 Subject: xlock instead of slock on openbsd --- dot_cwmrc.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- cgit v1.2.3