dot

NixOS dotfiles
git clone https://git.echoz.io/dot.git
Log | Files | Refs

default.nix (1368B)


      1 {
      2   style,
      3   user,
      4   walker,
      5   ...
      6 }:
      7 {
      8   config.home-manager.users.${user} = {
      9     imports = [ walker.homeManagerModules.walker ];
     10 
     11     wayland.windowManager.hyprland.settings = {
     12       bind = [ "$mod, Escape, exec, uwsm app -- walker" ];
     13       layerrule = [ "blur on, ignore_alpha 0.19, dim_around on, match:namespace walker" ];
     14     };
     15 
     16     programs.walker = {
     17       enable = true;
     18       runAsService = true;
     19 
     20       config = {
     21         placeholders.default = {
     22           input = "Search...";
     23           list = "";
     24         };
     25         providers = {
     26           default = [ "desktopapplications" ];
     27           empty = [ "desktopapplications" ];
     28         };
     29         theme = "custom";
     30       };
     31 
     32       themes.custom = {
     33         style = ''
     34           * {
     35             background: none;
     36             border: none;
     37             box-shadow: none;
     38             color: #${style.colors.fg.hex};
     39             font-family: ${style.fonts.mono.family};
     40             font-size: 12pt;
     41             outline: none;
     42           }
     43 
     44           .box-wrapper {
     45             padding: 20px;
     46             border-radius: 20px;
     47             background: ${style.colors.bg.rgba};
     48           }
     49         '';
     50       };
     51 
     52       elephant = {
     53         installService = true;
     54         settings = {
     55           providers.desktopapplications = {
     56             launch_prefix = "uwsm app --";
     57           };
     58         };
     59       };
     60     };
     61   };
     62 }