niri: try to get rid of hyprland-ideas
This commit is contained in:
		
							parent
							
								
									3508a2b3d0
								
							
						
					
					
						commit
						371a430031
					
				
					 1 changed files with 5 additions and 23 deletions
				
			
		|  | @ -194,27 +194,6 @@ | |||
| 
 | ||||
|             binds = | ||||
|               with config.lib.niri; | ||||
|               let | ||||
|                 workspaces = (builtins.genList (x: x + 1) 9); | ||||
| 
 | ||||
|                 focus-workspaces = builtins.listToAttrs ( | ||||
|                   map (num: { | ||||
|                     name = "Mod+${toString num}"; | ||||
|                     value = { | ||||
|                       action.focus-workspace = num; | ||||
|                     }; | ||||
|                   }) workspaces | ||||
|                 ); | ||||
|                 move-to-workspaces = builtins.listToAttrs ( | ||||
|                   map (num: { | ||||
|                     name = "Mod+Ctrl+${toString num}"; | ||||
|                     value = { | ||||
|                       action.move-window-to-workspace = num; | ||||
|                     }; | ||||
|                   }) workspaces | ||||
|                 ); | ||||
|               in | ||||
| 
 | ||||
|               lib.mkMerge [ | ||||
|                 { | ||||
|                   "Mod+Shift+Slash".action = actions.show-hotkey-overlay; | ||||
|  | @ -235,6 +214,11 @@ | |||
|                     repeat = false; | ||||
|                   }; | ||||
| 
 | ||||
|                   "Mod+1".action = actions.focus-workspace "zen"; | ||||
|                   "Mod+2".action = actions.focus-workspace "steam"; | ||||
|                   "Mod+3".action = actions.focus-workspace "communication"; | ||||
|                   "Mod+4".action = actions.focus-workspace "work"; | ||||
| 
 | ||||
|                   "Mod+J" = { | ||||
|                     action = actions.focus-window-or-workspace-down; | ||||
|                   }; | ||||
|  | @ -365,8 +349,6 @@ | |||
|                     allow-when-locked = true; | ||||
|                   }; | ||||
|                 } | ||||
|                 focus-workspaces | ||||
|                 move-to-workspaces | ||||
|               ]; | ||||
| 
 | ||||
|             spawn-at-startup = [ | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue