Gen 441: Extra firefox tweaks and organized the scripts folder

This commit is contained in:
pagedMov
2024-10-13 00:07:47 -04:00
parent 3dce49571a
commit e52da77ade
36 changed files with 229 additions and 105 deletions

View File

@@ -0,0 +1,11 @@
{ self, pkgs }:
pkgs.writeShellScriptBin "keybinds" (''
#!/usr/bin/env bash
config_file=~/.config/hypr/hyprland.conf
keybinds=$(grep -oP '(?<=bind=).*' $config_file)
keybinds=$(echo "$keybinds" | sed 's/,\([^,]*\)$/ = \1/' | sed 's/, exec//g' | sed 's/^,//g')
rofi -dmenu -theme-str 'window {width: 50%;}' <<< "$keybinds"
'')