#!/bin/bash pid=$(hyprctl activewindow -j | jq -r '.pid') exe=$(readlink /proc/$pid/exe) basename "$exe"