This commit is contained in:
Varris 2023-05-26 03:42:33 +02:00
parent 89c43224df
commit c4b4a8bf62
16 changed files with 139 additions and 122 deletions

View File

@ -63,6 +63,38 @@
"type": "github" "type": "github"
} }
}, },
"fish-plugin-bobthefish": {
"flake": false,
"locked": {
"lastModified": 1683513744,
"narHash": "sha256-DRMBZS8nT0rhKXQEGWNqR1FUavtvxH0xUdHU52WhSJQ=",
"owner": "oh-my-fish",
"repo": "theme-bobthefish",
"rev": "ed896b65c3ddbdf2929c38719adfb940b0d9b90d",
"type": "github"
},
"original": {
"owner": "oh-my-fish",
"repo": "theme-bobthefish",
"type": "github"
}
},
"fish-plugin-gruvbox-theme": {
"flake": false,
"locked": {
"lastModified": 1634049082,
"narHash": "sha256-vL2/Nm9Z9cdaptx8sJqbX5AnRtfd68x4ZKWdQk5Cngo=",
"owner": "Jomik",
"repo": "fish-gruvbox",
"rev": "80a6f3a7b31beb6f087b0c56cbf3470204759d1c",
"type": "github"
},
"original": {
"owner": "Jomik",
"repo": "fish-gruvbox",
"type": "github"
}
},
"gamescope-git-src": { "gamescope-git-src": {
"flake": false, "flake": false,
"locked": { "locked": {
@ -378,6 +410,8 @@
"inputs": { "inputs": {
"arrpc": "arrpc", "arrpc": "arrpc",
"chaotic-nyx": "chaotic-nyx", "chaotic-nyx": "chaotic-nyx",
"fish-plugin-bobthefish": "fish-plugin-bobthefish",
"fish-plugin-gruvbox-theme": "fish-plugin-gruvbox-theme",
"grub2-themes": "grub2-themes", "grub2-themes": "grub2-themes",
"gruvbox-kvantum": "gruvbox-kvantum", "gruvbox-kvantum": "gruvbox-kvantum",
"home-manager": "home-manager", "home-manager": "home-manager",

View File

@ -4,17 +4,22 @@
inputs = { inputs = {
nixpkgs.url = "nixpkgs/nixpkgs-unstable"; nixpkgs.url = "nixpkgs/nixpkgs-unstable";
home-manager.url = "github:nix-community/home-manager"; home-manager.url = "github:nix-community/home-manager";
hyprland.url = "github:hyprwm/hyprland"; hyprland.url = "github:hyprwm/hyprland";
hyprland-contrib.url = "github:hyprwm/contrib"; hyprland-contrib.url = "github:hyprwm/contrib";
hyprpicker.url = "github:hyprwm/hyprpicker"; hyprpicker.url = "github:hyprwm/hyprpicker";
chaotic-nyx.url = "github:chaotic-cx/nyx";
gruvbox-kvantum = { url = "github:thefallnn/Gruvbox-Kvantum"; flake = false; };
fish-plugin-gruvbox-theme = { url = "github:Jomik/fish-gruvbox"; flake = false; };
fish-plugin-bobthefish = { url = "github:oh-my-fish/theme-bobthefish"; flake = false; };
arrpc = { url = "github:notashelf/arrpc-flake"; inputs.nixpkgs.follows = "nixpkgs"; }; arrpc = { url = "github:notashelf/arrpc-flake"; inputs.nixpkgs.follows = "nixpkgs"; };
xorg-git = { url = "gitlab:xorg/xserver?host=gitlab.freedesktop.org"; flake = false; }; chaotic-nyx.url = "github:chaotic-cx/nyx";
grub2-themes = { url = "github:vinceliuice/grub2-themes"; inputs.nixpkgs.follows = "nixpkgs"; }; grub2-themes = { url = "github:vinceliuice/grub2-themes"; inputs.nixpkgs.follows = "nixpkgs"; };
openmw-git = { url = "gitlab:OpenMW/openmw"; flake = false; }; openmw-git = { url = "gitlab:OpenMW/openmw"; flake = false; };
waybar = { url = "github:alexays/waybar"; flake = false; }; waybar = { url = "github:alexays/waybar"; flake = false; };
gruvbox-kvantum = { url = "github:thefallnn/Gruvbox-Kvantum"; flake = false; }; xorg-git = { url = "gitlab:xorg/xserver?host=gitlab.freedesktop.org"; flake = false; };
catppuccin-hyprland = { url = "github:catppuccin/hyprland"; flake = false; };
}; };
outputs = { self, nixpkgs, home-manager, ... }@inputs: outputs = { self, nixpkgs, home-manager, ... }@inputs:

View File

@ -4,23 +4,6 @@
arrpc = inputs.arrpc.packages.${prev.system}.arrpc; arrpc = inputs.arrpc.packages.${prev.system}.arrpc;
catppuccin-kvantum-macchiato = prev.catppuccin-kvantum.override {
accent = "Lavender";
variant = "Macchiato";
};
catppuccin-gtk-macchiato = prev.catppuccin-gtk.override {
accents = [ "lavender" ];
size = "standard";
variant = "macchiato";
};
catppuccin-papirus-folders-macchiato = prev.catppuccin-papirus-folders.override {
accent = "lavender";
flavor = "macchiato";
};
ncmpcpp = prev.ncmpcpp.override { ncmpcpp = prev.ncmpcpp.override {
visualizerSupport = true; visualizerSupport = true;
}; };

View File

@ -1,4 +1,4 @@
{ config, pkgs, ... }: { config, pkgs, inputs, ... }:
{ {
programs.exa = { programs.exa = {
enable = true; enable = true;
@ -7,27 +7,25 @@
programs.fish = { programs.fish = {
enable = true; enable = true;
plugins = [ plugins = [
{ name = "gruvbox-theme"; src = inputs.fish-plugin-gruvbox-theme; }
{ name = "bobthefish"; src = inputs.fish-plugin-bobthefish; }
]; ];
interactiveShellInit = '' interactiveShellInit = ''
theme_gruvbox dark medium
${pkgs.any-nix-shell}/bin/any-nix-shell fish --info-right | source ${pkgs.any-nix-shell}/bin/any-nix-shell fish --info-right | source
set -g theme_color_scheme gruvbox
set -g theme_nerd_fonts yes
set -g theme_display_git_default_branch yes
set -g theme_git_default_branches master main
''; '';
functions = { functions = {
fish_greeting = ""; fish_greeting = "";
fish_prompt = ''
set_color -b blue
set_color black
printf " %s " (prompt_pwd)
set_color -b normal
set_color blue
printf " "
set_color normal
'';
ec = '' ec = ''
pushd . &> /dev/null pushd . &> /dev/null
cd "${config.home.homeDirectory}/.dotfiles" cd "${config.home.homeDirectory}/.dotfiles"

View File

@ -1,4 +1,4 @@
{ pkgs, ... }: { pkgs, inputs, ... }:
{ {
home.packages = [ home.packages = [
pkgs.libsForQt5.qtstyleplugin-kvantum pkgs.libsForQt5.qtstyleplugin-kvantum
@ -13,8 +13,7 @@
platformTheme = "gtk"; platformTheme = "gtk";
}; };
xdg.configFile."Kvantum/kvantum.kvconfig".text = "theme=catppuccin"; xdg.configFile."Kvantum/kvantum.kvconfig".text = "theme=gruvbox-kvantum";
xdg.configFile."Kvantum/catppuccin/catppuccin.kvconfig".source = pkgs.catppuccin-kvantum-macchiato + "/share/Kvantum/Catppuccin-Macchiato-Lavender/Catppuccin-Macchiato-Lavender.kvconfig"; xdg.configFile."Kvantum/gruvbox-kvantum/gruvbox-kvantum.kvconfig".source = inputs.gruvbox-kvantum + "/gruvbox-kvantum/gruvbox-kvantum.kvconfig";
xdg.configFile."Kvantum/catppuccin/catppuccin.svg".source = pkgs.catppuccin-kvantum-macchiato + "/share/Kvantum/Catppuccin-Macchiato-Lavender/Catppuccin-Macchiato-Lavender.svg"; xdg.configFile."Kvantum/gruvbox-kvantum/gruvbox-kvantum.svg".source = inputs.gruvbox-kvantum + "/gruvbox-kvantum/gruvbox-kvantum.svg";
} }

View File

@ -5,7 +5,7 @@
plugins = with pkgs.vimPlugins; [ plugins = with pkgs.vimPlugins; [
bufferline-nvim bufferline-nvim
catppuccin-nvim gruvbox-nvim
comment-nvim comment-nvim
dressing-nvim dressing-nvim
lualine-nvim lualine-nvim

View File

@ -6,6 +6,7 @@ vim.o.shiftwidth = 2
vim.o.tabstop = 2 vim.o.tabstop = 2
vim.o.smartindent = true vim.o.smartindent = true
vim.o.background = "dark"
vim.o.clipboard = "unnamedplus" vim.o.clipboard = "unnamedplus"
vim.o.termguicolors = true vim.o.termguicolors = true
vim.o.ignorecase = true vim.o.ignorecase = true
@ -16,23 +17,20 @@ vim.o.timeoutlen = 100
vim.wo.number = true vim.wo.number = true
vim.wo.relativenumber = true vim.wo.relativenumber = true
require("gruvbox").setup({
require("catppuccin").setup({ transparent_mode = true
flavour = "macchiato",
transparent_background = true,
}) })
vim.cmd.colorscheme "catppuccin" vim.cmd("colorscheme gruvbox")
require("lualine").setup({ require("lualine").setup({
options = { options = {
theme = "catppuccin", theme = "gruvbox_dark",
} }
}) })
require("dressing").setup() require("dressing").setup()
require("bufferline").setup({ require("bufferline").setup({
highlights = require("catppuccin.groups.integrations.bufferline").get(),
options = { options = {
show_tab_indicators = true, show_tab_indicators = true,
-- separator_style = { "", "" }, -- separator_style = { "", "" },

View File

@ -7,6 +7,6 @@
extraConfig = { extraConfig = {
modi = "drun,run"; modi = "drun,run";
}; };
theme = ./catppuccin-macchiato.rasi; theme = ./theme.rasi;
}; };
} }

View File

@ -1,12 +1,10 @@
* { * {
bg-col: #24273a; bg-col: #282828;
bg-col-light: #24273a; border-col: #98971A;
border-col: #24273a; selected-col: #504945;
selected-col: #24273a; prompt: #504945;
blue: #8aadf4; fg-col: #ebdbb2;
fg-col: #cad3f5; fg-col2: #ebdbb2;
fg-col2: #ed8796;
grey: #6e738d;
width: 800; width: 800;
font: "JetBrainsMono Nerd Font 10"; font: "JetBrainsMono Nerd Font 10";
@ -21,6 +19,7 @@ window {
height: 460px; height: 460px;
border: 3px; border: 3px;
border-color: @border-col; border-color: @border-col;
border-radius: 10px;
background-color: @bg-col; background-color: @bg-col;
} }
@ -36,9 +35,9 @@ inputbar {
} }
prompt { prompt {
background-color: @blue; background-color: @prompt;
padding: 6px; padding: 6px;
text-color: @bg-col; text-color: @fg-col;
border-radius: 3px; border-radius: 3px;
margin: 20px 0px 0px 20px; margin: 20px 0px 0px 20px;
} }
@ -67,11 +66,11 @@ listview {
element { element {
padding: 5px; padding: 5px;
background-color: @bg-col; background-color: @bg-col;
text-color: @fg-col ; text-color: @fg-col;
} }
element-icon { element-icon {
size: 25px; size: 24px;
} }
element selected { element selected {
@ -85,19 +84,19 @@ mode-switcher {
button { button {
padding: 10px; padding: 10px;
background-color: @bg-col-light; background-color: @bg-col;
text-color: @grey; text-color: @fg-col;
vertical-align: 0.5; vertical-align: 0.5;
horizontal-align: 0.5; horizontal-align: 0.5;
} }
button selected { button selected {
background-color: @bg-col; background-color: @bg-col;
text-color: @blue; text-color: @prompt;
} }
message { message {
background-color: @bg-col-light; background-color: @bg-col;
margin: 2px; margin: 2px;
padding: 2px; padding: 2px;
border-radius: 5px; border-radius: 5px;
@ -106,6 +105,6 @@ message {
textbox { textbox {
padding: 6px; padding: 6px;
margin: 20px 0px 0px 20px; margin: 20px 0px 0px 20px;
text-color: @blue; text-color: @prompt;
background-color: @bg-col-light; background-color: @bg-col;
} }

View File

@ -12,24 +12,24 @@
colors = { colors = {
alpha = "0.90"; alpha = "0.90";
foreground = "cad3f5"; # Text background = "282828";
background = "24273a"; # Base foreground = "ebdbb2";
regular0 = "494d64"; # Surface 1 regular0 = "282828";
regular1 = "ed8796"; # red regular1 = "cc241d";
regular2 = "a6da95"; # green regular2 = "98971a";
regular3 = "eed49f"; # yellow regular3 = "d79921";
regular4 = "8aadf4"; # blue regular4 = "458588";
regular5 = "f5bde6"; # pink regular5 = "b16286";
regular6 = "8bd5ca"; # teal regular6 = "689d6a";
regular7 = "b8c0e0"; # Subtext 1 regular7 = "a89984";
bright0 = "5b6078"; # Surface 2 bright0 = "928374";
bright1 = "ed8796"; # red bright1 = "fb4934";
bright2 = "a6da95"; # green bright2 = "b8bb26";
bright3 = "eed49f"; # yellow bright3 = "fabd2f";
bright4 = "8aadf4"; # blue bright4 = "83a598";
bright5 = "f5bde6"; # pink bright5 = "d3869b";
bright6 = "8bd5ca"; # teal bright6 = "8ec07c";
bright7 = "a5adcb"; # Subtext 0 bright7 = "ebdbb2";
}; };
}; };
}; };

View File

@ -63,9 +63,7 @@ in
wayland.windowManager.hyprland = { wayland.windowManager.hyprland = {
enable = true; enable = true;
extraConfig = lib.concatStrings [ extraConfig = ''
(builtins.readFile (inputs.catppuccin-hyprland + "/themes/macchiato.conf"))
''
monitor=${leftMonitor}, 1920x1080@60, 0x0, 1 monitor=${leftMonitor}, 1920x1080@60, 0x0, 1
monitor=${rightMonitor}, 2560x1440@144, 1920x0, 1 monitor=${rightMonitor}, 2560x1440@144, 1920x0, 1
@ -89,8 +87,8 @@ in
general { general {
gaps_in = 16 gaps_in = 16
border_size = 4 border_size = 4
col.active_border = 0xff$surface2Alpha 0xff$surface0alpha 45deg col.active_border = rgba(98971aff)
col.inactive_border = 0xff$baseAlpha col.inactive_border = rgba(282828ff)
} }
dwindle { dwindle {
@ -119,7 +117,7 @@ in
drop_shadow = yes drop_shadow = yes
shadow_range = 8 shadow_range = 8
shadow_render_power = 1 shadow_render_power = 1
col.shadow = $base col.shadow = rgba(282828ff)
} }
animations { animations {
@ -206,8 +204,7 @@ in
windowrulev2 = fullscreen, class:^(hl2_linux)$ windowrulev2 = fullscreen, class:^(hl2_linux)$
windowrulev2 = float, class:^(org.kde.dolphin)$ windowrulev2 = float, class:^(org.kde.dolphin)$
'' '';
];
}; };
home.file.".local/share/kservices5/swww.desktop".text = '' home.file.".local/share/kservices5/swww.desktop".text = ''

View File

@ -8,10 +8,10 @@
width = 440; width = 440;
height = 320; height = 320;
backgroundColor = "#24273aB3"; backgroundColor = "#282828B3";
borderColor = "#8aadf4"; borderColor = "#98971aff";
textColor = "#cad3f5"; textColor = "#ebdbb2";
progressColor = "over #363a4f" ; progressColor = "over #665c54";
borderRadius = 10; borderRadius = 10;
borderSize = 2; borderSize = 2;

View File

@ -106,11 +106,7 @@ in
}]; }];
style = lib.concatStrings [ style = builtins.readFile ./style.css;
(builtins.readFile ./macchiato.css)
"\n"
(builtins.readFile ./style.css)
];
}; };
} }

View File

@ -1,3 +1,11 @@
@define-color bg rgba(40,40,40,0.8);
@define-color fg rgb(235,219,178);
@define-color box-bg rgb(80,73,69);
@define-color wsfg rgb(235,219,178);
@define-color wsbg rgb(60,56,54);
@define-color activewsbg rgb(102,92,84);
* { * {
font-family: "JetBrainsMono Nerd Font"; font-family: "JetBrainsMono Nerd Font";
font-size: 12; font-size: 12;
@ -5,11 +13,11 @@
window#waybar { window#waybar {
background: transparent; background: transparent;
color: @text; color: @fg;
} }
window#waybar > box { window#waybar > box {
background-color: @base; background-color: @bg;
} }
#wireplumber, #wireplumber,
@ -21,7 +29,7 @@ window#waybar > box {
#tray, #tray,
#clock, #clock,
#custom-swaync { #custom-swaync {
background: @surface1; background: @box-bg;
padding: 0px 10px 0px 10px; padding: 0px 10px 0px 10px;
margin: 5px 10px 5px 0px; margin: 5px 10px 5px 0px;
border-radius: 10px; border-radius: 10px;
@ -54,8 +62,8 @@ window#waybar > box {
} }
#workspaces button { #workspaces button {
color: @text; color: @fg;
background: @surface1; background: @wsbg;
padding: 0px 5px; padding: 0px 5px;
border-radius: 0; border-radius: 0;
} }
@ -73,13 +81,13 @@ window#waybar > box {
} }
#workspaces button.active { #workspaces button.active {
color: @mantle; color: @wsfg;
background: @blue; background: @activewsbg;
font-weight: bold; font-weight: bold;
} }
#workspaces button.persistent { #workspaces button.persistent {
color: @mantle; color: @wsfg;
background: @surface1; background: @wsbg;
font-weight: bold; font-weight: bold;
} }

View File

@ -1,14 +1,14 @@
{ config, pkgs, lib, ... }: { lib, ... }:
{ {
xdg.configFile."wob/wob.ini".text = lib.generators.toINIWithGlobalSection { } { xdg.configFile."wob/wob.ini".text = lib.generators.toINIWithGlobalSection { } {
globalSection = { globalSection = {
height = "40"; height = "40";
border_size = "2"; border_size = "2";
border_color = "5A5F78FF"; border_color = "98971AFF";
background_color = "24273AFF"; background_color = "282828FF";
bar_color = "8AADF4FF"; bar_color = "665C54FF";
}; };
sections = { }; sections = { };

View File

@ -97,8 +97,8 @@
gtk = { gtk = {
enable = true; enable = true;
theme = { theme = {
package = pkgs.catppuccin-gtk-macchiato; package = pkgs.gruvbox-dark-gtk;
name = "Catppuccin-Macchiato-Standard-Lavender-Dark"; name = "gruvbox-dark";
}; };
font = { font = {
@ -107,15 +107,15 @@
}; };
iconTheme = { iconTheme = {
package = pkgs.catppuccin-papirus-folders-macchiato; package = pkgs.gruvbox-dark-icons-gtk;
name = "Papirus"; name = "oomox-gruvbox-dark";
}; };
cursorTheme = { # cursorTheme = {
package = pkgs.catppuccin-cursors.macchiatoLavender; # package = pkgs.catppuccin-cursors.macchiatoLavender;
name = "Catppuccin-Macchiato-Lavender-Cursors"; # name = "Catppuccin-Macchiato-Lavender-Cursors";
size = 32; # size = 32;
}; # };
}; };
programs = { programs = {