Compare commits

..

No commits in common. "8ce5c8974666c0609902c55f2311bfce0273b93d" and "8d8efb5ae7ba95cc67dceed52d0e1aa7b282dde1" have entirely different histories.

10 changed files with 174 additions and 94 deletions

View file

@ -1,58 +0,0 @@
{
inputs,
pkgs,
lib,
...
}: let
compileSCSS = name: source: "${pkgs.runCommandLocal name {} ''
mkdir -p $out
${lib.getExe pkgs.sassc} -t expanded '${source}' > $out/${name}.css
''}/${name}.css";
in {
programs.anyrun = {
enable = true;
config = {
plugins = with inputs.anyrun.packages.${pkgs.system}; [
applications
dictionary
websearch
];
width = {fraction = 0.3;};
hideIcons = false;
ignoreExclusiveZones = false;
layer = "overlay";
hidePluginInfo = false;
closeOnClick = false;
showResultsImmediately = false;
};
extraCss = builtins.readFile (compileSCSS "style" ./style.scss);
extraConfigFiles = {
"dictionary.ron".text = ''
Config(
prefix: ":def",
)
'';
"applications.ron".text = ''
Config(
desktop_actions: true,
max_entries: 10,
)
'';
"websearch.ron".text = ''
Config(
prefix: "?",
engines: [
Custom(
name: "SearXNG",
url: "100.121.201.47:8100/search?q={}",
),
Custom(
name: "nix packages",
url: "search.nixos.org/packages?query={}&channel=unstable",
),
],
)
'';
};
};
}

View file

View file

@ -14,8 +14,12 @@
package = pkgs.jost;
};
theme = {
name = "Tokyonight-Dark-BL";
package = pkgs.tokyo-night-gtk;
name = "Catppuccin-Mocha-Standard-Pink-Dark";
package = pkgs.catppuccin-gtk.override {
accents = ["pink"];
size = "standard";
variant = "mocha";
};
};
};
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 395 KiB

View file

@ -0,0 +1,60 @@
{
pkgs,
lib,
...
}: let
compileSCSS = name: source: "${pkgs.runCommandLocal name {} ''
mkdir -p $out
${lib.getExe pkgs.sassc} -t expanded '${source}' > $out/${name}.css
''}/${name}.css";
in {
programs.waybar = {
enable = true;
systemd.enable = true;
settings = {
bar = {
layer = "top";
position = "top";
height = 30;
modules-left = ["river/tags"];
modules-center = ["river/window"];
modules-right = ["cpu" "memory" "clock" "battery" "tray"];
};
"river/tags" = {
num-tags = 5;
tag-labels = ["" "" "" "" ""];
};
"river/window" = {
format = "{}";
};
"cpu" = {
interval = 10;
format = "{}%";
max-length = 10;
tooltip = false;
};
"memory" = {
interval = 10;
format = "{}%";
max-length = 10;
tooltip = false;
};
"battery" = {
format = "{capacity}%";
interval = 60;
tooltip = false;
};
"clock" = {
interval = 60;
format = "{:%H:%M}";
max-length = 25;
tooltip = false;
};
"tray" = {
icon-size = 21;
spacing = 5;
};
};
style = builtins.readFile (compileSCSS "style" ./style.scss);
};
}

View file

@ -0,0 +1,68 @@
$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: #313244;
$base: #1e1e2e;
$mantle: #181825;
$crust: #11111b;
@mixin module-spacing {
padding: 0 0.5rem 0 0.5rem;
}
* {
all: unset;
font-family: JetBrainsMono Nerd Font;
font-size: 13px;
color: $text;
}
window#waybar {
background-color: $base;
}
#tags {
button {
padding: 0.5rem;
}
button.focused {
border-radius: 3px;
border: 1px solid;
border-color: $red;
}
button.urgent {
border-radius: 3px;
background-color: $red;
}
}
#cpu,
#memory,
#clock,
#battery,
#tray {
@include module-spacing;
}

View file

@ -8,12 +8,12 @@ return {
name = "NVIDIA GeForce GTX 1070 Ti"
},
enable_wayland = false,
font = wezterm.font 'Monaspace Krypton',
font = wezterm.font 'Comic Code Ligatures',
font_size = 12.0,
window_background_opacity = 0.6,
text_background_opacity = 1.0,
enable_tab_bar = false,
color_scheme = 'tokyonight',
color_scheme = 'Catppuccin Mocha',
window_padding = { top = 0, bottom = 0, left = 0, right = 0 }
}

View file

@ -2,35 +2,44 @@ _: {
programs.zathura = {
enable = true;
extraConfig = ''
set notification-error-bg "#f7768e"
set notification-error-fg "#c0caf5"
set notification-warning-bg "#e0af68"
set notification-warning-fg "#414868"
set notification-bg "#1a1b26"
set notification-fg "#c0caf5"
set completion-bg "#1a1b26"
set completion-fg "#a9b1d6"
set completion-group-bg "#1a1b26"
set completion-group-fg "#a9b1d6"
set completion-highlight-bg "#414868"
set completion-highlight-fg "#c0caf5"
set index-bg "#1a1b26"
set index-fg "#c0caf5"
set index-active-bg "#414868"
set index-active-fg "#c0caf5"
set inputbar-bg "#1a1b26"
set inputbar-fg "#c0caf5"
set statusbar-bg "#1a1b26"
set statusbar-fg "#c0caf5"
set highlight-color "#e0af68"
set highlight-active-color "#9ece6a"
set default-bg "#1a1b26"
set default-fg "#c0caf5"
set render-loading true
set render-loading-fg "#1a1b26"
set render-loading-bg "#c0caf5"
set recolor-lightcolor "#1a1b26"
set recolor-darkcolor "#c0caf5"
set default-fg "#CDD6F4"
set default-bg "#1E1E2E"
set completion-bg "#313244"
set completion-fg "#CDD6F4"
set completion-highlight-bg "#575268"
set completion-highlight-fg "#CDD6F4"
set completion-group-bg "#313244"
set completion-group-fg "#89B4FA"
set statusbar-fg "#CDD6F4"
set statusbar-bg "#313244"
set notification-bg "#313244"
set notification-fg "#CDD6F4"
set notification-error-bg "#313244"
set notification-error-fg "#F38BA8"
set notification-warning-bg "#313244"
set notification-warning-fg "#FAE3B0"
set inputbar-fg "#CDD6F4"
set inputbar-bg "#313244"
set recolor-lightcolor "#1E1E2E"
set recolor-darkcolor "#CDD6F4"
set index-fg "#CDD6F4"
set index-bg "#1E1E2E"
set index-active-fg "#CDD6F4"
set index-active-bg "#313244"
set render-loading-bg "#1E1E2E"
set render-loading-fg "#CDD6F4"
set highlight-color "#575268"
set highlight-fg "#F5C2E7"
set highlight-active-color "#F5C2E7"
'';
};
}

View file

@ -4,7 +4,6 @@
fontDir.enable = true;
packages = with pkgs; [
corefonts
monaspace
jost
jetbrains-mono
nerdfonts

View file

@ -30,7 +30,6 @@
"https://jakestanger.cachix.org"
"https://cache.garnix.io"
"https://nix-gaming.cachix.org"
"https://anyrun.cachix.org"
];
trusted-public-keys = [
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
@ -38,7 +37,6 @@
"jakestanger.cachix.org-1:VWJE7AWNe5/KOEvCQRxoE8UsI2Xs2nHULJ7TEjYm7mM="
"cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
"nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4="
"anyrun.cachix.org-1:pqBobmOjI7nKlsUMV25u9QHa9btJK65/C8vnO3p346s="
];
};
};