This commit is contained in:
Harald Hoyer 2024-01-11 10:26:46 +00:00
parent 66c05f9093
commit 45d6f4b0f3
205 changed files with 9040 additions and 342 deletions

View file

@ -0,0 +1,42 @@
/*
vim: filetype=css
*/
configuration {
fullscreen: false;
show-icons: false;
sidebar-mode: false;
}
* {
// Default bg is transparent.
background-color: transparent;
// Default text is white
text-color: white;
spacing: 30;
}
#window {
// Default font
font: "Nerd Font Hack 18";
fullscreen: true;
transparency: "background";
background-color: #282a36BA;
// Add dummy widgets on top and bottom so the sizing
// nicely centers hdum, independent of resolution.
children: [ dummy1, hdum, dummy2 ];
}
#hdum {
orientation: horizontal;
// Add dummy widgets on left and right so the sizing
// nicely centers mainbox, independent of resolution.
children: [ dummy3, mainbox, dummy4 ];
}
#element selected {
text-color: #caa9fa;
}

View file

@ -0,0 +1,18 @@
{ options, config, lib, pkgs, ... }:
with lib;
with lib.plusultra;
let cfg = config.plusultra.desktop.addons.rofi;
in
{
options.plusultra.desktop.addons.rofi = with types; {
enable =
mkBoolOpt false "Whether to enable Rofi in the desktop environment.";
};
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [ rofi ];
plusultra.home.configFile."rofi/config.rasi".source = ./config.rasi;
};
}