home: show lock info only on the main display
This commit is contained in:
parent
8377423ec4
commit
624ce31ae7
2 changed files with 3 additions and 3 deletions
|
@ -20,7 +20,7 @@ in
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
services.betterlockscreen = {
|
services.betterlockscreen = {
|
||||||
enable = true;
|
enable = true;
|
||||||
arguments = [ "--" "-e" ];
|
arguments = [ "--display 1" "--" "-e" ];
|
||||||
inactiveInterval = 15;
|
inactiveInterval = 15;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -49,7 +49,7 @@ in
|
||||||
Service = {
|
Service = {
|
||||||
Type = "oneshot";
|
Type = "oneshot";
|
||||||
Environment = "PATH=/run/current-system/sw/bin";
|
Environment = "PATH=/run/current-system/sw/bin";
|
||||||
ExecStart = "${package}/bin/betterlockscreen --update ${config.home.homeDirectory}/pictures/wallpapers";
|
ExecStart = "${package}/bin/betterlockscreen --display 1 --update ${config.home.homeDirectory}/pictures/wallpapers";
|
||||||
};
|
};
|
||||||
|
|
||||||
Install = {
|
Install = {
|
||||||
|
|
|
@ -290,7 +290,7 @@ myKeys conf = mkKeymap conf $
|
||||||
|
|
||||||
|
|
||||||
-- Lock screen
|
-- Lock screen
|
||||||
, ("M4-l", spawn "betterlockscreen --lock -- -e")
|
, ("M4-l", spawn "betterlockscreen --lock --display 1 -- -e")
|
||||||
|
|
||||||
-- Change volume
|
-- Change volume
|
||||||
, ("<XF86AudioMute>", spawn "amixer -q sset Master toggle")
|
, ("<XF86AudioMute>", spawn "amixer -q sset Master toggle")
|
||||||
|
|
Loading…
Reference in a new issue