From 23bbfad136b8cba46b80bbeefece3c5abe524689 Mon Sep 17 00:00:00 2001
From: DerGrumpf
Date: Tue, 8 Apr 2025 13:18:34 +0200
Subject: [PATCH] Added: Catpuccin
---
home/hyprland/hyprland.nix | 2 ++
home/hyprland/waybar/configs/mocha.css | 26 ++++++++++++++++++++++++++
home/hyprland/waybar/configs/style.css | 11 +++++------
hosts/m920q/default.nix | 12 ++++++------
modules/geary.nix | 2 +-
5 files changed, 40 insertions(+), 13 deletions(-)
create mode 100644 home/hyprland/waybar/configs/mocha.css
diff --git a/home/hyprland/hyprland.nix b/home/hyprland/hyprland.nix
index b6ea4d6..c779f71 100644
--- a/home/hyprland/hyprland.nix
+++ b/home/hyprland/hyprland.nix
@@ -186,6 +186,8 @@ in
"${super}, P, pseudo, " # dwindle
"${super}, J, togglesplit, "# dwindle
"${super}, O, exec, obsidian"
+ "${super}, F, exec, firefox"
+ "${super}, G, exec, geary"
# Move focus with mainMod + arrow keys
"${super}, left, movefocus, l"
diff --git a/home/hyprland/waybar/configs/mocha.css b/home/hyprland/waybar/configs/mocha.css
new file mode 100644
index 0000000..0eb6a82
--- /dev/null
+++ b/home/hyprland/waybar/configs/mocha.css
@@ -0,0 +1,26 @@
+@define-color rosewater #f5e0dc;
+@define-color flamingo #f2cdcd;
+@define-color pink #f5c2e7;
+@define-color mauve #cba6f7;
+@define-color red #f38ba8;
+@define-color maroon #eba0ac;
+@define-color peach #fab387;
+@define-color yellow #f9e2af;
+@define-color green #a6e3a1;
+@define-color teal #94e2d5;
+@define-color sky #89dceb;
+@define-color sapphire #74c7ec;
+@define-color blue #89b4fa;
+@define-color lavender #b4befe;
+@define-color text #cdd6f4;
+@define-color subtext1 #bac2de;
+@define-color subtext0 #a6adc8;
+@define-color overlay2 #9399b2;
+@define-color overlay1 #7f849c;
+@define-color overlay0 #6c7086;
+@define-color surface2 #585b70;
+@define-color surface1 #45475a;
+@define-color surface0 #313244;
+@define-color base #1e1e2e;
+@define-color mantle #181825;
+@define-color crust #11111b;
diff --git a/home/hyprland/waybar/configs/style.css b/home/hyprland/waybar/configs/style.css
index 525b702..dea44eb 100644
--- a/home/hyprland/waybar/configs/style.css
+++ b/home/hyprland/waybar/configs/style.css
@@ -1,8 +1,11 @@
+@import "mocha.css";
+
* {
font-family: "JetBrains Mono Nerd Font";
/*font-family: "JetBrainsMono Nerd Font";*/
font-weight: bold;
font-size: 15px;
+ color: @text;
}
#custom-notification {
@@ -13,12 +16,8 @@
}
window#waybar {
- background: #092047;
- /* border-radius: 15px; */
- /* border: 2px solid #124323; */
-/* border: 0px solid #A1BDCE; */
- border: 3px solid rgba(172, 97, 185, 1);
- border-radius: 10px;
+ background-color: shade(@base, 0.9);
+ border: 2px solid alpha(@crust, 0.3);
}
tooltip {
diff --git a/hosts/m920q/default.nix b/hosts/m920q/default.nix
index c4d4dd0..0510eb2 100644
--- a/hosts/m920q/default.nix
+++ b/hosts/m920q/default.nix
@@ -37,16 +37,16 @@
networking = {
hostName = "nix-desktop";
networkmanager.enable = true;
- useDHCP = false;
- dhcpcd.enable = false;
- interfaces = {
+ #useDHCP = true;
+ #dhcpcd.enable = true;
+ /*interfaces = {
eno1.ipv4.addresses = [{
address = "192.168.2.40";
prefixLength = 24;
}];
- };
+ };*/
- defaultGateway = {
+ /*defaultGateway = {
address = "192.168.2.1";
interface = "eno1";
};
@@ -55,7 +55,7 @@
"192.168.2.50"
"1.1.1.1"
"8.8.8.8"
- ];
+ ];*/
};
hardware.graphics.enable = true;
diff --git a/modules/geary.nix b/modules/geary.nix
index 8b58dba..878ee15 100644
--- a/modules/geary.nix
+++ b/modules/geary.nix
@@ -1,4 +1,4 @@
{ pkgs, ...}:
{
- programs.geary.enable = true;
+ programs.thunderbird.enable = true;
}