-
Notifications
You must be signed in to change notification settings - Fork 0
/
.xprofile
37 lines (30 loc) · 928 Bytes
/
.xprofile
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
#!/bin/bash
# flutter settings.
export CHROME_EXECUTABLE="google-chrome-stable"
# browser settings.
export BROWSER="vivaldi-stable"
#export BROWSER="google-chrome-stable"
#export BROWSER="firefox-developer-edition"
#export BROWSER="firefox"
# qt5ct settings.
export QT_QPA_PLATFORMTHEME="qt5ct"
# hardware vieo acceleration settings.
export LIBVA_DRIVER_NAME="i965"
export VDPAU_DRIVER="va_gl"
# vulkan settings.
export VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/intel_icd.x86_64.json:/usr/share/vulkan/icd.d/nvidia_icd.json
# Fcitx settings.
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS=@im=fcitx
export SDL_IM_MODULE=fcitx
export DefaultIMModule=fcitx
# device settings.
if [ "${XDG_CURRENT_DESKTOP}" = "i3" ]; then
xset s off
xset dpms 1800 2400 3600
srandrd ~/.bin/detect_display.sh && ~/.bin/setup_wacom.sh
~/.bin/detect_display.sh
~/.bin/setup_wacom.sh
~/.bin/setup_touchpad.sh off
fi