Skip to content

Commit

Permalink
fix(window-names): name, not class
Browse files Browse the repository at this point in the history
  • Loading branch information
rwxd committed Jun 22, 2022
1 parent 625e4f0 commit 8bf5ac1
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Operating-Systems/Linux/Misc/window-names.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
# Show window class names
# Show window names

Run the following command, after that click on a window to see it class name
Run the following command, after that click on a window to see its name

```bash
xprop | grep -i "class"
xprop | grep "NAME"
```

## Example

```bash
❯ xprop | grep -i "class"
WM_CLASS(STRING) = "todoist", "Todoist"
❯ xprop | grep "NAME"
WM_NAME(STRING) = "Spotify"
_NET_WM_NAME(UTF8_STRING) = "Spotify"
```

0 comments on commit 8bf5ac1

Please sign in to comment.