-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.profile
44 lines (36 loc) · 1.1 KB
/
.profile
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
40
41
42
43
44
#!/bin/sh
# make default editor Neovim
export EDITOR=nvim
# Most pure GTK3 apps use wayland by default, but some,
# like Firefox, need the backend to be explicitely selected.
export MOZ_ENABLE_WAYLAND=1
export MOZ_DBUS_REMOTE=1
export GTK_CSD=0
export GDK_BACKEND=wayland,x11
# qt wayland
export QT_QPA_PLATFORM="wayland"
export QT_QPA_PLATFORMTHEME=qt6ct
export QT_WAYLAND_DISABLE_WINDOWDECORATION="1"
#Java XWayland blank screens fix
export _JAVA_AWT_WM_NONREPARENTING=1
# set default shell and terminal
export SHELL=/usr/bin/zsh
# set ozone platform to wayland
export ELECTRON_OZONE_PLATFORM_HINT=auto
# Disable hardware cursors. This might fix issues with
# disappearing cursors
if systemd-detect-virt -q; then
# if the system is running inside a virtual machine, disable hardware cursors
export WLR_NO_HARDWARE_CURSORS=1
fi
# Disable warnings by OpenCV
export OPENCV_LOG_LEVEL=ERROR
set -a
. "$HOME/.config/user-dirs.dirs"
set +a
if [ -n "$(ls "$HOME"/.config/profile.d 2>/dev/null)" ]; then
for f in "$HOME"/.config/profile.d/*; do
# shellcheck source=/dev/null
. "$f"
done
fi