home/natto: added tofi config, changed hyprland config + webcord
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
		@@ -1,4 +1,4 @@
 | 
			
		||||
{ pkgs, config, ... }:
 | 
			
		||||
{ pkgs, config, colors, ... }:
 | 
			
		||||
{
 | 
			
		||||
  wayland = {
 | 
			
		||||
    windowManager = {
 | 
			
		||||
@@ -12,9 +12,42 @@
 | 
			
		||||
          hidpi = true;
 | 
			
		||||
        };
 | 
			
		||||
        nvidiaPatches = true;
 | 
			
		||||
        extraConfig = builtins.readFile ./config/hypr/hyprland.conf;
 | 
			
		||||
        extraConfig = (builtins.readFile ./config/hypr/hyprland.conf)
 | 
			
		||||
          + (with config.home.pointerCursor; ''
 | 
			
		||||
          exec-once=hyprctl setcursor ${name} ${toString size}
 | 
			
		||||
        '')
 | 
			
		||||
          + (with colors.argb { a = "ee"; };''
 | 
			
		||||
          general {
 | 
			
		||||
            col.active_border = 0x${mauve} 0x${flamingo} 135deg
 | 
			
		||||
            col.inactive_border = 0x${surface0}
 | 
			
		||||
          }
 | 
			
		||||
        '');
 | 
			
		||||
      };
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  home.file.tofi = {
 | 
			
		||||
    source = pkgs.writeText "tofi-config" (pkgs.lib.generators.toKeyValue { } (with colors.default; {
 | 
			
		||||
      # https://github.com/philj56/tofi/blob/master/themes/fullscreen
 | 
			
		||||
      width = "100%";
 | 
			
		||||
      height = "100%";
 | 
			
		||||
      border-width = 0;
 | 
			
		||||
      outline-width = 0;
 | 
			
		||||
      padding-left = "35%";
 | 
			
		||||
      padding-top = "35%";
 | 
			
		||||
      result-spacing = 25;
 | 
			
		||||
      num-results = 5;
 | 
			
		||||
      font = "Fira Mono";
 | 
			
		||||
      font-size = 15;
 | 
			
		||||
      text-color = foreground;
 | 
			
		||||
      selection-color = rosewater;
 | 
			
		||||
      selection-match-color = red;
 | 
			
		||||
      background-color = "#000A";
 | 
			
		||||
    }));
 | 
			
		||||
    target = "${config.xdg.configHome}/tofi/config";
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  home.packages = with pkgs; [
 | 
			
		||||
    tofi
 | 
			
		||||
  ];
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user