diff --git a/pkgs/xmonad-config/src/xmonad.hs b/pkgs/xmonad-config/src/xmonad.hs index e9579db..c63a71a 100644 --- a/pkgs/xmonad-config/src/xmonad.hs +++ b/pkgs/xmonad-config/src/xmonad.hs @@ -35,43 +35,43 @@ myWorkspaces = ["code", "chat", "web", "games", "misc"] -- | Keybindings myKeys = -- launching and killing programs - [ ("M-n" , spawn myTerminal ) -- %! Launch terminal - , ("M-e" , spawn "rofi -show run" ) -- %! Launch rofi - , ("M-C-w" , kill ) -- %! Close the focused window + [ ("M-n" , spawn myTerminal ) -- %! Launch terminal + , ("M-e" , spawn "rofi -modi run,calc -show run" ) -- %! Launch rofi + , ("M-C-w" , kill ) -- %! Close the focused window -- layouts , ("M-t" , sendMessage $ JumpToLayout "Spacing Tiled") -- %! Jump to our tiled layout , ("M-m" , sendMessage $ JumpToLayout "Maximized" ) -- %! Jump to our maximized layout , ("M-f" , sendMessage $ JumpToLayout "Fullscreen" ) -- %! Jump to our fullscreen layout -- move focus up or down the window stack - , ("M-" , windows W.focusDown ) -- %! Move focus to the next window - , ("M-" , windows W.focusUp ) -- %! Move focus to the previous window - , ("M-" , windows W.focusMaster ) -- %! Move focus to the master window + , ("M-" , windows W.focusDown ) -- %! Move focus to the next window + , ("M-" , windows W.focusUp ) -- %! Move focus to the previous window + , ("M-" , windows W.focusMaster ) -- %! Move focus to the master window -- modifying the window order - , ("M-S-" , windows W.swapDown ) -- %! Swap the focused window with the next window - , ("M-S-" , windows W.swapUp ) -- %! Swap the focused window with the previous window - , ("M-S-" , windows W.swapMaster ) -- %! Swap the focused window with the master window + , ("M-S-" , windows W.swapDown ) -- %! Swap the focused window with the next window + , ("M-S-" , windows W.swapUp ) -- %! Swap the focused window with the previous window + , ("M-S-" , windows W.swapMaster ) -- %! Swap the focused window with the master window -- resizing the master/slave ratio - , ("M-" , sendMessage Expand ) -- %! Expand the master area - , ("M-" , sendMessage Shrink ) -- %! Shrink the master area + , ("M-" , sendMessage Expand ) -- %! Expand the master area + , ("M-" , sendMessage Shrink ) -- %! Shrink the master area -- number of windows in the master area - , ("M-S-" , sendMessage (IncMasterN 1) ) -- %! Increase the number of windows in the master area - , ("M-S-", sendMessage (IncMasterN (-1)) ) -- %! Decrease the number of windows in the master area + , ("M-S-" , sendMessage (IncMasterN 1) ) -- %! Increase the number of windows in the master area + , ("M-S-", sendMessage (IncMasterN (-1)) ) -- %! Decrease the number of windows in the master area -- floating layer support , ("M-" , withFocused $ windows . W.sink ) -- %! Push window back into tiling -- workspace navigation - , ("M-" , moveTo Next hiddenWS ) -- %! Move focus to the next hidden workspace - , ("M-" , moveTo Prev hiddenWS ) -- %! Move focus to the previous hidden workspace + , ("M-" , moveTo Next hiddenWS ) -- %! Move focus to the next hidden workspace + , ("M-" , moveTo Prev hiddenWS ) -- %! Move focus to the previous hidden workspace -- move window to workspace - , ("M-S-" , shiftTo Next hiddenWS ) -- %! Move focused window to the next hidden workspace - , ("M-S-