From 8d33b92be07a70626083f00e290c7c27778eac05 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Mon, 6 Nov 2023 22:37:02 +0900 Subject: [PATCH] clean up --- config/hypr/scripts/keybindings.sh | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100755 config/hypr/scripts/keybindings.sh diff --git a/config/hypr/scripts/keybindings.sh b/config/hypr/scripts/keybindings.sh deleted file mode 100755 index b6ee6e2..0000000 --- a/config/hypr/scripts/keybindings.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash - -# Define keybindings.conf location -# ----------------------------------------------------- -config_file="~/.config/hypr/configs/Keybinds.conf" - -# ----------------------------------------------------- -# Parse keybindings -# ----------------------------------------------------- -keybinds=$(grep -oP '(?<=bind = ).*' $config_file) -keybinds=$(echo "$keybinds" | sed 's/$mainMod/SUPER/g'| sed 's/,\([^,]*\)$/ = \1/' | sed 's/, exec//g' | sed 's/^,//g') - -# ----------------------------------------------------- -# Show keybindings in rofi -# ----------------------------------------------------- -rofi -dmenu -p "Keybinds" -config ~/.config/rofi/config-short <<< "$keybinds" \ No newline at end of file