aboutsummaryrefslogtreecommitdiffstats
path: root/xmonad
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2023-11-25 19:23:41 +0100
committerMattias Andrée <maandree@kth.se>2023-11-25 19:23:41 +0100
commit391791f6165653ebe4c4f25af953841a3b0fc6c7 (patch)
tree2c97d82e061ad8ffbc5a96e0c72a870109011cd4 /xmonad
parentMisc updates (diff)
downloaddotfiles-391791f6165653ebe4c4f25af953841a3b0fc6c7.tar.gz
dotfiles-391791f6165653ebe4c4f25af953841a3b0fc6c7.tar.bz2
dotfiles-391791f6165653ebe4c4f25af953841a3b0fc6c7.tar.xz
Update setres
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'xmonad')
-rw-r--r--xmonad/xmonad-autofocus-output.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmonad/xmonad-autofocus-output.c b/xmonad/xmonad-autofocus-output.c
index 853e18b..a36f76b 100644
--- a/xmonad/xmonad-autofocus-output.c
+++ b/xmonad/xmonad-autofocus-output.c
@@ -15,6 +15,8 @@ static KeyCode mod, key[2];
static inline int
get_output(int x, int y)
{
+ /* TODO use "resolution changed:$(printf -- ' %ix%i%+i%+i' "$@")" message broadcast on BUS_VIDEO
+ * at start up look in ${XDG_RUNTIME_DIR}/x-display/${DISPLAY}/resolution for $(printf -- '%ix%i%+i%+i\n' "$@") */
return x < 1920;
}