mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2025-03-10 02:58:17 +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 = [
|
imports = [
|
||||||
./config-long.nix
|
./config-long.nix
|
||||||
./config-wide.nix
|
|
||||||
./rofi.nix
|
./rofi.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@ -5,11 +5,10 @@ pkgs.writeShellScriptBin "list-keybinds" ''
|
|||||||
pkill rofi
|
pkill rofi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
rofi_theme="$HOME/.config/rofi/config-wide.rasi"
|
|
||||||
msg='☣️ NOTE ☣️: Clicking with Mouse or Pressing ENTER will have NO function'
|
msg='☣️ NOTE ☣️: Clicking with Mouse or Pressing ENTER will have NO function'
|
||||||
keybinds=$(cat ~/.config/hypr/hyprland.conf | grep modifier)
|
keybinds=$(cat ~/.config/hypr/hyprland.conf | grep modifier)
|
||||||
|
|
||||||
# use rofi to display the keybinds with the modified content
|
# 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