#!/usr/bin/env bash # hyprland/window -> focused application name. # (For the literal window *title* instead of the app name, query yabai: # yabai -m query --windows --window | jq -r '.title') source "$CONFIG_DIR/colors.sh" source "$CONFIG_DIR/icons.sh" if [ "$SENDER" = "front_app_switched" ]; then sketchybar --set "$NAME" label="$INFO" fi