Compare commits

..

7 commits

Author SHA1 Message Date
8ce5c89746
gtk: switch main theme
All checks were successful
flake check / check (push) Successful in 5m50s
fmt check / check (push) Successful in 40s
2023-11-15 05:47:37 -05:00
03ffca4c7a
wayland: remove river config 2023-11-15 05:47:22 -05:00
dedb09e45e
zathura: switch theme 2023-11-15 05:47:12 -05:00
0e61d06ae1
wezterm: switch theme and font 2023-11-15 05:47:06 -05:00
5fe1ac2b52
nix: init anyrun cache 2023-11-15 05:46:47 -05:00
c84f163b3b
fonts: init monaspace 2023-11-15 05:46:39 -05:00
0e94af75e3
anyrun: init basic config 2023-11-15 05:46:07 -05:00
10 changed files with 94 additions and 174 deletions

58
home/anyrun/default.nix Normal file
View file

@ -0,0 +1,58 @@
{
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",
),
],
)
'';
};
};
}

0
home/anyrun/style.scss Normal file
View file

View file

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 395 KiB

View file

@ -1,60 +0,0 @@
{
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

@ -1,68 +0,0 @@
$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 'Comic Code Ligatures',
font = wezterm.font 'Monaspace Krypton',
font_size = 12.0,
window_background_opacity = 0.6,
text_background_opacity = 1.0,
enable_tab_bar = false,
color_scheme = 'Catppuccin Mocha',
color_scheme = 'tokyonight',
window_padding = { top = 0, bottom = 0, left = 0, right = 0 }
}

View file

@ -2,44 +2,35 @@ _: {
programs.zathura = {
enable = true;
extraConfig = ''
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"
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"
'';
};
}

View file

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

View file

@ -30,6 +30,7 @@
"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="
@ -37,6 +38,7 @@
"jakestanger.cachix.org-1:VWJE7AWNe5/KOEvCQRxoE8UsI2Xs2nHULJ7TEjYm7mM="
"cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
"nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4="
"anyrun.cachix.org-1:pqBobmOjI7nKlsUMV25u9QHa9btJK65/C8vnO3p346s="
];
};
};