1
0
mirror of https://github.com/kmein/niveum synced 2026-03-20 20:01:08 +01:00

xautolock: fick locker script

This commit is contained in:
Kierán Meinhardt
2019-06-17 19:10:42 +02:00
parent 8f7953e598
commit da297039cd
4 changed files with 18 additions and 8 deletions

View File

@@ -1,15 +1,14 @@
{ config, pkgs, lib, ... }:
let
xlockModes = lib.concatStringsSep "\\n" [
"braid"
# "braid"
"galaxy"
"lightning"
"matrix"
# "matrix"
"pyro2"
"space"
"star"
];
my-xlock = pkgs.unstable.writers.writeDash "xlock" ''
my-xlock = pkgs.unstable.writers.writeDashBin "xlock" ''
MODE=$(printf "${xlockModes}" | shuf -n 1)
${pkgs.xlockmore}/bin/xlock \