fixed some issue and added uwsm support

This commit is contained in:
kenji
2025-12-24 16:19:44 +00:00
parent 7df49ad646
commit 811011d6d6
5 changed files with 15 additions and 6 deletions
+9 -1
View File
@@ -7,6 +7,7 @@
enable = true; enable = true;
package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland; package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
portalPackage = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland; portalPackage = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
withUWSM = true;
}; };
environment.systemPackages = [ environment.systemPackages = [
@@ -18,7 +19,14 @@
pkgs.hyprpolkitagent pkgs.hyprpolkitagent
]; ];
# systemd.user.services.hyprpolkitagent = { xdg.terminal-exec = {
enable = true;
settings = {
default = ["ghostty.desktop"];
};
};
# systemd.user.services.hyprpolkitagent = {
# description = "Hyprland Polkit Agent"; # description = "Hyprland Polkit Agent";
# wantedBy = ["graphical-session.target"]; # wantedBy = ["graphical-session.target"];
# serviceConfig = { # serviceConfig = {
+1
View File
@@ -5,4 +5,5 @@
./hypr/exec.nix ./hypr/exec.nix
]; ];
wayland.windowManager.hyprland.enable = true; wayland.windowManager.hyprland.enable = true;
wayland.windowManager.hyprland.systemd.enable = false; # for UWSM support...
} }
+1 -1
View File
@@ -1,7 +1,7 @@
{ {
wayland.windowManager.hyprland.settings = { wayland.windowManager.hyprland.settings = {
exec-once = [ exec-once = [
"waybar" "uwsm app -- waybar"
]; ];
}; };
} }
+2 -1
View File
@@ -1,5 +1,6 @@
{pkgs, ...}: { {pkgs, ...}: {
environment.systemPackages = with pkgs; [ home.packages = with pkgs; [
pamixer pamixer
wiremix
]; ];
} }
+2 -3
View File
@@ -1,11 +1,10 @@
{ {
programs.waybar = { programs.waybar = {
style = '' style = ''
@import "../omarchy/current/theme/waybar.css";
* { * {
background-color: @background; background-color: #cdd6f4;
color: @foreground; color: #181824;
border: none; border: none;
border-radius: 0; border-radius: 0;