mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2025-03-09 18:51:33 +01:00
simplified the rofi config
This commit is contained in:
parent
499a65cfd8
commit
4e7701250d
@ -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;
|
||||
}
|
||||
'';
|
||||
}
|
@ -1,7 +1,6 @@
|
||||
{...}: {
|
||||
imports = [
|
||||
./config-long.nix
|
||||
./config-wide.nix
|
||||
./rofi.nix
|
||||
];
|
||||
}
|
||||
|
@ -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"
|
||||
|
||||
''
|
||||
|
Loading…
Reference in New Issue
Block a user