1

Modules/Hyprland: Run systemctl --user import-environment PATH to fix Flatpak not finding default apps

This commit is contained in:
2025-06-12 21:18:10 +02:00
parent 4ed04a0bc7
commit 9da3e3cd12

View File

@ -118,9 +118,12 @@
"wl-paste -p -t text --watch clipman store -P --histpath=\"~/.local/share/clipman-primary.json\""
"hyprctl setcursor Bibata-Modern-Classic 16"
# NOTE: Hack because Hyprland doesn't set the xwayland/x11 keymap correctly
# HACK: Hyprland doesn't set the xwayland/x11 keymap correctly
"setxkbmap -layout ${hyprland.kb-layout} -variant ${hyprland.kb-variant} -model pc104"
# HACK: Flatpak doesn't find applications in the system PATH
"systemctl --user import-environment PATH && systemctl --user restart xdg-desktop-portal.service"
# Provide a polkit authentication UI.
# This is used for example when running systemd commands without root.
"${pkgs.kdePackages.polkit-kde-agent-1}/libexec/polkit-kde-authentication-agent-1"
@ -459,7 +462,7 @@ in {
font_family = "${color.font}";
};
# Because those are not windows, but layers,
# Because those are not windows, but layouts,
# we have to blur them explicitly
layerrule = [
"blur,rofi"