From: Ralph Ronnquist Date: Tue, 9 May 2023 02:37:19 +0000 (+1000) Subject: rename X-Git-Url: https://git.rrq.au/?a=commitdiff_plain;h=b1afef82c52628b51eed288e33e98ecda0b843c8;p=rrq%2Fnewlisp%2Fpinwin.git rename --- diff --git a/README.md b/README.md new file mode 100644 index 0000000..d683da8 --- /dev/null +++ b/README.md @@ -0,0 +1,33 @@ +pinwin - making the side monitor sticky +======================================= + +This is a pair of scripts acting as an X event daemon that recognizes +window movements and "pins" windows when moved to the side monitor, +whereas windows moved to the main monitor are "unpinned". + +A pinned window shows up on all workspaces, whereas an unpinned one +stays on a single workspace. + +I think some window managers might support the "pin windows on side +monitor" function already, but I couldn't find this for my xfce4. + +Note that the newlisp script `pinwin.lsp` implements the assumption +that the side monitor is to the right of the main monitor. Any other +set up will require an appropriate adjustment. + +BUILD +===== + +Note that daemonizing shell script `pinwin.sh` expects the embedded +binary, `pinwin`, which is made using the `-x` argument to newlisp. For +example: + + $ newlisp -x pinwin.lsp pinwin + $ chmod a+x pinwin + +RUN +=== + +The daemon is run as a detached process. For example: + + $ ( ./pinwin.sh & ) diff --git a/pinwin.md b/pinwin.md deleted file mode 100644 index d683da8..0000000 --- a/pinwin.md +++ /dev/null @@ -1,33 +0,0 @@ -pinwin - making the side monitor sticky -======================================= - -This is a pair of scripts acting as an X event daemon that recognizes -window movements and "pins" windows when moved to the side monitor, -whereas windows moved to the main monitor are "unpinned". - -A pinned window shows up on all workspaces, whereas an unpinned one -stays on a single workspace. - -I think some window managers might support the "pin windows on side -monitor" function already, but I couldn't find this for my xfce4. - -Note that the newlisp script `pinwin.lsp` implements the assumption -that the side monitor is to the right of the main monitor. Any other -set up will require an appropriate adjustment. - -BUILD -===== - -Note that daemonizing shell script `pinwin.sh` expects the embedded -binary, `pinwin`, which is made using the `-x` argument to newlisp. For -example: - - $ newlisp -x pinwin.lsp pinwin - $ chmod a+x pinwin - -RUN -=== - -The daemon is run as a detached process. For example: - - $ ( ./pinwin.sh & )