From 3f80a9acb87a3a4940d78ac70faabf2b8e9b034a Mon Sep 17 00:00:00 2001 From: Frede Braendstrup Date: Sun, 13 Oct 2024 00:51:13 +0200 Subject: [PATCH] feat: replace ulauncher with rofi --- common/desktop.nix | 2 -- users/bun.nix | 8 ++++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/common/desktop.nix b/common/desktop.nix index 791e334..eb1b54a 100644 --- a/common/desktop.nix +++ b/common/desktop.nix @@ -105,7 +105,5 @@ virt-manager wireshark - - ulauncher ]; } diff --git a/users/bun.nix b/users/bun.nix index c38713b..e41ca97 100644 --- a/users/bun.nix +++ b/users/bun.nix @@ -143,6 +143,10 @@ in { defaultEditor = true; vimdiffAlias = true; }; + rofi = { + enable = true; + terminal = "${pkgs.${term}}/bin/${term}"; + }; tmux = { enable = true; extraConfig = '' @@ -250,7 +254,6 @@ in { }'"''; } { command = "${dbus-sway-environment}"; } - { command = "${pkgs.ulauncher}/bin/ulauncher"; } { command = "${pkgs.sway-audio-idle-inhibit}/bin/sway-audio-idle-inhibit"; @@ -271,7 +274,8 @@ in { "${mod}+Return" = "exec ${pkgs.foot}/bin/foot"; "${mod}+Shift+Return" = "exec $term -e bash"; - "${mod}+r" = "exec ${pkgs.ulauncher}/bin/ulauncher-toggle"; + "${mod}+r" = "exec ${pkgs.rofi}/bin/rofi -show run"; + "${mod}+Shift+r" = "exec ${pkgs.rofi}/bin/rofi -show drun"; "${mod}+b" = "exec ${pkgs.firefox}/bin/firefox"; "${mod}+h" = "focus left";