summaryrefslogtreecommitdiff
path: root/features/user/gui/desktops/niri/parts/hyprlock.nix
diff options
context:
space:
mode:
authortriethyl <triethylammonium@pm.me>2025-09-02 10:48:21 -0400
committertriethyl <triethylammonium@pm.me>2025-09-02 10:48:21 -0400
commit31c316d19cd974bb81a5d6de62142ff24db1c78e (patch)
treecb941422c76cb8953830a8d58c8e14dca1a10319 /features/user/gui/desktops/niri/parts/hyprlock.nix
parent1c21018347aa277caba74e554cb8d1b1e7fc6bed (diff)
reorganized directory structure
Diffstat (limited to 'features/user/gui/desktops/niri/parts/hyprlock.nix')
-rwxr-xr-xfeatures/user/gui/desktops/niri/parts/hyprlock.nix46
1 files changed, 0 insertions, 46 deletions
diff --git a/features/user/gui/desktops/niri/parts/hyprlock.nix b/features/user/gui/desktops/niri/parts/hyprlock.nix
deleted file mode 100755
index f8a50e3..0000000
--- a/features/user/gui/desktops/niri/parts/hyprlock.nix
+++ /dev/null
@@ -1,46 +0,0 @@
-{ config, lib, pkgs, ... }: let
- cfg = config.features.gui.desktops.niri.parts.hyprlock;
-in {
- options.features.gui.desktops.niri.parts.hyprlock.enable = lib.mkEnableOption "hyprlock";
- config = lib.mkIf cfg.enable {
- home.packages = [(
- pkgs.writers.writeNuBin "nirilock" /*nu*/ ''
- niri msg action do-screen-transition --delay-ms 500
- systemctl suspend
- hyprlock
- ''
- )];
- programs.niri.settings.window-rules = [
- {
- matches = [{ title = "hyprlock"; }];
- draw-border-with-background = false;
- }
- ];
- programs.hyprlock = {
- enable = true;
- settings = {
- background = {
- monitor = "";
- path = "${config.aesthetics.wallpaper}";
- blur_passes = 0;
- blur_size = 5;
- };
- label = {
- text = "$TIME";
- font_size = 65;
- font_family = "Cantarell Bold";
-
- position = "0, 0";
- halign = "center";
- valign = "center";
- };
- input-field = {
- size = "250, 50";
- position = "0, -80";
- outline_thickness = 0;
- placeholder_text = "";
- };
- };
- };
- };
-}