aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitchell Riedstra <mitch@riedstra.dev>2024-11-12 09:16:08 -0500
committerMitchell Riedstra <mitch@riedstra.dev>2024-11-12 09:16:08 -0500
commit981bf1850aad7a7e70e4ee7858a157afc8bf918e (patch)
tree70a6c3fe415a964d52e47ea4a022879b486284f3
parentfc86116758d36fc4f67fc654b3c4c9ee13f83a54 (diff)
downloadrivercfg-981bf1850aad7a7e70e4ee7858a157afc8bf918e.tar.gz
rivercfg-981bf1850aad7a7e70e4ee7858a157afc8bf918e.tar.xz
Install xdg-desktop-portal-wlr. Utilize that portal.
-rwxr-xr-xfedora.sh1
-rwxr-xr-xwaylandrc7
2 files changed, 8 insertions, 0 deletions
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