diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2024-12-10 17:59:13 +0100 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2024-12-10 17:59:13 +0100 |
| commit | 32aaecc3f69fcb6cf9063897eb62e34095267e9f (patch) | |
| tree | 3600bb4f89c9fc7aba9321ef973697798f25adf8 /xprop-active-window-id | |
| parent | 60643f945cc58565a0ca8ee9f5ec554fa41bd0d9 (diff) | |
| download | scripts-32aaecc3f69fcb6cf9063897eb62e34095267e9f.tar.gz scripts-32aaecc3f69fcb6cf9063897eb62e34095267e9f.zip | |
Forgot stuff
Diffstat (limited to 'xprop-active-window-id')
| -rwxr-xr-x | xprop-active-window-id | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/xprop-active-window-id b/xprop-active-window-id deleted file mode 100755 index 97cf60f..0000000 --- a/xprop-active-window-id +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | # Get the ID of the current active window (hexadecimal) | ||
| 4 | # Requires: xprop | ||
| 5 | |||
| 6 | xprop -root | grep _NET_ACTIVE_WINDOW | head -1 | sed 's/.* //' | ||
