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 # User programs
./programs/discord ./programs/discord
./programs/mangohud ./programs/mangohud
./programs/rofi
# Common programs # Common programs
../common/programs/git ../common/programs/git
@ -67,7 +68,6 @@
packages = with pkgs; [ packages = with pkgs; [
# Stable user programs # Stable user programs
bitwarden bitwarden
dmenu
feh feh
gamemode gamemode
spotify 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 = myKeys =
-- launching and killing programs -- launching and killing programs
[ ("M-n" , spawn myTerminal ) -- %! Launch terminal [ ("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 , ("M-C-w" , kill ) -- %! Close the focused window
-- layouts -- layouts
, ("M-<Space>" , sendMessage NextLayout ) -- %! Rotate through the available layout algorithms , ("M-<Space>" , sendMessage NextLayout ) -- %! Rotate through the available layout algorithms