diff --git a/README.md b/README.md index 7a0a9f2..9a6e2bd 100644 --- a/README.md +++ b/README.md @@ -24,4 +24,4 @@ If you want to run xterm, for example, just set `NIMWIN_LAUNCHER` to a launcher ### How to move windows -`alt + right` click allows you to resize, `alt + left click` allows you to move, `ctrl + alt + return` opens an xterm, and `alt + tab` cycles through windows, changing the focus each time. +`alt + right` click allows you to resize, `alt + left click` allows you to move, `ctrl + alt + return` opens an xterm, and `alt + tab` cycles through windows, changing the focus each time. `alt + t` makes a window full-screen. diff --git a/src/nimwin.nim b/src/nimwin.nim index ddd4779..01295f2 100644 --- a/src/nimwin.nim +++ b/src/nimwin.nim @@ -304,7 +304,7 @@ when isMainModule: display.grabKeyCombo(XK_Tab) # Cycle through windows display.grabKeyCombo(XK_Q) # Restart window manager display.grabKeyCombo(XK_P) # Launcher - display.grabKeyCombo(XK_F) # Full screen + display.grabKeyCombo(XK_T) # Full screen display.grabKeyCombo(XK_C, @[ShiftMask.cuint]) # CLose a window display.grabMouse(1) display.grabMouse(3) @@ -375,7 +375,7 @@ when isMainModule: if restartResult == -1: quit("Failed to restart Nimwin") - HandleKey(XK_F): + HandleKey(XK_T): # Get all of the struts with offsets from the top # Get all of the struts with offsets from the bottomm