New beggining.

This commit is contained in:
Crony Akatsuki 2022-12-26 14:20:37 +01:00
commit 6964b2b200
33 changed files with 1281 additions and 0 deletions

13
get-wm_class Executable file
View 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