fully switch to hyprlock :3

This commit is contained in:
jacekpoz 2024-03-19 23:56:54 +01:00
parent 8f2c60757a
commit c799dd663c
Signed by: poz
SSH key fingerprint: SHA256:JyLeVWE4bF3tDnFeUpUaJsPsNlJyBldDGV/dIKSLyN8
4 changed files with 3 additions and 5 deletions

View file

@ -214,7 +214,6 @@
enableStable = false;
};
neovim.enable = true;
swaylock.enable = true;
zathura.enable = true;
hypr = {
land.enable = true;

View file

@ -177,7 +177,6 @@
enableStable = true;
};
neovim.enable = true;
swaylock.enable = true;
zathura.enable = true;
hypr = {
land = {

View file

@ -12,11 +12,12 @@
isAmdGpuPresent = elem "amdgpu" config.boot.initrd.kernelModules;
inherit (inputs.nixpkgs-wayland.packages.${pkgs.system}) foot wl-clipboard swww wlsunset swaylock;
inherit (inputs.nixpkgs-wayland.packages.${pkgs.system}) foot wl-clipboard swww wlsunset;
inherit (inputs.anyrun.packages.${pkgs.system}) anyrun;
hyprcontrib = inputs.hyprcontrib.packages.${pkgs.system};
inherit (inputs.shadower.packages.${pkgs.system}) shadower;
inherit (inputs.hyprland.packages.${pkgs.system}) hyprland;
inherit (inputs.hyprlock.packages.${pkgs.system}) hyprlock;
in {
options.myOptions.programs.hypr.land = {
enable = mkEnableOption "enable hiper ląd";
@ -329,7 +330,7 @@ in {
(mkIf config.services.asusd.enable
"$mainMod, R, togglespecialworkspace, rog")
"$mainMod, X, togglespecialworkspace, keepassxc"
"$mainMod, C, exec, ${swaylock}/bin/swaylock"
"$mainMod, C, exec, ${hyprlock}/bin/hyprlock"
# toggle waybar
"$mainMod CONTROL, B, exec, ${pkgs.procps}/bin/pkill waybar || waybar"

View file

@ -7,7 +7,6 @@
enable = true;
powerDownCommands = ''
${pkgs.mpc-cli}/bin/mpc pause
${inputs.nixpkgs-wayland.packages.${pkgs.system}.swaylock-effects}/bin/swaylock
${pkgs.coreutils-full}/bin/sleep 1
'';
powerUpCommands = ''