summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorAbhinav <abhinav.prsai@gmail.com>2025-06-24 16:56:23 +0100
committerAbhinav <abhinav.prsai@gmail.com>2025-06-24 16:56:23 +0100
commit8418960055da3337e767afb49f59c7eec229dc3c (patch)
tree6555adbe7dd562018d358b2b3df69f590bcb413b /README.md
parentde5be2ff9d3e8d0c0f3c725a9fb9ea7046c12862 (diff)
add window centering
the user can now center any floating window with default bind centre_window
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 6 insertions, 4 deletions
diff --git a/README.md b/README.md
index 0d26eeb..befd0f3 100644
--- a/README.md
+++ b/README.md
@@ -140,7 +140,8 @@ workspace : modifier + modifier + ... + key : swap n
| `master_decrease` | Shrinks master width. |
| `toggle_floating` | Toggles floating state of current window. |
| `global_floating` | Toggles floating state for all windows. |
-| `fullscreen` | Fullscreen toggle. |
+| `fullscreen` | Fullscreen the focused window. |
+| `centre_window` | Centre the focused window. |
### Example Bindings
@@ -168,9 +169,9 @@ workspace : mod + shift + 5 : swap 5
### Window Management
| Combo | Action |
| --------------------------- | ---------------------------------- |
-| Mouse | Focus under cursor |
-| `MOD` + Left Mouse | Move window with mouse |
-| `MOD` + Right Mouse | Resize window with mouse |
+| `Mouse` | Focus on click under cursor |
+| `MOD` + `Left Mouse` | Move window with mouse |
+| `MOD` + `Right Mouse` | Resize window with mouse |
| `MOD` + `j` / `k` | Focus next / previous |
| `MOD` + `Shift` + `j` / `k` | Move window in master stack |
| `MOD` + `,` / `.` | Focus prev / next monitor |
@@ -184,6 +185,7 @@ workspace : mod + shift + 5 : swap 5
| `MOD` + `Shift` + `q` | Close focused window |
| `MOD` + `Shift` + `e` | Quit sxwm |
| `MOD` + `r` | Reload configuration |
+| `MOD` + `c` | Centre window |
### Scratchpads