Files
Workstation_Arch_Hyprland/templates/hypr-keys.sh.j2

7 lines
270 B
Django/Jinja

#!/bin/bash
# Denne kommando finder alle linjer der starter med 'bind =',
# fjerner unødvendige tegn, og viser dem i wofi.
grep -oP '^bind\s*=\s*.*' ~/.config/hypr/hyprland.conf | \
sed -e 's/bind = //' -e 's/SUPER/WIN/' | \
wofi --show dmenu -p "Hyprland Keybindings"