-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdot-xprofile
More file actions
36 lines (30 loc) · 1.24 KB
/
Copy pathdot-xprofile
File metadata and controls
36 lines (30 loc) · 1.24 KB
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
#!/bin/sh
# # source the zsh environment file(s) so that X sessions get the same
# # variables/paths as an interactive zsh login.
# [ -f ~/.zshenv ] && . ~/.zshenv
# [ -f ~/.config/zsh/.zshenv ] && . ~/.config/zsh/.zshenv
# NOTE: this file won't update until you log-out, log-back-in
#
# We make sure that the variables passed to the graphical interface
# Other XDG paths
export XDG_DATA_HOME=${XDG_DATA_HOME:="$HOME/.local/share"}
export XDG_CACHE_HOME=${XDG_CACHE_HOME:="$HOME/.cache"}
export XDG_CONFIG_HOME=${XDG_CONFIG_HOME:="$HOME/.config"}
export XDG_PICTURES_DIR=${XDG_PICTURES_DIR:="$HOME/Pictures"}
# lie here to make sure icons work for i3
# KDE cause issue with xdg-open, GNOME works
XDG_CURRENT_DESKTOP=GNOME # KDE, GNOME, i3...
# Qt theme
export QT_QPA_PLATFORMTHEME=qt5ct:qt6ct
export QT_STYLE_OVERRIDE=kvantum
# QT Scaling
# export QT_AUTO_SCREEN_SCALE_FACTOR=0
export QT_AUTO_SCREEN_SCALE_FACTOR=1
export QT_ENABLE_HIGHDPI_SCALING=1
export QT_SCALE_FACTOR=1
export QT_SCREEN_SCALE_FACTORS="1;1;1"
export GDK_SCALE=1
export GDK_DPI_SCALE=1
export QT_SCALE_FACTOR_ROUNDING_POLICY=PassThrough
#NOTE: some apps need special treatments:
# Exec=env QT_AUTO_SCREEN_SCALE_FACTOR=0 QT_SCALE_FACTOR=1.5 "/home/developer/Qt/Tools/QtCreator/bin/qtcreator" %F