Convert rofi config to nix properly
This commit is contained in:
parent
246f90818e
commit
56d0d21977
23
nixos/home-manager/env/rofi.nix
vendored
23
nixos/home-manager/env/rofi.nix
vendored
|
@ -1,9 +1,26 @@
|
||||||
{ ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
programs.rofi = {
|
programs.rofi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
location = "right";
|
location = "center";
|
||||||
pass.enable = true;
|
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;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
2
nixos/home-manager/env/sxhkd.nix
vendored
2
nixos/home-manager/env/sxhkd.nix
vendored
|
@ -8,7 +8,7 @@
|
||||||
"super + shift + Return" = "xfce4-terminal --drop-down";
|
"super + shift + Return" = "xfce4-terminal --drop-down";
|
||||||
|
|
||||||
# Launcher
|
# Launcher
|
||||||
"super + @space" = "rofi -show drun -theme $HOME/.dotfiles/rofi/config.rasi";
|
"super + @space" = "rofi -show drun";
|
||||||
|
|
||||||
# bspwm hotkeys
|
# bspwm hotkeys
|
||||||
"super + Escape" = "pkill -USR1 -x sxhkd";
|
"super + Escape" = "pkill -USR1 -x sxhkd";
|
||||||
|
|
Loading…
Reference in a new issue