Initial commit: Nomarchy NixOS configuration
An opinionated NixOS configuration with Hyprland, featuring: - Modular flake-based architecture - Parameterized user configuration (username, timezone, locale, etc.) - Classical/antiquity theme with Thomas Cole wallpapers - Full Hyprland setup with waybar, rofi, swaync - Custom utility scripts (screenshots, screen recording, WiFi QR) - Neovim with LSP support - Interactive installer for existing NixOS systems - ISO builder for fresh installations Flake outputs: - nixosConfigurations.example - Test configuration - nixosConfigurations.installer - ISO installer - packages.iso - Bootable ISO image - apps.default - Interactive installer - lib.mkHost - Host builder function - templates.default - Starter template Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
82
modules/home/rofi.nix
Normal file
82
modules/home/rofi.nix
Normal file
@@ -0,0 +1,82 @@
|
||||
# Rofi application launcher configuration
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
home.file.".config/rofi/config.rasi".text = ''
|
||||
configuration {
|
||||
modi: "drun,run";
|
||||
show-icons: true;
|
||||
icon-theme: "Papirus";
|
||||
font: "JetBrainsMono Nerd Font 13";
|
||||
}
|
||||
|
||||
* {
|
||||
bg: rgba(26, 22, 17, 0.9);
|
||||
bg-alt: rgba(45, 38, 32, 0.95);
|
||||
fg: #d4c4a8;
|
||||
fg-alt: #8b7355;
|
||||
accent: #d4a857;
|
||||
urgent: #a63d40;
|
||||
|
||||
background-color: transparent;
|
||||
text-color: @fg;
|
||||
}
|
||||
|
||||
window {
|
||||
width: 500px;
|
||||
background-color: @bg;
|
||||
border: 2px solid;
|
||||
border-color: rgba(212, 168, 87, 0.5);
|
||||
border-radius: 12px;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
background-color: @bg-alt;
|
||||
border-radius: 8px;
|
||||
padding: 12px;
|
||||
margin: 0 0 15px 0;
|
||||
children: [prompt, entry];
|
||||
}
|
||||
|
||||
prompt {
|
||||
text-color: @accent;
|
||||
padding: 0 10px 0 0;
|
||||
}
|
||||
|
||||
entry {
|
||||
text-color: @fg;
|
||||
placeholder: "Search...";
|
||||
placeholder-color: @fg-alt;
|
||||
cursor-color: @accent;
|
||||
}
|
||||
|
||||
listview {
|
||||
lines: 12;
|
||||
spacing: 5px;
|
||||
scrollbar: false;
|
||||
}
|
||||
|
||||
element {
|
||||
padding: 10px 15px;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: rgba(212, 168, 87, 0.2);
|
||||
text-color: @accent;
|
||||
}
|
||||
|
||||
element-icon {
|
||||
size: 24px;
|
||||
padding: 0 10px 0 0;
|
||||
}
|
||||
|
||||
element-text {
|
||||
text-color: inherit;
|
||||
}
|
||||
'';
|
||||
}
|
||||
Reference in New Issue
Block a user