From 749103f32537c68f4eadecff967ce6af7e0ccf86 Mon Sep 17 00:00:00 2001 From: Abhinav Date: Sat, 7 Jun 2025 00:24:30 +0100 Subject: add documentation for new monitor binds and click to focus binds --- CHANGELOG.md | 3 +++ sxwm.1 | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0c24308..b8ab40a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,9 @@ All notable changes to this project will be documented in this file. - **NEW**: Ctrl key as modifier - **NEW**: Focus window on creation - **NEW**: Copy config to `/usr/local/share/sxwmrc` +- **NEW**: Can switch monitors via keyboard +- **NEW**: Can move windows between monitors via keyboard +- **NEW**: Can click on a window to set focus to it - **CHANGE**: Renamed `focus_previous` to `focus_prev` - **CHANGE**: Invalid sample config - **CHANGE**: Parser `$HOME` searching order. XDG Compliance diff --git a/sxwm.1 b/sxwm.1 index 323905d..d111c1b 100644 --- a/sxwm.1 +++ b/sxwm.1 @@ -182,6 +182,22 @@ Toggles the floating state for all windows on the current workspace. .B fullscreen Toggles fullscreen mode for the focused window. +.TP +.B focus_next_mon +Switches focus to the next monitor. + +.TP +.B focus_prev_mon +Switches focus to the previous monitor. + +.TP +.B move_next_mon +Moves the focused window to the next monitor. + +.TP +.B move_prev_mon +Moves the focused window to the previous monitor. + .TP .B change_ws1 ... change_ws9 Switches focus to the specified workspace (1 to 9). @@ -249,6 +265,22 @@ Increase or decrease gaps. .B MOD + f Toggle fullscreen mode. +.TP +.B MOD + . +Focus next monitor. + +.TP +.B MOD + , +Focus previous monitor. + +.TP +.B MOD + Shift + . +Move focused window to next monitor. + +.TP +.B MOD + Shift + , +Move focused window to previous monitor. + .TP .B MOD + Left Mouse Move window with mouse. -- cgit v1.2.3