hyprland: cleanup
This commit is contained in:
		
							parent
							
								
									ce492add50
								
							
						
					
					
						commit
						c74354a702
					
				
					 3 changed files with 24 additions and 20 deletions
				
			
		|  | @ -1,17 +1,12 @@ | ||||||
| { | { | ||||||
|   config, |   config, | ||||||
|   inputs, |  | ||||||
|   lib, |   lib, | ||||||
|   namespace, |   namespace, | ||||||
|   pkgs, |  | ||||||
|   system, |  | ||||||
|   ... |   ... | ||||||
| }: | }: | ||||||
| let | let | ||||||
|   inherit (lib) mkIf mkEnableOption; |   inherit (lib) mkIf mkEnableOption; | ||||||
| 
 | 
 | ||||||
|   # hyprpaper-package = inputs.hyprpaper.packages.${system}.hyprpaper; |  | ||||||
| 
 |  | ||||||
|   cfg = config.${namespace}.desktop.addons.hyprpaper; |   cfg = config.${namespace}.desktop.addons.hyprpaper; | ||||||
| 
 | 
 | ||||||
|   username = config.${namespace}.user.name; |   username = config.${namespace}.user.name; | ||||||
|  |  | ||||||
|  | @ -30,7 +30,7 @@ let | ||||||
|         hyprctl dispatch workspace $running |         hyprctl dispatch workspace $running | ||||||
|     else |     else | ||||||
|         # always open on w/space 4 |         # always open on w/space 4 | ||||||
|         hyprctl dispatch workspace 4 |         hyprctl dispatch workspace 9 | ||||||
|         1password& |         1password& | ||||||
|     fi |     fi | ||||||
|   ''; |   ''; | ||||||
|  | @ -47,19 +47,31 @@ in | ||||||
| 
 | 
 | ||||||
|   config = mkIf cfg.enable { |   config = mkIf cfg.enable { | ||||||
|     environment.systemPackages = with pkgs; [ |     environment.systemPackages = with pkgs; [ | ||||||
|       polkit-kde-agent |       # Auth Agent | ||||||
|  |       hyprpolkitagent | ||||||
| 
 | 
 | ||||||
|  |       # Notification daemon | ||||||
|  |       libnotify | ||||||
|  | 
 | ||||||
|  |       # Wayland Utilities | ||||||
|       wl-clipboard |       wl-clipboard | ||||||
|       wl-screenrec |       wl-screenrec | ||||||
|       wlr-randr |       wlr-randr | ||||||
|       grimblast |  | ||||||
|       xfce.thunar |  | ||||||
|       dunst |  | ||||||
| 
 | 
 | ||||||
|  |       # Screenshot Utility | ||||||
|  |       grimblast | ||||||
|  | 
 | ||||||
|  |       # File Manager | ||||||
|  |       xfce.thunar | ||||||
|  | 
 | ||||||
|  |       # clean sddm theme | ||||||
|       elegant-sddm |       elegant-sddm | ||||||
| 
 | 
 | ||||||
|  |       # json cli parser for bash script to focus 1password | ||||||
|       jq |       jq | ||||||
|       focus-1password |       focus-1password | ||||||
|  | 
 | ||||||
|  |       hyprpanel | ||||||
|     ]; |     ]; | ||||||
| 
 | 
 | ||||||
|     programs = { |     programs = { | ||||||
|  |  | ||||||
|  | @ -57,22 +57,23 @@ in | ||||||
|         }; |         }; | ||||||
| 
 | 
 | ||||||
|         exec-once = [ |         exec-once = [ | ||||||
|           "hyprctl dispatch moveworkspacetomonitor 4 HDMI-A-1" |  | ||||||
|           "xrandr --output DP-2 --primary" |           "xrandr --output DP-2 --primary" | ||||||
|           "[workspace 1 silent] obsidian --disabled-gpu" |           "[workspace 1 silent] obsidian --disabled-gpu" | ||||||
|           "[workspace 4 silent] git-butler" |           "[workspace 9 silent] git-butler" | ||||||
|         ]; |         ]; | ||||||
| 
 | 
 | ||||||
|         workspace = [ |         workspace = [ | ||||||
|           "1, monitor:DP-2" |           "1, monitor:DP-2" | ||||||
|           "2, monitor:HDMI-A-1" |           "2, monitor:DP-2" | ||||||
|           "3, monitor:DP-2" |           "3, monitor:DP-2" | ||||||
|           "4, monitor:HDMI-A-1" |           "4, monitor:DP-2" | ||||||
|  |           "8, monitor:HDMI-A-1" | ||||||
|  |           "9, monitor:HDMI-A-1" | ||||||
|         ]; |         ]; | ||||||
| 
 | 
 | ||||||
|         windowrulev2 = [ |         windowrulev2 = [ | ||||||
|           "workspace 2 silent, class:^(steam)$, title:^(Friends List)" |           "workspace 8 silent, class:^(steam)$, title:^(Friends List)" | ||||||
|           "workspace 2 silent, class:^(discord)$, title:^(Discord)" |           "workspace 8 silent, class:^(discord)$, title:^(Discord)" | ||||||
|         ]; |         ]; | ||||||
|       }; |       }; | ||||||
|     }; |     }; | ||||||
|  | @ -82,10 +83,6 @@ in | ||||||
|     }; |     }; | ||||||
| 
 | 
 | ||||||
|     system = { |     system = { | ||||||
|       # autoUpgrade = { |  | ||||||
|       #   enable = true; |  | ||||||
|       #   time = "10:00"; |  | ||||||
|       # }; |  | ||||||
|       hardware = { |       hardware = { | ||||||
|         bluetooth = enabled; |         bluetooth = enabled; | ||||||
|         gpu.nvidia = enabled; |         gpu.nvidia = enabled; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue