Hyprland: Add Hyprlock
This commit is contained in:
parent
709a3b9d6a
commit
19429f231f
4 changed files with 9 additions and 1 deletions
|
@ -120,6 +120,7 @@
|
||||||
"$mainMod, F, fullscreen, 0"
|
"$mainMod, F, fullscreen, 0"
|
||||||
"$mainMod SHIFT, F, fullscreen, 1"
|
"$mainMod SHIFT, F, fullscreen, 1"
|
||||||
", Print, exec, hyprshade off && grim -g \"$(slurp -w 0 -d -b 00000080)\" - | wl-copy && hyprshade on bluelight"
|
", Print, exec, hyprshade off && grim -g \"$(slurp -w 0 -d -b 00000080)\" - | wl-copy && hyprshade on bluelight"
|
||||||
|
"$mainMod, L, exec, hyprlock" # lockscreen
|
||||||
|
|
||||||
# Move focus with mainMod + arrow keys
|
# Move focus with mainMod + arrow keys
|
||||||
"$mainMod, left, movefocus, l"
|
"$mainMod, left, movefocus, l"
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
, pkgs
|
, pkgs
|
||||||
, ...
|
, ...
|
||||||
}: {
|
}: {
|
||||||
imports = [ ./config.nix ./variables.nix ];
|
imports = [ ./config.nix ./variables.nix ./hyprlock.nix];
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
hyprpicker # color picker
|
hyprpicker # color picker
|
||||||
wofi # dmenu replacement
|
wofi # dmenu replacement
|
||||||
|
|
5
home/features/desktop/hyprland/hyprlock.nix
Normal file
5
home/features/desktop/hyprland/hyprlock.nix
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
programs.hyprlock = { enable = true;
|
||||||
|
settings={};
|
||||||
|
};
|
||||||
|
}
|
|
@ -71,6 +71,8 @@
|
||||||
|
|
||||||
services.udev.packages = [pkgs.segger-jlink];
|
services.udev.packages = [pkgs.segger-jlink];
|
||||||
|
|
||||||
|
security.pam.services.hyprlock = { };
|
||||||
|
|
||||||
# environment.sessionVariables.QT_QPA_PLATFORM = "wayland";
|
# environment.sessionVariables.QT_QPA_PLATFORM = "wayland";
|
||||||
services.xserver.displayManager.gdm.enable = true;
|
services.xserver.displayManager.gdm.enable = true;
|
||||||
programs = {
|
programs = {
|
||||||
|
|
Loading…
Reference in a new issue