Compare commits
2 commits
5aae7edaf8
...
23aa8bdd15
| Author | SHA1 | Date | |
|---|---|---|---|
| 23aa8bdd15 | |||
| 9a2d0eed40 |
19 changed files with 296 additions and 1332 deletions
248
flake.lock
generated
248
flake.lock
generated
|
|
@ -33,6 +33,73 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"base16": {
|
||||
"inputs": {
|
||||
"fromYaml": "fromYaml"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1746562888,
|
||||
"narHash": "sha256-YgNJQyB5dQiwavdDFBMNKk1wyS77AtdgDk/VtU6wEaI=",
|
||||
"owner": "SenchoPens",
|
||||
"repo": "base16.nix",
|
||||
"rev": "806a1777a5db2a1ef9d5d6f493ef2381047f2b89",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "SenchoPens",
|
||||
"repo": "base16.nix",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"base16-fish": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1622559957,
|
||||
"narHash": "sha256-PebymhVYbL8trDVVXxCvZgc0S5VxI7I1Hv4RMSquTpA=",
|
||||
"owner": "tomyun",
|
||||
"repo": "base16-fish",
|
||||
"rev": "2f6dd973a9075dabccd26f1cded09508180bf5fe",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "tomyun",
|
||||
"repo": "base16-fish",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"base16-helix": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1736852337,
|
||||
"narHash": "sha256-esD42YdgLlEh7koBrSqcT7p2fsMctPAcGl/+2sYJa2o=",
|
||||
"owner": "tinted-theming",
|
||||
"repo": "base16-helix",
|
||||
"rev": "03860521c40b0b9c04818f2218d9cc9efc21e7a5",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "tinted-theming",
|
||||
"repo": "base16-helix",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"base16-vim": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1732806396,
|
||||
"narHash": "sha256-e0bpPySdJf0F68Ndanwm+KWHgQiZ0s7liLhvJSWDNsA=",
|
||||
"owner": "tinted-theming",
|
||||
"repo": "base16-vim",
|
||||
"rev": "577fe8125d74ff456cf942c733a85d769afe58b7",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "tinted-theming",
|
||||
"repo": "base16-vim",
|
||||
"rev": "577fe8125d74ff456cf942c733a85d769afe58b7",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"blobs": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
|
|
@ -198,6 +265,22 @@
|
|||
"url": "https://gitea.moritzboeh.me/moritz/filetags.git"
|
||||
}
|
||||
},
|
||||
"firefox-gnome-theme": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1744642301,
|
||||
"narHash": "sha256-5A6LL7T0lttn1vrKsNOKUk9V0ittdW0VEqh6AtefxJ4=",
|
||||
"owner": "rafaelmardojai",
|
||||
"repo": "firefox-gnome-theme",
|
||||
"rev": "59e3de00f01e5adb851d824cf7911bd90c31083a",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "rafaelmardojai",
|
||||
"repo": "firefox-gnome-theme",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flake-compat": {
|
||||
"locked": {
|
||||
"lastModified": 1747046372,
|
||||
|
|
@ -305,6 +388,22 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"fromYaml": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1731966426,
|
||||
"narHash": "sha256-lq95WydhbUTWig/JpqiB7oViTcHFP8Lv41IGtayokA8=",
|
||||
"owner": "SenchoPens",
|
||||
"repo": "fromYaml",
|
||||
"rev": "106af9e2f715e2d828df706c386a685698f3223b",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "SenchoPens",
|
||||
"repo": "fromYaml",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"git-hooks": {
|
||||
"inputs": {
|
||||
"flake-compat": [
|
||||
|
|
@ -350,6 +449,23 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"gnome-shell": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1744584021,
|
||||
"narHash": "sha256-0RJ4mJzf+klKF4Fuoc8VN8dpQQtZnKksFmR2jhWE1Ew=",
|
||||
"owner": "GNOME",
|
||||
"repo": "gnome-shell",
|
||||
"rev": "52c517c8f6c199a1d6f5118fae500ef69ea845ae",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "GNOME",
|
||||
"ref": "48.1",
|
||||
"repo": "gnome-shell",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"hercules-ci-effects": {
|
||||
"inputs": {
|
||||
"flake-parts": "flake-parts_2",
|
||||
|
|
@ -940,6 +1056,7 @@
|
|||
"nixvim": "nixvim",
|
||||
"nur": "nur",
|
||||
"stable": "stable",
|
||||
"stylix": "stylix",
|
||||
"systems": "systems_2",
|
||||
"timers": "timers",
|
||||
"treefmt-nix": "treefmt-nix",
|
||||
|
|
@ -1000,6 +1117,55 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"stylix": {
|
||||
"inputs": {
|
||||
"base16": "base16",
|
||||
"base16-fish": "base16-fish",
|
||||
"base16-helix": "base16-helix",
|
||||
"base16-vim": "base16-vim",
|
||||
"firefox-gnome-theme": "firefox-gnome-theme",
|
||||
"flake-compat": [
|
||||
"flake-compat"
|
||||
],
|
||||
"flake-parts": [
|
||||
"flake-parts"
|
||||
],
|
||||
"git-hooks": [
|
||||
"git-hooks"
|
||||
],
|
||||
"gnome-shell": "gnome-shell",
|
||||
"home-manager": [
|
||||
"home-manager"
|
||||
],
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
],
|
||||
"nur": [
|
||||
"nur"
|
||||
],
|
||||
"systems": [
|
||||
"systems"
|
||||
],
|
||||
"tinted-foot": "tinted-foot",
|
||||
"tinted-kitty": "tinted-kitty",
|
||||
"tinted-schemes": "tinted-schemes",
|
||||
"tinted-tmux": "tinted-tmux",
|
||||
"tinted-zed": "tinted-zed"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1747578370,
|
||||
"narHash": "sha256-7pk8quDMQcGIVmm7KXMQLI5CbfamwPv/vO20cTcT/wI=",
|
||||
"owner": "nix-community",
|
||||
"repo": "stylix",
|
||||
"rev": "2eaa338eb879b8432f7e252d6ab8725ada98f52d",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-community",
|
||||
"repo": "stylix",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"systems": {
|
||||
"locked": {
|
||||
"lastModified": 1681028828,
|
||||
|
|
@ -1067,6 +1233,88 @@
|
|||
"url": "https://gitea.moritzboeh.me/moritz/timers.git"
|
||||
}
|
||||
},
|
||||
"tinted-foot": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1726913040,
|
||||
"narHash": "sha256-+eDZPkw7efMNUf3/Pv0EmsidqdwNJ1TaOum6k7lngDQ=",
|
||||
"owner": "tinted-theming",
|
||||
"repo": "tinted-foot",
|
||||
"rev": "fd1b924b6c45c3e4465e8a849e67ea82933fcbe4",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "tinted-theming",
|
||||
"repo": "tinted-foot",
|
||||
"rev": "fd1b924b6c45c3e4465e8a849e67ea82933fcbe4",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"tinted-kitty": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1716423189,
|
||||
"narHash": "sha256-2xF3sH7UIwegn+2gKzMpFi3pk5DlIlM18+vj17Uf82U=",
|
||||
"owner": "tinted-theming",
|
||||
"repo": "tinted-kitty",
|
||||
"rev": "eb39e141db14baef052893285df9f266df041ff8",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "tinted-theming",
|
||||
"repo": "tinted-kitty",
|
||||
"rev": "eb39e141db14baef052893285df9f266df041ff8",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"tinted-schemes": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1744974599,
|
||||
"narHash": "sha256-Fg+rdGs5FAgfkYNCs74lnl8vkQmiZVdBsziyPhVqrlY=",
|
||||
"owner": "tinted-theming",
|
||||
"repo": "schemes",
|
||||
"rev": "28c26a621123ad4ebd5bbfb34ab39421c0144bdd",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "tinted-theming",
|
||||
"repo": "schemes",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"tinted-tmux": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1745111349,
|
||||
"narHash": "sha256-udV+nHdpqgkJI9D0mtvvAzbqubt9jdifS/KhTTbJ45w=",
|
||||
"owner": "tinted-theming",
|
||||
"repo": "tinted-tmux",
|
||||
"rev": "e009f18a01182b63559fb28f1c786eb027c3dee9",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "tinted-theming",
|
||||
"repo": "tinted-tmux",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"tinted-zed": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1725758778,
|
||||
"narHash": "sha256-8P1b6mJWyYcu36WRlSVbuj575QWIFZALZMTg5ID/sM4=",
|
||||
"owner": "tinted-theming",
|
||||
"repo": "base16-zed",
|
||||
"rev": "122c9e5c0e6f27211361a04fae92df97940eccf9",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "tinted-theming",
|
||||
"repo": "base16-zed",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"treefmt-nix": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
|
|
|
|||
|
|
@ -122,6 +122,7 @@
|
|||
flake-compat.url = "github:edolstra/flake-compat";
|
||||
niri.url = "github:sodiboo/niri-flake";
|
||||
systems.url = "github:nix-systems/default";
|
||||
stylix.url = "github:nix-community/stylix";
|
||||
|
||||
# Programs
|
||||
timers.url = "git+https://gitea.moritzboeh.me/moritz/timers.git";
|
||||
|
|
@ -172,6 +173,13 @@
|
|||
nur.inputs.flake-parts.follows = "flake-parts";
|
||||
nur.inputs.nixpkgs.follows = "nixpkgs";
|
||||
nur.inputs.treefmt-nix.follows = "treefmt-nix";
|
||||
stylix.inputs.flake-compat.follows = "flake-compat";
|
||||
stylix.inputs.flake-parts.follows = "flake-parts";
|
||||
stylix.inputs.git-hooks.follows = "git-hooks";
|
||||
stylix.inputs.home-manager.follows = "home-manager";
|
||||
stylix.inputs.nixpkgs.follows = "nixpkgs";
|
||||
stylix.inputs.nur.follows = "nur";
|
||||
stylix.inputs.systems.follows = "systems";
|
||||
timers.inputs.nixpkgs.follows = "nixpkgs";
|
||||
treefmt-nix.inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,455 +0,0 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
flavor,
|
||||
rosewater,
|
||||
flamingo,
|
||||
pink,
|
||||
mauve,
|
||||
red,
|
||||
maroon,
|
||||
peach,
|
||||
yellow,
|
||||
green,
|
||||
teal,
|
||||
sapphire,
|
||||
blue,
|
||||
lavender,
|
||||
text,
|
||||
subtext1,
|
||||
subtext0,
|
||||
overlay1,
|
||||
overlay0,
|
||||
surface2,
|
||||
surface1,
|
||||
surface0,
|
||||
base,
|
||||
mantle,
|
||||
crust,
|
||||
...
|
||||
}: {
|
||||
my.programs.tofi.settings = {
|
||||
text-color = "#${text}";
|
||||
prompt-color = "#${red}";
|
||||
selection-color = "#${yellow}";
|
||||
background-color = "#${base}";
|
||||
};
|
||||
home-manager.users.moritz = {
|
||||
programs = {
|
||||
fzf.colors = {
|
||||
"bg+" = "#${surface0}";
|
||||
"fg+" = "#${text}";
|
||||
"hl+" = "#${red}";
|
||||
bg = "#${base}";
|
||||
fg = "#${text}";
|
||||
header = "#${red}";
|
||||
hl = "#${red}";
|
||||
info = "#${mauve}";
|
||||
marker = "#${rosewater}";
|
||||
pointer = "#${rosewater}";
|
||||
prompt = "#${mauve}";
|
||||
spinner = "#${rosewater}";
|
||||
};
|
||||
foot.settings.colors = {
|
||||
foreground = text; # Text
|
||||
background = base; # Base
|
||||
regular0 = surface1; # Surface 1
|
||||
regular1 = red; # red
|
||||
regular2 = green; # green
|
||||
regular3 = yellow; # yellow
|
||||
regular4 = blue;
|
||||
regular5 = pink;
|
||||
regular6 = teal;
|
||||
regular7 = subtext1;
|
||||
bright0 = surface2;
|
||||
bright1 = red;
|
||||
bright2 = green;
|
||||
bright3 = yellow;
|
||||
bright4 = blue;
|
||||
bright5 = pink;
|
||||
bright6 = teal;
|
||||
bright7 = subtext0;
|
||||
};
|
||||
kitty.extraConfig = ''
|
||||
# vim:ft=kitty
|
||||
|
||||
## name: Catppuccin-Frappe
|
||||
## author: Pocco81 (https://github.com/Pocco81)
|
||||
## license: MIT
|
||||
## upstream: https://github.com/catppuccin/kitty/blob/main/frappe.conf
|
||||
## blurb: Soothing pastel theme for the high-spirited!
|
||||
|
||||
|
||||
|
||||
# The basic colors
|
||||
foreground #${text}
|
||||
background #${base}
|
||||
selection_foreground #${base}
|
||||
selection_background #${rosewater}
|
||||
|
||||
# Cursor colors
|
||||
cursor #${rosewater}
|
||||
cursor_text_color #${base}
|
||||
|
||||
# URL underline color when hovering with mouse
|
||||
url_color #${rosewater}
|
||||
|
||||
# Kitty window border colors
|
||||
active_border_color #${lavender}
|
||||
inactive_border_color #${overlay0}
|
||||
bell_border_color #${yellow}
|
||||
|
||||
# OS Window titlebar colors
|
||||
wayland_titlebar_color system
|
||||
macos_titlebar_color system
|
||||
|
||||
# Tab bar colors
|
||||
active_tab_foreground #${crust}
|
||||
active_tab_background #${mauve}
|
||||
inactive_tab_foreground #${text}
|
||||
inactive_tab_background #${mantle}
|
||||
tab_bar_background #${crust}
|
||||
|
||||
# Colors for marks (marked text in the terminal)
|
||||
mark1_foreground #${base}
|
||||
mark1_background #${lavender}
|
||||
mark2_foreground #${base}
|
||||
mark2_background #${mauve}
|
||||
mark3_foreground #${base}
|
||||
mark3_background #${sapphire}
|
||||
|
||||
# The 16 terminal colors
|
||||
|
||||
# black
|
||||
color0 #${surface1}
|
||||
color8 #${surface2}
|
||||
|
||||
# red
|
||||
color1 #${red}
|
||||
color9 #${red}
|
||||
|
||||
# green
|
||||
color2 #${green}
|
||||
color10 #${green}
|
||||
|
||||
# yellow
|
||||
color3 #${yellow}
|
||||
color11 #${yellow}
|
||||
|
||||
# blue
|
||||
color4 #${blue}
|
||||
color12 #${blue}
|
||||
|
||||
# magenta
|
||||
color5 #${pink}
|
||||
color13 #${pink}
|
||||
|
||||
# cyan
|
||||
color6 #${teal}
|
||||
color14 #${teal}
|
||||
|
||||
# white
|
||||
color7 #${subtext1}
|
||||
color15 #${subtext0}
|
||||
'';
|
||||
tmux.plugins = with pkgs.tmuxPlugins; [
|
||||
{
|
||||
plugin = catppuccin;
|
||||
extraConfig = "set -g @catppuccin_flavour '${flavor}'";
|
||||
}
|
||||
];
|
||||
zathura.extraConfig = ''
|
||||
set window-title-basename "true"
|
||||
set selection-clipboard "clipboard"
|
||||
|
||||
set default-fg "#${text}"
|
||||
set default-bg "#${base}"
|
||||
|
||||
set completion-bg "#${surface0}"
|
||||
set completion-fg "#${text}"
|
||||
set completion-highlight-bg "#575268"
|
||||
set completion-highlight-fg "#${text}"
|
||||
set completion-group-bg "#${surface0}"
|
||||
set completion-group-fg "#${blue}"
|
||||
|
||||
set statusbar-fg "#${text}"
|
||||
set statusbar-bg "#${surface0}"
|
||||
|
||||
set notification-bg "#${surface0}"
|
||||
set notification-fg "#${text}"
|
||||
set notification-error-bg "#${surface0}"
|
||||
set notification-error-fg "#${red}"
|
||||
set notification-warning-bg "#${surface0}"
|
||||
set notification-warning-fg "#FAE3B0"
|
||||
|
||||
set inputbar-fg "#${text}"
|
||||
set inputbar-bg "#${surface0}"
|
||||
|
||||
set recolor-lightcolor "#${base}"
|
||||
set recolor-darkcolor "#${text}"
|
||||
|
||||
set index-fg "#${text}"
|
||||
set index-bg "#${base}"
|
||||
set index-active-fg "#${text}"
|
||||
set index-active-bg "#${surface0}"
|
||||
|
||||
set render-loading-bg "#${base}"
|
||||
set render-loading-fg "#${text}"
|
||||
|
||||
set highlight-color "#575268"
|
||||
set highlight-fg "#${pink}"
|
||||
set highlight-active-color "#${pink}"
|
||||
'';
|
||||
rofi = {
|
||||
theme = "custom";
|
||||
extraConfig = {
|
||||
show-icons = true;
|
||||
terminal = "alacritty";
|
||||
drun-display-format = "{icon} {name}";
|
||||
location = 0;
|
||||
disable-history = false;
|
||||
hide-scrollbar = true;
|
||||
display-drun = " Apps ";
|
||||
display-run = " Run ";
|
||||
display-window = " Window";
|
||||
display-Network = " Network";
|
||||
sidebar-mode = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
xsession.windowManager.bspwm.settings = {
|
||||
focused_border_color = "#${mauve}";
|
||||
normal_border_color = "#${base}";
|
||||
active_border_color = "#${base}";
|
||||
};
|
||||
services = {
|
||||
dunst.settings = {
|
||||
global = {
|
||||
# Defines color of the frame around the notification window.
|
||||
frame_color = "#${blue}";
|
||||
|
||||
# Define a color for the separator.
|
||||
# possible values are:
|
||||
# * auto: dunst tries to find a color fitting to the background;
|
||||
# * foreground: use the same color as the foreground;
|
||||
# * frame: use the same color as the frame;
|
||||
# * anything else will be interpreted as a X color.
|
||||
separator_color = "frame";
|
||||
};
|
||||
|
||||
urgency_low = {
|
||||
background = "#${base}";
|
||||
foreground = "#${text}";
|
||||
};
|
||||
urgency_normal = {
|
||||
background = "#${base}";
|
||||
foreground = "#${text}";
|
||||
};
|
||||
urgency_critical = {
|
||||
background = "#${base}";
|
||||
foreground = "#${text}";
|
||||
frame_color = "#${peach}";
|
||||
};
|
||||
};
|
||||
polybar = {
|
||||
config = {
|
||||
"bar/bottom" = {
|
||||
background = base;
|
||||
foreground = text;
|
||||
border-color = base;
|
||||
};
|
||||
"module/bspwm" = {
|
||||
label-focused-foreground = pink;
|
||||
label-occupied-foreground = overlay1;
|
||||
label-urgent-foreground = maroon;
|
||||
label-empty-foreground = overlay1;
|
||||
label-separator-foreground = base;
|
||||
};
|
||||
"module/cpu" = {
|
||||
format-foreground = base;
|
||||
format-background = green;
|
||||
};
|
||||
"module/time" = {
|
||||
format-foreground = base;
|
||||
format-background = blue;
|
||||
};
|
||||
"module/date" = {
|
||||
format-foreground = base;
|
||||
format-background = peach;
|
||||
};
|
||||
"module/memory" = {
|
||||
format-foreground = base;
|
||||
format-background = blue;
|
||||
};
|
||||
"module/pulseaudio" = {
|
||||
format-volume-foreground = base;
|
||||
format-volume-background = mauve;
|
||||
label-muted = "婢 muted";
|
||||
format-muted-foreground = base;
|
||||
format-muted-background = red;
|
||||
};
|
||||
"module/network" = {
|
||||
format-connected-foreground = base;
|
||||
format-connected-background = mauve;
|
||||
};
|
||||
"module/battery" = {
|
||||
format-charging-foreground = base;
|
||||
format-charging-background = green;
|
||||
format-full-foreground = base;
|
||||
format-full-background = green;
|
||||
format-discharging-foreground = base;
|
||||
format-discharging-background = red;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
xdg.configFile = {
|
||||
"fish/conf.d/theme.fish".text = ''
|
||||
# Catppuccin color palette
|
||||
|
||||
# --> special
|
||||
set -l foreground ${text}
|
||||
set -l selection ${surface0}
|
||||
|
||||
# --> palette
|
||||
set -l teal ${teal}
|
||||
set -l flamingo ${flamingo}
|
||||
set -l mauve ${mauve}
|
||||
set -l pink ${pink}
|
||||
set -l red ${red}
|
||||
set -l peach ${peach}
|
||||
set -l green ${green}
|
||||
set -l yellow ${yellow}
|
||||
set -l blue ${blue}
|
||||
set -l gray ${overlay0}
|
||||
|
||||
# Syntax Highlighting
|
||||
set -g fish_color_normal $foreground
|
||||
set -g fish_color_command $blue
|
||||
set -g fish_color_param $flamingo
|
||||
set -g fish_color_keyword $red
|
||||
set -g fish_color_quote $green
|
||||
set -g fish_color_redirection $pink
|
||||
set -g fish_color_end $peach
|
||||
set -g fish_color_error $red
|
||||
set -g fish_color_gray $gray
|
||||
set -g fish_color_selection --background=$selection
|
||||
set -g fish_color_search_match --background=$selection
|
||||
set -g fish_color_operator $pink
|
||||
set -g fish_color_escape $flamingo
|
||||
set -g fish_color_autosuggestion $gray
|
||||
set -g fish_color_cancel $red
|
||||
|
||||
# Prompt
|
||||
set -g fish_color_cwd $yellow
|
||||
set -g fish_color_user $teal
|
||||
set -g fish_color_host $blue
|
||||
|
||||
# Completion Pager
|
||||
set -g fish_pager_color_progress $gray
|
||||
set -g fish_pager_color_prefix $pink
|
||||
set -g fish_pager_color_completion $foreground
|
||||
set -g fish_pager_color_description $gray
|
||||
'';
|
||||
"rofi/custom.rasi".text = ''
|
||||
* {
|
||||
bg-col: #${base};
|
||||
bg-col-light: #${base};
|
||||
border-col: #${base};
|
||||
selected-col: #${base};
|
||||
blue: #${blue};
|
||||
fg-col: #${text};
|
||||
fg-col2: #${red};
|
||||
grey: #${overlay0};
|
||||
|
||||
width: 900;
|
||||
font: "JetBrainsMono Nerd Font 14";
|
||||
}
|
||||
|
||||
element-text, element-icon , mode-switcher {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
}
|
||||
|
||||
window {
|
||||
height: 360px;
|
||||
border: 3px;
|
||||
border-color: @border-col;
|
||||
background-color: @bg-col;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
background-color: @bg-col;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
children: [prompt,entry];
|
||||
background-color: @bg-col;
|
||||
border-radius: 5px;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
prompt {
|
||||
background-color: @blue;
|
||||
padding: 6px;
|
||||
text-color: @bg-col;
|
||||
border-radius: 3px;
|
||||
margin: 20px 0px 0px 20px;
|
||||
}
|
||||
|
||||
textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: ":";
|
||||
}
|
||||
|
||||
entry {
|
||||
padding: 6px;
|
||||
margin: 20px 0px 0px 10px;
|
||||
text-color: @fg-col;
|
||||
background-color: @bg-col;
|
||||
}
|
||||
|
||||
listview {
|
||||
border: 0px 0px 0px;
|
||||
padding: 6px 0px 0px;
|
||||
margin: 10px 0px 0px 20px;
|
||||
columns: 2;
|
||||
lines: 5;
|
||||
background-color: @bg-col;
|
||||
}
|
||||
|
||||
element {
|
||||
padding: 5px;
|
||||
background-color: @bg-col;
|
||||
text-color: @fg-col ;
|
||||
}
|
||||
|
||||
element-icon {
|
||||
size: 25px;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @selected-col ;
|
||||
text-color: @fg-col2 ;
|
||||
}
|
||||
|
||||
mode-switcher {
|
||||
spacing: 0;
|
||||
}
|
||||
|
||||
button {
|
||||
padding: 10px;
|
||||
background-color: @bg-col-light;
|
||||
text-color: @grey;
|
||||
vertical-align: 0.5;
|
||||
horizontal-align: 0.5;
|
||||
}
|
||||
|
||||
button selected {
|
||||
background-color: @bg-col;
|
||||
text-color: @blue;
|
||||
}
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -1,43 +0,0 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
cfg = config.my.theming;
|
||||
in {
|
||||
config =
|
||||
mkIf (cfg.enable && cfg.scheme == "catppuccin-frappe")
|
||||
(import ./_catppuccin.nix
|
||||
{
|
||||
inherit config lib pkgs;
|
||||
flavor = "mocha";
|
||||
rosewater = "f2d5cf";
|
||||
flamingo = "eebebe";
|
||||
pink = "f4b8e4";
|
||||
mauve = "ca9ee6";
|
||||
red = "e78284";
|
||||
maroon = "ea999c";
|
||||
peach = "ef9f76";
|
||||
yellow = "e5c890";
|
||||
green = "a6d189";
|
||||
teal = "81c8be";
|
||||
sky = "99d1db";
|
||||
sapphire = "85c1dc";
|
||||
blue = "8caaee";
|
||||
lavender = "babbf1";
|
||||
text = "c6d0f5";
|
||||
subtext1 = "b5bfe2";
|
||||
subtext0 = "a5adce";
|
||||
overlay2 = "949cbb";
|
||||
overlay1 = "838ba7";
|
||||
overlay0 = "737994";
|
||||
surface2 = "626880";
|
||||
surface1 = "51576d";
|
||||
surface0 = "414559";
|
||||
base = "303446";
|
||||
mantle = "292c3c";
|
||||
crust = "232634";
|
||||
});
|
||||
}
|
||||
|
|
@ -1,43 +0,0 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
cfg = config.my.theming;
|
||||
in {
|
||||
config =
|
||||
mkIf (cfg.enable && cfg.scheme == "catppuccin-latte")
|
||||
(import ./_catppuccin.nix
|
||||
{
|
||||
inherit config lib pkgs;
|
||||
flavor = "mocha";
|
||||
rosewater = "dc8a78";
|
||||
flamingo = "dd7878";
|
||||
pink = "ea76cb";
|
||||
mauve = "8839ef";
|
||||
red = "d20f39";
|
||||
maroon = "e64553";
|
||||
peach = "fe640b";
|
||||
yellow = "df8e1d";
|
||||
green = "40a02b";
|
||||
teal = "179299";
|
||||
sky = "04a5e5";
|
||||
sapphire = "209fb5";
|
||||
blue = "1e66f5";
|
||||
lavender = "7287fd";
|
||||
text = "4c4f69";
|
||||
subtext1 = "5c5f77";
|
||||
subtext0 = "6c6f85";
|
||||
overlay2 = "7c7f93";
|
||||
overlay1 = "8c8fa1";
|
||||
overlay0 = "9ca0b0";
|
||||
surface2 = "acb0be";
|
||||
surface1 = "bcc0cc";
|
||||
surface0 = "ccd0da";
|
||||
base = "eff1f5";
|
||||
mantle = "e6e9ef";
|
||||
crust = "dce0e8";
|
||||
});
|
||||
}
|
||||
|
|
@ -1,43 +0,0 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
cfg = config.my.theming;
|
||||
in {
|
||||
config =
|
||||
mkIf (cfg.enable && cfg.scheme == "catppuccin-macchiato")
|
||||
(import ./_catppuccin.nix
|
||||
{
|
||||
inherit config lib pkgs;
|
||||
flavor = "macchiato";
|
||||
rosewater = "f4dbd6";
|
||||
flamingo = "f0c6c6";
|
||||
pink = "f5bde6";
|
||||
mauve = "c6a0f6";
|
||||
red = "ed8796";
|
||||
maroon = "ee99a0";
|
||||
peach = "f5a97f";
|
||||
yellow = "eed49f";
|
||||
green = "a6da95";
|
||||
teal = "8bd5ca";
|
||||
sky = "91d7e3";
|
||||
sapphire = "7dc4e4";
|
||||
blue = "8aadf4";
|
||||
lavender = "b7bdf8";
|
||||
text = "cad3f5";
|
||||
subtext1 = "b8c0e0";
|
||||
subtext0 = "a5adcb";
|
||||
overlay2 = "939ab7";
|
||||
overlay1 = "8087a2";
|
||||
overlay0 = "6e738d";
|
||||
surface2 = "5b6078";
|
||||
surface1 = "494d64";
|
||||
surface0 = "363a4f";
|
||||
base = "24273a";
|
||||
mantle = "1e2030";
|
||||
crust = "181926";
|
||||
});
|
||||
}
|
||||
|
|
@ -1,43 +0,0 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
cfg = config.my.theming;
|
||||
in {
|
||||
config =
|
||||
mkIf (cfg.enable && cfg.scheme == "catppuccin-mocha")
|
||||
(import ./_catppuccin.nix
|
||||
{
|
||||
inherit config lib pkgs;
|
||||
flavor = "mocha";
|
||||
rosewater = "f5e0dc";
|
||||
flamingo = "f2cdcd";
|
||||
pink = "f5c2e7";
|
||||
mauve = "cba6f7";
|
||||
red = "f38ba8";
|
||||
maroon = "eba0ac";
|
||||
peach = "fab387";
|
||||
yellow = "f9e2af";
|
||||
green = "a6e3a1";
|
||||
teal = "94e2d5";
|
||||
sky = "89dceb";
|
||||
sapphire = "74c7ec";
|
||||
blue = "89b4fa";
|
||||
lavender = "b4befe";
|
||||
text = "cdd6f4";
|
||||
subtext1 = "bac2de";
|
||||
subtext0 = "a6adc8";
|
||||
overlay2 = "9399b2";
|
||||
overlay1 = "7f849c";
|
||||
overlay0 = "6c7086";
|
||||
surface2 = "585b70";
|
||||
surface1 = "45475a";
|
||||
surface0 = "494d64";
|
||||
base = "1e1e2e";
|
||||
mantle = "181825";
|
||||
crust = "11111b";
|
||||
});
|
||||
}
|
||||
|
|
@ -1,214 +0,0 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
cfg = config.my.theming;
|
||||
in {
|
||||
imports = [
|
||||
./dracula.nix
|
||||
./catppuccin-frappe.nix
|
||||
./catppuccin-latte.nix
|
||||
./catppuccin-macchiato.nix
|
||||
./catppuccin-mocha.nix
|
||||
];
|
||||
|
||||
options.my.theming = {
|
||||
enable = mkEnableOption "theming";
|
||||
scheme = mkOption {
|
||||
type = types.enum [
|
||||
"dracula"
|
||||
"catppuccin-latte"
|
||||
"catppuccin-frappe"
|
||||
"catppuccin-macchiato"
|
||||
"catppuccin-mocha"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
my.programs.tofi.settings = {
|
||||
font-size = "20";
|
||||
font = let
|
||||
fontBasePath = pkgs.nerd-fonts.fira-code;
|
||||
in "${fontBasePath}/share/fonts/truetype/NerdFonts/FiraCodeNerdFont-Regular.ttf";
|
||||
height = "360";
|
||||
width = "720";
|
||||
outline-width = "0";
|
||||
border-width = "0";
|
||||
};
|
||||
my.programs.ghostty.settings.theme = cfg.scheme;
|
||||
home-manager.users.moritz = {
|
||||
services.polybar = {
|
||||
config = {
|
||||
"bar/bottom" = {
|
||||
# position
|
||||
monitor = "\${env:MONITOR}";
|
||||
bottom = true;
|
||||
width = "100%";
|
||||
height = 15;
|
||||
|
||||
border-size = 2;
|
||||
|
||||
separator = " ";
|
||||
|
||||
font-0 = "FiraCode Nerd Font:size=8;0";
|
||||
font-1 = "FiraCode Nerd Font:size=8;1";
|
||||
font-2 = "FiraCode Nerd Font:size=8;2";
|
||||
|
||||
modules-left = "cpu memory network battery";
|
||||
modules-center = "bspwm";
|
||||
modules-right = "pulseaudio date time";
|
||||
|
||||
tray-position = "right";
|
||||
tray-padding = 2;
|
||||
|
||||
wm-restack = "bspwm";
|
||||
|
||||
cursor-click = "pointer";
|
||||
cursor-scroll = "ns-resize";
|
||||
};
|
||||
"module/battery" = {
|
||||
type = "internal/battery";
|
||||
battery = "BATT";
|
||||
adapter = "ACAD";
|
||||
time-format = "%H:%M";
|
||||
|
||||
format-charging = "<animation-charging> <label-charging>";
|
||||
format-charging-padding = 1;
|
||||
format-discharging = "<animation-discharging> <label-discharging>";
|
||||
format-discharging-padding = 1;
|
||||
format-full = " <label-full>";
|
||||
format-full-padding = 1;
|
||||
|
||||
label-charging = "%percentage%% %time% remaining";
|
||||
label-discharging = "%percentage%% %time% remaining";
|
||||
label-full = "Fully charged";
|
||||
|
||||
animation-charging-0 = " ";
|
||||
animation-charging-1 = " ";
|
||||
animation-charging-2 = " ";
|
||||
animation-charging-3 = " ";
|
||||
animation-charging-4 = " ";
|
||||
animation-charging-framerate = 500;
|
||||
|
||||
animation-discharging-0 = " ";
|
||||
animation-discharging-1 = " ";
|
||||
animation-discharging-2 = " ";
|
||||
animation-discharging-3 = " ";
|
||||
animation-discharging-4 = " ";
|
||||
animation-discharging-framerate = 500;
|
||||
};
|
||||
"module/bspwm" = {
|
||||
type = "internal/bspwm";
|
||||
|
||||
label-focused = "";
|
||||
label-focused-padding = 1;
|
||||
|
||||
label-occupied = "";
|
||||
label-occupied-padding = 1;
|
||||
|
||||
label-urgent = "";
|
||||
label-urgent-padding = 1;
|
||||
|
||||
label-empty = "";
|
||||
label-empty-padding = 1;
|
||||
|
||||
label-separator = " ";
|
||||
label-separator-padding = 1;
|
||||
|
||||
pin-workspaces = true;
|
||||
};
|
||||
"module/cpu" = {
|
||||
type = "internal/cpu";
|
||||
interval = 2;
|
||||
|
||||
format = "<ramp-load><label>";
|
||||
format-padding = 1;
|
||||
format-font = 3;
|
||||
|
||||
ramp-load-0 = " ";
|
||||
ramp-load-1 = " ";
|
||||
ramp-load-2 = " ";
|
||||
ramp-load-3 = " ";
|
||||
|
||||
label = "%percentage:2%%";
|
||||
};
|
||||
"module/time" = {
|
||||
type = "internal/date";
|
||||
interval = 1;
|
||||
|
||||
time = "%H:%M";
|
||||
time-alt = "%H:%M:%S";
|
||||
|
||||
label = "%time%";
|
||||
format-prefix = " ";
|
||||
format-prefix-font = 2;
|
||||
format-padding = 1;
|
||||
label-font = 3;
|
||||
};
|
||||
"module/date" = {
|
||||
type = "internal/date";
|
||||
interval = 5;
|
||||
|
||||
format = "<label>";
|
||||
format-prefix = " ";
|
||||
format-prefix-font = 2;
|
||||
format-padding = 1;
|
||||
format-font = 3;
|
||||
|
||||
date = "%A";
|
||||
date-alt = "%Y-%m-%d";
|
||||
|
||||
label = "%date%";
|
||||
label-font = 3;
|
||||
};
|
||||
"module/memory" = {
|
||||
type = "internal/memory";
|
||||
interval = 2;
|
||||
|
||||
format = "<label>";
|
||||
format-prefix = " ";
|
||||
format-padding = 1;
|
||||
format-font = 2;
|
||||
|
||||
label = "%gb_used%";
|
||||
label-font = 3;
|
||||
};
|
||||
"module/pulseaudio" = {
|
||||
type = "internal/pulseaudio";
|
||||
|
||||
format-volume = "<ramp-volume> <label-volume>";
|
||||
label-volume = "%percentage%%";
|
||||
|
||||
format-volume-padding = 1;
|
||||
format-volume-font = 2;
|
||||
|
||||
format-muted-padding = 1;
|
||||
format-muted-font = 2;
|
||||
ramp-volume-0 = "奄";
|
||||
ramp-volume-1 = "奄";
|
||||
ramp-volume-2 = "奔";
|
||||
ramp-volume-3 = "墳";
|
||||
ramp-volume-4 = "墳";
|
||||
|
||||
click-middle = "${pkgs.pavucontrol}/bin/pavucontrol";
|
||||
};
|
||||
"module/network" = {
|
||||
type = "internal/network";
|
||||
interface =
|
||||
builtins.head (builtins.attrNames config.networking.interfaces);
|
||||
interval = 3;
|
||||
format-connected = "<label-connected>";
|
||||
label-connected = "%{T2}祝%{T3} %upspeed% %{T2}%{T3} %downspeed%";
|
||||
|
||||
format-connected-padding = 1;
|
||||
format-connected-font = 3;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -1,441 +0,0 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
cfg = config.my.theming;
|
||||
|
||||
background = "282a36";
|
||||
currentLine = "44475a";
|
||||
foreground = "f8f8f2";
|
||||
comment = "6272a4";
|
||||
cyan = "8be9fd";
|
||||
green = "50fa7b";
|
||||
orange = "ffb86c";
|
||||
pink = "ff79c6";
|
||||
purple = "bd93f9";
|
||||
red = "ff5555";
|
||||
yellow = "f1fa8c";
|
||||
in {
|
||||
config = mkIf (cfg.enable && cfg.scheme == "dracula") {
|
||||
home-manager.users.moritz = {
|
||||
programs = {
|
||||
fzf.colors = {
|
||||
"bg+" = "#${currentLine}";
|
||||
"fg+" = "#${foreground}";
|
||||
"hl+" = "#${purple}";
|
||||
bg = "#${background}";
|
||||
fg = "#${foreground}";
|
||||
header = "#${comment}";
|
||||
hl = "#${purple}";
|
||||
info = "#${orange}";
|
||||
marker = "#${pink}";
|
||||
pointer = "#${pink}";
|
||||
prompt = "#${green}";
|
||||
spinner = "#${orange}";
|
||||
};
|
||||
kitty.extraConfig = ''
|
||||
# https://draculatheme.com/kitty
|
||||
foreground #f8f8f2
|
||||
background #282a36
|
||||
selection_foreground #ffffff
|
||||
selection_background #44475a
|
||||
|
||||
url_color #8be9fd
|
||||
|
||||
# black
|
||||
color0 #21222c
|
||||
color8 #6272a4
|
||||
|
||||
# red
|
||||
color1 #ff5555
|
||||
color9 #ff6e6e
|
||||
|
||||
# green
|
||||
color2 #50fa7b
|
||||
color10 #69ff94
|
||||
|
||||
# yellow
|
||||
color3 #f1fa8c
|
||||
color11 #ffffa5
|
||||
|
||||
# blue
|
||||
color4 #bd93f9
|
||||
color12 #d6acff
|
||||
|
||||
# magenta
|
||||
color5 #ff79c6
|
||||
color13 #ff92df
|
||||
|
||||
# cyan
|
||||
color6 #8be9fd
|
||||
color14 #a4ffff
|
||||
|
||||
# white
|
||||
color7 #f8f8f2
|
||||
color15 #ffffff
|
||||
|
||||
# Cursor colors
|
||||
cursor #f8f8f2
|
||||
cursor_text_color background
|
||||
|
||||
# Tab bar colors
|
||||
active_tab_foreground #282a36
|
||||
active_tab_background #f8f8f2
|
||||
inactive_tab_foreground #282a36
|
||||
inactive_tab_background #6272a4
|
||||
|
||||
# Marks
|
||||
mark1_foreground #282a36
|
||||
mark1_background #ff5555
|
||||
|
||||
# Splits/Windows
|
||||
active_border_color #f8f8f2
|
||||
inactive_border_color #6272a4
|
||||
'';
|
||||
tmux.plugins = with pkgs.tmuxPlugins; [
|
||||
dracula
|
||||
];
|
||||
zathura.extraConfig = ''
|
||||
set window-title-basename "true"
|
||||
set selection-clipboard "clipboard"
|
||||
|
||||
# Dracula color theme for Zathura
|
||||
# Swaps Foreground for Background to get a light version if the user prefers
|
||||
|
||||
#
|
||||
# Dracula color theme
|
||||
#
|
||||
|
||||
set notification-error-bg "#ff5555" # Red
|
||||
set notification-error-fg "#f8f8f2" # Foreground
|
||||
set notification-warning-bg "#ffb86c" # Orange
|
||||
set notification-warning-fg "#44475a" # Selection
|
||||
set notification-bg "#282a36" # Background
|
||||
set notification-fg "#f8f8f2" # Foreground
|
||||
|
||||
set completion-bg "#282a36" # Background
|
||||
set completion-fg "#6272a4" # Comment
|
||||
set completion-group-bg "#282a36" # Background
|
||||
set completion-group-fg "#6272a4" # Comment
|
||||
set completion-highlight-bg "#44475a" # Selection
|
||||
set completion-highlight-fg "#f8f8f2" # Foreground
|
||||
|
||||
set index-bg "#282a36" # Background
|
||||
set index-fg "#f8f8f2" # Foreground
|
||||
set index-active-bg "#44475a" # Current Line
|
||||
set index-active-fg "#f8f8f2" # Foreground
|
||||
|
||||
set inputbar-bg "#282a36" # Background
|
||||
set inputbar-fg "#f8f8f2" # Foreground
|
||||
set statusbar-bg "#282a36" # Background
|
||||
set statusbar-fg "#f8f8f2" # Foreground
|
||||
|
||||
set highlight-color "#ffb86c" # Orange
|
||||
set highlight-active-color "#ff79c6" # Pink
|
||||
|
||||
set default-bg "#282a36" # Background
|
||||
set default-fg "#f8f8f2" # Foreground
|
||||
|
||||
set render-loading true
|
||||
set render-loading-fg "#282a36" # Background
|
||||
set render-loading-bg "#f8f8f2" # Foreground
|
||||
|
||||
#
|
||||
# Recolor mode settings
|
||||
#
|
||||
|
||||
set recolor-lightcolor "#282a36" # Background
|
||||
set recolor-darkcolor "#f8f8f2" # Foreground
|
||||
|
||||
#
|
||||
# Startup options
|
||||
#
|
||||
set adjust-open width
|
||||
set recolor true
|
||||
'';
|
||||
rofi.theme = "dracula";
|
||||
};
|
||||
xsession.windowManager.bspwm = {
|
||||
settings = {
|
||||
focused_border_color = "#${purple}";
|
||||
normal_border_color = "#${background}";
|
||||
active_border_color = "#${background}";
|
||||
};
|
||||
};
|
||||
services = {
|
||||
dunst.settings = {
|
||||
global = {
|
||||
# Defines color of the frame around the notification window.
|
||||
frame_color = "#282a36";
|
||||
|
||||
# Define a color for the separator.
|
||||
# possible values are:
|
||||
# * auto: dunst tries to find a color fitting to the background;
|
||||
# * foreground: use the same color as the foreground;
|
||||
# * frame: use the same color as the frame;
|
||||
# * anything else will be interpreted as a X color.
|
||||
separator_color = "frame";
|
||||
};
|
||||
|
||||
urgency_low = {
|
||||
background = "#282a36";
|
||||
foreground = "#6272a4";
|
||||
timeout = 10;
|
||||
};
|
||||
urgency_normal = {
|
||||
background = "#282a36";
|
||||
foreground = "#bd93f9";
|
||||
timeout = 10;
|
||||
};
|
||||
urgency_critical = {
|
||||
background = "#ff5555";
|
||||
foreground = "#f8f8f2";
|
||||
timeout = 0;
|
||||
};
|
||||
};
|
||||
polybar = {
|
||||
config = {
|
||||
"bar/bottom" = {
|
||||
background = "#${background}";
|
||||
foreground = "#${foreground}";
|
||||
border-color = "#${background}";
|
||||
};
|
||||
"module/bspwm" = {
|
||||
label-focused-foreground = "#${pink}";
|
||||
label-occupied-foreground = "#${comment}";
|
||||
label-urgent-foreground = "#${red}";
|
||||
label-empty-foreground = "#${currentLine}";
|
||||
label-separator-foreground = "#${background}";
|
||||
};
|
||||
"module/cpu" = {
|
||||
format-foreground = "#${background}";
|
||||
format-background = "#${green}";
|
||||
};
|
||||
"module/time" = {
|
||||
format-foreground = "#${background}";
|
||||
format-background = "#${cyan}";
|
||||
};
|
||||
"module/date" = {
|
||||
format-foreground = "#${background}";
|
||||
format-background = "#${yellow}";
|
||||
};
|
||||
"module/memory" = {
|
||||
format-foreground = "#${background}";
|
||||
format-background = "#${cyan}";
|
||||
};
|
||||
"module/pulseaudio" = {
|
||||
format-volume-foreground = "#${background}";
|
||||
format-volume-background = "#${purple}";
|
||||
label-muted = "%{F#${red}}婢 %{F#${background}}muted";
|
||||
format-muted-foreground = "#${background}";
|
||||
format-muted-background = "#${red}";
|
||||
};
|
||||
"module/network" = {
|
||||
format-connected-foreground = "#${background}";
|
||||
format-connected-background = "#${purple}";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
xdg.configFile = {
|
||||
"fish/conf.d/theme.fish".text = ''
|
||||
# Dracula Color Palette
|
||||
set -l foreground f8f8f2
|
||||
set -l selection 44475a
|
||||
set -l comment 6272a4
|
||||
set -l red ff5555
|
||||
set -l orange ffb86c
|
||||
set -l yellow f1fa8c
|
||||
set -l green 50fa7b
|
||||
set -l purple bd93f9
|
||||
set -l cyan 8be9fd
|
||||
set -l pink ff79c6
|
||||
|
||||
# Syntax Highlighting Colors
|
||||
set -gx fish_color_normal $foreground
|
||||
set -gx fish_color_command $cyan
|
||||
set -gx fish_color_keyword $pink
|
||||
set -gx fish_color_quote $yellow
|
||||
set -gx fish_color_redirection $foreground
|
||||
set -gx fish_color_end $orange
|
||||
set -gx fish_color_error $red
|
||||
set -gx fish_color_param $purple
|
||||
set -gx fish_color_comment $comment
|
||||
set -gx fish_color_selection --background=$selection
|
||||
set -gx fish_color_search_match --background=$selection
|
||||
set -gx fish_color_operator $green
|
||||
set -gx fish_color_escape $pink
|
||||
set -gx fish_color_autosuggestion $comment
|
||||
set -gx fish_color_cancel $red --reverse
|
||||
set -gx fish_color_option $orange
|
||||
|
||||
# Default Prompt Colors
|
||||
set -gx fish_color_cwd $green
|
||||
set -gx fish_color_host $purple
|
||||
set -gx fish_color_host_remote $purple
|
||||
set -gx fish_color_user $cyan
|
||||
|
||||
# Completion Pager Colors
|
||||
set -gx fish_pager_color_progress $comment
|
||||
set -gx fish_pager_color_background
|
||||
set -gx fish_pager_color_prefix $cyan
|
||||
set -gx fish_pager_color_completion $foreground
|
||||
set -gx fish_pager_color_description $comment
|
||||
set -gx fish_pager_color_selected_background --background=$selection
|
||||
set -gx fish_pager_color_selected_prefix $cyan
|
||||
set -gx fish_pager_color_selected_completion $foreground
|
||||
set -gx fish_pager_color_selected_description $comment
|
||||
set -gx fish_pager_color_secondary_background
|
||||
set -gx fish_pager_color_secondary_prefix $cyan
|
||||
set -gx fish_pager_color_secondary_completion $foreground
|
||||
set -gx fish_pager_color_secondary_description $comment
|
||||
'';
|
||||
"rofi/dracula.rasi".text = ''
|
||||
* {
|
||||
/* Dracula theme colour palette */
|
||||
drac-bgd: #282a36;
|
||||
drac-cur: #44475a;
|
||||
drac-fgd: #f8f8f2;
|
||||
drac-cmt: #6272a4;
|
||||
drac-cya: #8be9fd;
|
||||
drac-grn: #50fa7b;
|
||||
drac-ora: #ffb86c;
|
||||
drac-pnk: #ff79c6;
|
||||
drac-pur: #bd93f9;
|
||||
drac-red: #ff5555;
|
||||
drac-yel: #f1fa8c;
|
||||
|
||||
font: "FiraCode Nerd Font Mono 13";
|
||||
|
||||
foreground: @drac-fgd;
|
||||
background-color: @drac-bgd;
|
||||
active-background: @drac-pnk;
|
||||
urgent-foreground: @foreground;
|
||||
urgent-background: @drac-red;
|
||||
|
||||
selected-background: @active-background;
|
||||
selected-urgent-background: @urgent-background;
|
||||
selected-active-background: @active-background;
|
||||
separatorcolor: @active-background;
|
||||
bordercolor: #6272a4;
|
||||
}
|
||||
|
||||
#window {
|
||||
background-color: @background-color;
|
||||
border: 3;
|
||||
border-radius: 6;
|
||||
border-color: @bordercolor;
|
||||
padding: 5;
|
||||
}
|
||||
#mainbox {
|
||||
border: 0;
|
||||
padding: 5;
|
||||
}
|
||||
#message {
|
||||
border: 1px dash 0px 0px ;
|
||||
border-color: @separatorcolor;
|
||||
padding: 1px ;
|
||||
}
|
||||
#textbox {
|
||||
text-color: @foreground;
|
||||
}
|
||||
#listview {
|
||||
fixed-height: 0;
|
||||
border: 2px dash 0px 0px ;
|
||||
border-color: @bordercolor;
|
||||
spacing: 2px ;
|
||||
scrollbar: false;
|
||||
padding: 2px 0px 0px ;
|
||||
}
|
||||
#element {
|
||||
border: 0;
|
||||
padding: 1px ;
|
||||
}
|
||||
#element.normal.normal {
|
||||
background-color: @background-color;
|
||||
text-color: @foreground;
|
||||
}
|
||||
#element.normal.urgent {
|
||||
background-color: @urgent-background;
|
||||
text-color: @urgent-foreground;
|
||||
}
|
||||
#element.normal.active {
|
||||
background-color: @active-background;
|
||||
text-color: @background-color;
|
||||
}
|
||||
#element.selected.normal {
|
||||
background-color: @selected-background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
#element.selected.urgent {
|
||||
background-color: @selected-urgent-background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
#element.selected.active {
|
||||
background-color: @selected-active-background;
|
||||
text-color: @background-color;
|
||||
}
|
||||
#element.alternate.normal {
|
||||
background-color: @background-color;
|
||||
text-color: @foreground;
|
||||
}
|
||||
#element.alternate.urgent {
|
||||
background-color: @urgent-background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
#element.alternate.active {
|
||||
background-color: @active-background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
#scrollbar {
|
||||
width: 2px ;
|
||||
border: 0;
|
||||
handle-width: 8px ;
|
||||
padding: 0;
|
||||
}
|
||||
#sidebar {
|
||||
border: 2px dash 0px 0px ;
|
||||
border-color: @separatorcolor;
|
||||
}
|
||||
#button.selected {
|
||||
background-color: @selected-background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
#inputbar {
|
||||
spacing: 0;
|
||||
text-color: @foreground;
|
||||
padding: 1px ;
|
||||
}
|
||||
#case-indicator {
|
||||
spacing: 0;
|
||||
text-color: @foreground;
|
||||
}
|
||||
#entry {
|
||||
spacing: 0;
|
||||
text-color: @drac-cya;
|
||||
}
|
||||
#prompt {
|
||||
spacing: 0;
|
||||
text-color: @drac-grn;
|
||||
}
|
||||
#inputbar {
|
||||
children: [ prompt,textbox-prompt-colon,entry,case-indicator ];
|
||||
}
|
||||
#textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: ":";
|
||||
margin: 0px 0.3em 0em 0em ;
|
||||
text-color: @drac-grn;
|
||||
}
|
||||
element-text, element-icon {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
}
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -8,7 +8,9 @@
|
|||
in {
|
||||
imports = [
|
||||
inputs.home-manager.nixosModules.default
|
||||
inputs.stylix.nixosModules.stylix
|
||||
];
|
||||
|
||||
my = {
|
||||
nixpkgs = {
|
||||
overlays = [
|
||||
|
|
@ -42,6 +44,7 @@ in {
|
|||
};
|
||||
variables = {EDITOR = "vim";};
|
||||
};
|
||||
|
||||
programs = {
|
||||
lazygit.enable = true;
|
||||
direnv.enable = true;
|
||||
|
|
@ -70,6 +73,32 @@ in {
|
|||
};
|
||||
};
|
||||
};
|
||||
stylix = {
|
||||
enable = lib.mkDefault true;
|
||||
base16Scheme = lib.mkDefault "${pkgs.base16-schemes}/share/themes/da-one-sea.yaml";
|
||||
fonts = {
|
||||
serif = {
|
||||
package = pkgs.dejavu_fonts;
|
||||
name = "DejaVu Serif";
|
||||
};
|
||||
|
||||
sansSerif = {
|
||||
package = pkgs.dejavu_fonts;
|
||||
name = "DejaVu Sans";
|
||||
};
|
||||
|
||||
monospace = {
|
||||
package = pkgs.nerd-fonts.intone-mono;
|
||||
name = "IntoneMono Nerd Font";
|
||||
};
|
||||
|
||||
emoji = {
|
||||
package = pkgs.noto-fonts-emoji;
|
||||
name = "Noto Color Emoji";
|
||||
};
|
||||
sizes.terminal = 14;
|
||||
};
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
# archives
|
||||
|
|
|
|||
|
|
@ -13,21 +13,13 @@ in {
|
|||
config = mkIf cfg.enable {
|
||||
my = {
|
||||
wallpapers.enable = mkDefault true;
|
||||
theming = {
|
||||
enable = mkDefault true;
|
||||
scheme = mkDefault "catppuccin-macchiato";
|
||||
};
|
||||
virtualisation.podman.enable = mkDefault true;
|
||||
|
||||
programs = {
|
||||
chromium.enable = mkDefault true;
|
||||
firefox.enable = mkDefault true;
|
||||
gpg.enable = mkDefault true;
|
||||
ghostty.settings = {
|
||||
font-family = "IntoneMono Nerd Font";
|
||||
window-decoration = false;
|
||||
font-feature = ["ss01" "ss02"];
|
||||
};
|
||||
ghostty.settings.window-decoration = false;
|
||||
niri.enable = mkDefault true;
|
||||
nvim.enable = mkDefault true;
|
||||
python.versions."311".enable = mkDefault true;
|
||||
|
|
@ -56,7 +48,6 @@ in {
|
|||
zathura.enable = mkDefault true;
|
||||
};
|
||||
services = {
|
||||
dunst.enable = mkDefault true;
|
||||
gammastep.enable = true;
|
||||
kdeconnect.enable = mkDefault true;
|
||||
printing.enable = true;
|
||||
|
|
@ -102,6 +93,7 @@ in {
|
|||
enable = true;
|
||||
startInBackground = true;
|
||||
};
|
||||
services.dunst.enable = true;
|
||||
systemd.user.services.nextcloud-client.Service = {
|
||||
RestartSec = "500ms";
|
||||
Restart = "on-failure";
|
||||
|
|
|
|||
|
|
@ -15,10 +15,6 @@ in {
|
|||
settings = {
|
||||
main = {
|
||||
term = "xterm-256color";
|
||||
font = "FiraCode Nerd Font:size=10";
|
||||
};
|
||||
colors = {
|
||||
alpha = 0.98;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -21,17 +21,12 @@ in {
|
|||
window_padding_width = 3;
|
||||
confirm_os_window_close = 0;
|
||||
background_opacity = "0.9";
|
||||
font_features = "IntelOneMono-Regular +ss01";
|
||||
resize_in_steps = "yes";
|
||||
};
|
||||
keybindings = {
|
||||
"ctrl+plus" = "change_font_size all +2.0";
|
||||
"ctrl+minus" = "change_font_size all -2.0";
|
||||
};
|
||||
font = {
|
||||
name = "Intel One Mono";
|
||||
size = 10;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -44,7 +44,6 @@ in {
|
|||
};
|
||||
wallpapers.enable = true;
|
||||
services = {
|
||||
dunst.enable = true;
|
||||
wallpaper = {
|
||||
enable = true;
|
||||
target = "niri.service";
|
||||
|
|
@ -53,6 +52,7 @@ in {
|
|||
};
|
||||
};
|
||||
home-manager.users.moritz = {
|
||||
programs.fuzzel.enable = true;
|
||||
programs.waybar = {
|
||||
enable = true;
|
||||
|
||||
|
|
@ -110,6 +110,7 @@ in {
|
|||
];
|
||||
systemdTarget = "niri.service";
|
||||
};
|
||||
services.dunst.enable = true;
|
||||
services.kanshi = {
|
||||
enable = true;
|
||||
systemdTarget = "niri.service";
|
||||
|
|
@ -125,7 +126,7 @@ in {
|
|||
# spawn different programs
|
||||
"Mod+Return".action.spawn = config.my.terminal.package;
|
||||
"Mod+Shift+escape".action.spawn = ["loginctl" "lock-session"];
|
||||
"Mod+R".action.spawn = "${lib.getExe pkgs.fuzzel}";
|
||||
"Mod+R".action.spawn = "fuzzel";
|
||||
|
||||
# keyboard layout
|
||||
"Mod+Space".action = actions.switch-layout "next";
|
||||
|
|
|
|||
|
|
@ -1,9 +0,0 @@
|
|||
{...}: {
|
||||
home-manager.users.moritz.programs.nixvim = {
|
||||
colorschemes.catppuccin = {
|
||||
enable = true;
|
||||
settings.flavour = "macchiato";
|
||||
settings.default_integrations = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -9,7 +9,11 @@
|
|||
go = ["gofmt"];
|
||||
json = ["jq"];
|
||||
lua = ["stylua"];
|
||||
nix = ["nixpkgs_fmt"];
|
||||
nix.__raw = ''
|
||||
function(bufnr)
|
||||
return { first(bufnr, "nixpkgs_fmt", "alejandra") }
|
||||
end
|
||||
'';
|
||||
python.__raw = ''
|
||||
function(bufnr)
|
||||
return { first(bufnr, "ruff_organize_imports", "isort"), first(bufnr, "ruff_format", "black")}
|
||||
|
|
|
|||
|
|
@ -28,7 +28,6 @@ in {
|
|||
};
|
||||
wallpapers.enable = true;
|
||||
services = {
|
||||
dunst.enable = true;
|
||||
wallpaper = {
|
||||
enable = true;
|
||||
target = "river-session.target";
|
||||
|
|
@ -47,6 +46,7 @@ in {
|
|||
enable = true;
|
||||
systemdTarget = "river-session.target";
|
||||
};
|
||||
services.dunst.enable = true;
|
||||
wayland.windowManager.river = {
|
||||
enable = true;
|
||||
settings = {
|
||||
|
|
|
|||
|
|
@ -14,7 +14,6 @@ in {
|
|||
options = {
|
||||
recolor = true;
|
||||
adjust-open = "width";
|
||||
font = "Jetbrains Mono 9";
|
||||
selection-clipboard = "clipboard";
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,17 +0,0 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
cfg = config.my.services.dunst;
|
||||
in {
|
||||
options.my.services.dunst.enable = mkEnableOption "dunst";
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
home-manager.users.moritz.services.dunst.enable = true;
|
||||
home-manager.users.moritz.services.dunst.settings.global = {
|
||||
font = "Monospace 10";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue