some more desktop functionality

This commit is contained in:
Remy Moll 2025-02-23 17:19:22 +01:00
parent 5c79c29b7d
commit 1d2b534218
4 changed files with 27 additions and 5 deletions

View File

@ -46,21 +46,33 @@
# the overlay makes this available as a home manager module # the overlay makes this available as a home manager module
programs.hyprpanel = { programs.hyprpanel = {
enable = true; enable = true;
# autostart after hyprland
hyprland.enable = true; hyprland.enable = true;
overwrite.enable = true; overwrite.enable = true;
overlay.enable = true; overlay.enable = true;
theme = "monochrome";
settings = { settings = {
bar = { bar = {
clock.format = "%H:%M"; clock.format = "%H:%M";
clock.showIcon = false; clock.showIcon = false;
clock.militray = true;
launcher.icon = "🚀"; launcher.icon = "🚀";
launcher.autoDetectIcon = true;
workspaces.show_icons = true;
}; };
}; };
layout = {
"bar.layouts" = {
"*" = {
left = ["workspaces"];
middle = ["clock"];
right = ["volume" "systray" "nm-applet" "notifications" ];
}
}
# Add custom widgets + styling
}; };

View File

@ -0,0 +1,11 @@
{inputs, pkgs, ...}:
{
xdg.enable = true;
xdg.portal = {
enable = true;
extraPortals = [
pkgs.xdg-desktop-portal-gtk
]
};
}

View File

@ -21,5 +21,4 @@
wayland = true; wayland = true;
}; };
} }

View File

@ -7,11 +7,11 @@ with lib.hm.gvariant;
../modules/home-manager/fish.nix ../modules/home-manager/fish.nix
../modules/home-manager/flatpaks.nix ../modules/home-manager/flatpaks.nix
../modules/home-manager/hyprland-customization.nix ../modules/home-manager/hyprland-customization.nix
# ../modules/home-manager/gnome-shell-customization.nix
../modules/home-manager/keepassxc.nix ../modules/home-manager/keepassxc.nix
../modules/home-manager/obsidian.nix ../modules/home-manager/obsidian.nix
../modules/home-manager/owncloud-client.nix ../modules/home-manager/owncloud-client.nix
../modules/home-manager/thunderbird.nix ../modules/home-manager/thunderbird.nix
../modules/home-manager/xdg-portals.nix
]; ];
## Home Manager configuration ## Home Manager configuration