New beggining.
This commit is contained in:
commit
6964b2b200
33 changed files with 1281 additions and 0 deletions
13
get-wm_class
Executable file
13
get-wm_class
Executable file
|
@ -0,0 +1,13 @@
|
|||
#!/bin/bash
|
||||
|
||||
while read -a Line; do
|
||||
if [ "${Line[0]}" == 'WM_CLASS(STRING)' ]; then
|
||||
class=${Line[3]}
|
||||
|
||||
break
|
||||
fi
|
||||
done <<< "$(xprop)"
|
||||
|
||||
quick-notify "Class name: $class" "Copied to clipboard"
|
||||
|
||||
printf '%s' "$class" | xclip -sel clip
|
Loading…
Add table
Add a link
Reference in a new issue