install rofi

This commit is contained in:
♥ Minnie ♥ 2023-10-14 01:03:33 +08:00
parent ac44add81c
commit ecf07b487c
3 changed files with 11 additions and 2 deletions

View file

@ -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

View file

@ -0,0 +1,9 @@
{ inputs, outputs, lib, config, pkgs, ... }:
{
programs.rofi = {
enable = true;
font = "Fira Code 10";
};
}

View file

@ -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-<Space>" , sendMessage NextLayout ) -- %! Rotate through the available layout algorithms