From cada6d47fd3d8f212461ae35e7fd78b07a5cc035 Mon Sep 17 00:00:00 2001 From: Andre Ramnitz Date: Sun, 27 Oct 2024 23:47:56 +0100 Subject: [PATCH] hypr: fix typo --- dot-config/hypr/hyprland.conf | 3 +-- dot-config/hypr/scripts/startup.sh | 11 ++++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/dot-config/hypr/hyprland.conf b/dot-config/hypr/hyprland.conf index 62793150..c73300d8 100644 --- a/dot-config/hypr/hyprland.conf +++ b/dot-config/hypr/hyprland.conf @@ -19,8 +19,7 @@ xwayland { } # See https://wiki.hyprland.org/Configuring/Keywords/ for more -env = AMD_VULKAN_ICD,RADV -env = WLR_RENDERER,vulkan +env = AMD_VULKAN_ICD=RADV env = XDG_CURRENT_DESKTOP,Hyprland env = XDG_SESSION_TYPE,wayland env = XDG_SESSION_DESKTOP,Hyprland diff --git a/dot-config/hypr/scripts/startup.sh b/dot-config/hypr/scripts/startup.sh index 0cdeeba1..445c4181 100755 --- a/dot-config/hypr/scripts/startup.sh +++ b/dot-config/hypr/scripts/startup.sh @@ -6,7 +6,7 @@ logger 'HYPRLAND MAIN STARTUP BEGIN' # shellcheck disable=SC2046 test ! -d "$XDG_RUNTIME_DIR" && export XDG_RUNTIME_DIR=$(mktemp -d /tmp/$(id -u)-runtime-dir.XXX) && logger 'xdg-runtime dir set NOW' test ! "$DBUS_SESSION_BUS_ADDRESS" && dbus-daemon --session --address=unix:path="$XDG_RUNTIME_DIR"/bus && logger 'dbus session daemon started' -dbus-update-activation-environment WAYLAND_DISPLAY XDG_CURRENCT_DESKTOP +dbus-update-activation-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP #------------------------------------------------------ xdg-desktop-portal killall -e xdg-desktop-portal-hyprland @@ -15,11 +15,12 @@ killall -e xdg-desktop-portal-gtk killall -e xdg-desktop-portal-gnome killall -e xdg-desktop-portal-wlr killall xdg-desktop-portal -logger 'killed all xdg-desktop' +logger 'all xdg-desktop killed ' -# sleep 1 && test -f /usr/libexec/xdg-desktop-portal-kde && sleep 1 && /usr/libexec/xdg-desktop-portal-kde & -sleep 1 && test -f /usr/libexec/xdg-desktop-portal-hyprland && sleep 1 && /usr/libexec/xdg-desktop-portal-hyprland & -sleep 1 && test -f /usr/libexec/xdg-desktop-portal && sleep 1 && /usr/libexec/xdg-desktop-portal & +sleep 1 +# test -f /usr/libexec/xdg-desktop-portal-kde && sleep 1 && /usr/libexec/xdg-desktop-portal-kde & +test -f /usr/libexec/xdg-desktop-portal-hyprland && /usr/libexec/xdg-desktop-portal-hyprland & +test -f /usr/libexec/xdg-desktop-portal && /usr/libexec/xdg-desktop-portal & #------------------------------------------------------ polkit-kde if [[ ! $(pidof /usr/libexec/polkit-kde-authentication-agent-1) ]]; then -- 2.51.2