scrot binding
This commit is contained in:
		
							parent
							
								
									6c643e51e7
								
							
						
					
					
						commit
						516dd76905
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -32,12 +32,14 @@ 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" | myLauncher           = "rofi -modi run,calc -show run" | ||||||
|  | myScrot              = "scrot -s '%Y%m%d_%H%M%S.png' -e 'mv $f ~/Pictures/scrots/'" | ||||||
| 
 | 
 | ||||||
| -- | 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 myLauncher                          ) -- %! Launch rofi |     , ((myModMask,                 xK_e        ), spawn myLauncher                          ) -- %! Launch rofi | ||||||
|  |     , ((myModMask,                 xK_s        ), spawn myScrot                             ) -- %! Take screenshot | ||||||
|     , ((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