default.nix (1198B)
1 { 2 style, 3 user, 4 ... 5 }: 6 { 7 home-manager.users.${user} = { 8 wayland.windowManager.hyprland.settings.layerrule = [ 9 "blur on, ignore_alpha 0.19, dim_around on, match:namespace wayprompt" 10 ]; 11 12 programs.wayprompt = { 13 enable = true; 14 15 settings = { 16 general = { 17 font-regular = "${style.fonts.mono.family}:size=12"; 18 font-large = "${style.fonts.mono.family}:size=24"; 19 corner-radius = 10; 20 border = 0; 21 pin-square-amount = 32; 22 }; 23 24 colours = with style.colors; { 25 background = bg.hexRgba; 26 border = bg.hexRgba; 27 text = fg.hexRgba; 28 error-text = fg.hexRgba; 29 30 pin-background = bg.hexRgba; 31 pin-border = fg.hexRgba; 32 pin-square = fg.hexRgba; 33 34 ok-button = bg.hexRgba; 35 ok-button-border = fg.hexRgba; 36 ok-button-text = fg.hexRgba; 37 38 not-ok-button = bg.hexRgba; 39 not-ok-button-border = fg.hexRgba; 40 not-ok-button-text = fg.hexRgba; 41 42 cancel-button = bg.hexRgba; 43 cancel-button-border = fg.hexRgba; 44 cancel-button-text = fg.hexRgba; 45 }; 46 }; 47 }; 48 }; 49 }