Fix rofi pointing to wrong package

This commit is contained in:
Evie Litherland-Smith 2023-08-08 17:00:35 +01:00
parent 8c4cec64d2
commit 55dfa90091
2 changed files with 4 additions and 6 deletions

View file

@ -125,8 +125,8 @@ in {
bind = SUPER, Space, exec, ${
anyrun.packages.${pkgs.system}.anyrun
}/bin/anyrun
bind = SUPER SHIFT, Return, exec, pkill rofi || ${pkgs.rofi}/bin/rofi -show ssh
bind = SUPER SHIFT, P, exec, pkill rofi || ${pkgs.rofi}/bin/rofi -show power-menu
bind = SUPER SHIFT, Return, exec, pkill rofi || ${pkgs.rofi-wayland}/bin/rofi -show ssh
bind = SUPER SHIFT, P, exec, pkill rofi || ${pkgs.rofi-wayland}/bin/rofi -show power-menu
bind = SUPER, B, togglefloating
bind = SUPER SHIFT, Q, killactive,

View file

@ -1,7 +1,6 @@
{ pkgs, config, ... }:
let icon-theme = config.gtk.iconTheme.name;
in
{
in {
imports = [ ../gtk.nix ];
home.packages = with pkgs; [ rofi-power-menu ];
programs.rofi = {
@ -9,10 +8,9 @@ in
location = "center";
pass.enable = true;
terminal = "${pkgs.alacritty}/bin/alacritty";
plugins = with pkgs; [ rofi-file-browser ];
extraConfig = {
modi =
"run,drun,ssh,file-browser-extended,power-menu:${pkgs.rofi-power-menu}/bin/rofi-power-menu";
"run,drun,ssh,power-menu:${pkgs.rofi-power-menu}/bin/rofi-power-menu";
sort = true;
sorting-method = "fzf";
matching = "fuzzy";