i3 is mostly working!
This commit is contained in:
		
							parent
							
								
									fe1ed3e1be
								
							
						
					
					
						commit
						e27cafb15b
					
				
					 17 changed files with 444 additions and 260 deletions
				
			
		
							
								
								
									
										51
									
								
								modules/home-manager/dunst.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										51
									
								
								modules/home-manager/dunst.nix
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,51 @@
 | 
			
		|||
{
 | 
			
		||||
  config,
 | 
			
		||||
  pkgs,
 | 
			
		||||
  lib,
 | 
			
		||||
  ...
 | 
			
		||||
}: {
 | 
			
		||||
  services = {
 | 
			
		||||
    dunst.enable = true;
 | 
			
		||||
    dunst.settings = {
 | 
			
		||||
      global = {
 | 
			
		||||
        font = "Fira Code";
 | 
			
		||||
        follow = "keyboard";
 | 
			
		||||
        origin = "top-right";
 | 
			
		||||
        transparency = 5;
 | 
			
		||||
        padding = 6;
 | 
			
		||||
        horizontal_padding = 6;
 | 
			
		||||
      };
 | 
			
		||||
      urgency_low = {
 | 
			
		||||
        # IMPORTANT: colors have to be defined in quotation marks.
 | 
			
		||||
        # Otherwise the "#" and following would be interpreted as a comment.
 | 
			
		||||
        frame_color = "#3B7C87";
 | 
			
		||||
        foreground = "#3B7C87";
 | 
			
		||||
        background = "#191311";
 | 
			
		||||
        #background = "#2B313C"
 | 
			
		||||
        timeout = 4;
 | 
			
		||||
        # Icon for notifications with low urgency, uncomment to enable
 | 
			
		||||
        #default_icon = /path/to/icon
 | 
			
		||||
      };
 | 
			
		||||
 | 
			
		||||
      urgency_normal = {
 | 
			
		||||
        frame_color = "#5B8234";
 | 
			
		||||
        foreground = "#5B8234";
 | 
			
		||||
        background = "#191311";
 | 
			
		||||
        #background = "#2B313C"
 | 
			
		||||
        timeout = 6;
 | 
			
		||||
        # Icon for notifications with normal urgency, uncomment to enable
 | 
			
		||||
        #default_icon = /path/to/icon
 | 
			
		||||
      };
 | 
			
		||||
 | 
			
		||||
      urgency_critical = {
 | 
			
		||||
        frame_color = "#B7472A";
 | 
			
		||||
        foreground = "#B7472A";
 | 
			
		||||
        background = "#191311";
 | 
			
		||||
        #background = "#2B313C"
 | 
			
		||||
        timeout = 8;
 | 
			
		||||
        # Icon for notifications with critical urgency, uncomment to enable
 | 
			
		||||
        #default_icon = /path/to/icon
 | 
			
		||||
      };
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -5,7 +5,7 @@
 | 
			
		|||
  ...
 | 
			
		||||
}: {
 | 
			
		||||
  programs.nixvim = {
 | 
			
		||||
    options = {
 | 
			
		||||
    opts = {
 | 
			
		||||
      mouse = "a";
 | 
			
		||||
      lazyredraw = true;
 | 
			
		||||
      termguicolors = true;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -4,7 +4,7 @@
 | 
			
		|||
  ...
 | 
			
		||||
}: {
 | 
			
		||||
  programs.nixvim = {
 | 
			
		||||
    plugins.comment-nvim.enable = true;
 | 
			
		||||
    plugins.comment.enable = true;
 | 
			
		||||
    plugins.marks.enable = true;
 | 
			
		||||
    plugins.surround.enable = true;
 | 
			
		||||
    plugins.todo-comments.enable = true;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -4,7 +4,7 @@
 | 
			
		|||
  ...
 | 
			
		||||
}: {
 | 
			
		||||
  programs.nixvim = {
 | 
			
		||||
    options = {
 | 
			
		||||
    opts = {
 | 
			
		||||
      timeout = true;
 | 
			
		||||
      timeoutlen = 300;
 | 
			
		||||
    };
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										13
									
								
								modules/home-manager/rofi.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								modules/home-manager/rofi.nix
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,13 @@
 | 
			
		|||
{
 | 
			
		||||
  config,
 | 
			
		||||
  pkgs,
 | 
			
		||||
  lib,
 | 
			
		||||
  ...
 | 
			
		||||
}: {
 | 
			
		||||
  programs.rofi = {
 | 
			
		||||
    enable = true;
 | 
			
		||||
    location = "top";
 | 
			
		||||
    terminal = "kitty";
 | 
			
		||||
    theme = "gruvbox-dark-soft";
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue