aboutsummaryrefslogtreecommitdiff
path: root/waylandrc
blob: 696b8e9e63fa32815b9a78bbac4691132d3c51aa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#!/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' &

exec river