Dotfiles/wayland/.local/bin/hypr-version.sh

5 lines
111 B
Bash
Executable File

#!/bin/sh
hyprctl version 2>/dev/null | head -n1 | awk '{print $1 " " $2}' > "$HOME/.cache/hyprland-version"