refactor
This commit is contained in:
		
							parent
							
								
									10e4eed61d
								
							
						
					
					
						commit
						6c643e51e7
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -31,12 +31,13 @@ myBorderWidth        = 5 | ||||||
| myNormalBorderColor  = "#282828" | myNormalBorderColor  = "#282828" | ||||||
| myFocusedBorderColor = "#282828" | myFocusedBorderColor = "#282828" | ||||||
| myWorkspaces         = ["code", "chat", "web", "games", "misc"] | myWorkspaces         = ["code", "chat", "web", "games", "misc"] | ||||||
|  | myLauncher           = "rofi -modi run,calc -show run" | ||||||
| 
 | 
 | ||||||
| -- | Keybindings | -- | Keybindings | ||||||
| myKeys = | myKeys = | ||||||
|     -- launching and killing programs |     -- launching and killing programs | ||||||
|     [ ((myModMask,                 xK_n        ), spawn myTerminal                          ) -- %! Launch terminal |     [ ((myModMask,                 xK_n        ), spawn myTerminal                          ) -- %! Launch terminal | ||||||
|     , ((myModMask,                 xK_e        ), spawn "rofi -modi run,calc -show run"     ) -- %! Launch rofi |     , ((myModMask,                 xK_e        ), spawn myLauncher                          ) -- %! Launch rofi | ||||||
|     , ((myModMask .|. controlMask, xK_w        ), kill                                      ) -- %! Close the focused window |     , ((myModMask .|. controlMask, xK_w        ), kill                                      ) -- %! Close the focused window | ||||||
|     , ((myModMask .|. shiftMask,   xK_q        ), io exitSuccess                            ) -- %! Quit xmonad |     , ((myModMask .|. shiftMask,   xK_q        ), io exitSuccess                            ) -- %! Quit xmonad | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue