From 981bf1850aad7a7e70e4ee7858a157afc8bf918e Mon Sep 17 00:00:00 2001 From: Mitchell Riedstra Date: Tue, 12 Nov 2024 09:16:08 -0500 Subject: Install xdg-desktop-portal-wlr. Utilize that portal. --- fedora.sh | 1 + waylandrc | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/fedora.sh b/fedora.sh index aa31152..6670658 100755 --- a/fedora.sh +++ b/fedora.sh @@ -17,6 +17,7 @@ sudo yum -y install \ wget \ wlroots \ wlroots-devel \ + xdg-desktop-portal-wlr \ xwayland-run mkdir -p "$(dirname "$zigdir")" cd "$(dirname "$zigdir")" diff --git a/waylandrc b/waylandrc index 2b9319e..5b96c77 100755 --- a/waylandrc +++ b/waylandrc @@ -4,10 +4,14 @@ export QT_WAYLAND_DISABLE_WINDOWDECORATION=1 # Firefox fix just in case export MOZ_ENABLE_WAYLAND=1 +export GTK_THEME=Adwaita:dark # If Chromium dialogs aren't working these are suspect # pacman -S xdg-desktop-portal-wlr +# or +# yum -y install xdg-desktop-portal-wlr export XDG_CURRENT_DESKTOP=river +sh -c 'exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=river' export QT_QPA_PLATFORMTHEME=qt6ct . ~/.kshrc @@ -17,4 +21,7 @@ export SSH_ASKPASS_REQUIRE=force export BEMENU_OPTS="--fn 'Curie 10' --tb '#3B4252' --tf '#8FBCBB' --cf '#E5E9F0' --nb '#2e3440' --ab '#3b4252' --nf '#e5e9f0' --af '#e5e9f0' --fb '#2e3440' --ff '#a3be8c' --hb '#2e3440' --hf '#a3be8c' " +# Prevent other applications from grabbing the card, so annoying. +sh -c 'gpg --card-status &' & + exec river -- cgit v1.2.3