diff options
| author | Natasha Moongrave <natasha@256phi.eu> | 2026-04-10 12:13:36 +0200 |
|---|---|---|
| committer | Natasha Moongrave <natasha@256phi.eu> | 2026-04-10 12:13:36 +0200 |
| commit | 648e12342110718ca3736ec0082a688590cc0f7d (patch) | |
| tree | 0d05e32e6cf7fbb05e8a5e20984e14db77406071 | |
| parent | 0f4f072b317bafad7016dcb9fdb3a4dd593d7f85 (diff) | |
Add schrottkatze rice: terminal, notifications, fuzzel, swayidle, layaway
Kitty with Gruvbox colors, Dunst notifications, Fuzzel launcher,
swayidle/swaylock screen locking, layaway layout tool.
| -rw-r--r-- | home/rices/schrottkatze/fuzzel.nix | 26 | ||||
| -rw-r--r-- | home/rices/schrottkatze/layaway.nix | 24 | ||||
| -rw-r--r-- | home/rices/schrottkatze/notifications.nix | 21 | ||||
| -rw-r--r-- | home/rices/schrottkatze/swayidle.nix | 15 | ||||
| -rw-r--r-- | home/rices/schrottkatze/terminal.nix | 36 |
5 files changed, 122 insertions, 0 deletions
diff --git a/home/rices/schrottkatze/fuzzel.nix b/home/rices/schrottkatze/fuzzel.nix new file mode 100644 index 0000000..d31dee7 --- /dev/null +++ b/home/rices/schrottkatze/fuzzel.nix @@ -0,0 +1,26 @@ +{lib, ...}: { + programs.fuzzel = { + enable = true; + settings = { + main = { + font = lib.mkForce "Departure Mono:size=13"; + terminal = "kitty"; + lines = 15; + width = 50; + horizontal-pad = 20; + vertical-pad = 12; + }; + colors = { + background = lib.mkForce "282828ff"; + match = lib.mkForce "d65d0eff"; + selection-match = lib.mkForce "fe8019ff"; + border = lib.mkForce "bab9e5ff"; + }; + border = { + radius = 10; + selection-radius = 3; + width = 3; + }; + }; + }; +} diff --git a/home/rices/schrottkatze/layaway.nix b/home/rices/schrottkatze/layaway.nix new file mode 100644 index 0000000..35db5ee --- /dev/null +++ b/home/rices/schrottkatze/layaway.nix @@ -0,0 +1,24 @@ +{pkgs, lib, ...}: +let + layaway = pkgs.rustPlatform.buildRustPackage rec { + pname = "layaway"; + version = "0.2.0"; + + src = pkgs.fetchFromGitHub { + owner = "MultisampledNight"; + repo = pname; + rev = "v${version}"; + hash = "sha256-SzAuVFEy56svasO3+1p6ysBRrIQd0UZX++/P4ZuwWm0="; + }; + + cargoHash = "sha256-QVxlkE+sq4U048LnshI/tq6HInKiSgjQLAdR+27/wEI="; + + meta = with lib; { + description = "Layout creation for Sway via a relative and human-readable DSL."; + homepage = "https://github.com/MultisampledNight/layaway"; + maintainers = [maintainers.multisn8]; + }; + }; +in { + home.packages = [layaway]; +} diff --git a/home/rices/schrottkatze/notifications.nix b/home/rices/schrottkatze/notifications.nix new file mode 100644 index 0000000..37390e9 --- /dev/null +++ b/home/rices/schrottkatze/notifications.nix @@ -0,0 +1,21 @@ +{pkgs, ...}: { + home.packages = [ + pkgs.libnotify + ]; + services.dunst = { + enable = true; + settings = { + global = { + dmenu = "${pkgs.rofi}/bin/rofi -theme gruvbox-dark -dmenu -p dunst"; + browser = "${pkgs.firefox}/bin/firefox"; + mouse_left_click = "context"; + mouse_middle_click = "close_current"; + background = "#282828"; + foreground = "#ebdbb2"; + frame_color = "#504945"; + frame_width = 2; + font = "Atkinson Hyperlegible"; + }; + }; + }; +} diff --git a/home/rices/schrottkatze/swayidle.nix b/home/rices/schrottkatze/swayidle.nix new file mode 100644 index 0000000..6d8525c --- /dev/null +++ b/home/rices/schrottkatze/swayidle.nix @@ -0,0 +1,15 @@ +{pkgs, ...}: { + services.swayidle = { + enable = true; + events = [ + { + event = "before-sleep"; + command = "${pkgs.swaylock}/bin/swaylock -fF -c 442244"; + } + { + event = "lock"; + command = "swaylock -c 441144"; + } + ]; + }; +} diff --git a/home/rices/schrottkatze/terminal.nix b/home/rices/schrottkatze/terminal.nix new file mode 100644 index 0000000..403449c --- /dev/null +++ b/home/rices/schrottkatze/terminal.nix @@ -0,0 +1,36 @@ +{...}: { + programs.kitty = { + enable = true; + font.size = 12; + font.name = "Departure Mono Nerd Font"; + keybindings = { + "ctrl+shift+n" = "new_os_window_with_cwd"; + }; + settings = rec { + adjust_column_width = "95%"; + color0 = "#282828"; + color8 = "#928374"; + color1 = "#cc241d"; + color9 = "#fb4934"; + color2 = "#98971a"; + color10 = "#b8bb26"; + color3 = "#d79921"; + color11 = "#fabd2f"; + color4 = "#458588"; + color12 = "#83a598"; + color5 = "#b16286"; + color13 = "#d3869b"; + color6 = "#689d6a"; + color14 = "#8ec07c"; + color7 = "#a89984"; + color15 = "#ebdbb2"; + foreground = color15; + background = "#1d2021"; + confirm_os_window_close = 0; + hide_window_decorations = true; + }; + }; + home.sessionVariables = { + TERMINAL = "kitty"; + }; +} |
