aboutsummaryrefslogtreecommitdiff
path: root/scratchpad
diff options
context:
space:
mode:
authorsrdusr <trevorgray@srdusr.com>2024-06-23 18:48:06 +0200
committersrdusr <trevorgray@srdusr.com>2024-06-23 18:48:06 +0200
commit3715d3531bbc8318c9550f9900cef7199e8ce3df (patch)
tree7ba36c74dfd2f21e229d69d7fcd95c137b808fe7 /scratchpad
parenta709f0381cf986702582c11c93c11d4ad2b45c0f (diff)
downloaddotfiles-3715d3531bbc8318c9550f9900cef7199e8ce3df.tar.gz
dotfiles-3715d3531bbc8318c9550f9900cef7199e8ce3df.zip
Enable focus in wayland
Diffstat (limited to 'scratchpad')
-rwxr-xr-xscratchpad2
1 files changed, 2 insertions, 0 deletions
diff --git a/scratchpad b/scratchpad
index 8a1aea0..430e71e 100755
--- a/scratchpad
+++ b/scratchpad
@@ -60,5 +60,7 @@ if [ "$id" != "" ]; then
# Scratchpad is hidden, show it and restore dimensions
xdo show "$id"
xdotool windowsize "$id" "$(echo "$dimensions" | tr ';' ' ')" 2>/dev/null
+ xdotool windowactivate "$id"
+ xdotool windowfocus "$id"
fi
fi