simplified the rofi config

This commit is contained in:
Tyler Kelley 2025-02-17 15:51:51 -06:00
parent 499a65cfd8
commit 4e7701250d
3 changed files with 1 additions and 13 deletions

View File

@ -1,10 +0,0 @@
{...}: {
home.file.".config/rofi/config-wide.rasi".text = ''
@import "~/.config/rofi/config-long.rasi"
window {
width: 100%;
location: south;
anchor: south;
}
'';
}

View File

@ -1,7 +1,6 @@
{...}: {
imports = [
./config-long.nix
./config-wide.nix
./rofi.nix
];
}

View File

@ -5,11 +5,10 @@ pkgs.writeShellScriptBin "list-keybinds" ''
pkill rofi
fi
rofi_theme="$HOME/.config/rofi/config-wide.rasi"
msg=' NOTE : Clicking with Mouse or Pressing ENTER will have NO function'
keybinds=$(cat ~/.config/hypr/hyprland.conf | grep modifier)
# use rofi to display the keybinds with the modified content
echo "$keybinds" | rofi -dmenu -i -config "$rofi_theme" -mesg "$msg"
echo "$keybinds" | rofi -dmenu -i -mesg "$msg"
''