7 lines
344 B
Django/Jinja
7 lines
344 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 --conf "$HOME/.config/wofi/config" --style "$HOME/.config/wofi/style.css" -p "Hyprland Keybindings" |