summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2023-03-12 23:48:13 -0500
committerzachir <zachir@librem.one>2023-03-12 23:48:13 -0500
commit3eae25925a37de4e345df8e41e8d2885d2abb3b0 (patch)
tree30beae7e0bfc01200cbfd628542308cda39abd4d
parent6e2c228f7c7ae3a110c6f139c8bc909119d58f4c (diff)
\add get-app-id for Hyprland
-rwxr-xr-xget-app-id4
1 files changed, 4 insertions, 0 deletions
diff --git a/get-app-id b/get-app-id
new file mode 100755
index 0000000..529b4c7
--- /dev/null
+++ b/get-app-id
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+hyprctl activewindow -j | jq -a .class | xargs notify-send "class"
+hyprctl activewindow -j | jq -a .title | xargs notify-send "title"