Added: ZapZap (WhatsApp)

This commit is contained in:
DerGrumpf 2025-04-08 19:51:19 +02:00
parent 70dac1dc0d
commit c52be4f71b
8 changed files with 68 additions and 51 deletions

View File

@ -33,19 +33,21 @@
"type": "github" "type": "github"
} }
}, },
"catppuccin-bat": { "catppuccin": {
"flake": false, "inputs": {
"nixpkgs": "nixpkgs"
},
"locked": { "locked": {
"lastModified": 1734996624, "lastModified": 1743801669,
"narHash": "sha256-6fWoCH90IGumAMc4buLRWL0N61op+AuMNN9CAR9/OdI=", "narHash": "sha256-RxQQQCGqywOPbdNrWGbFyFdcrdrXM4YBHW7vYt13OeI=",
"owner": "catppuccin", "owner": "catppuccin",
"repo": "bat", "repo": "nix",
"rev": "699f60fc8ec434574ca7451b444b880430319941", "rev": "07beb389d69a52c4dd5895da9553463c3740a26a",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "catppuccin", "owner": "catppuccin",
"repo": "bat", "repo": "nix",
"type": "github" "type": "github"
} }
}, },
@ -176,7 +178,7 @@
"hyprlang": "hyprlang", "hyprlang": "hyprlang",
"hyprutils": "hyprutils", "hyprutils": "hyprutils",
"hyprwayland-scanner": "hyprwayland-scanner", "hyprwayland-scanner": "hyprwayland-scanner",
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs_2",
"pre-commit-hooks": "pre-commit-hooks", "pre-commit-hooks": "pre-commit-hooks",
"systems": "systems", "systems": "systems",
"xdph": "xdph" "xdph": "xdph"
@ -398,6 +400,22 @@
} }
}, },
"nixpkgs": { "nixpkgs": {
"locked": {
"lastModified": 1743583204,
"narHash": "sha256-F7n4+KOIfWrwoQjXrL2wD9RhFYLs2/GGe/MQY1sSdlE=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "2c8d3f48d33929642c1c12cd243df4cc7d2ce434",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1742669843, "lastModified": 1742669843,
"narHash": "sha256-G5n+FOXLXcRx+3hCJ6Rt6ZQyF1zqQ0DL0sWAMn2Nk0w=", "narHash": "sha256-G5n+FOXLXcRx+3hCJ6Rt6ZQyF1zqQ0DL0sWAMn2Nk0w=",
@ -413,7 +431,7 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_2": { "nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1743576891, "lastModified": 1743576891,
"narHash": "sha256-vXiKURtntURybE6FMNFAVpRPr8+e8KoLPrYs9TGuAKc=", "narHash": "sha256-vXiKURtntURybE6FMNFAVpRPr8+e8KoLPrYs9TGuAKc=",
@ -454,11 +472,11 @@
}, },
"root": { "root": {
"inputs": { "inputs": {
"catppuccin-bat": "catppuccin-bat", "catppuccin": "catppuccin",
"home-manager": "home-manager", "home-manager": "home-manager",
"hyprland": "hyprland", "hyprland": "hyprland",
"hyprland-plugins": "hyprland-plugins", "hyprland-plugins": "hyprland-plugins",
"nixpkgs": "nixpkgs_2" "nixpkgs": "nixpkgs_3"
} }
}, },
"systems": { "systems": {

View File

@ -23,6 +23,7 @@
inputs = { inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11"; nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11";
hyprland.url = "github:hyprwm/Hyprland"; hyprland.url = "github:hyprwm/Hyprland";
catppuccin.url = "github:catppuccin/nix";
home-manager.url = "github:nix-community/home-manager/release-24.11"; home-manager.url = "github:nix-community/home-manager/release-24.11";
home-manager.inputs.nixpkgs.follows = "nixpkgs"; home-manager.inputs.nixpkgs.follows = "nixpkgs";
@ -31,17 +32,13 @@
url = "github:hyprwm/hyprland-plugins"; url = "github:hyprwm/hyprland-plugins";
inputs.hyprland.follows = "hyprland"; inputs.hyprland.follows = "hyprland";
}; };
catppuccin-bat = {
url = "github:catppuccin/bat";
flake = false;
};
}; };
outputs = inputs @ { outputs = inputs @ {
self, self,
nixpkgs, nixpkgs,
home-manager, home-manager,
catppuccin,
... ...
}: { }: {
packages.x86_64-linux.default = self.nixosConfigurations.iso.config.system.build.isoImage; packages.x86_64-linux.default = self.nixosConfigurations.iso.config.system.build.isoImage;

View File

@ -9,7 +9,7 @@ let
in in
{ {
home.packages = with pkgs; [ home.packages = with pkgs; [
hyprland grim
slurp slurp
wl-clipboard wl-clipboard
]; ];
@ -94,8 +94,8 @@ in
gaps_out = 16; gaps_out = 16;
border_size = 4; border_size = 4;
"col.active_border" = "0xFFF887FF"; "col.active_border" = "$green";
"col.inactive_border" = "0xFFDE004E"; "col.inactive_border" = "$red";
layout = "dwindle"; layout = "dwindle";
@ -111,14 +111,8 @@ in
range = 16; range = 16;
render_power = 4; render_power = 4;
ignore_window = true; ignore_window = true;
color = "0xFFF887FF"; color = "$green";
color_inactive = "0xFFDE004E"; color_inactive = "$red";
#drop_shadow = "yes";
#shadow_range = 16;
#shadow_render_power = 4;
#shadow_ignore_window = 1;
#"col.shadow" = "0xFFF887FF";
#"col.shadow_inactive" = "0xFFDE004E";
}; };
blur = { blur = {
@ -239,6 +233,7 @@ in
# Screenshot # Screenshot
''${super}, Z, exec, grim -g "$(slurp)" $HOME/Pictures/Screenshots/$(date +'%s_grim.png')'' ''${super}, Z, exec, grim -g "$(slurp)" $HOME/Pictures/Screenshots/$(date +'%s_grim.png')''
''${super}, U, exec, grim $HOME/Pictures/Screenshots/$(date +'%s_grim.png')''
]; ];
bindl = [ bindl = [

View File

@ -3,6 +3,7 @@
programs.kitty = lib.mkForce { programs.kitty = lib.mkForce {
enable = true; enable = true;
settings = { settings = {
themeFile = "Catppuccin-Mocha";
confirm_os_window_close = 0; confirm_os_window_close = 0;
dynamic_background_opacity = true; dynamic_background_opacity = true;
enable_audio_bell = false; enable_audio_bell = false;
@ -10,6 +11,11 @@
window_padding_width = 10; window_padding_width = 10;
background_opacity = "0.5"; background_opacity = "0.5";
background_blur = 5; background_blur = 5;
tab_bar_min_tabs = 1;
tab_bar_edge = "bottom";
tab_bar_style = "powerline";
tab_powerline_style = "slanted";
tab_title_template = "{title}{' :{}:'.format(num_windows) if num_windows > 1 else ''}";
symbol_map = let symbol_map = let
mappings = [ mappings = [
"U+23FB-U+23FE" "U+23FB-U+23FE"

View File

@ -3,27 +3,13 @@
services.mako = { services.mako = {
enable = true; enable = true;
font = "FiraCodeNerdFontPropo 12"; font = "FiraCodeNerdFontPropo 12";
backgroundColor = "#120458"; borderSize = 4;
textColor = "#FFFFFF"; borderRadius = 8;
defaultTimeout = 5000; defaultTimeout = 5000;
extraConfig = '' extraConfig = ''
[urgency=low]
border-color=#65dc98
[urgency=normal]
border-color=#fff69f
[urgency=high]
border-color=#ff124f
default-timeout=10000
[app-name=Spotify] [app-name=Spotify]
border-color=#1afe49 border-color=#a6e3a1
[category=mpd]
default-timeout=2000
group-by=category
''; '';

View File

@ -0,0 +1,8 @@
{ pkgs, ... }:
{
# Install Element Desktop
home.packages = with pkgs; [
zapzap
];
}

View File

@ -1,4 +1,4 @@
{pkgs, ...}: { {pkgs, catppuccin, ...}: {
################################################################################################################## ##################################################################################################################
# #
# All Phil's Home Manager Configuration # All Phil's Home Manager Configuration
@ -10,7 +10,7 @@
../../home/xdg.nix # Bindings ../../home/xdg.nix # Bindings
../../home/hyprland # Window Manager ../../home/hyprland # Window Manager
../../home/themes/dark # ../../home/themes/dark
../../home/hyprland/waybar/double-monitor.nix ../../home/hyprland/waybar/double-monitor.nix
../../home/programs/dev # Dev Tools ../../home/programs/dev # Dev Tools
@ -27,6 +27,7 @@
../../home/programs/social/element.nix ../../home/programs/social/element.nix
../../home/programs/social/webcord.nix ../../home/programs/social/webcord.nix
../../home/programs/social/zapzap.nix
../../home/programs/web/firefox.nix ../../home/programs/web/firefox.nix
@ -34,9 +35,16 @@
../../home/programs/games/itch.nix ../../home/programs/games/itch.nix
../../home/programs/games/steam.nix ../../home/programs/games/steam.nix
../../home/programs/games/lutris.nix ../../home/programs/games/lutris.nix
../../home/programs/games/opensource.nix # ../../home/programs/games/opensource.nix
catppuccin.homeModules.catppuccin
]; ];
catppuccin = {
enable = true;
flavor = "mocha";
};
programs.git = { programs.git = {
userName = "DerGrumpf"; userName = "DerGrumpf";
userEmail = "p.keier@beyerstedt-it.de"; userEmail = "p.keier@beyerstedt-it.de";

View File

@ -32,7 +32,6 @@
fish_config prompt choose disco fish_config prompt choose disco
function fish_greeting function fish_greeting
fastfetch fastfetch
echo (set_color yellow)(date +%T)(set_color normal) on $hostname
end end
''; '';
}; };