hyprland: setup hyprpanel, fix nvidia issues, accomodate new shadow config

a big part of this was an accidental commit of the gitbutler integration commit that i accidently commited when it broke due to nix rust issues. the new server was also added in this, but further config happens in #1
This commit is contained in:
Christoph Hollizeck 2024-11-08 00:37:31 +01:00
parent b1c236bd05
commit 42fdf7d511
Signed by: Daholli
GPG key ID: 249300664F2AF2C7
10 changed files with 89 additions and 14 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 MiB

After

Width:  |  Height:  |  Size: 3.7 MiB

Before After
Before After

View file

@ -0,0 +1,42 @@
{
config,
inputs,
lib,
namespace,
pkgs,
system,
...
}:
let
inherit (lib) mkIf mkEnableOption;
# hyprpaper-package = inputs.hyprpaper.packages.${system}.hyprpaper;
cfg = config.${namespace}.desktop.addons.hyprpaper;
username = config.${namespace}.user.name;
in
{
options.${namespace}.desktop.addons.hyprpaper = {
enable = mkEnableOption "Enable Hyprpaper";
};
config = mkIf cfg.enable {
snowfallorg.users.${username}.home.config = {
home.file = {
# https://www.reddit.com/r/WidescreenWallpaper/comments/13hib3t/purple_firewatch_3840x1620/
"Pictures/firewatch.jpg".source = ./firewatch.jpg;
};
services.hyprpaper = {
enable = true;
settings = {
preload = [
"/home/${username}/Pictures/firewatch.jpg"
];
wallpaper = "monitor DP-2, /home/${username}/Pictures/firewatch.jpg";
};
};
};
};
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

View file

@ -86,6 +86,7 @@ in
package = pkgs.rofi-wayland-unwrapped;
};
hyprlock = enabled;
hyprpaper = enabled;
};
nix.extra-substituters.${cachix-url} = {
@ -108,7 +109,7 @@ in
];
exec-once = [
"dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP"
"hyprpaper"
"waybar"
"dunst"
"systemctl --user start plasma-polkit-agent"
@ -168,13 +169,16 @@ in
popups_ignorealpha = 0.2;
};
drop_shadow = true;
shadow_ignore_window = true;
shadow_offset = "0 15";
shadow_range = 100;
shadow_render_power = 2;
shadow_scale = 0.97;
"col.shadow" = "rgba(00000055)";
shadow = {
enabled = true;
range = 100;
render_power = 2;
ignore_window = true;
color = "rgba(00000055)";
offset = "0 15";
scale = 0.97;
};
};
animations = {

View file

@ -23,7 +23,7 @@ in
tree
ripgrep
fzf
colorls
eza
wslu
wsl-open

View file

@ -24,7 +24,7 @@ in
tree
ripgrep
fzf
colorls
eza
#optional
pciutils

View file

@ -51,7 +51,14 @@ in
};
config = {
environment.systemPackages = with pkgs; [ ];
environment.systemPackages = [ ];
# remove default nix alias
environment.shellAliases = {
l = null;
ls = null;
ll = null;
};
programs.fish = enabled;
users.defaultUserShell = pkgs.fish;