diff --git a/dotfiles/hypr/hyprlock.conf b/dotfiles/hypr/hyprlock.conf new file mode 100644 index 0000000..54356d8 --- /dev/null +++ b/dotfiles/hypr/hyprlock.conf @@ -0,0 +1,49 @@ +background { + monitor = + path = /etc/nixos/dotfiles/hypr/rust.png +} + + +label { + monitor = + text = cmd[] echo "${USER^^}" + font_size = 25 + font_family = FiraCode Nerd Font Bold + color = rgba(255,255,255,1.0) + + position = -180, 100 + halign = right + valign = bottom +} + +label { + monitor = + text = cmd[update:1000] echo "$TIME" + font_size = 18 + font_family = FiraCode + color = rgba(255,255,255,1.0) + + position = -180, 80 + halign = right + valign = bottom +} + + +input-field { + monitor = + size = 300, 50 + outline_thickness = 3 + dots_size = 0.33 + dots_spacing = 0.15 + dots_rounding = -1 + outer_color = rgb(0,0,0) + inner_color = rgb(0,0,0) + font_color = rgb(255,255,255) + placeholder_text = password + hide_input = false + fade_on_empty = false + + position = 0, -200 + halign = center + valign = center +} diff --git a/hosts/default/home.nix b/hosts/default/home.nix index 5e8c1ea..272f7f6 100644 --- a/hosts/default/home.nix +++ b/hosts/default/home.nix @@ -208,8 +208,9 @@ wayland.windowManager.hyprland.settings = { bind = [ "$mod, T, exec, $terminal" + "$mod, L, exec, hyprlock" "$mod, Q, exec, $terminal" - "$mod, M, exit" + "$mod SHIFT, L, exit" "$mod, C, killactive" "$mod, E, exec, $fileManager" "$mod, V, exec, togglefloating" @@ -219,9 +220,8 @@ wayland.windowManager.hyprland.settings = { "$mod, U, fullscreen," "$mod, P, focuscurrentorlast," "$mod, P, movewindow,l" - "$mod, H, movefocus, l" - "$mod, L, movefocus, r" - "$mod, K, movefocus, u" + # "$mod, H, movefocus, l" + # "$mod, K, movefocus, u" "$mod, J, movefocus, d" "$mod, S, togglespecialworkspace, magic" "$mod SHIFT, S, movetoworkspace, special:magic"