home/screen-locker: init
This commit is contained in:
parent
29c1fd0b89
commit
c5ceb25ab0
|
@ -43,6 +43,7 @@ in {
|
||||||
./services/mpd.nix
|
./services/mpd.nix
|
||||||
./services/picom.nix
|
./services/picom.nix
|
||||||
./services/polybar.nix
|
./services/polybar.nix
|
||||||
|
./services/screen-locker.nix
|
||||||
./services/stalonetray.nix
|
./services/stalonetray.nix
|
||||||
./services/sxhkd.nix
|
./services/sxhkd.nix
|
||||||
./services/copyq.nix
|
./services/copyq.nix
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
{ config, pkgs, lib, ... }:
|
||||||
|
{
|
||||||
|
services.screen-locker = {
|
||||||
|
enable = true;
|
||||||
|
lockCmd = lib.getExe pkgs.i3lock-fancy;
|
||||||
|
};
|
||||||
|
}
|
|
@ -50,6 +50,8 @@ in
|
||||||
|
|
||||||
# Misc
|
# Misc
|
||||||
|
|
||||||
|
"super + l" = "loginctl lock-session";
|
||||||
|
|
||||||
"super + a" = "${pkgs.copyq}/bin/copyq toggle";
|
"super + a" = "${pkgs.copyq}/bin/copyq toggle";
|
||||||
|
|
||||||
# fcitx "super + {b,n,m}" = "${pkgs.fcitx}/bin/fcitx-remote -s {mozc,fcitx-keyboard-no,fcitx-keyboard-us}";
|
# fcitx "super + {b,n,m}" = "${pkgs.fcitx}/bin/fcitx-remote -s {mozc,fcitx-keyboard-no,fcitx-keyboard-us}";
|
||||||
|
|
Loading…
Reference in New Issue