From 9910ae4c11a11389234170c1c9009376c855887e Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Fri, 24 Jan 2020 22:49:34 +0100 Subject: [PATCH] xss-lock switch to BSOD --- bin/xss-lock | 2 +- rc/rules.lua | 4 ++-- rc/tags.lua | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/xss-lock b/bin/xss-lock index 1330be6..0e5c12a 100755 --- a/bin/xss-lock +++ b/bin/xss-lock @@ -22,7 +22,7 @@ case "$1" in echo "notify: start" trap 'echo notify: user activity; kill %% 2> /dev/null; exit 0' HUP # user activity trap 'echo notify: locker started; kill %% 2> /dev/null; exit 0' TERM # locker started - /usr/lib/xscreensaver/barcode -clock24 & + /usr/lib/xscreensaver/bsod & wait echo "notify: end" ;; diff --git a/rc/rules.lua b/rc/rules.lua index e690883..d1fa465 100644 --- a/rc/rules.lua +++ b/rc/rules.lua @@ -14,8 +14,8 @@ awful.rules.rules = { { rule = { name = "i3lock" }, properties = { ontop = true } }, -- Apple2 - { rule = { class = "Barcode" }, - properties = { fullscreen = true, ontop = true, floating = true, sticky = true, opacity = 0.8 } }, + { rule = { class = "BSOD" }, + properties = { fullscreen = true, ontop = true, floating = true, sticky = true } }, -- Browser stuff { rule = { role = "browser" }, callback = function(c) diff --git a/rc/tags.lua b/rc/tags.lua index fb80e50..4aa96df 100644 --- a/rc/tags.lua +++ b/rc/tags.lua @@ -64,7 +64,7 @@ shifty.config.apps = { intrusive = true, -- Display even on exclusive tags }, { - match = { class = { "Key[-]mon", "Barcode" }, + match = { class = { "Key[-]mon", "BSOD" }, role = { "pop[-]up" }, name = { "Firebug" }, instance = { "plugin[-]container", "exe" } },