#3 Add window tiling shortcuts

Open
themanyone wants to merge 2 commits from themanyone/master into adnan360/master
2 changed files with 22 additions and 7 deletions
  1. 9 4
      .jwmrc
  2. 13 3
      README.md

+ 9 - 4
.jwmrc

@@ -224,13 +224,19 @@
 	<Key key="Return">select</Key>
 	<Key key="Escape">escape</Key>
 
+    <Key mask="4" key="F2">window</Key>
+    <Key mask="4" key="Right">maxright</Key>
+    <Key mask="4" key="Left">maxleft</Key>
+    <Key mask="4" key="Up">maxtop</Key>
+    <Key mask="4" key="Down">maxbottom</Key>
+    
 	<Key mask="A" key="Tab">nextstacked</Key>
 	<Key mask="A" key="F4">close</Key>
 	<Key mask="A" key="#">desktop#</Key>
+	<Key mask="C" key="Escape">root:1</Key>
 	<Key mask="A" key="F1">root:1</Key>
 	<Key mask="A" key="F2">exec:~/.local/share/jwm-config/runmenu.sh</Key>
 	<Key mask="4" key="R">exec:~/.local/share/jwm-config/runmenu.sh</Key>
-	<Key mask="A" key="F3">root:1</Key>
 	<Key mask="A" key="space">window</Key>
 	<Key mask="A" key="F10">maximize</Key>
 	<Key mask="CA" key="Right">rdesktop</Key>
@@ -241,9 +247,8 @@
 	<Key mask="CA" key="D">showdesktop</Key>
 	<Key mask="4" key="D">showdesktop</Key>
 
-	<Key mask="CA" key="T">exec:lxterminal</Key>
-	<Key mask="CA" key="E">exec:thunar</Key>
-	<Key mask="4" key="E">exec:thunar</Key>
+	<Key mask="4" key="T">exec:lxterminal</Key>
+	<Key mask="4" key="E">exec:pcmanfm --no-desktop</Key>
 	<Key mask="" key="F12">exec:~/.local/share/jwm-config/runmenu.sh</Key>
 
 	<!-- Connect to external monitor / choose screens -->

+ 13 - 3
README.md

@@ -103,19 +103,29 @@ When an update to `.jwmrc` is pushed, you can use `meld` and open the repo versi
 Common Shortcuts:
 - Alt+F1 : Opens Main menu
 - Alt+F2 or F12 : Run something
-- Ctrl+Alt+T : Run Terminal
-- Ctrl+Alt+E or Super+E : Run File Manager
+- Super+T : Run Terminal
+- Super+E or Super+E : Run File Manager
 - Alt+(number) : To go to the desktop of that number
 - Ctrl+Alt+(arrow key) : To go to the desktop in that specific way
 - Super+Tab : Go to the desktop to the right
 - Ctrl+Alt+D or Super+D : Show desktop
 - Ctrl+Alt+Shift+R : Restart JWM
 - Ctrl+Alt+L : Lock screen
-- Super key: Opens application menu (changeable to run option or anything else, of course)
+- Ctrl+Escape: Opens application menu (changeable to run option or anything else, of course)
 - Super key+P or XF86Display or screen change key: Opens up monitor connection option (great for projectors/presentations)
 - Super key+F4: Power menu (for shutdown/reboot/logoff/logout etc.)
 
 
+## Window Tiling Shortcuts
+
+Shortcuts:
+- Super+F2 Window menu (same as right-click titlebar)
+- Super+Right Maximize to right side
+- Super+Left Maximize left
+- Super+Up Maximize top
+- Super+Down Maximize bottom
+
+
 ## Known Issues
 
 - The **Programs** menu does not update when you install an application. You have to manually click **Restart JWM** on the menu or run: `jwm -restart`. This is a limitation of JWM and not supposed to be fixed. You can probably use hooks for your package manager to restart JWM when new programs are installed.