summaryrefslogtreecommitdiff
path: root/home/rices/schrottkatze
diff options
context:
space:
mode:
Diffstat (limited to 'home/rices/schrottkatze')
-rw-r--r--home/rices/schrottkatze/README.md88
-rw-r--r--home/rices/schrottkatze/default.nix4
-rw-r--r--home/rices/schrottkatze/eww.nix6
-rw-r--r--home/rices/schrottkatze/eww/configDir/bottomBar/bottomBar.yuck77
-rw-r--r--home/rices/schrottkatze/eww/configDir/bottomBar/traveldings.yuck37
-rw-r--r--home/rices/schrottkatze/eww/configDir/bottomBar/workspaces.yuck18
-rw-r--r--home/rices/schrottkatze/eww/configDir/eww.css58
-rw-r--r--home/rices/schrottkatze/eww/configDir/eww.yuck36
-rwxr-xr-xhome/rices/schrottkatze/eww/configDir/scripts/bat.nu78
-rwxr-xr-xhome/rices/schrottkatze/eww/configDir/scripts/iceTacho.nu38
-rw-r--r--home/rices/schrottkatze/eww/configDir/topBar/sysinfo.yuck22
-rw-r--r--home/rices/schrottkatze/eww/configDir/topBar/time.yuck10
-rw-r--r--home/rices/schrottkatze/eww/configDir/topBar/topBar.yuck55
-rw-r--r--home/rices/schrottkatze/eww/configDir/util.yuck10
-rw-r--r--home/rices/schrottkatze/fuzzel.nix26
-rw-r--r--home/rices/schrottkatze/home.nix37
-rw-r--r--home/rices/schrottkatze/layaway.nix24
-rw-r--r--home/rices/schrottkatze/niri.nix40
-rw-r--r--home/rices/schrottkatze/niri/kdl/binds.kdl124
-rw-r--r--home/rices/schrottkatze/niri/kdl/input.kdl22
-rw-r--r--home/rices/schrottkatze/niri/kdl/overviews.kdl19
-rw-r--r--home/rices/schrottkatze/niri/kdl/privacy.kdl12
-rw-r--r--home/rices/schrottkatze/niri/kdl/quirks.kdl42
-rw-r--r--home/rices/schrottkatze/niri/kdl/screenshot.kdl6
-rw-r--r--home/rices/schrottkatze/niri/kdl/style.kdl84
-rw-r--r--home/rices/schrottkatze/niri/kdl/workspaces.kdl.disabled63
-rwxr-xr-xhome/rices/schrottkatze/niri/scripts/cpdate.sh20
-rw-r--r--home/rices/schrottkatze/niri/shaders/arc.frag131
-rw-r--r--home/rices/schrottkatze/niri/wallpaper.jpgbin8827762 -> 0 bytes
-rw-r--r--home/rices/schrottkatze/notifications.nix21
-rw-r--r--home/rices/schrottkatze/stylix.nix24
-rw-r--r--home/rices/schrottkatze/swayidle.nix15
-rw-r--r--home/rices/schrottkatze/system.nix122
-rw-r--r--home/rices/schrottkatze/terminal.nix36
34 files changed, 0 insertions, 1405 deletions
diff --git a/home/rices/schrottkatze/README.md b/home/rices/schrottkatze/README.md
deleted file mode 100644
index 9442c65..0000000
--- a/home/rices/schrottkatze/README.md
+++ /dev/null
@@ -1,88 +0,0 @@
-# schrottkatze
-
-NixOS rice built on **Niri** (Wayland compositor) with **Gruvbox Dark Hard** theming.
-
-![wallpaper](niri/wallpaper.jpg)
-
-## Stack
-
-| Component | Choice |
-|-----------|--------|
-| Compositor | [Niri](https://github.com/YaLTeR/niri) (Wayland) |
-| Terminal | Kitty (+ Alacritty backup) |
-| Bar | [Eww](https://github.com/elkowar/eww) (top + bottom) |
-| Launcher | Fuzzel |
-| Editor | Helix |
-| Browser | Firefox (hardened, Tridactyl) |
-| Notifications | Dunst |
-| Lock Screen | Swaylock + Swayidle |
-| Theme Engine | [Stylix](https://github.com/danth/stylix) |
-
-## Features
-
-- **Gruvbox Dark Hard** palette applied system-wide via Stylix
-- **Gradient window borders** — pink-to-cyan active, pink-to-orange inactive
-- **Custom GLSL window open animation** (`arc.frag` shader)
-- **Eww bars** with CPU/RAM/battery monitors, systray, workspace indicators, Mullvad VPN status
-- **Decorative pride flag overlays** on both bars
-- **Privacy-hardened Firefox** — telemetry disabled, HTTPS-only, fingerprinting resistance, uBlock Origin
-- **Screen capture blocking** for sensitive apps (Signal, Element, Discord)
-- **Vim-style keybindings** throughout (hjkl navigation in Niri)
-- **Czech keyboard layout** with Caps→Escape remap
-- **Xwayland support** via `xwayland-satellite`
-
-## Fonts
-
-| Role | Font |
-|------|------|
-| Monospace | Departure Mono Nerd Font |
-| Sans-serif | Atkinson Hyperlegible |
-| Serif | Linux Libertine O |
-| Emoji | Noto Color Emoji |
-
-## Structure
-
-```
-.
-├── default.nix # Entry point — imports system + home
-├── system.nix # System-level config (Niri, Pipewire, Stylix, fonts)
-├── home.nix # Home Manager config (packages, GPG agent)
-├── browser.nix # Firefox setup, extensions, search engines
-├── terminal.nix # Kitty config
-├── notifications.nix # Dunst config
-├── fuzzel.nix # Launcher config
-├── eww.nix # Bar config
-├── niri.nix # Niri compositor config (KDL generation)
-├── stylix.nix # Theme overrides
-├── swayidle.nix # Lock screen integration
-├── niri/
-│ ├── wallpaper.jpg
-│ ├── arc.frag # Window open animation shader
-│ └── kdl/ # Niri config modules
-│ ├── binds.kdl # Keybindings
-│ ├── style.kdl # Window styling
-│ ├── input.kdl # Keyboard/mouse/touchpad
-│ ├── quirks.kdl # Per-app window rules
-│ ├── privacy.kdl # Screen capture blocks
-│ └── ...
-└── eww/
- └── configDir/ # Eww bar widgets, scripts, CSS
-```
-
-## Key Bindings
-
-| Bind | Action |
-|------|--------|
-| `Mod+Return` | Kitty |
-| `Mod+D` | Fuzzel launcher |
-| `Mod+N` | Firefox |
-| `Mod+E` | Edit Niri config |
-| `Mod+M` | Color picker |
-| `Mod+I` | Emoji picker |
-| `Mod+hjkl` | Focus window (vim dirs) |
-| `Mod+Shift+hjkl` | Move window |
-| `Mod+1-9` | Switch workspace |
-
-## Search Engines (Firefox)
-
-Kagi (default), DuckDuckGo, Nix Packages, Nix Options, Home Manager Options, NixOS Wiki, Noogle, lib.rs, Rust docs, MDN.
diff --git a/home/rices/schrottkatze/default.nix b/home/rices/schrottkatze/default.nix
deleted file mode 100644
index 6b7865d..0000000
--- a/home/rices/schrottkatze/default.nix
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- system = import ./system.nix;
- home = import ./home.nix;
-}
diff --git a/home/rices/schrottkatze/eww.nix b/home/rices/schrottkatze/eww.nix
deleted file mode 100644
index 599738a..0000000
--- a/home/rices/schrottkatze/eww.nix
+++ /dev/null
@@ -1,6 +0,0 @@
-{...}: {
- programs.eww = {
- enable = true;
- configDir = ./eww/configDir;
- };
-}
diff --git a/home/rices/schrottkatze/eww/configDir/bottomBar/bottomBar.yuck b/home/rices/schrottkatze/eww/configDir/bottomBar/bottomBar.yuck
deleted file mode 100644
index d955d31..0000000
--- a/home/rices/schrottkatze/eww/configDir/bottomBar/bottomBar.yuck
+++ /dev/null
@@ -1,77 +0,0 @@
-(include "bottomBar/workspaces.yuck")
-(include "bottomBar/traveldings.yuck")
-
-(defwindow bottomBar
- :monitor 0
- :stacking "fg"
- :wm-ignore true
- :exclusive true
- :geometry (geometry
- :width "100%"
- :height "33px"
- :anchor "bottom center")
- (bottomBar))
-
-(defwidget bottomBar []
- (overlay
- :class "bottomBar"
- (transform
- :translate-y "1.5px"
- (centerbox
- (box
- :halign "start"
- (workspaceWidget)
- )
- (box
- :halign "center"
- (traveldings)
- )
- (box
- :halign "end"
- ; (label :text "${iceData.speed}km/h")
- (mullvadThing)
- )
- )
- )
- (box
- :class "lesbianFlag"
- :height 1
- ( flagEl :flipped true :color "#D52D00")
- ( flagEl :flipped true :color "#EF7627")
- ( flagEl :flipped true :color "#FF9A56")
- ( flagEl :flipped true :color "#FFFFFF")
- ( flagEl :flipped true :color "#D162A4")
- ( flagEl :flipped true :color "#B55690")
- ( flagEl :flipped true :color "#A30262")
- )
- )
-)
-
-(deflisten mullvad
- :initial "{\"state\":\"init\"}"
- `mullvad status -j listen`
-)
-
-(defwidget mullvadThing []
- (box
- :class "container"
- (button
- :height 16
- :width 16
- :class "mullvad-state-${mullvad.state}"
- )
- )
-)
-
-(defwidget iceTacho []
- (box
- :class "iceTacho"
- :tooltip "Tz${iceTachoData.tzn} (BR ${iceTachoData.br})"
- (label :text "${iceTachoData.speed} km/h")
- )
-)
-
-(deflisten iceTachoData
- :initial "null"
- { "~/.config/eww/scripts/iceTacho.nu" }
-)
diff --git a/home/rices/schrottkatze/eww/configDir/bottomBar/traveldings.yuck b/home/rices/schrottkatze/eww/configDir/bottomBar/traveldings.yuck
deleted file mode 100644
index 62de26e..0000000
--- a/home/rices/schrottkatze/eww/configDir/bottomBar/traveldings.yuck
+++ /dev/null
@@ -1,37 +0,0 @@
-(defwidget traveldings []
- (revealer
- :class "traveldings"
- :transition "crossfade"
- :reveal { traveldings_data != "null" }
- (traveldingsBarWidget)
- )
-)
-
-(defwidget traveldingsBarWidget []
- (overlay
- (box
- :width 640
- (label
- :halign "start"
- :text "${traveldings_data.line} -> ${strlength(traveldings_data.arrival_station) > 24 ? "${substring(traveldings_data.arrival_station, 0, 24)}…" : traveldings_data.arrival_station}${traveldings_data.arrival_platform_data_available ? " (Gl. ${traveldings_data.arrival_platform_real})" : ""}"
- )
- (label
- :halign "end"
- :text { traveldings_data.time_left >= 3600 ? formattime(traveldings_data.time_left, "noch %-Hh %-Mmin", "Etc/UTC") : formattime(traveldings_data.time_left, "noch %-Mmin", "Etc/UTC") }
- )
- )
- (box
- (progress
- :class { traveldings_data.live ? "traveldings_live" : "traveldings_disconnected" }
- :value {traveldings_data.progress * 100}
- :orientation "horizontal"
- )
- )
- )
-)
-
-
-(deflisten traveldings_data
- :initial "null"
- "traveldings current"
-)
diff --git a/home/rices/schrottkatze/eww/configDir/bottomBar/workspaces.yuck b/home/rices/schrottkatze/eww/configDir/bottomBar/workspaces.yuck
deleted file mode 100644
index 2709e1b..0000000
--- a/home/rices/schrottkatze/eww/configDir/bottomBar/workspaces.yuck
+++ /dev/null
@@ -1,18 +0,0 @@
-(defwidget workspaceWidget []
- (box
- :class "workspaces"
- (for workspace in workspaces
- (button
- :style "border-bottom: 4px solid ${workspace.color}${workspace.active ? "; background-color: #3c3836" : ""}"
- :class "${workspace.focused ? "focused" : ""}"
- :onclick "niri msg action focus-workspace ${workspace.idx}"
- (label :text "${workspace.icon ?: workspace.idx}")
- )
- )
- )
-)
-
-(deflisten workspaces
- :initial "[]"
- "bar-ws-monitor"
-)
diff --git a/home/rices/schrottkatze/eww/configDir/eww.css b/home/rices/schrottkatze/eww/configDir/eww.css
deleted file mode 100644
index 2ce2ac5..0000000
--- a/home/rices/schrottkatze/eww/configDir/eww.css
+++ /dev/null
@@ -1,58 +0,0 @@
-label {
- font: 14pt "Departure Mono Nerd Font";
-}
-
-button {
- border-radius: 0px;
- padding: 0;
-}
-
-.background {
- background-color: #1d2021;
-}
-
-.workspaces button {
- border: 0px;
- padding: 5px 4px 0 4px;
-}
-
-.workspaces button.focused {
- background-color: #504935;
-}
-
-.traveldings progressbar trough {
- border: none;
- background-color: #3c3836;
- border-bottom-right-radius: 0;
- border-bottom-left-radius: 0;
-}
-
-.traveldings progressbar.traveldings_live progress {
- background-color: #79740e;
- border-bottom-left-radius: 0;
-}
-
-.traveldings progressbar.traveldings_disconnected progress {
- background-color: #cc241d;
-}
-
-
-.traveldingsWindow {
- border-radius: 15px;
-}
-
-.mullvad-state-connected {
- background-color: #98971a
-}
-
-.mullvad-state-connecting {
- background-color: #d79921
-}
-
-.mullvad-state-disconnected {
- background-color: #cc241d
-}
-
-.mullvad-state-init {
- background-color: #458588
-}
diff --git a/home/rices/schrottkatze/eww/configDir/eww.yuck b/home/rices/schrottkatze/eww/configDir/eww.yuck
deleted file mode 100644
index f6f20f5..0000000
--- a/home/rices/schrottkatze/eww/configDir/eww.yuck
+++ /dev/null
@@ -1,36 +0,0 @@
-(include "topBar/topBar.yuck")
-(include "bottomBar/bottomBar.yuck")
-
-(include "topBar/time.yuck")
-
-(defwindow streamUi
- :monitor 0
- :stacking "fg"
- :wm-ignore true
- :exclusive true
- :geometry (geometry
- :width "640px"
- :height "100%"
- :anchor "center right")
- (centerbox
- :style "padding: 0 3px"
- :orientation "vertical"
- (label :text "hi")
- (label :text "hi")
- (centerbox
- :valign "end"
- (box
- :halign "start"
- (systray
- :icon-size 18
- :spacing 3
- )
- )
- (box)
- (box
- :halign "end"
- (time)
- )
- )
- )
-)
diff --git a/home/rices/schrottkatze/eww/configDir/scripts/bat.nu b/home/rices/schrottkatze/eww/configDir/scripts/bat.nu
deleted file mode 100755
index fd34c50..0000000
--- a/home/rices/schrottkatze/eww/configDir/scripts/bat.nu
+++ /dev/null
@@ -1,78 +0,0 @@
-#!/usr/bin/env nu
-
-const ICONS = [
- [ normal charging];
- [ 󰂎 󰢟 ]
- [ 󰁺 󰢜 ]
- [ 󰁻 󰂆 ]
- [ 󰁼 󰂇 ]
- [ 󰁽 󰂈 ]
- [ 󰁾 󰢝 ]
- [ 󰁿 󰂉 ]
- [ 󰂀 󰢞 ]
- [ 󰂁 󰂊 ]
- [ 󰂂 󰂋 ]
- [ 󰁹 󰂅 ]
-];
-
-const DELAY = 2sec;
-
-def "main auto" [] {
- loop {
- let paths = ls "/sys/class/power_supply"
- | each {|it| $it.name | path basename}
- | filter {|it| $it starts-with "BAT"};
-
- if ($paths | is-not-empty) {
- let result = $paths
- | each {|it| get_and_format $it}
- | str join " | "
- | prepend "| "
- | str join;
-
- print $result
- } else {
- print ""
- }
- sleep $DELAY;
- }
-}
-
-def main [ path: string ] {
- loop {
- print (get_and_format $path)
- sleep $DELAY;
- }
-}
-
-def get_and_format [ path: string ] {
- let fract = get_bat_charge_fraction $path;
- let is_charging = get_bat_charging_status $path;
- let percent = ($fract * 100) | math round;
-
- return $"<span foreground=\"#d65d0e\">(get_bat_icon $fract $is_charging)</span> ($percent)<span foreground=\"#7c6f64\">%</span>";
-}
-
-def get_bat_charge_fraction [
- path: string
-] {
- let energy_full = open $"/sys/class/power_supply/($path)/energy_full" | into float;
- let energy_now = open $"/sys/class/power_supply/($path)/energy_now" | into float;
-
- $energy_now / $energy_full
-}
-
-def get_bat_charging_status [
- path: string
-] {
- let status = open $"/sys/class/power_supply/($path)/status";
-
- $status like Charging
-}
-
-def get_bat_icon [
- frac: float
- is_charging = false
-] {
- $ICONS | get (($frac * 10) | math round) | get (if ($is_charging) { "charging" } else { "normal" })
-}
diff --git a/home/rices/schrottkatze/eww/configDir/scripts/iceTacho.nu b/home/rices/schrottkatze/eww/configDir/scripts/iceTacho.nu
deleted file mode 100755
index 5225dc2..0000000
--- a/home/rices/schrottkatze/eww/configDir/scripts/iceTacho.nu
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/usr/bin/env nu
-
-const TABLE = {
- 401: 280
- 402: 280
- 403: 330
- 406: 330
- 407: 320
- 408: 320
- 411: 230
- 415: 230
- 412: 265
- 605: 200
-};
-
-def main [ ] {
- loop {
- if ((iw dev wlp4s0 link | lines | filter {|it| $it =~ "WIFIonICE" } | length) == 1) {
- let iceData = http get https://iceportal.de/api1/rs/status;
- let tzn = $iceData.tzn;
- let br = $iceData.series;
- let speed = $iceData.speed;
- let speedfrac = $speed / ($TABLE | get $br);
-
- print ({
- tzn: $tzn,
- br: $br,
- speed: $speed,
- frac: $speedfrac
- } | to json -r);
-
- sleep 2sec;
- } else {
- print "null";
- sleep 5sec;
- }
- }
-}
diff --git a/home/rices/schrottkatze/eww/configDir/topBar/sysinfo.yuck b/home/rices/schrottkatze/eww/configDir/topBar/sysinfo.yuck
deleted file mode 100644
index c37838a..0000000
--- a/home/rices/schrottkatze/eww/configDir/topBar/sysinfo.yuck
+++ /dev/null
@@ -1,22 +0,0 @@
-(deflisten bat
- :initial "<span foreground=\"#cc241d\">BAT0 ERR</span>"
- { "~/.config/eww/scripts/bat.nu auto"}
-)
-
-(defwidget cpu []
- (box
- :class "cpuIndicator"
- (label
- :markup "<span foreground=\"#d65d0e\"></span> ${strlength(round(EWW_CPU.avg, 0)) == 1 ? " ${round(EWW_CPU.avg, 0)}" : round(EWW_CPU.avg, 0)}<span foreground=\"#7c6f64\">%</span>"
- )
- )
-)
-
-(defwidget mem []
- (box
- :class "memIndicator"
- (label
- :markup "<span foreground=\"#d65d0e\"> </span> ${round(EWW_RAM.used_mem_perc, 0)}<span foreground=\"#7c6f64\">%</span>"
- )
- )
-)
diff --git a/home/rices/schrottkatze/eww/configDir/topBar/time.yuck b/home/rices/schrottkatze/eww/configDir/topBar/time.yuck
deleted file mode 100644
index ba22883..0000000
--- a/home/rices/schrottkatze/eww/configDir/topBar/time.yuck
+++ /dev/null
@@ -1,10 +0,0 @@
-(defwidget time []
- (label
- :markup {
- formattime(
- EWW_TIME,
- "<span foreground=\"#d65d0e\"></span> %Y<span foreground=\"#7c6f64\">-</span>%m<span foreground=\"#7c6f64\">-</span>%d <span foreground=\"#d65d0e\"></span> %H<span foreground=\"#7c6f64\">:</span>%M<span foreground=\"#7c6f64\">:</span>%S "
- )
- }
- )
-)
diff --git a/home/rices/schrottkatze/eww/configDir/topBar/topBar.yuck b/home/rices/schrottkatze/eww/configDir/topBar/topBar.yuck
deleted file mode 100644
index 4aee71f..0000000
--- a/home/rices/schrottkatze/eww/configDir/topBar/topBar.yuck
+++ /dev/null
@@ -1,55 +0,0 @@
-(include "topBar/time.yuck")
-(include "topBar/sysinfo.yuck")
-(include "util.yuck")
-
-(defwindow topBar
- :monitor 0
- :stacking "fg"
- :wm-ignore true
- :exclusive true
- :geometry (geometry
- :width "100%"
- :height "33px"
- :anchor "top center")
- (topBar))
-
-(defwidget topBar []
- (overlay
- :class "topBar"
- (transform
- :translate-y "-1.5px"
- (centerbox
- (box
- :halign "start"
- :spacing 12
- :space-evenly false
- (label :text " ")
- (cpu)
- (sep)
- (mem)
- (label :markup bat)
- )
- (box
- :halign "center"
- (systray
- :icon-size 18
- :spacing 3
- )
- )
- (box
- :halign "end"
- (time)
- )
- )
- )
- (box
- :class "transFlag"
- :height 1
- ( flagEl :flipped false :color "#5BCEFA")
- ( flagEl :flipped false :color "#F5A9B8")
- ( flagEl :flipped false :color "#FFFFFF")
- ( flagEl :flipped false :color "#F5A9B8")
- ( flagEl :flipped false :color "#5BCEFA")
- )
- )
-)
diff --git a/home/rices/schrottkatze/eww/configDir/util.yuck b/home/rices/schrottkatze/eww/configDir/util.yuck
deleted file mode 100644
index 3df84ab..0000000
--- a/home/rices/schrottkatze/eww/configDir/util.yuck
+++ /dev/null
@@ -1,10 +0,0 @@
-(defwidget flagEl [color ?flipped]
- (box
- :style "border-${flipped ? "top" : "bottom"}: 3px solid ${color}"
- :halign "fill"
- )
-)
-
-(defwidget sep []
- (label :text "|")
-)
diff --git a/home/rices/schrottkatze/fuzzel.nix b/home/rices/schrottkatze/fuzzel.nix
deleted file mode 100644
index d31dee7..0000000
--- a/home/rices/schrottkatze/fuzzel.nix
+++ /dev/null
@@ -1,26 +0,0 @@
-{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/home.nix b/home/rices/schrottkatze/home.nix
deleted file mode 100644
index 69a4a96..0000000
--- a/home/rices/schrottkatze/home.nix
+++ /dev/null
@@ -1,37 +0,0 @@
-{pkgs, ...}: {
- imports = [
- ./terminal.nix
- ./notifications.nix
- ./fuzzel.nix
- ./swayidle.nix
- ./niri.nix
- ./eww.nix
- # ./layaway.nix
- ./stylix.nix
- ];
-
- programs.swaylock.enable = true;
- services.network-manager-applet.enable = true;
- xsession.enable = true;
-
- home.packages = with pkgs; [
- fluent-reader
- obsidian
- zsh
- hyprpicker
- bemoji
- librsvg
- cairo
- xwayland-satellite
- ];
-
- fonts.fontconfig = {
- enable = true;
- defaultFonts = {
- emoji = ["Noto Color Emoji"];
- monospace = [];
- sansSerif = ["Atkinson Hyperlegible"];
- serif = [];
- };
- };
-}
diff --git a/home/rices/schrottkatze/layaway.nix b/home/rices/schrottkatze/layaway.nix
deleted file mode 100644
index 35db5ee..0000000
--- a/home/rices/schrottkatze/layaway.nix
+++ /dev/null
@@ -1,24 +0,0 @@
-{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/niri.nix b/home/rices/schrottkatze/niri.nix
deleted file mode 100644
index 32e145f..0000000
--- a/home/rices/schrottkatze/niri.nix
+++ /dev/null
@@ -1,40 +0,0 @@
-# this file must only be saved via autosave due to the formatter.
-# else it will be ugly
-{
- pkgs,
- lib,
- ...
-}: {
- home.packages = with pkgs; [
- zenity
- xwayland-satellite
- swaybg
- ];
-
- xdg.configFile."niri/live.kdl".text = "";
-
- home.file."config" = let
- kdlfiles =
- lib.mapAttrsToList
- (filename: _value: "include \"${./niri/kdl}/${filename}\"")
- (lib.filterAttrs (key: value: value == "regular") (builtins.readDir ./niri/kdl));
- startups =
- map (it: "spawn-at-startup ${it}")
- (map (lib.concatStringsSep " ")
- (map (map (word: "\"${word}\""))
- [
- ["eww" "open-many" "topBar" "bottomBar"]
- ["sh" "-c" "sleep 1 && swaybg -o eDP-1 -i ${../../../assets/wallpapers/insert_coin.jpeg} -m fill"]
- ["touch" ".config/niri/live.kdl"]
- ]));
- other = [
- "include \"live.kdl\""
- "output \"eDP-1\" { scale 1.1; }"
- "animations { window-open { duration-ms 3000; curve \"linear\"; custom-shader r\"\n${builtins.readFile ./niri/shaders/arc.frag}\";};}"
- "binds {Mod+Shift+I { spawn \"${./niri/scripts/cpdate.sh}\"; }; }"
- ];
- in {
- target = ".config/niri/config.kdl";
- text = lib.concatLines (startups ++ kdlfiles ++ other);
- };
-}
diff --git a/home/rices/schrottkatze/niri/kdl/binds.kdl b/home/rices/schrottkatze/niri/kdl/binds.kdl
deleted file mode 100644
index a926b6e..0000000
--- a/home/rices/schrottkatze/niri/kdl/binds.kdl
+++ /dev/null
@@ -1,124 +0,0 @@
-binds {
- // spawn terminal
- Mod+Return repeat=false { spawn "kitty"; }
- Mod+D repeat=false { spawn "fuzzel"; }
- Mod+M repeat=false { spawn "hyprpicker"; }
- Mod+I repeat=false { spawn "bemoji" "-n"; }
- Mod+N repeat=false { spawn "firefox"; }
- Mod+E repeat=false { spawn "kitty" "vi" "~/.config/niri/live.kdl"; }
-
- Mod+Ctrl+Shift+E { quit; }
- Mod+Shift+Q { close-window; }
- Mod+Ctrl+Shift+P { power-off-monitors; }
-
- Mod+Shift+Ctrl+Slash allow-inhibiting=false { toggle-keyboard-shortcuts-inhibit; }
-
- Mod+Shift+Slash { show-hotkey-overlay; }
-
- Mod+Shift+C { set-dynamic-cast-window; }
- Mod+Ctrl+C { set-dynamic-cast-monitor; }
- Mod+Shift+Ctrl+C { clear-dynamic-cast-target; }
-
- // window/columns controls (focus: vim keys)
- Mod+H { focus-column-left; }
- Mod+J { focus-window-down; }
- Mod+K { focus-window-up; }
- Mod+L { focus-column-right; }
-
- // window/columns controls (focus: arrow keys)
- Mod+Left { focus-column-left; }
- Mod+Down { focus-window-down; }
- Mod+Up { focus-window-up; }
- Mod+Right { focus-column-right; }
-
- // move windows (vim keys)
- Mod+Shift+H { move-column-left; }
- Mod+Shift+J { move-window-down; }
- Mod+Shift+K { move-window-up; }
- Mod+Shift+L { move-column-right; }
-
- // move windows (arrow keys)
- Mod+Shift+Left { move-column-left; }
- Mod+Shift+Down { move-window-down; }
- Mod+Shift+Up { move-window-up; }
- Mod+Shift+Right { move-column-right; }
-
- Mod+R { switch-preset-column-width; }
-
- Mod+Space { toggle-overview; }
-
- Mod+V { toggle-window-floating; }
- Mod+Shift+V { switch-focus-between-floating-and-tiling; }
-
- // workspace navigation
- Mod+P { focus-workspace-up; }
- Mod+Ctrl+P { move-workspace-up; }
- Mod+Shift+P { move-column-to-workspace-up; }
- Mod+WheelScrollUp cooldown-ms=150 { focus-workspace-up; }
- Mod+WheelScrollDown cooldown-ms=150 { focus-workspace-down; }
- Mod+Ctrl+WheelScrollUp cooldown-ms=150 { move-column-to-workspace-up; }
- Mod+Ctrl+WheelScrollDown cooldown-ms=150 { move-column-to-workspace-down; }
- Mod+1 { focus-workspace 1; }
- Mod+2 { focus-workspace 2; }
- Mod+3 { focus-workspace 3; }
- Mod+4 { focus-workspace 4; }
- Mod+5 { focus-workspace 5; }
- Mod+6 { focus-workspace 6; }
- Mod+7 { focus-workspace 7; }
- Mod+8 { focus-workspace 8; }
- Mod+9 { focus-workspace 9; }
- Mod+Ctrl+1 { move-column-to-workspace 1; }
- Mod+Ctrl+2 { move-column-to-workspace 2; }
- Mod+Ctrl+3 { move-column-to-workspace 3; }
- Mod+Ctrl+4 { move-column-to-workspace 4; }
- Mod+Ctrl+5 { move-column-to-workspace 5; }
- Mod+Ctrl+6 { move-column-to-workspace 6; }
- Mod+Ctrl+7 { move-column-to-workspace 7; }
- Mod+Ctrl+8 { move-column-to-workspace 8; }
- Mod+Ctrl+9 { move-column-to-workspace 9; }
-
- // monitor controls
- Mod+Ctrl+H { focus-monitor-left; }
- Mod+Ctrl+J { focus-monitor-down; }
- Mod+Ctrl+K { focus-monitor-up; }
- Mod+Ctrl+L { focus-monitor-right; }
- Mod+Shift+Ctrl+H { move-column-to-monitor-left; }
- Mod+Shift+Ctrl+J { move-column-to-monitor-down; }
- Mod+Shift+Ctrl+K { move-column-to-monitor-up; }
- Mod+Shift+Ctrl+L { move-column-to-monitor-right; }
-
- // column editing stuffs
- Mod+BracketLeft { consume-or-expel-window-left; }
- Mod+BracketRight { consume-or-expel-window-right; }
- Mod+C { center-column; }
- Mod+Minus { set-column-width "-5%"; }
- Mod+Equal { set-column-width "+5%"; }
- Mod+Shift+Minus { set-window-height "-10%"; }
- Mod+Shift+Equal { set-window-height "+10%"; }
- Mod+Shift+W { toggle-column-tabbed-display; }
-
- Mod+F { maximize-column; }
- Alt+F { expand-column-to-available-width; }
- Mod+Shift+F { maximize-window-to-edges; }
- Mod+Ctrl+F { fullscreen-window; }
-
- Mod+Shift+Ctrl+F { toggle-windowed-fullscreen; }
-
- // media keys
- XF86AudioLowerVolume \
- allow-when-locked=true \
- { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "5%-"; }
- XF86AudioMicMute \
- allow-when-locked=true \
- { spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SOURCE@" "toggle"; }
- XF86AudioMute \
- allow-when-locked=true \
- { spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SINK@" "toggle"; }
- XF86AudioRaiseVolume \
- allow-when-locked=true \
- { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "5%+"; }
-
- // brightness keys
- XF86MonBrightnessUp allow-when-locked=true { spawn "brightnessctl" "set" "5%+"; }
- XF86MonBrightnessDown allow-when-locked=true { spawn "brightnessctl" "set" "5%-"; }
-}
diff --git a/home/rices/schrottkatze/niri/kdl/input.kdl b/home/rices/schrottkatze/niri/kdl/input.kdl
deleted file mode 100644
index fa398b2..0000000
--- a/home/rices/schrottkatze/niri/kdl/input.kdl
+++ /dev/null
@@ -1,22 +0,0 @@
-input {
- keyboard {
- xkb {
- layout "cz"
- options "eurosign:e,caps:escape"
- }
-
- repeat-delay 600
- repeat-rate 25
- track-layout "global"
- }
-
- touchpad {
- dwt
- dwtp
- natural-scroll
- }
-
- mouse {
- accel-profile "flat"
- }
-}
diff --git a/home/rices/schrottkatze/niri/kdl/overviews.kdl b/home/rices/schrottkatze/niri/kdl/overviews.kdl
deleted file mode 100644
index 5cb4443..0000000
--- a/home/rices/schrottkatze/niri/kdl/overviews.kdl
+++ /dev/null
@@ -1,19 +0,0 @@
-overview {
- backdrop-color "110000"
- zoom 0.381966
- workspace-shadow {
- offset x=0 y=10
- softness 60
- color "#7f00008f"
- }
-}
-
-recent-windows {
- debounce-ms 1500
- open-delay-ms 300
- highlight {
- active-color "f69ecf"
- padding 5
- corner-radius 2.5
- }
-}
diff --git a/home/rices/schrottkatze/niri/kdl/privacy.kdl b/home/rices/schrottkatze/niri/kdl/privacy.kdl
deleted file mode 100644
index 1190aeb..0000000
--- a/home/rices/schrottkatze/niri/kdl/privacy.kdl
+++ /dev/null
@@ -1,12 +0,0 @@
-layer-rule {
- match namespace="notifications"
- block-out-from "screen-capture"
-}
-
-window-rule {
- match app-id="^signal|Element|org.gnome.Evolution$"
- match title="^.*(Discord|Beispiel Screenshare block Bug|Bitwarden|Träwelling).*$"
- exclude title="^.*((Schrottkatze|Statistics|Leaderboard) - Träwelling|chaos.social|Nekoverse|catgirl.cloud).*$"
- exclude is-floating=true
- block-out-from "screen-capture"
-}
diff --git a/home/rices/schrottkatze/niri/kdl/quirks.kdl b/home/rices/schrottkatze/niri/kdl/quirks.kdl
deleted file mode 100644
index 07fa886..0000000
--- a/home/rices/schrottkatze/niri/kdl/quirks.kdl
+++ /dev/null
@@ -1,42 +0,0 @@
-// handle steam grabbing focus 1000 times on startup
-window-rule {
- match app-id="steam" title="Steam"
- open-focused false
-}
-
-// position steam notifs correctly: https://github.com/YaLTeR/niri/wiki/Application-Issues
-window-rule {
- match app-id="steam" title="^notificationtoasts_[\\d]+_desktop$"
- open-focused false
- border { off; }
- shadow { off; }
- baba-is-float false
- default-floating-position relative-to="bottom-right" x=0 y=0
-}
-
-// fix guild wars
-window-rule {
- match app-id="steam_app_1284210" title="Guild Wars 2"
- match app-id="(steam_app_[0-9]+|[Mm]inecraft.*|gamescope)"
- border { off; }
- shadow { off; }
-}
-
-window-rule {
- match app-id="chromium-browser"
- geometry-corner-radius 6 6 1 1
-}
-
-window-rule {
- match app-id="vesktop" is-floating=true
- geometry-corner-radius 6
-}
-
-environment {
- ELECTRON_OZONE_PLATFORM_HINT "auto"
-}
-
-window-rule {
- match app-id="zenity"
- geometry-corner-radius 16
-}
diff --git a/home/rices/schrottkatze/niri/kdl/screenshot.kdl b/home/rices/schrottkatze/niri/kdl/screenshot.kdl
deleted file mode 100644
index 5a5966b..0000000
--- a/home/rices/schrottkatze/niri/kdl/screenshot.kdl
+++ /dev/null
@@ -1,6 +0,0 @@
-screenshot-path "~/Pictures/screenshots/%Y-%m-%dT%H:%M:%S.png"
-binds {
- Mod+Ctrl+S { screenshot-screen; }
- Mod+Shift+S { screenshot; }
- Mod+S { screenshot-window; }
-}
diff --git a/home/rices/schrottkatze/niri/kdl/style.kdl b/home/rices/schrottkatze/niri/kdl/style.kdl
deleted file mode 100644
index fccf795..0000000
--- a/home/rices/schrottkatze/niri/kdl/style.kdl
+++ /dev/null
@@ -1,84 +0,0 @@
-prefer-no-csd
-
-cursor {
- xcursor-theme "phinger-cursors-dark"
- xcursor-size 32
- hide-when-typing
- hide-after-inactive-ms 10000
-}
-
-layout {
- gaps 15
- struts {
- left 0
- right 0
- top 0
- bottom 0
- }
- focus-ring { off; }
- border {
- on
- width 3
- active-gradient angle=135 from="#f69ecf" in="oklch shorter hue" relative-to="window" to="#5bcefa"
- inactive-gradient angle=135 from="#f69ecf" in="oklch shorter hue" relative-to="window" to="#ff9a56"
- }
- tab-indicator {
- hide-when-single-tab
- gap 2
- width 5
- length total-proportion=0.500000
- position "left"
- gaps-between-tabs 0
- corner-radius 3
- active-color "#5bcefa"
- inactive-color "#3c3836"
- }
- default-column-width
- center-focused-column "never"
-}
-
-window-rule {
- match is-floating=true
- exclude app-id="steam_app_[0-9]+"
- shadow {
- on
- offset x=0 y=0
- softness 40
- color "#bab9e5af"
- inactive-color "#fa9d99af"
- }
-}
-
-window-rule {
- geometry-corner-radius 1
- clip-to-geometry true
-}
-
-window-rule {
- match is-window-cast-target=true
- border {
- on
- active-gradient angle=135 \
- from="#64de50" \
- in="oklch shorter hue" \
- relative-to="window" \
- to="#5bcefa"
- inactive-gradient angle=135 \
- from="#64de50" \
- in="oklch shorter hue" \
- relative-to="window" \
- to="#ff9a56"
- }
-}
-
-layer-rule {
- match namespace="launcher"
- geometry-corner-radius 10
- shadow {
- on
- offset x=0 y=0
- softness 40
- color "#bab9e5af"
- }
- baba-is-float true
-}
diff --git a/home/rices/schrottkatze/niri/kdl/workspaces.kdl.disabled b/home/rices/schrottkatze/niri/kdl/workspaces.kdl.disabled
deleted file mode 100644
index e5b51b4..0000000
--- a/home/rices/schrottkatze/niri/kdl/workspaces.kdl.disabled
+++ /dev/null
@@ -1,63 +0,0 @@
-// WS Social
-workspace "social"
-
-spawn-at-startup "signal-desktop"
-spawn-at-startup ".evolution-wrapped_"
-spawn-at-startup "vesktop"
-spawn-at-startup "deltachat"
-
-window-rule {
- match app-id="^(signal|Element|org.gnome.Evolution|discord|steam|DeltaChat)$"
- open-on-workspace "social"
-}
-
-// WS Browser
-workspace "browser"
-
-spawn-at-startup "firefox"
-spawn-at-startup "obsidian"
-
-window-rule {
- match app-id="^firefox|Chromium-browser|obsidian$"
- open-on-workspace "browser"
-}
-
-binds {
- Mod+P { focus-workspace-up; }
- Mod+N { focus-workspace-down; }
- Mod+Ctrl+P { move-workspace-up; }
- Mod+Ctrl+N { move-workspace-down; }
- Mod+Shift+P { move-column-to-workspace-up; }
- Mod+Shift+N { move-column-to-workspace-down; }
-
- Mod+WheelScrollUp cooldown-ms=150 { focus-workspace-up; }
- Mod+WheelScrollDown cooldown-ms=150 { focus-workspace-down; }
- Mod+Ctrl+WheelScrollUp cooldown-ms=150 { move-column-to-workspace-up; }
- Mod+Ctrl+WheelScrollDown cooldown-ms=150 { move-column-to-workspace-down; }
-
- Mod+Q { focus-workspace "social"; }
- Mod+W { focus-workspace "browser"; }
- Mod+E { focus-workspace 3; }
- Mod+Ctrl+Q { move-column-to-workspace "social"; }
- Mod+Ctrl+W { move-column-to-workspace "browser"; }
- Mod+Ctrl+E { move-column-to-workspace 3; }
-
- Mod+1 { focus-workspace 4; }
- Mod+2 { focus-workspace 5; }
- Mod+3 { focus-workspace 6; }
- Mod+4 { focus-workspace 7; }
- Mod+5 { focus-workspace 8; }
- Mod+6 { focus-workspace 9; }
- Mod+7 { focus-workspace 10; }
- Mod+8 { focus-workspace 11; }
- Mod+9 { focus-workspace 12; }
- Mod+Ctrl+1 { move-column-to-workspace 4; }
- Mod+Ctrl+2 { move-column-to-workspace 5; }
- Mod+Ctrl+3 { move-column-to-workspace 6; }
- Mod+Ctrl+4 { move-column-to-workspace 7; }
- Mod+Ctrl+5 { move-column-to-workspace 8; }
- Mod+Ctrl+6 { move-column-to-workspace 9; }
- Mod+Ctrl+7 { move-column-to-workspace 10; }
- Mod+Ctrl+8 { move-column-to-workspace 11; }
- Mod+Ctrl+9 { move-column-to-workspace 12; }
-}
diff --git a/home/rices/schrottkatze/niri/scripts/cpdate.sh b/home/rices/schrottkatze/niri/scripts/cpdate.sh
deleted file mode 100755
index acc2994..0000000
--- a/home/rices/schrottkatze/niri/scripts/cpdate.sh
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/usr/bin/env nu
-
-const FORMATS = [
- "%F"
- "%R"
- "%d.%m.%Y"
- "%d.%m"
- "%T"
- "%FT%H"
- "%FT%R"
- "%F %R"
- "%F %T"
-];
-
-def main [] {
- let date = date now;
- let len = $FORMATS | length;
-
- $FORMATS | each {|it| $date | format date $it } | to text | fuzzel -dl $len | str trim | wl-copy
-}
diff --git a/home/rices/schrottkatze/niri/shaders/arc.frag b/home/rices/schrottkatze/niri/shaders/arc.frag
deleted file mode 100644
index 301357c..0000000
--- a/home/rices/schrottkatze/niri/shaders/arc.frag
+++ /dev/null
@@ -1,131 +0,0 @@
-
-#define PI 3.14159
-
-#define TAU 6.28319
-
-#define WIDTH 3.
-#define RADIUS 1.
-
-#define WIPE_DURATION .2
-#define BORDER_LOOPS 3.
-#define FADE_ITS 2.
-
-vec4 gradi(float pos, vec4 bg, vec4 fg, float fac, float mask) {
- if (mask < 0.2) {
- return bg;
- }
-
- vec4 trans = vec4(0.);
- vec4 purple = vec4(0.45, 0.13, 0.49, 1.0) * vec4(mask);
- vec4 blue = vec4(0.25, 0.74, 0.81, 1.0) * vec4(mask);
- vec4 white = vec4(mask);
- float mult = 4. * fac;
-
- if (pos <= 0.125) {
- return mix(bg, purple, max(0., pos * mult));
- } else if (pos <= 0.25) {
- return mix(purple, blue, (pos * mult) - 1.);
- } else if (pos <= 0.5) {
- return mix(blue, white, (pos * mult) - 2.);
- } else {
- return fg;
- }
-
-}
-
-// from niri source code: https://github.com/YaLTeR/niri/blob/f30db163b5748e8cf95c05aba77d0d3736f40543/src/render_helpers/shaders/border.frag#L211-L234
-float rounding_alpha(vec2 coords, vec2 size, vec4 corner_radius) {
- vec2 center;
- float radius;
-
- if (coords.x < corner_radius.x && coords.y < corner_radius.x) {
- radius = corner_radius.x;
- center = vec2(radius, radius);
- } else if (size.x - corner_radius.y < coords.x && coords.y < corner_radius.y) {
- radius = corner_radius.y;
- center = vec2(size.x - radius, radius);
- } else if (size.x - corner_radius.z < coords.x && size.y - corner_radius.z < coords.y) {
- radius = corner_radius.z;
- center = vec2(size.x - radius, size.y - radius);
- } else if (coords.x < corner_radius.w && size.y - corner_radius.w < coords.y) {
- radius = corner_radius.w;
- center = vec2(radius, size.y - radius);
- } else {
- return 1.0;//
- }
-
- float dist = distance(coords, center);
- float half_px = 0.5;
- return 1.0 - smoothstep(radius - half_px, radius + half_px, dist);
-}
-
-vec4 open_color(vec3 coords_geo, vec3 size_geo) {
- vec4 bg1 = vec4(.1, .1, .18, 1.0);
- vec4 bg2 = vec4(.09, .05, .11, 1.0);
-
- vec3 coords_tex = niri_geo_to_tex * coords_geo;
- vec4 color = texture2D(niri_tex, coords_tex.st);
-
- float pi = radians(180.);
-
- if (0.0 <= coords_geo.x && coords_geo.x <= 1.0
- && 0.0 <= coords_geo.y && coords_geo.y <= 1.0)
- {
- float pos = (coords_tex.x - ((1. / WIPE_DURATION) * niri_clamped_progress) * 2.) + 1.;
- vec2 coords = (coords_geo.xy - vec2(0.5, 0.5)) * size_geo.xy * 2.0;
- vec2 coords_abs = coords_geo.xy * size_geo.xy;
-
- float border_a = 1.;
-
- border_a *= rounding_alpha(
- coords_abs.xy,
- size_geo.xy,
- vec4(RADIUS + WIDTH)
- );
-
- vec4 bg = mix(bg1, bg2, length(coords_tex.xy - vec2(1., 0.))) * border_a;
-
- color = gradi(pos, color, bg, 2.0, border_a);
-
- float angle = (atan(coords.y, coords.x) + PI) / TAU;
- float spinny_angle = mod((angle + niri_clamped_progress * BORDER_LOOPS), 1.0) / 2.;
-
- vec2 border = WIDTH / size_geo.xy;
-
- float temp = border_a;
- float round_a = 1. - rounding_alpha(
- coords_abs.xy - WIDTH,
- size_geo.xy - WIDTH * 2.,
- vec4(RADIUS)
- );
-
- if (coords_geo.x <= border.x || coords_geo.x >= (1. - border.x) ||
- coords_geo.y <= border.y || coords_geo.y >= (1. - border.y)) {
- border_a *= round_a;
- }
-
- float rest = 0.;
- if (border_a + temp == 1.) {
- rest = 1.;
- }
-
- border_a *= round_a;
- border_a += rest;
-
- vec4 grad = gradi(
- spinny_angle,
- vec4(.48, .37, .5, 1.),
- vec4(1., 0., 0., 1.),
- 2.0, // DO NOT TOUCH
- border_a
- );
-
- if ((1. - niri_clamped_progress) < FADE_ITS / BORDER_LOOPS) {
- border_a *= (1. - niri_clamped_progress) / (FADE_ITS / BORDER_LOOPS);
- }
- color = mix(color, grad, border_a);
-
- }
-
- return color;
-}
diff --git a/home/rices/schrottkatze/niri/wallpaper.jpg b/home/rices/schrottkatze/niri/wallpaper.jpg
deleted file mode 100644
index 5b31b96..0000000
--- a/home/rices/schrottkatze/niri/wallpaper.jpg
+++ /dev/null
Binary files differ
diff --git a/home/rices/schrottkatze/notifications.nix b/home/rices/schrottkatze/notifications.nix
deleted file mode 100644
index 37390e9..0000000
--- a/home/rices/schrottkatze/notifications.nix
+++ /dev/null
@@ -1,21 +0,0 @@
-{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/stylix.nix b/home/rices/schrottkatze/stylix.nix
deleted file mode 100644
index 4c9d500..0000000
--- a/home/rices/schrottkatze/stylix.nix
+++ /dev/null
@@ -1,24 +0,0 @@
-{pkgs, ...}: {
- stylix.targets = {
- firefox.profileNames = ["mun"];
- helix.enable = false;
- btop.enable = false;
- nushell.enable = false;
- starship.enable = false;
- kitty.enable = false;
- dunst.enable = false;
- wofi.enable = false;
- };
- gtk = {
- enable = true;
- cursorTheme = {
- package = pkgs.phinger-cursors;
- name = "phinger-cursors";
- size = 30;
- };
- iconTheme = {
- package = pkgs.gruvbox-dark-icons-gtk;
- name = "gruvbox-dark-icons";
- };
- };
-}
diff --git a/home/rices/schrottkatze/swayidle.nix b/home/rices/schrottkatze/swayidle.nix
deleted file mode 100644
index 6d8525c..0000000
--- a/home/rices/schrottkatze/swayidle.nix
+++ /dev/null
@@ -1,15 +0,0 @@
-{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/system.nix b/home/rices/schrottkatze/system.nix
deleted file mode 100644
index 3e13066..0000000
--- a/home/rices/schrottkatze/system.nix
+++ /dev/null
@@ -1,122 +0,0 @@
-{
- pkgs,
- lib,
- ...
-}: {
- # Desktop environment - Niri compositor
- programs.niri.enable = true;
-
- # Default session
- services.displayManager.defaultSession = "niri";
-
- services.xserver.xkb = {
- layout = "cz";
- options = "eurosign:e,caps:escape";
- };
- # Polkit fix for Niri
- security.polkit.enable = true;
- systemd.user.services.niri-flake-polkit.enable = false;
- systemd.user.services.polkit-gnome-authentication-agent-1 = {
- description = "polkit-gnome-authentication-agent-1";
- wantedBy = ["graphical-session.target"];
- wants = ["graphical-session.target"];
- after = ["graphical-session.target"];
- serviceConfig = {
- Type = "simple";
- ExecStart = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1";
- Restart = "on-failure";
- RestartSec = 1;
- TimeoutStopSec = 10;
- };
- };
-
- # Audio - Pipewire
- programs.noisetorch.enable = true;
- services.pipewire = {
- enable = true;
- alsa.enable = true;
- alsa.support32Bit = true;
- pulse.enable = true;
- };
- environment.systemPackages = with pkgs; [
- playerctl
- pulsemixer
- ];
-
- # XDG portals
- xdg.portal.extraPortals = [
- pkgs.xdg-desktop-portal-cosmic
- ];
- xdg.portal.config.common.default = [
- "gnome"
- ];
-
- # Fonts
- nixpkgs.config.packageOverrides = pkgs: {
- google-fonts = pkgs.google-fonts.overrideAttrs (oldAttrs: {
- src = pkgs.fetchFromGitHub {
- owner = "google";
- repo = "fonts";
- rev = "0bd2d5599819aa0774f5ca64c8ac3f54ae3fd54f";
- sha256 = "sha256-E89GYJKG65Dh7TPI6TVre/4LCxXnxvTAPYS/OPj7nPg=";
- };
- installPhase =
- oldAttrs.installPhase
- + "mv $out/share/fonts/truetype $out/share/fonts/ttf\n"
- + "rm $out/share/fonts/ttf/Noto*Emoji*.ttf";
- });
- };
-
- fonts = {
- packages = with pkgs; [
- nerd-fonts.fira-code
- nerd-fonts.departure-mono
- google-fonts
- noto-fonts-color-emoji
- montserrat
- atkinson-hyperlegible
- arkpandora_ttf
- liberation_ttf
- caladea
- carlito
- garamond-libre
- ocr-a
- amiri
- libertine
- inter
- b612
- departure-mono
- yasashisa-gothic
- ];
- fontDir.enable = true;
- };
-
- # Stylix configuration - Gruvbox Dark Hard
- stylix = {
- enable = true;
- polarity = "dark";
- base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-hard.yaml";
- fonts = {
- serif = {
- package = pkgs.libertine;
- name = "Linux Libertine O";
- };
- sansSerif = {
- package = pkgs.atkinson-hyperlegible;
- name = "Atkinson Hyperlegible";
- };
- monospace = {
- package = pkgs.nerd-fonts.departure-mono;
- name = "Departure Mono Nerd Font";
- };
- emoji = {
- package = pkgs.noto-fonts-color-emoji;
- name = "Noto Color Emoji";
- };
- };
- };
-
- # Flatpak & misc services
- services.flatpak.enable = true;
- services.upower.enable = true;
-}
diff --git a/home/rices/schrottkatze/terminal.nix b/home/rices/schrottkatze/terminal.nix
deleted file mode 100644
index 403449c..0000000
--- a/home/rices/schrottkatze/terminal.nix
+++ /dev/null
@@ -1,36 +0,0 @@
-{...}: {
- 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";
- };
-}