#!/bin/sh # exec >/tmp/wlcustom.log 2>&1 # removes window outlines and stuff export QT_WAYLAND_DISABLE_WINDOWDECORATION=1 # Firefox fix just in case export MOZ_ENABLE_WAYLAND=1 # We're going to be letting other programs # swap about dark mode for us, but if you # want to pin it to something, this is # how # 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 export ENV=$HOME/.kshrc XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}" export SSH_ASKPASS="${XDG_CONFIG_HOME}/river/bemenu_askpass_helper" 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' " #export BEMENU_OPTS="--fn 'IBM 3270 12' --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 &' & sh -c '/usr/libexec/kf6/polkit-kde-authentication-agent-1' & sh -c '/usr/libexec/pam_kwallet_init' & # sh -c 'kwalletd6' & RIVERWM_BASE="${RIVERWM_BASE:-$HOME/.local/opt/river}" if [ -d "$RIVERWM_BASE" ] ; then export LD_LIBRARY_PATH="$RIVERWM_BASE/lib64:$RIVERWM_BASE/lib" _bemenu_lib=$RIVERWM_BASE/lib/bemenu/ if [ -d "$_bemenu_lib" ] ; then export BEMENU_RENDERERS="$_bemenu_lib" fi fi [ -x "$(command -v mako)" ] && sh -c 'exec mako' & exec river