fix portals for niri and fix waybar issues

This commit is contained in:
Chris Cochrun 2025-10-14 11:17:43 -05:00
parent a6bab6e747
commit b7d40f68d0
2 changed files with 5 additions and 4 deletions

View file

@ -47,8 +47,8 @@ in {
configPackages = [ pkgs.cosmic-session pkgs.xdg-desktop-portal-cosmic pkgs.kdePackages.kwallet ];
config = {
common = {
default = [ "cosmic" "kde" ];
"org.freedesktop.impl.portal.FileChooser" = [ "cosmic" "kde" ];
default = [ "kde" "cosmic" "gtk" ];
"org.freedesktop.impl.portal.FileChooser" = [ "kde" ];
"org.freedesktop.impl.portal.Access" = [ "kde" ];
"org.freedesktop.impl.portal.OpenUri" = [ "kde" ];
"org.freedesktop.impl.portal.Desktop" = [ "kde" ];
@ -775,7 +775,7 @@ in {
format = "{:%b %e, %I:%M %p}";
};
cpu = { format = " {usage}%"; on-click = "alacritty --class btop -e btop"; };
memory = { format = " {}%"; on-click = "alacritty --class btop -e btop"; };
memory = { format = " {used:0.1f}Gb / {total:0.1f}Gb {percentage}%"; on-click = "alacritty --class btop -e btop"; };
"custom/gpu" = {
exec = "cat /sys/class/hwmon/hwmon0/device/gpu_busy_percent";
format = "󱤓 {}%";
@ -908,6 +908,7 @@ in {
background: @backtransparent;
box-shadow: 5px 5px 4px 4px #202020;
border-radius: 20px;
margin-left: 12px;
}
.modules-left {

View file

@ -141,9 +141,9 @@ in
{ argv = ["hyprpaper"]; }
{ argv = ["${pkgs.xwayland-satellite}/bin/xwayland-satellite"]; }
{ argv = ["/usr/lib/kdeconnectd"]; }
{ argv = ["cosmic-settings-daemon"]; }
{ argv = ["cosmic-osd"]; }
{ argv = ["cosmic-idle"]; }
{ argv = ["cosmic-settings-daemon"]; }
{ argv = ["kwalletd6"]; }
{ argv = ["swww-daemon"]; }
{ argv = ["dbus-update-activation-environment --systemd --all"]; }