Convert rofi config to nix properly

This commit is contained in:
Evie Litherland-Smith 2023-04-07 09:42:12 +01:00
parent 246f90818e
commit 56d0d21977
2 changed files with 21 additions and 4 deletions

View file

@ -1,9 +1,26 @@
{ ... }:
{ pkgs, ... }:
{
programs.rofi = {
enable = true;
location = "right";
location = "center";
pass.enable = true;
terminal = "kitty";
terminal = "\${pkgs.kitty}/bin/kitty";
plugins = with pkgs; [
rofi-calc
];
extraConfig = {
modi = "run,drun,window,calc";
icon-theme = "Oranchelo";
show-icons = true;
drun-display-format = "{icon} {name}";
disable-history = false;
hide-scrollbar = true;
display-drun = " Apps ";
display-run = " Run ";
display-window = " Window";
display-calc = " Calculator";
sidebar-mode = true;
};
theme = ./config/rofi/catppuccin-macchiato.rasi;
};
}

View file

@ -8,7 +8,7 @@
"super + shift + Return" = "xfce4-terminal --drop-down";
# Launcher
"super + @space" = "rofi -show drun -theme $HOME/.dotfiles/rofi/config.rasi";
"super + @space" = "rofi -show drun";
# bspwm hotkeys
"super + Escape" = "pkill -USR1 -x sxhkd";