hyprland: hyprlock tweaks/syncthing tray window rules
This commit is contained in:
		
							parent
							
								
									c1a264e98e
								
							
						
					
					
						commit
						e2bb0b4a00
					
				
					 2 changed files with 7 additions and 1 deletions
				
			
		|  | @ -7,6 +7,7 @@ | ||||||
| }: let | }: let | ||||||
|   inherit (osConfig.ooknet.appearance) fonts; |   inherit (osConfig.ooknet.appearance) fonts; | ||||||
|   inherit (osConfig.ooknet.workstation) environment; |   inherit (osConfig.ooknet.workstation) environment; | ||||||
|  |   inherit (osConfig.ooknet.hardware) primaryMonitor; | ||||||
|   inherit (hozen) color; |   inherit (hozen) color; | ||||||
|   inherit (lib) mkIf; |   inherit (lib) mkIf; | ||||||
| in { | in { | ||||||
|  | @ -34,6 +35,7 @@ in { | ||||||
|         }; |         }; | ||||||
| 
 | 
 | ||||||
|         input-field = { |         input-field = { | ||||||
|  |           monitor = primaryMonitor; | ||||||
|           size = "200, 30"; |           size = "200, 30"; | ||||||
| 
 | 
 | ||||||
|           position = "0, 0"; |           position = "0, 0"; | ||||||
|  | @ -49,7 +51,7 @@ in { | ||||||
|         }; |         }; | ||||||
| 
 | 
 | ||||||
|         label = { |         label = { | ||||||
|           monitor = ""; |           monitor = primaryMonitor; | ||||||
|           text = "LOCKED"; |           text = "LOCKED"; | ||||||
|           position = "0, 150"; |           position = "0, 150"; | ||||||
|           valign = "center"; |           valign = "center"; | ||||||
|  |  | ||||||
|  | @ -5,6 +5,10 @@ | ||||||
| in { | in { | ||||||
|   wayland.windowManager.hyprland.windowRules = [ |   wayland.windowManager.hyprland.windowRules = [ | ||||||
|     # TODO tag games for immediate |     # TODO tag games for immediate | ||||||
|  |     { | ||||||
|  |       matches = {initialTitle = "Syncthing Tray";}; | ||||||
|  |       rules = ["float" "center 1" "size 50%"]; | ||||||
|  |     } | ||||||
|     { |     { | ||||||
|       matches = {class = "factorio";}; |       matches = {class = "factorio";}; | ||||||
|       rules = ["tag +games"]; |       rules = ["tag +games"]; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue