diff --git a/dotfiles/config/hypr/hyprland.conf b/dotfiles/config/hypr/hyprland.conf index bde733c..36f6b7f 100644 --- a/dotfiles/config/hypr/hyprland.conf +++ b/dotfiles/config/hypr/hyprland.conf @@ -104,7 +104,7 @@ animations { animation = windows, 1, 2, easeInOut animation = windowsIn, 1, 2, easeInOut, slide - animation = windowsOut, 1, 2, default, popin 80% + animation = windowsOut, 1, 2, easeInOut, slide animation = fade, 1, 2, easeInOut animation = workspaces, 1, 2, easeOut } @@ -231,6 +231,9 @@ bindl = , XF86AudioPause, exec, playerctl play-pause bindl = , XF86AudioPlay, exec, playerctl play-pause bindl = , XF86AudioPrev, exec, playerctl previous +# lock +bindl = , XF86Launch1, exec, hyprlock + ############################## ### WINDOWS AND WORKSPACES ### ############################## diff --git a/dotfiles/config/hypr/hyprlock.conf b/dotfiles/config/hypr/hyprlock.conf new file mode 100644 index 0000000..e91322a --- /dev/null +++ b/dotfiles/config/hypr/hyprlock.conf @@ -0,0 +1,23 @@ +general{ + no_fade_out = true + ignore_empty_input = true +} + +background { + monitor = + path = ~/.config/nitrogen/wallpaper.png + blur_passes = 1 +} + +input-field { + monitor = + size=300, 50 + dot_size = 0.2 + dots_fade_time = 100 + inner_color = rgb(139,89,100) + outer_color = rgb(139,89,100) + outline_thickness = 1 + + fail_transition = 300 + fail_text = learn to write, idiot +} diff --git a/flake.lock b/flake.lock deleted file mode 100644 index f38ad75..0000000 --- a/flake.lock +++ /dev/null @@ -1,104 +0,0 @@ -{ - "nodes": { - "firefox-addons": { - "inputs": { - "flake-utils": "flake-utils", - "nixpkgs": [ - "nixpkgs" - ] - }, - "locked": { - "dir": "pkgs/firefox-addons", - "lastModified": 1729491205, - "narHash": "sha256-luvUK8ZTRTdsVao7VqnxvGEvA3rjEmfiwakDyHxQhx8=", - "owner": "rycee", - "repo": "nur-expressions", - "rev": "9764579885c84ba5d4bcd9d3061409a527ff805c", - "type": "gitlab" - }, - "original": { - "dir": "pkgs/firefox-addons", - "owner": "rycee", - "repo": "nur-expressions", - "type": "gitlab" - } - }, - "flake-utils": { - "locked": { - "lastModified": 1629284811, - "narHash": "sha256-JHgasjPR0/J1J3DRm4KxM4zTyAj4IOJY8vIl75v/kPI=", - "owner": "numtide", - "repo": "flake-utils", - "rev": "c5d161cc0af116a2e17f54316f0bf43f0819785c", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "flake-utils", - "type": "github" - } - }, - "home-manager": { - "inputs": { - "nixpkgs": [ - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1729459288, - "narHash": "sha256-gBOVJv+q6Mx8jGvwX7cE6J8+sZmi1uxpRVsO7WxvVuQ=", - "owner": "nix-community", - "repo": "home-manager", - "rev": "1e27f213d77fc842603628bcf2df6681d7d08f7e", - "type": "github" - }, - "original": { - "owner": "nix-community", - "repo": "home-manager", - "type": "github" - } - }, - "nixos-hardware": { - "locked": { - "lastModified": 1729509737, - "narHash": "sha256-8OHgqz+tFo21h3hg4/GHizFPws+MMzpEru/+62Z0E8c=", - "owner": "NixOS", - "repo": "nixos-hardware", - "rev": "cc2d3c0e060f981905d52337340ee6ec8b8eb037", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "master", - "repo": "nixos-hardware", - "type": "github" - } - }, - "nixpkgs": { - "locked": { - "lastModified": 1729256560, - "narHash": "sha256-/uilDXvCIEs3C9l73JTACm4quuHUsIHcns1c+cHUJwA=", - "owner": "nixos", - "repo": "nixpkgs", - "rev": "4c2fcb090b1f3e5b47eaa7bd33913b574a11e0a0", - "type": "github" - }, - "original": { - "owner": "nixos", - "ref": "nixos-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, - "root": { - "inputs": { - "firefox-addons": "firefox-addons", - "home-manager": "home-manager", - "nixos-hardware": "nixos-hardware", - "nixpkgs": "nixpkgs" - } - } - }, - "root": "root", - "version": 7 -} diff --git a/home.nix b/home.nix index 2ce8b3c..dbcd607 100644 --- a/home.nix +++ b/home.nix @@ -6,7 +6,7 @@ # By: tomoron +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # Created: 2024/10/17 18:15:38 by tomoron #+# #+# # -# Updated: 2024/10/24 02:09:16 by tomoron ### ########.fr # +# Updated: 2024/10/24 15:53:56 by tomoron ### ########.fr # # # # **************************************************************************** # @@ -45,11 +45,13 @@ brightnessctl playerctl swaybg + hyprlock ]; home.file = { ".config/bspwm/bspwmrc".source = dotfiles/config/bspwm/bspwmrc; ".config/hypr/hyprland.conf".source = dotfiles/config/hypr/hyprland.conf; + ".config/hypr/hyprlock.conf".source = dotfiles/config/hypr/hyprlock.conf; ".config/waybar/config".source = dotfiles/config/waybar/config; ".config/waybar/style.css".source = dotfiles/config/waybar/style.css; ".config/sxhkd".source = lib.mkDefault dotfiles/config/sxhkd;