updated quickshell
This commit is contained in:
@@ -1,5 +1,12 @@
|
||||
{ pkgs, ... }:
|
||||
{ pkgs, lib, config, ... }:
|
||||
|
||||
let
|
||||
# Deterministic Silicon Volt wallpaper: rendered from SVG at build time,
|
||||
# so the same source always produces a byte-identical image.
|
||||
wallpaper = pkgs.runCommand "silicon-volt-wallpaper.png" { } ''
|
||||
${pkgs.librsvg}/bin/rsvg-convert -w 3840 -h 2160 ${./wallpaper.svg} > $out
|
||||
'';
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
./hyprland.nix
|
||||
@@ -15,10 +22,51 @@
|
||||
wl-clipboard
|
||||
cliphist
|
||||
brightnessctl
|
||||
jq
|
||||
|
||||
# Desktop Environment / Hyprland ecosystem
|
||||
hyprpaper
|
||||
rofi
|
||||
hyprpolkitagent
|
||||
];
|
||||
|
||||
# Build-time rendered wallpaper
|
||||
xdg.dataFile."backgrounds/silicon-volt.png".source = wallpaper;
|
||||
|
||||
# hyprpaper: load the Silicon Volt wallpaper on every output
|
||||
xdg.configFile."hypr/hyprpaper.conf".text = ''
|
||||
preload = ${config.home.homeDirectory}/.local/share/backgrounds/silicon-volt.png
|
||||
wallpaper = ,${config.home.homeDirectory}/.local/share/backgrounds/silicon-volt.png
|
||||
splash = false
|
||||
'';
|
||||
|
||||
# Notifications: flat brutalist-glass cards with volt accents
|
||||
services.mako = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
background-color = "#1c1b1bee";
|
||||
text-color = "#e5e2e1";
|
||||
border-color = "#cffc00";
|
||||
border-size = 1;
|
||||
border-radius = 0;
|
||||
width = 420;
|
||||
margin = "12";
|
||||
padding = "14";
|
||||
default-timeout = 6000;
|
||||
font = "JetBrainsMono Nerd Font 11";
|
||||
format = "<b>%s</b>\\n%b";
|
||||
"icon-location" = "left";
|
||||
max-icon-size = 48;
|
||||
|
||||
"urgency=critical" = {
|
||||
border-color = "#ff7a59";
|
||||
text-color = "#ffffff";
|
||||
default-timeout = 0;
|
||||
};
|
||||
"urgency=low" = {
|
||||
border-color = "#2a2929";
|
||||
text-color = "#adaaaa";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user