mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-25 01:33:17 +01:00
chore(nix): Clean up rofi module
This commit is contained in:
parent
e82b8d40f9
commit
942785cf5b
@ -1,11 +1,17 @@
|
|||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
|
let
|
||||||
|
inherit (pkgs) rofi-wayland;
|
||||||
|
inherit (lib) mkForce;
|
||||||
|
inherit (config.lib.formats.rasi) mkLiteral;
|
||||||
|
inherit (config.lib.stylix.colors) base00 base05;
|
||||||
|
in
|
||||||
{
|
{
|
||||||
programs.rofi = {
|
programs.rofi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
cycle = false;
|
cycle = false;
|
||||||
|
|
||||||
package = pkgs.rofi-wayland;
|
package = rofi-wayland;
|
||||||
|
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
modi = "drun,filebrowser";
|
modi = "drun,filebrowser";
|
||||||
@ -25,7 +31,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
# Based on Newman Sánchez's Launchpad theme <https://github.com/newmanls/rofi-themes-collection>
|
# Based on Newman Sánchez's Launchpad theme <https://github.com/newmanls/rofi-themes-collection>
|
||||||
theme = let inherit (config.lib.formats.rasi) mkLiteral; in with config.lib.stylix.colors; lib.mkForce {
|
theme = mkForce {
|
||||||
"*" = {
|
"*" = {
|
||||||
font = "Noto Sans CJK JP Bold 12";
|
font = "Noto Sans CJK JP Bold 12";
|
||||||
background-color = mkLiteral "transparent";
|
background-color = mkLiteral "transparent";
|
||||||
|
Loading…
Reference in New Issue
Block a user