diff --git a/home-manager/sajenim/home.nix b/home-manager/sajenim/home.nix index 4398839..718fa1c 100644 --- a/home-manager/sajenim/home.nix +++ b/home-manager/sajenim/home.nix @@ -18,6 +18,7 @@ # User programs ./programs/discord ./programs/mangohud + ./programs/rofi # Common programs ../common/programs/git @@ -67,7 +68,6 @@ packages = with pkgs; [ # Stable user programs bitwarden - dmenu feh gamemode spotify diff --git a/home-manager/sajenim/programs/rofi/default.nix b/home-manager/sajenim/programs/rofi/default.nix new file mode 100644 index 0000000..8678a0f --- /dev/null +++ b/home-manager/sajenim/programs/rofi/default.nix @@ -0,0 +1,9 @@ +{ inputs, outputs, lib, config, pkgs, ... }: + +{ + programs.rofi = { + enable = true; + font = "Fira Code 10"; + }; +} + diff --git a/pkgs/xmonad-config/src/xmonad.hs b/pkgs/xmonad-config/src/xmonad.hs index 63368b0..a6c8cf6 100644 --- a/pkgs/xmonad-config/src/xmonad.hs +++ b/pkgs/xmonad-config/src/xmonad.hs @@ -36,7 +36,7 @@ myWorkspaces = ["code", "chat", "web", "games", "misc"] myKeys = -- launching and killing programs [ ("M-n" , spawn myTerminal ) -- %! Launch terminal - , ("M-e" , spawn "dmenu_run" ) -- %! Launch dmenu + , ("M-e" , spawn "rofi -show run" ) -- %! Launch rofi , ("M-C-w" , kill ) -- %! Close the focused window -- layouts , ("M-" , sendMessage NextLayout ) -- %! Rotate through the available layout algorithms