Skip to content

Commit

Permalink
feat: rofi enhancements
Browse files Browse the repository at this point in the history
  • Loading branch information
khaneliman committed Nov 7, 2023
1 parent e32ec67 commit 83eb035
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 3 deletions.
22 changes: 21 additions & 1 deletion modules/home/desktop/addons/rofi/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,29 @@ in
};

config = mkIf cfg.enable {

home.packages = with pkgs; [
wtype
];

programs.rofi = {
enable = true;
package = pkgs.rofi;
package = pkgs.rofi-wayland;

font = "Liga SFMono Nerd Font 14";
location = "center";
theme = "catppuccin";

pass = {
enable = true;
package = pkgs.rofi-pass-wayland;
};

plugins = with pkgs; [
rofi-calc
rofi-emoji
rofi-top
];
};

xdg.configFile = {
Expand Down
3 changes: 2 additions & 1 deletion modules/home/desktop/hyprland/binds.nix
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ in
"$mainMod, E, exec, $term ranger"
"SUPER_SHIFT, E, exec, $explorer"
"$mainMod, SPACE, exec, $launcher"
"SUPER_SHIFT, SPACE, exec, $launcher_alt"
"SUPER_ALT, SPACE, exec, $launcher_alt"
"SUPER_SHIFT, SPACE, exec, $launcher_shift"
"$mainMod, A, exec, $launchpad"
"$mainMod, L, exec, ${getExe config.programs.swaylock.package} --grace 0 --fade-in 0"
"$mainMod, T, exec, $term btop"
Expand Down
3 changes: 2 additions & 1 deletion modules/home/desktop/hyprland/variables.nix
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@ in
"$explorer" = "${getExe pkgs.xfce.thunar}";
"$music" = "${getExe pkgs.spotify}";
"$launcher" = "${getExe config.programs.rofi.package} -show drun -n";
"$launcher_alt" = "${getExe config.programs.rofi.package} -show run -n";
"$launcher_alt" = "${getExe config.programs.rofi.package} -show calc";
"$launcher_shift" = "${getExe config.programs.rofi.package} -show run -n";
"$launchpad" = "${getExe config.programs.rofi.package} -show drun -config '~/.config/rofi/appmenu/rofi.rasi'";
"$looking-glass" = "${getExe pkgs.looking-glass-client}";
};
Expand Down

0 comments on commit 83eb035

Please sign in to comment.