diff options
author | Hsieh Chin Fan <pham@topo.tw> | 2023-03-15 12:15:16 +0800 |
---|---|---|
committer | Hsieh Chin Fan <pham@topo.tw> | 2023-03-15 12:22:28 +0800 |
commit | fdd98ab4a3c75f9351ced33ad494df3694309dc1 (patch) | |
tree | 0fc5dcf73ad04f0dd306287da72714c34dd2350a /X11/rename_current_window.sh | |
parent | 4a298221c91c4d80b836ece4c2e85bd4cea2b67c (diff) |
Use @ as prefix to prevent window got killed
Diffstat (limited to 'X11/rename_current_window.sh')
-rwxr-xr-x | X11/rename_current_window.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/X11/rename_current_window.sh b/X11/rename_current_window.sh index d686ba4..59caa26 100755 --- a/X11/rename_current_window.sh +++ b/X11/rename_current_window.sh | |||
@@ -1,3 +1,3 @@ | |||
1 | #! /bin/sh | 1 | #! /bin/sh |
2 | 2 | ||
3 | xdotool set_window --name "$1" --class CONFIRM_BEFORE_CLOSE "$(xdotool getactivewindow)" | 3 | xdotool set_window --name "@${1##@}" "$(xdotool getactivewindow)" |