diff --git a/modules/home-manager/hyprland-customization.nix b/modules/home-manager/hyprland-customization.nix index 3c489ef..58ccd6c 100644 --- a/modules/home-manager/hyprland-customization.nix +++ b/modules/home-manager/hyprland-customization.nix @@ -46,21 +46,33 @@ # the overlay makes this available as a home manager module programs.hyprpanel = { enable = true; + # autostart after hyprland hyprland.enable = true; overwrite.enable = true; overlay.enable = true; + + theme = "monochrome"; settings = { bar = { clock.format = "%H:%M"; clock.showIcon = false; + clock.militray = true; 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 }; diff --git a/modules/home-manager/xdg-portals.nix b/modules/home-manager/xdg-portals.nix new file mode 100644 index 0000000..7414689 --- /dev/null +++ b/modules/home-manager/xdg-portals.nix @@ -0,0 +1,11 @@ +{inputs, pkgs, ...}: +{ + xdg.enable = true; + + xdg.portal = { + enable = true; + extraPortals = [ + pkgs.xdg-desktop-portal-gtk + ] + }; +} diff --git a/modules/nixos/hyprland.nix b/modules/nixos/hyprland.nix index 9098389..5768876 100644 --- a/modules/nixos/hyprland.nix +++ b/modules/nixos/hyprland.nix @@ -21,5 +21,4 @@ wayland = true; }; - } diff --git a/users/remy.nix b/users/remy.nix index 0da3267..507af02 100644 --- a/users/remy.nix +++ b/users/remy.nix @@ -7,11 +7,11 @@ with lib.hm.gvariant; ../modules/home-manager/fish.nix ../modules/home-manager/flatpaks.nix ../modules/home-manager/hyprland-customization.nix - # ../modules/home-manager/gnome-shell-customization.nix ../modules/home-manager/keepassxc.nix ../modules/home-manager/obsidian.nix ../modules/home-manager/owncloud-client.nix ../modules/home-manager/thunderbird.nix + ../modules/home-manager/xdg-portals.nix ]; ## Home Manager configuration