summaryrefslogtreecommitdiff
path: root/home/rices
diff options
context:
space:
mode:
Diffstat (limited to 'home/rices')
-rw-r--r--home/rices/cinnamon/default.nix4
-rw-r--r--home/rices/cinnamon/home.nix3
-rw-r--r--home/rices/cinnamon/system.nix50
-rw-r--r--home/rices/cinnamon/variables.nix3
-rw-r--r--home/rices/nord-blue/alacritty.nix13
-rw-r--r--home/rices/nord-blue/default.nix4
-rw-r--r--home/rices/nord-blue/dunst.nix101
-rw-r--r--home/rices/nord-blue/fastfetch.nix24
-rw-r--r--home/rices/nord-blue/helix.nix171
-rw-r--r--home/rices/nord-blue/home.nix11
-rw-r--r--home/rices/nord-blue/i3.nix111
-rw-r--r--home/rices/nord-blue/nvim.nix279
-rw-r--r--home/rices/nord-blue/picom.nix60
-rw-r--r--home/rices/nord-blue/system.nix83
-rw-r--r--home/rices/nord-blue/variables.nix11
-rw-r--r--home/rices/nord-blue/wallpapers/wave-minimal.pngbin352335 -> 0 bytes
-rw-r--r--home/rices/original/default.nix4
-rw-r--r--home/rices/original/dunst.nix41
-rw-r--r--home/rices/original/home.nix14
-rw-r--r--home/rices/original/i3.nix130
-rw-r--r--home/rices/original/kitty.nix45
-rw-r--r--home/rices/original/neovim.nix100
-rw-r--r--home/rices/original/nnn.nix7
-rw-r--r--home/rices/original/picom.nix27
-rw-r--r--home/rices/original/polybar.nix172
-rw-r--r--home/rices/original/rofi.nix13
-rw-r--r--home/rices/original/scripts.nix31
-rw-r--r--home/rices/original/system.nix83
-rw-r--r--home/rices/original/variables.nix14
-rw-r--r--home/rices/original/xdg.nix16
-rw-r--r--home/rices/plasma6/default.nix4
-rw-r--r--home/rices/plasma6/home.nix4
-rw-r--r--home/rices/plasma6/system.nix93
-rw-r--r--home/rices/plasma6/variables.nix3
-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
68 files changed, 0 insertions, 3134 deletions
diff --git a/home/rices/cinnamon/default.nix b/home/rices/cinnamon/default.nix
deleted file mode 100644
index 6b7865d..0000000
--- a/home/rices/cinnamon/default.nix
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- system = import ./system.nix;
- home = import ./home.nix;
-}
diff --git a/home/rices/cinnamon/home.nix b/home/rices/cinnamon/home.nix
deleted file mode 100644
index 5e994b3..0000000
--- a/home/rices/cinnamon/home.nix
+++ /dev/null
@@ -1,3 +0,0 @@
-{...}: {
- # Cinnamon manages most UI config itself; HM overrides can go here
-}
diff --git a/home/rices/cinnamon/system.nix b/home/rices/cinnamon/system.nix
deleted file mode 100644
index 96aa1f1..0000000
--- a/home/rices/cinnamon/system.nix
+++ /dev/null
@@ -1,50 +0,0 @@
-{pkgs, ...}: let
- vars = import ./variables.nix;
-in {
- services.xserver = {
- enable = true;
- desktopManager.cinnamon.enable = true;
- xkb = {
- layout = "cz";
- options = "eurosign:e,caps:escape";
- };
- };
-
- environment.systemPackages = with pkgs; [
- xorg.xrandr
- xclip
- gnome-screenshot
- ];
-
- stylix = {
- enable = true;
- autoEnable = true;
- base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-medium.yaml";
- image = vars.image;
-
- fonts = {
- monospace = {
- package = pkgs.dejavu_fonts;
- name = "DejaVu Sans Mono";
- };
- sansSerif = {
- package = pkgs.dejavu_fonts;
- name = "DejaVu Sans";
- };
- serif = {
- package = pkgs.dejavu_fonts;
- name = "DejaVu Serif";
- };
- emoji = {
- package = pkgs.noto-fonts-color-emoji;
- name = "Noto Color Emoji";
- };
- sizes = {
- terminal = 11;
- applications = 11;
- desktop = 11;
- };
- };
- polarity = "dark";
- };
-}
diff --git a/home/rices/cinnamon/variables.nix b/home/rices/cinnamon/variables.nix
deleted file mode 100644
index 4c13af7..0000000
--- a/home/rices/cinnamon/variables.nix
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- image = ../../../assets/wallpapers/insert_coin.jpeg;
-}
diff --git a/home/rices/nord-blue/alacritty.nix b/home/rices/nord-blue/alacritty.nix
deleted file mode 100644
index 772718c..0000000
--- a/home/rices/nord-blue/alacritty.nix
+++ /dev/null
@@ -1,13 +0,0 @@
-{
- pkgs,
- lib,
- ...
-}: {
- # Let Stylix handle Alacritty theming
- # Only override font size if needed
- programs.alacritty.settings.font.size = lib.mkForce 10;
-
- home.packages = with pkgs; [
- nerd-fonts.jetbrains-mono
- ];
-}
diff --git a/home/rices/nord-blue/default.nix b/home/rices/nord-blue/default.nix
deleted file mode 100644
index 6b7865d..0000000
--- a/home/rices/nord-blue/default.nix
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- system = import ./system.nix;
- home = import ./home.nix;
-}
diff --git a/home/rices/nord-blue/dunst.nix b/home/rices/nord-blue/dunst.nix
deleted file mode 100644
index 6226cb6..0000000
--- a/home/rices/nord-blue/dunst.nix
+++ /dev/null
@@ -1,101 +0,0 @@
-{ config, pkgs, lib, ... }:
-
-let
- vars = import ./variables.nix;
-
- # Battery notification script
- batteryNotify = pkgs.writeShellScriptBin "battery-notify" ''
- #!/bin/sh
-
- # Get battery status
- BATTERY_PATH="/sys/class/power_supply/BAT0"
-
- if [ ! -d "$BATTERY_PATH" ]; then
- # Try BAT1 if BAT0 doesn't exist
- BATTERY_PATH="/sys/class/power_supply/BAT1"
- if [ ! -d "$BATTERY_PATH" ]; then
- exit 0
- fi
- fi
-
- CAPACITY=$(cat "$BATTERY_PATH/capacity")
- STATUS=$(cat "$BATTERY_PATH/status")
-
- # Critical threshold (5%)
- if [ "$CAPACITY" -le 5 ] && [ "$STATUS" != "Charging" ]; then
- ${pkgs.libnotify}/bin/notify-send -u critical "Battery Critical" "Battery level: $CAPACITY%\nPlease plug in charger immediately!"
- # Low threshold (15%)
- elif [ "$CAPACITY" -le 15 ] && [ "$STATUS" != "Charging" ]; then
- ${pkgs.libnotify}/bin/notify-send -u normal "Battery Low" "Battery level: $CAPACITY%\nConsider plugging in charger soon."
- fi
- '';
-
-in {
- home.packages = [ batteryNotify ];
-
- services.dunst = {
- enable = true;
-
- settings = {
- global = {
- width = "(200,300)";
- height = "(0,150)";
- offset = "(30,50)";
- origin = "bottom-right";
- transparency = 10;
- frame_width = 2;
- corner_radius = 8;
- gap_size = 5;
- };
-
- # Let stylix handle color styling
- # urgency_low = {
- # background = vars.colors.background;
- # foreground = vars.colors.foreground;
- # timeout = 8;
- # };
-
- # urgency_normal = {
- # background = vars.colors.background;
- # foreground = vars.colors.foreground;
- # frame_color = vars.colors.accent;
- # timeout = 10;
- # };
-
- urgency_critical = {
- # background = vars.colors.background;
- # foreground = vars.colors.foreground;
- # frame_color = vars.colors.alert;
- timeout = 0; # Don't auto-dismiss critical notifications
- };
- };
- };
-
- # Systemd service to check battery periodically
- systemd.user.services.battery-notify = {
- Unit = {
- Description = "Battery level notification service";
- };
-
- Service = {
- Type = "oneshot";
- ExecStart = "${batteryNotify}/bin/battery-notify";
- };
- };
-
- # Timer to run battery check every 2 minutes
- systemd.user.timers.battery-notify = {
- Unit = {
- Description = "Battery level notification timer";
- };
-
- Timer = {
- OnBootSec = "1min";
- OnUnitActiveSec = "2min";
- };
-
- Install = {
- WantedBy = [ "timers.target" ];
- };
- };
-}
diff --git a/home/rices/nord-blue/fastfetch.nix b/home/rices/nord-blue/fastfetch.nix
deleted file mode 100644
index 700ae80..0000000
--- a/home/rices/nord-blue/fastfetch.nix
+++ /dev/null
@@ -1,24 +0,0 @@
-{...}: {
- programs.fastfetch = {
- enable = true;
- settings = {
- logo = {
- type = "builtin";
- source = "nixos_small";
- };
- display.separator = " ";
- modules = [
- "title"
- "os"
- "kernel"
- "uptime"
- "packages"
- "shell"
- "terminal"
- "cpu"
- "memory"
- "disk"
- ];
- };
- };
-}
diff --git a/home/rices/nord-blue/helix.nix b/home/rices/nord-blue/helix.nix
deleted file mode 100644
index eb893ee..0000000
--- a/home/rices/nord-blue/helix.nix
+++ /dev/null
@@ -1,171 +0,0 @@
-{
- pkgs,
- lib,
- ...
-}: {
- programs.helix = {
- enable = true;
- defaultEditor = false;
- settings = {
- # Let Stylix handle theming
- editor = {
- cursor-shape = {
- normal = "block";
- insert = "bar";
- select = "underline";
- };
- line-number = "relative";
- bufferline = "multiple";
- color-modes = true;
- cursorline = true;
- auto-save = {
- after-delay.enable = true;
- after-delay.timeout = 10000;
- };
- auto-format = true;
- end-of-line-diagnostics = "hint";
- inline-diagnostics.cursor-line = "hint";
- lsp = {
- display-messages = true;
- display-inlay-hints = true;
- };
- popup-border = "popup";
- statusline.left = [
- "mode"
- "spinner"
- "spacer"
- "version-control"
- "file-name"
- "diagnostics"
- "read-only-indicator"
- "file-modification-indicator"
- "spacer"
- ];
- statusline.right = [
- "workspace-diagnostics"
- "register"
- "position"
- "selections"
- "file-encoding"
- "file-type"
- ];
- idle-timeout = 50;
- completion-timeout = 100;
- indent-guides = {
- render = true;
- character = "|";
- skip-levels = 3;
- };
- soft-wrap.enable = true;
- whitespace = {
- render = {
- space = "none";
- tab = "all";
- newline = "none";
- };
- characters = {
- nbsp = "·";
- tab = "→";
- };
- };
- };
- };
- languages = {
- language-server = {
- "bash-language-server" = {
- command = "${pkgs.bash-language-server}/bin/bash-language-server";
- args = ["start"];
- };
- "superhtml" = {
- command = "${pkgs.superhtml}/bin/superhtml";
- };
- "vscode-css-languageserver" = {
- command = "${pkgs.vscode-css-languageserver}/bin/vscode-css-languageserver";
- };
- "rust-analyzer" = {
- command = "${pkgs.rust-analyzer}/bin/rust-analyzer";
- };
- "pyright" = {
- command = "${pkgs.pyright}/bin/pyright";
- };
- "nil" = {
- command = "${pkgs.nil}/bin/nil";
- };
- "texlab" = {
- command = "${pkgs.texlab}/bin/texlab";
- };
- texlab.config.texlab = {
- build = {
- onSave = true;
- forwardSearchAfter = true;
- };
- chktext.onEdit = true;
- forwardSearch = {
- executable = "zathura";
- args = ["--synctex-forward" "%l:1:%f" "%p"];
- };
- };
- "marksman" = {
- command = "${pkgs.marksman}/bin/marksman";
- };
- };
- language = [
- {
- name = "bash";
- language-servers = ["bash-language-server"];
- auto-format = true;
- }
- {
- name = "html";
- language-servers = ["superhtml"];
- auto-format = true;
- }
- {
- name = "css";
- language-servers = ["vscode-css-languageserver"];
- auto-format = true;
- }
- {
- name = "rust";
- language-servers = ["rust-analyzer"];
- auto-format = true;
- }
- {
- name = "python";
- language-servers = ["pyright"];
- auto-format = true;
- }
- {
- name = "nix";
- language-servers = ["nil"];
- auto-format = true;
- }
- {
- name = "latex";
- language-servers = ["texlab"];
- auto-format = true;
- }
- {
- name = "markdown";
- language-servers = ["marksman"];
- auto-format = true;
- }
- ];
- };
- };
-
- home.packages = with pkgs; [
- zathura
- ripgrep
- fd
- bash-language-server
- superhtml
- vscode-css-languageserver
- rust-analyzer
- llvmPackages_latest.lldb
- pyright
- nil
- texlab
- marksman
- ];
-}
diff --git a/home/rices/nord-blue/home.nix b/home/rices/nord-blue/home.nix
deleted file mode 100644
index cb2090c..0000000
--- a/home/rices/nord-blue/home.nix
+++ /dev/null
@@ -1,11 +0,0 @@
-{...}: {
- imports = [
- ./alacritty.nix
- ./i3.nix
- ./nvim.nix
- ./helix.nix
- ./picom.nix
- ./fastfetch.nix
- ./dunst.nix
- ];
-}
diff --git a/home/rices/nord-blue/i3.nix b/home/rices/nord-blue/i3.nix
deleted file mode 100644
index 643430b..0000000
--- a/home/rices/nord-blue/i3.nix
+++ /dev/null
@@ -1,111 +0,0 @@
-{
- pkgs,
- lib,
- ...
-}: let
- vars = import ./variables.nix;
- mod = "Mod4";
-
- lock-screen = pkgs.writeShellScriptBin "lock-screen" ''
- #!/usr/bin/env sh
- set -eu
- WALL="''${1:-$HOME/Pictures/wallpaper.png}"
- TMP="/tmp/lockscreen.png"
- RES=$(xrandr | awk '/\*/ {print $1; exit}')
- magick "$WALL" -resize "''${RES}^" -gravity center -extent "$RES" "$TMP"
- i3lock -i "$TMP"
- '';
-
- app-launcher = pkgs.writeShellScriptBin "app-launcher" ''
- #!/usr/bin/env sh
- BG='${vars.colors.background}'
- FG='${vars.colors.foreground}'
- ACCENT='${vars.colors.accent}'
- TEXT='${vars.colors.text}'
- dmenu_run -fn 'JetBrains Mono-12' -nb "$BG" -nf "$FG" -sb "$ACCENT" -sf "$TEXT"
- '';
-in {
- xsession.windowManager.i3 = {
- enable = true;
- config = {
- modifier = mod;
- bars = [];
-
- window = {
- titlebar = false;
- border = 3;
- };
-
- # Colors handled by Stylix
-
- startup = [
- {command = "sh -c 'feh --bg-scale ~/Pictures/wallpaper.png'";}
- ];
-
- keybindings = lib.mkOptionDefault {
- "${mod}+Return" = "exec ${pkgs.alacritty}/bin/alacritty";
- "${mod}+d" = "exec ${app-launcher}/bin/app-launcher";
- "${mod}+m" = "exec ${app-launcher}/bin/app-launcher";
- "${mod}+Shift+m" = "exec alacritty -e nnn";
- "${mod}+n" = "exec firefox";
- "${mod}+q" = "kill";
- "${mod}+Ctrl+l" = "exec ${lock-screen}/bin/lock-screen";
- "${mod}+Shift+r" = "restart";
- "${mod}+Ctrl+Shift+e" = "exec sh -c 'i3-msg exit'";
- "${mod}+Shift+s" = "exec flameshot gui";
-
- # Focus (vim bindings)
- "${mod}+h" = "focus left";
- "${mod}+j" = "focus down";
- "${mod}+k" = "focus up";
- "${mod}+l" = "focus right";
-
- # Focus (arrow keys)
- "${mod}+Left" = "focus left";
- "${mod}+Down" = "focus down";
- "${mod}+Up" = "focus up";
- "${mod}+Right" = "focus right";
-
- # Move (vim bindings)
- "${mod}+Shift+h" = "move left";
- "${mod}+Shift+j" = "move down";
- "${mod}+Shift+k" = "move up";
- "${mod}+Shift+l" = "move right";
-
- # Move (arrow keys)
- "${mod}+Shift+Left" = "move left";
- "${mod}+Shift+Down" = "move down";
- "${mod}+Shift+Up" = "move up";
- "${mod}+Shift+Right" = "move right";
-
- # Volume
- "XF86AudioRaiseVolume" = "exec wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+";
- "XF86AudioLowerVolume" = "exec wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-";
- "XF86AudioMute" = "exec wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle";
- "XF86AudioMicMute" = "exec wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle";
-
- # Brightness
- "XF86MonBrightnessUp" = "exec brightnessctl set 5%+";
- "XF86MonBrightnessDown" = "exec brightnessctl set 5%-";
- };
- };
-
- extraConfig = ''
- smart_borders on
-
- # Remove borders from notification windows
- for_window [class="^Dunst$"] border none
- for_window [class="^dunst$"] border none
- '';
- };
-
- home.packages = with pkgs; [
- dmenu
- i3lock
- imagemagick
- polybar
- alacritty
- feh
- nnn
- ];
-}
diff --git a/home/rices/nord-blue/nvim.nix b/home/rices/nord-blue/nvim.nix
deleted file mode 100644
index 9677c57..0000000
--- a/home/rices/nord-blue/nvim.nix
+++ /dev/null
@@ -1,279 +0,0 @@
-{pkgs, ...}: {
- home.packages = with pkgs; [
- zathura
- ripgrep
- fd
- lazygit
- stylua
- alejandra
- black
- shfmt
-
- # Language servers
- lua-language-server
- nil
- rust-analyzer
- pyright
- bash-language-server
- texlab
- ];
-
- programs.neovim = {
- enable = true;
- defaultEditor = true;
- viAlias = true;
- vimAlias = true;
-
- plugins = with pkgs.vimPlugins; [
- # UI
- catppuccin-nvim
- nvim-web-devicons
- which-key-nvim
- gitsigns-nvim
-
- # Syntax
- (nvim-treesitter.withPlugins (p: [
- p.lua
- p.nix
- p.rust
- p.python
- p.bash
- p.latex
- p.c
- ]))
-
- # LSP
- nvim-lspconfig
-
- # Completion / snippets
- nvim-cmp
- cmp-nvim-lsp
- cmp_luasnip
- luasnip
- friendly-snippets
- nvim-autopairs
-
- # Formatting
- conform-nvim
- comment-nvim
-
- # Navigation
- telescope-nvim
- plenary-nvim
- nvim-tree-lua
-
- # Terminal
- toggleterm-nvim
-
- # Writing
- vimtex
- orgmode
-
- # Start screen
- {
- plugin = vim-startify;
- config = "let g:startify_change_to_vcs_root = 0";
- }
- ];
-
- extraLuaConfig = ''
- -------------------------------------------------
- -- LEADER
- -------------------------------------------------
- vim.g.mapleader = " "
-
- -------------------------------------------------
- -- BASIC OPTIONS
- -------------------------------------------------
- vim.opt.number = true
- vim.opt.relativenumber = true
- vim.opt.clipboard = "unnamedplus"
- vim.opt.showtabline = 2
- vim.o.timeout = true
- vim.o.timeoutlen = 300
-
- -------------------------------------------------
- -- THEME
- -------------------------------------------------
- require("catppuccin").setup({
- flavour = "mocha",
- })
- vim.cmd.colorscheme("catppuccin")
-
- -------------------------------------------------
- -- GITSIGNS
- -------------------------------------------------
- require("gitsigns").setup()
-
- -------------------------------------------------
- -- TREESITTER
- -------------------------------------------------
- require("nvim-treesitter.configs").setup({
- highlight = { enable = true },
- indent = { enable = true },
- })
-
- vim.opt.foldmethod = "expr"
- vim.opt.foldexpr = "nvim_treesitter#foldexpr()"
- vim.opt.foldenable = false
-
- -------------------------------------------------
- -- SNIPPETS
- -------------------------------------------------
- require("luasnip.loaders.from_vscode").lazy_load()
-
- -------------------------------------------------
- -- COMPLETION
- -------------------------------------------------
- local cmp = require("cmp")
- local luasnip = require("luasnip")
-
- cmp.setup({
- snippet = {
- expand = function(args)
- luasnip.lsp_expand(args.body)
- end,
- },
- mapping = cmp.mapping.preset.insert({
- ["<C-Space>"] = cmp.mapping.complete(),
- ["<CR>"] = cmp.mapping.confirm({ select = true }),
- }),
- sources = {
- { name = "nvim_lsp" },
- { name = "luasnip" },
- },
- })
-
- require("nvim-autopairs").setup({})
-
- -------------------------------------------------
- -- LSP
- -------------------------------------------------
- local capabilities = require("cmp_nvim_lsp").default_capabilities()
-
- local servers = {
- "lua_ls",
- "nil_ls",
- "rust_analyzer",
- "pyright",
- "bashls",
- "texlab",
- }
-
- for _, server in ipairs(servers) do
- vim.lsp.config(server, {
- capabilities = capabilities
- })
- vim.lsp.enable(server)
- end
-
- -------------------------------------------------
- -- LSP KEYMAPS
- -------------------------------------------------
- vim.keymap.set("n", "<leader>ld", vim.lsp.buf.definition)
- vim.keymap.set("n", "<leader>lD", vim.lsp.buf.declaration)
- vim.keymap.set("n", "<leader>li", vim.lsp.buf.implementation)
- vim.keymap.set("n", "<leader>lr", vim.lsp.buf.references)
- vim.keymap.set("n", "lh", vim.lsp.buf.hover)
- vim.keymap.set("n", "ln", vim.lsp.buf.rename)
- vim.keymap.set("n", "la", vim.lsp.buf.code_action)
- vim.keymap.set("n", "lf", function() vim.lsp.buf.format() end)
-
- -------------------------------------------------
- -- DIAGNOSTICS
- -------------------------------------------------
- vim.keymap.set("n", "lj", vim.diagnostic.goto_next)
- vim.keymap.set("n", "lk", vim.diagnostic.goto_prev)
- vim.keymap.set("n", "le", vim.diagnostic.open_float)
-
- -------------------------------------------------
- -- FORMATTER
- -------------------------------------------------
- require("conform").setup({
- format_on_save = {
- timeout_ms = 500,
- lsp_format = "fallback",
- },
- formatters_by_ft = {
- lua = { "stylua" },
- nix = { "alejandra" },
- rust = { "rustfmt" },
- python = { "black" },
- bash = { "shfmt" },
- },
- })
-
- require("Comment").setup()
-
- -------------------------------------------------
- -- TELESCOPE
- -------------------------------------------------
- local builtin = require("telescope.builtin")
-
- require("telescope").setup({
- defaults = {
- layout_strategy = "horizontal",
- sorting_strategy = "ascending",
- file_ignore_patterns = { "node_modules", ".git/" },
- },
- })
-
- vim.keymap.set("n", "<leader><leader>", builtin.find_files)
- vim.keymap.set("n", "<leader>fg", builtin.live_grep)
- vim.keymap.set("n", "<leader>fb", builtin.buffers)
-
- -------------------------------------------------
- -- WHICH KEY
- -------------------------------------------------
- local wk = require("which-key")
- wk.add({
- { "<leader>l", desc = "LSP" }
- })
-
- -------------------------------------------------
- -- NVIM TREE
- -------------------------------------------------
- require("nvim-tree").setup({})
- vim.keymap.set("n", "<leader>e", "<cmd>NvimTreeToggle<CR>")
-
- -------------------------------------------------
- -- TERMINAL
- -------------------------------------------------
- require("toggleterm").setup({
- direction = "float",
- })
-
- local Terminal = require("toggleterm.terminal").Terminal
-
- local lazygit = Terminal:new({
- cmd = "lazygit",
- hidden = true,
- direction = "float",
- })
-
- vim.keymap.set("n", "<leader>gg", function()
- lazygit:toggle()
- end)
-
- -------------------------------------------------
- -- ORGMODE
- -------------------------------------------------
- local projects = {
- "~/Documents/2_Writing/0_SOC/**/*.org",
- "~/Documents/2_Writing/2_Notes/**/*.org",
- "~/Documents/1_Projects/6_CRC-Altura/**/*.org",
- "~/ORG/**/*.org"
- }
-
- require("orgmode").setup({
- org_agenda_files = projects,
- org_default_notes_file = "~/INBOX.org"
- })
-
- -------------------------------------------------
- -- VIMTEX
- -------------------------------------------------
- vim.g.vimtex_view_method = "zathura"
- '';
- };
-}
diff --git a/home/rices/nord-blue/picom.nix b/home/rices/nord-blue/picom.nix
deleted file mode 100644
index aba6aa4..0000000
--- a/home/rices/nord-blue/picom.nix
+++ /dev/null
@@ -1,60 +0,0 @@
-{pkgs, ...}: {
- services.picom = {
- enable = true;
- package = pkgs.picom-pijulius;
-
- settings = {
- backend = "glx";
- vsync = true;
-
- # Opacity
- inactive-opacity = 0.9;
- active-opacity = 1.0;
-
- # Fading
- fading = true;
- fade-delta = 5;
- fade-in-step = 0.09;
- fade-out-step = 0.09;
-
- # Shadows
- shadow = true;
- shadow-radius = 15;
- shadow-opacity = 0.5;
- shadow-offset-x = 12;
- shadow-offset-y = 12;
- shadow-exclude = [
- "class_g = 'i3-frame'"
- "window_type = 'dock'"
- "window_type = 'desktop'"
- "window_type = 'notification'"
- "name = 'dmenu'"
- "class_g = 'dmenu'"
- "class_g = 'Dunst'"
- "class_g = 'dunst'"
- ];
-
- # Rounded corners
- corner-radius = 15;
- round-borders = 1;
- rounded-corners-exclude = [
- "class_g = 'i3-frame'"
- "window_type = 'dock'"
- "window_type = 'notification'"
- "class_g = 'Dunst'"
- "class_g = 'dunst'"
- ];
-
- # Animations
- animations = true;
- animation-stiffness = 25;
- animation-dampening = 1;
- animation-window-mass = 0.01;
- animation-for-open-window = "zoom";
- animation-for-unmap-window = "slide-up";
- animation-for-transient-window = "zoom";
- animation-for-move-window = "slide";
- animation-for-resize-window = "stretch";
- };
- };
-}
diff --git a/home/rices/nord-blue/system.nix b/home/rices/nord-blue/system.nix
deleted file mode 100644
index ac7e0ab..0000000
--- a/home/rices/nord-blue/system.nix
+++ /dev/null
@@ -1,83 +0,0 @@
-{pkgs, ...}: {
- # Desktop environment - i3 window manager
- services.xserver = {
- enable = true;
- windowManager.i3.enable = true;
- xkb = {
- layout = "cz";
- options = "eurosign:e,caps:escape";
- };
- };
-
- services.picom.enable = true;
-
- # Stylix configuration
- stylix = {
- enable = true;
- autoEnable = true;
-
- base16Scheme = {
- base00 = "2D333F"; # background
- base01 = "3B4252"; # lighter background
- base02 = "434C5E"; # selection background
- base03 = "4C566A"; # comments
- base04 = "D8DEE9"; # dark foreground
- base05 = "C6D0F5"; # foreground
- base06 = "E5E9F0"; # light foreground
- base07 = "ECEFF4"; # lightest foreground
- base08 = "BF616A"; # red
- base09 = "D5A18E"; # orange/tan
- base0A = "EBCB8B"; # yellow
- base0B = "A3BE8C"; # green
- base0C = "88C0D0"; # cyan
- base0D = "82A3C0"; # blue (accent)
- base0E = "B48EAD"; # purple
- base0F = "5E81AC"; # dark blue
- };
-
- image = pkgs.fetchurl {
- url = "https://raw.githubusercontent.com/NixOS/nixos-artwork/master/wallpapers/nix-wallpaper-simple-blue.png";
- sha256 = "sha256-utrcjzfeJoFOpUbFY2eIUNCKy5rjLt57xIoUUssJmdI=";
- };
-
- fonts = {
- monospace = {
- package = pkgs.nerd-fonts.jetbrains-mono;
- name = "JetBrainsMono Nerd Font";
- };
- sansSerif = {
- package = pkgs.noto-fonts;
- name = "Noto Sans";
- };
- serif = {
- package = pkgs.noto-fonts;
- name = "Noto Serif";
- };
- emoji = {
- package = pkgs.noto-fonts-color-emoji;
- name = "Noto Color Emoji";
- };
- sizes = {
- terminal = 10;
- applications = 11;
- desktop = 11;
- };
- };
-
- cursor = {
- package = pkgs.bibata-cursors;
- name = "Bibata-Modern-Classic";
- size = 24;
- };
-
- opacity = {
- terminal = 0.95;
- applications = 1.0;
- desktop = 1.0;
- popups = 0.95;
- };
-
- polarity = "dark";
- targets.nixos-icons.enable = false;
- };
-}
diff --git a/home/rices/nord-blue/variables.nix b/home/rices/nord-blue/variables.nix
deleted file mode 100644
index cc221ca..0000000
--- a/home/rices/nord-blue/variables.nix
+++ /dev/null
@@ -1,11 +0,0 @@
-{
- colors = {
- background = "#2D333F";
- accent = "#82A3C0";
- foreground = "#C6D0F5";
- text = "#D5A18E";
- alert = "#BF616A"; # Nord red for critical alerts
- };
-
- wallpaper = "~/Pictures/wallpaper.png";
-}
diff --git a/home/rices/nord-blue/wallpapers/wave-minimal.png b/home/rices/nord-blue/wallpapers/wave-minimal.png
deleted file mode 100644
index 5d322d4..0000000
--- a/home/rices/nord-blue/wallpapers/wave-minimal.png
+++ /dev/null
Binary files differ
diff --git a/home/rices/original/default.nix b/home/rices/original/default.nix
deleted file mode 100644
index 6b7865d..0000000
--- a/home/rices/original/default.nix
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- system = import ./system.nix;
- home = import ./home.nix;
-}
diff --git a/home/rices/original/dunst.nix b/home/rices/original/dunst.nix
deleted file mode 100644
index 9978d38..0000000
--- a/home/rices/original/dunst.nix
+++ /dev/null
@@ -1,41 +0,0 @@
-{ config, pkgs, lib, ... }:
-
-let
- vars = import ./variables.nix;
-in {
- services.dunst = {
- enable = true;
-
- settings = {
- global = {
- width = "(200,300)";
- height = "(0,150)";
- offset = "(30,50)";
- origin = "bottom-right";
- transparency = 10;
- frame_width = 0;
- font = "Fira Code 10";
- };
-
- urgency_low = {
- background = vars.colors.background;
- foreground = vars.colors.foreground;
- timeout = 8;
- };
-
- urgency_normal = {
- background = vars.colors.background;
- foreground = vars.colors.foreground;
- frame-size = "0";
- timeout = 10;
- };
-
- urgency_critical = {
- background = vars.colors.background;
- foreground = vars.colors.foreground;
- frame-size = "5";
- frame-color = vars.colors.alert;
- };
- };
- };
-}
diff --git a/home/rices/original/home.nix b/home/rices/original/home.nix
deleted file mode 100644
index cb2b4ca..0000000
--- a/home/rices/original/home.nix
+++ /dev/null
@@ -1,14 +0,0 @@
-{...}: {
- imports = [
- ./dunst.nix
- ./i3.nix
- ./kitty.nix
- ./neovim.nix
- ./nnn.nix
- ./picom.nix
- ./polybar.nix
- ./rofi.nix
- ./scripts.nix
- ./xdg.nix
- ];
-}
diff --git a/home/rices/original/i3.nix b/home/rices/original/i3.nix
deleted file mode 100644
index 0982fcb..0000000
--- a/home/rices/original/i3.nix
+++ /dev/null
@@ -1,130 +0,0 @@
-{ config, pkgs, lib, ... }:
-
-{
- xsession.windowManager.i3 = {
- enable = true;
- config.bars = [];
-
- extraConfig = ''
- # i3 config
- set $mod Mod4
- font pango:Fira Code 10
-
- exec --no-startup-id dex-autostart --autostart --environment i3
- exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock-fancy-rapid 5 3 --nofork
- exec --no-startup-id nm-applet
- exec --no-startup-id blueman-applet
- exec_always --no-startup-id sh -c "sleep 1 && picom --config ~/.config/picom/picom.conf"
- exec --no-startup-id -merge ~/.Xresources
- exec_always --no-startup-id feh --bg-scale ~/Pictures/wallpapers/vox.jpg
- exec_always --no-startup-id sh -c "killall -q polybar; sleep 1; polybar example --config=~/.config/polybar/config.ini &"
- exec_always --no-startup-id polybar-hide-on-fullscreen
- exec --no-startup-id flameshot
-
- gaps top 60
-
- bindsym XF86MonBrightnessDown exec brightnessctl set 10%-
- bindsym XF86MonBrightnessUp exec brightnessctl set +10%
- bindsym XF86AudioMute exec amixer set Master toggle
- bindsym XF86AudioLowerVolume exec amixer set Master 5%-
- bindsym XF86AudioRaiseVolume exec amixer set Master 5%+
- bindsym XF86AudioMicMute exec amixer set Capture toggle
-
- floating_modifier $mod
-
- bindsym $mod+Shift+s exec flameshot gui
- bindsym $mod+Return exec kitty
- bindsym $mod+Control+l exec --no-startup-id i3lock-fancy-rapid 5 3
- bindsym $mod+m exec rofi -show drun
- bindsym $mod+Shift+m exec kitty nnn
- bindsym $mod+n exec firefox
- bindsym $mod+Shift+q kill
-
- bindsym $mod+h focus left
- bindsym $mod+j focus down
- bindsym $mod+k focus up
- bindsym $mod+l focus right
-
- bindsym $mod+Shift+h move left
- bindsym $mod+Shift+j move down
- bindsym $mod+Shift+k move up
- bindsym $mod+Shift+l move right
-
- bindsym $mod+Control+h split h
- bindsym $mod+Control+v split v
- bindsym $mod+f fullscreen toggle
- bindsym $mod+s layout stacking
- bindsym $mod+w layout tabbed
- bindsym $mod+e layout toggle split
- bindsym $mod+Shift+space floating toggle
- bindsym $mod+space focus mode_toggle
- bindsym $mod+a focus parent
-
- set $ws1 "1"
- set $ws2 "2"
- set $ws3 "3"
- set $ws4 "4"
- set $ws5 "5"
- set $ws6 "6"
- set $ws7 "7"
- set $ws8 "8"
- set $ws9 "9"
- set $ws10 "10"
-
- bindsym $mod+plus workspace number $ws1
- bindsym $mod+ecaron workspace number $ws2
- bindsym $mod+scaron workspace number $ws3
- bindsym $mod+ccaron workspace number $ws4
- bindsym $mod+rcaron workspace number $ws5
- bindsym $mod+zcaron workspace number $ws6
- bindsym $mod+yacute workspace number $ws7
- bindsym $mod+aacute workspace number $ws8
- bindsym $mod+iacute workspace number $ws9
- bindsym $mod+eacute workspace number $ws10
-
- bindsym $mod+Shift+plus move container to workspace number $ws1
- bindsym $mod+Shift+ecaron move container to workspace number $ws2
- bindsym $mod+Shift+scaron move container to workspace number $ws3
- bindsym $mod+Shift+ccaron move container to workspace number $ws4
- bindsym $mod+Shift+rcaron move container to workspace number $ws5
- bindsym $mod+Shift+zcaron move container to workspace number $ws6
- bindsym $mod+Shift+yacute move container to workspace number $ws7
- bindsym $mod+Shift+aacute move container to workspace number $ws8
- bindsym $mod+Shift+iacute move container to workspace number $ws9
- bindsym $mod+Shift+eacute move container to workspace number $ws10
-
- bindsym $mod+Shift+c reload
- bindsym $mod+Shift+r restart
- bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'"
-
- mode "resize" {
- bindsym h resize shrink width 5 px or 5 ppt
- bindsym j resize grow height 5 px or 5 ppt
- bindsym k resize shrink height 5 px or 5 ppt
- bindsym l resize grow width 5 px or 5 ppt
-
- bindsym Left resize shrink width 5 px or 5 ppt
- bindsym Down resize grow height 5 px or 5 ppt
- bindsym Up resize shrink height 5 px or 5 ppt
- bindsym Right resize grow width 5 px or 5 ppt
-
- bindsym Return mode "default"
- bindsym Escape mode "default"
- bindsym $mod+r mode "default"
- }
-
- bindsym $mod+r mode "resize"
-
- client.focused #FFFFFF #FFFFFF #FFFFFF #FFFFFF #b12cbf
- client.focused_inactive #8C8C8C #4C4C4C #FFFFFF #4C4C4C #FFFFFF
- client.unfocused #4C4C4C #222222 #888888 #292D2E #500096
- client.urgent #EC69A0 #DB3279 #FFFFFF #DB3279 #DB3279
- client.placeholder #000000 #0C0C0C #FFFFFF #000000 #FFFFFF
- client.background #FFFFFF
-
- default_border pixel 3
- default_floating_border pixel 3
- hide_edge_borders smart
- '';
- };
-}
diff --git a/home/rices/original/kitty.nix b/home/rices/original/kitty.nix
deleted file mode 100644
index 580d765..0000000
--- a/home/rices/original/kitty.nix
+++ /dev/null
@@ -1,45 +0,0 @@
-{ config, pkgs, lib, ... }:
-
-{
- programs.kitty = {
- enable = true;
- extraConfig = ''
- confirm_os_window_close 0
- font_family Fira Code
- bold_font Fira Code Bold
- italic_font Fira Code Light
- shell_integration no-cursor
- cursor_shape beam
- window_padding_width 7
- window_padding_height 10
- scrollback_lines 3000
- font_size 11
- map ctrl+shift+plus change_font_size all +1.0
- map ctrl+shift+minus change_font_size all -1.0
- background_opacity 0.7
-
- cursor #AC82E9
- selection_background #d8cab8
- selection_foreground #141216
- background #141216
- foreground #d8cab8
-
- color0 #2b2135
- color8 #92fcfa
- color1 #fc4649
- color9 #fc4649
- color2 #c4e881
- color10 #c4e881
- color3 #AC82E9
- color11 #AC82E9
- color4 #7b91fc
- color12 #7b91fc
- color5 #f3fc7b
- color13 #f3fc7b
- color6 #8F56E1
- color14 #8F56E1
- color7 #fc92fc
- color15 #d8cab8
- '';
- };
-}
diff --git a/home/rices/original/neovim.nix b/home/rices/original/neovim.nix
deleted file mode 100644
index 54a9b83..0000000
--- a/home/rices/original/neovim.nix
+++ /dev/null
@@ -1,100 +0,0 @@
-{ pkgs, ... }:
-
-{
- programs.neovim = {
- enable = true;
- defaultEditor = true;
- viAlias = true;
- vimAlias = true;
- withNodeJs = true;
-
- plugins = [];
-
- extraLuaConfig = ''
- -- LazyVim bootstrap
- local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
- if not vim.loop.fs_stat(lazypath) then
- vim.fn.system({
- "git", "clone", "--filter=blob:none",
- "https://github.com/folke/lazy.nvim.git",
- "--branch=stable", lazypath,
- })
- end
- vim.opt.rtp:prepend(lazypath)
-
- require("lazy").setup({
- spec = {
- { "LazyVim/LazyVim", import = "lazyvim.plugins" },
- { import = "lazyvim.plugins.extras.lang.tex" },
- { import = "lazyvim.plugins.extras.lang.markdown" },
- { import = "lazyvim.plugins.extras.ui.mini-animate" },
- { import = "lazyvim.plugins.extras.lang.typescript" },
- { import = "lazyvim.plugins.extras.lang.python" },
- { import = "lazyvim.plugins.extras.lang.rust" },
- { import = "lazyvim.plugins.extras.lang.nix" },
-
- {
- "lervag/vimtex",
- lazy = false,
- init = function()
- vim.g.vimtex_view_method = "zathura"
- end
- },
-
- {
- "MeanderingProgrammer/render-markdown.nvim",
- opts = {
- enabled = true,
- file_types = { "markdown", "rmd" },
- colorscheme = "default",
- },
- dependencies = {
- "nvim-treesitter/nvim-treesitter",
- "nvim-tree/nvim-web-devicons",
- },
- },
-
- { "mracos/mermaid.vim", ft = { "mermaid" } },
- },
-
- defaults = { lazy = false, version = false },
- checker = { enabled = true },
-
- performance = {
- rtp = {
- disabled_plugins = {
- "gzip", "tarPlugin", "tohtml",
- "tutor", "zipPlugin",
- },
- },
- },
- })
-
- -- LaTeX wrapping
- vim.api.nvim_create_autocmd("FileType", {
- pattern = "tex",
- callback = function()
- vim.opt_local.wrap = true
- vim.opt_local.linebreak = true
- vim.opt_local.breakindent = true
- vim.opt_local.breakindentopt = "shift:2"
- vim.opt_local.textwidth = 0
- end,
- })
-
- -- Disable diagnostics in markdown
- vim.api.nvim_create_autocmd("FileType", {
- pattern = "markdown",
- callback = function()
- vim.diagnostic.disable(0)
- end,
- })
-
- -- Nix LSP
- local lspconfig = require("lspconfig")
- lspconfig.nil_ls.setup({ cmd = { "nil" } })
-
- vim.opt.clipboard = "unnamedplus"
- '';
- };
-}
diff --git a/home/rices/original/nnn.nix b/home/rices/original/nnn.nix
deleted file mode 100644
index fd2046f..0000000
--- a/home/rices/original/nnn.nix
+++ /dev/null
@@ -1,7 +0,0 @@
-{ pkgs, ... }:
-{
- programs.nnn = {
- enable = true;
- package = pkgs.nnn.override { withNerdIcons = true; };
- };
-}
diff --git a/home/rices/original/picom.nix b/home/rices/original/picom.nix
deleted file mode 100644
index a96f158..0000000
--- a/home/rices/original/picom.nix
+++ /dev/null
@@ -1,27 +0,0 @@
-{ config, pkgs, lib, ... }:
-
-{
- services.picom = {
- enable = true;
-
- package = pkgs.picom-pijulius;
-
- backend = "glx";
- vSync = true;
- inactiveOpacity = 0.9;
- activeOpacity = 1.0;
- fade = true;
- fadeSteps = [ 0.09 0.09 ];
- fadeDelta = 5;
- shadow = true;
- shadowOffsets = [ 12 12 ];
- shadowOpacity = 0.5;
- shadowExclude = [
- "class_g = 'Polybar'"
- "name = 'Polybar'"
- ];
- settings = {
- corner-radius = 15;
- };
- };
-}
diff --git a/home/rices/original/polybar.nix b/home/rices/original/polybar.nix
deleted file mode 100644
index dcfc8ec..0000000
--- a/home/rices/original/polybar.nix
+++ /dev/null
@@ -1,172 +0,0 @@
-{ config, pkgs, lib, ... }:
-
-let
- vars = import ./variables.nix;
-in {
- services.polybar = {
- enable = true;
-
- extraConfig = ''
- [bar/example]
- width = 98%
- height = 30pt
- radius = 15
- offset-x = 1%
- offset-y = 1%
- override-redirect = true
- fixed-center = true
- enable-ipc = true
-
- background = ${vars.colors.background}
- foreground = ${vars.colors.foreground}
-
- line-size = 4pt
- border-size = Opt
- border-color = #00000000
-
- padding-left = 1
- padding-right = 1
- module-margin = 1
-
- separator = |
- separator-foreground = ${vars.colors.disabled}
-
- font-0 = fira code;2
-
- modules-left = xworkspaces spotify spotify-prev spotify-play-pause spotify-next
- modules-center = date
- modules-right = filesystem memory cpu pulseaudio-devices wlan xkeyboard battery
-
- [module/systray]
- type = internal/tray
- format-margin = 8pt
- tray-spacing = 16pt
-
- [module/xworkspaces]
- type = internal/xworkspaces
- label-active = %name%
- label-active-background = ${vars.colors.background-alt}
- label-active-underline = ${vars.colors.primary}
- label-active-padding = 1
- label-occupied = %name%
- label-occupied-padding = 1
- label-urgent = %name%
- label-urgent-background = ${vars.colors.alert}
- label-urgent-padding = 1
- label-empty = %name%
- label-empty-foreground = ${vars.colors.disabled}
- label-empty-padding = 1
-
- [module/xwindow]
- type = internal/xwindow
- label = %title:0:60:...%
-
- [module/filesystem]
- type = internal/fs
- interval = 25
- mount-0 = /
- label-mounted = %{F#F0C674}%mountpoint%%{F-} %percentage_used%%
- label-unmounted = %mountpoint% not mounted
- label-unmounted-foreground = ${vars.colors.disabled}
-
- [module/pulseaudio]
- type = internal/pulseaudio
- format-volume-prefix = "VOL "
- format-volume-prefix-foreground = ${vars.colors.primary}
- format-volume = <label-volume>
- label-volume = %percentage%%
- label-muted = muted
- label-muted-foreground = ${vars.colors.disabled}
-
- [module/xkeyboard]
- type = internal/xkeyboard
- blacklist-0 = num lock
- label-layout = %layout%
- label-layout-foreground = ${vars.colors.primary}
- label-indicator-padding = 2
- label-indicator-margin = 1
- label-indicator-foreground = ${vars.colors.background}
- label-indicator-background = ${vars.colors.secondary}
-
- [module/memory]
- type = internal/memory
- interval = 2
- format-prefix = "RAM "
- format-prefix-foreground = ${vars.colors.primary}
- label = %percentage_used:2%%
-
- [module/cpu]
- type = internal/cpu
- interval = 2
- format-prefix = "CPU "
- format-prefix-foreground = ${vars.colors.primary}
- label = %percentage:2%%
-
- [network-base]
- type = internal/network
- interval = 5
- format-connected = <label-connected>
- format-disconnected = <label-disconnected>
- label-disconnected = %{F#F0C674}%ifname%%{F#707880} disconnected
-
- [module/wlan]
- inherit = network-base
- interface-type = wireless
- label-connected = %{F#F0C674}%ifname%%{F-} %essid%
-
- [module/eth]
- inherit = network-base
- interface-type = wired
- label-connected = %{F#F0C674}%ifname%%{F-}
-
- [module/date]
- type = internal/date
- interval = 1
- date = %H:%M
- date-alt = %Y-%m-%d %H:%M:%S
- label = %date%
- label-foreground = ${vars.colors.primary}
-
- [settings]
- screenchange-reload = true
- pseudo-transparency = true
-
- [module/battery]
- type = internal/battery
- full-at = 100
- low-at = 15
- battery = BAT0
- adapter = ADP1
- poll-interval = 5
-
- [module/spotify]
- type = custom/script
- tail = true
- interval = 1
- format-prefix = "♫"
- format = <label>
- exec = get-spotify-status
-
- [module/spotify-prev]
- type = custom/script
- exec = echo "◀◀"
- format = <label>
- click-left = playerctl previous -p spotify
-
- [module/spotify-play-pause]
- type = custom/ipc
- hook-0 = echo "▶"
- hook-1 = echo "▶"
- initial = 1
- click-left = playerctl play-pause -p spotify
-
- [module/spotify-next]
- type = custom/script
- exec = echo "▶▶"
- format = <label>
- click-left = playerctl next -p spotify
- '';
-
- script = "polybar example --config=~/.config/polybar/config.ini &";
- };
-}
diff --git a/home/rices/original/rofi.nix b/home/rices/original/rofi.nix
deleted file mode 100644
index a266396..0000000
--- a/home/rices/original/rofi.nix
+++ /dev/null
@@ -1,13 +0,0 @@
-{ pkgs, ... }:
-
-{
- programs.rofi = {
- enable = true;
- location = "center";
- cycle = true;
- theme = "purple";
- terminal = "${pkgs.kitty}/bin/kitty";
- modes = [ "drun" "ssh" "emoji" "calc" ];
- plugins = with pkgs; [ rofi-emoji rofi-calc ];
- };
-}
diff --git a/home/rices/original/scripts.nix b/home/rices/original/scripts.nix
deleted file mode 100644
index 5bf8c6b..0000000
--- a/home/rices/original/scripts.nix
+++ /dev/null
@@ -1,31 +0,0 @@
-{ pkgs, ... }:
-
-{
- home.packages = [
- (pkgs.writeShellScriptBin "get-spotify-status" ''
- PARENT_BAR="example"
- PLAYER="playerctld"
- FORMAT="{{ title }} - {{ artist }}"
-
- PLAYERCTL_STATUS=$(playerctl --player=$PLAYER status 2>/dev/null)
-
- if [ "$PLAYERCTL_STATUS" = "Playing" ]; then
- playerctl --player=$PLAYER metadata --format "$FORMAT"
- elif [ "$PLAYERCTL_STATUS" = "Paused" ]; then
- echo "Paused"
- else
- echo "No music"
- fi
- '')
-
- (pkgs.writeShellScriptBin "polybar-hide-on-fullscreen" ''
- i3-msg -t subscribe -m '[ "window" ]' | while read -r event; do
- if echo "$event" | grep -q '"fullscreen_mode":[[:space:]]*1'; then
- polybar-msg cmd hide
- elif echo "$event" | grep -q '"fullscreen_mode":[[:space:]]*0'; then
- polybar-msg cmd show
- fi
- done
- '')
- ];
-}
diff --git a/home/rices/original/system.nix b/home/rices/original/system.nix
deleted file mode 100644
index f49ddd5..0000000
--- a/home/rices/original/system.nix
+++ /dev/null
@@ -1,83 +0,0 @@
-{pkgs, ...}: {
- # Desktop environment - i3 window manager
- services.xserver = {
- enable = true;
- windowManager.i3.enable = true;
- xkb = {
- layout = "cz";
- options = "eurosign:e,caps:escape";
- };
- };
-
- services.picom.enable = true;
-
- # Stylix configuration - default scheme
- stylix = {
- enable = true;
- autoEnable = true;
-
- base16Scheme = {
- base00 = "2E3440";
- base01 = "3B4252";
- base02 = "434C5E";
- base03 = "4C566A";
- base04 = "D8DEE9";
- base05 = "E5E9F0";
- base06 = "ECEFF4";
- base07 = "8FBCBB";
- base08 = "BF616A";
- base09 = "D08770";
- base0A = "EBCB8B";
- base0B = "A3BE8C";
- base0C = "88C0D0";
- base0D = "81A1C1";
- base0E = "B48EAD";
- base0F = "5E81AC";
- };
-
- image = pkgs.fetchurl {
- url = "https://raw.githubusercontent.com/NixOS/nixos-artwork/master/wallpapers/nix-wallpaper-simple-blue.png";
- sha256 = "sha256-utrcjzfeJoFOpUbFY2eIUNCKy5rjLt57xIoUUssJmdI=";
- };
-
- fonts = {
- monospace = {
- package = pkgs.nerd-fonts.jetbrains-mono;
- name = "JetBrainsMono Nerd Font";
- };
- sansSerif = {
- package = pkgs.noto-fonts;
- name = "Noto Sans";
- };
- serif = {
- package = pkgs.noto-fonts;
- name = "Noto Serif";
- };
- emoji = {
- package = pkgs.noto-fonts-color-emoji;
- name = "Noto Color Emoji";
- };
- sizes = {
- terminal = 10;
- applications = 11;
- desktop = 11;
- };
- };
-
- cursor = {
- package = pkgs.bibata-cursors;
- name = "Bibata-Modern-Classic";
- size = 24;
- };
-
- opacity = {
- terminal = 0.95;
- applications = 1.0;
- desktop = 1.0;
- popups = 0.95;
- };
-
- polarity = "dark";
- targets.nixos-icons.enable = false;
- };
-}
diff --git a/home/rices/original/variables.nix b/home/rices/original/variables.nix
deleted file mode 100644
index 7aa70ff..0000000
--- a/home/rices/original/variables.nix
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- colors = {
- background = "#1c182d";
- background-alt = "#2b1b3d";
- foreground = "#d0b6fd";
- primary = "#cfb5fd";
- secondary = "#8a78b0";
- accent = "#AC82E9";
- alert = "#7b91fc";
- disabled = "#707880";
- };
-
- wallpaper = "~/Pictures/wallpapers/vox.jpg";
-}
diff --git a/home/rices/original/xdg.nix b/home/rices/original/xdg.nix
deleted file mode 100644
index b1b612e..0000000
--- a/home/rices/original/xdg.nix
+++ /dev/null
@@ -1,16 +0,0 @@
-{ pkgs, ... }:
-
-{
- xdg = {
- enable = true;
-
- mimeApps = {
- enable = true;
- defaultApplications = {
- "text/plain" = [ "nvim.desktop" ];
- "text/markdown" = [ "nvim.desktop" ];
- "text/x-markdown" = [ "nvim.desktop" ];
- };
- };
- };
-}
diff --git a/home/rices/plasma6/default.nix b/home/rices/plasma6/default.nix
deleted file mode 100644
index 6b7865d..0000000
--- a/home/rices/plasma6/default.nix
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- system = import ./system.nix;
- home = import ./home.nix;
-}
diff --git a/home/rices/plasma6/home.nix b/home/rices/plasma6/home.nix
deleted file mode 100644
index 0dd85ad..0000000
--- a/home/rices/plasma6/home.nix
+++ /dev/null
@@ -1,4 +0,0 @@
-{...}: {
- # Plasma-specific HM configs can go here
- # For now, minimal/empty
-}
diff --git a/home/rices/plasma6/system.nix b/home/rices/plasma6/system.nix
deleted file mode 100644
index f195684..0000000
--- a/home/rices/plasma6/system.nix
+++ /dev/null
@@ -1,93 +0,0 @@
-{pkgs, ...}: let
- vars = import ./variables.nix;
-in {
- # Enable Plasma 6 desktop (ly display manager is enabled in system/services.nix)
- services.desktopManager.plasma6.enable = true;
-
- # X11 configuration
- services.xserver = {
- enable = true;
- xkb = {
- layout = "cz";
- options = "eurosign:e,caps:escape";
- };
- };
-
- # Exclude unwanted KDE packages
- environment.plasma6.excludePackages = with pkgs.kdePackages; [
- elisa # Music player
- kdepim-runtime # Akonadi agents
- kmahjongg
- kmines
- konversation # IRC client
- kpat # Solitaire
- ksudoku
- ktorrent
- ];
-
- # KDE utilities and system packages
- environment.systemPackages = with pkgs; [
- # KDE Utilities
- kdePackages.kcalc # Calculator
- kdePackages.kcharselect # Character map
- kdePackages.kclock # Clock app
- kdePackages.kcolorchooser # Color picker
- kdePackages.ksystemlog # System log viewer
- kdiff3 # File/directory comparison tool
-
- # Hardware/System Utilities
- kdePackages.isoimagewriter # Write hybrid ISOs to USB
- kdePackages.partitionmanager # Disk and partition management
- hardinfo2 # System benchmarks and hardware info
- wayland-utils # Wayland diagnostic tools
- wl-clipboard # Wayland copy/paste support
- ];
-
- # Stylix theming
- stylix = {
- enable = true;
- autoEnable = true;
- base16Scheme = "${pkgs.base16-schemes}/share/themes/espresso.yaml";
- image = vars.image;
-
- fonts = {
- monospace = {
- package = pkgs.dejavu_fonts;
- name = "DejaVu Sans Mono";
- };
- sansSerif = {
- package = pkgs.dejavu_fonts;
- name = "DejaVu Sans";
- };
- serif = {
- package = pkgs.dejavu_fonts;
- name = "DejaVu Serif";
- };
- emoji = {
- package = pkgs.noto-fonts-color-emoji;
- name = "Noto Color Emoji";
- };
- sizes = {
- terminal = 11;
- applications = 11;
- desktop = 11;
- };
- };
-
- cursor = {
- package = pkgs.bibata-cursors;
- name = "Bibata-Modern-Classic";
- size = 24;
- };
-
- opacity = {
- terminal = 0.95;
- applications = 1.0;
- desktop = 1.0;
- popups = 0.95;
- };
-
- polarity = "dark";
- targets.nixos-icons.enable = false;
- };
-}
diff --git a/home/rices/plasma6/variables.nix b/home/rices/plasma6/variables.nix
deleted file mode 100644
index 4c13af7..0000000
--- a/home/rices/plasma6/variables.nix
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- image = ../../../assets/wallpapers/insert_coin.jpeg;
-}
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";
- };
-}