mirror of
https://codeberg.org/andyscott/dotfiles.git
synced 2024-11-08 13:30:47 -05:00
Explicitly set XDG environment variables
This commit is contained in:
parent
fa2b37ce70
commit
0a34530107
1 changed files with 21 additions and 11 deletions
|
@ -1,17 +1,27 @@
|
|||
# make Java behave when not using a DE
|
||||
export _JAVA_AWT_WM_NONREPARENTING=1
|
||||
# move $GOPATH to .local
|
||||
export GOPATH="$HOME/.local/opt/go"
|
||||
export PATH="$HOME/.local/opt/go/bin:$PATH"
|
||||
# Ensure XDG env vars are set correctly
|
||||
export XDG_CACHE_HOME="$HOME/.cache"
|
||||
export XDG_CONFIG_HOME="$HOME/.config"
|
||||
export XDG_DATA_HOME="$HOME/.local/share"
|
||||
export XDG_STATE_HOME="$HOME/.local/state"
|
||||
|
||||
# add .local/bin to $PATH
|
||||
export PATH="$HOME/.local/bin:$PATH"
|
||||
# xsecurelock settings
|
||||
export XSECURELOCK_AUTH=auth_x11
|
||||
export XSECURELOCK_AUTHPROTO=authproto_pam
|
||||
export XSECURELOCK_BURNIN_MITIGATION=300
|
||||
export XSECURELOCK_PASSWORD_PROMPT=time
|
||||
|
||||
# make Java behave when not using a DE
|
||||
export _JAVA_AWT_WM_NONREPARENTING=1
|
||||
|
||||
# move $GOPATH to .local
|
||||
export GOPATH="$HOME/.local/opt/go"
|
||||
export PATH="$HOME/.local/opt/go/bin:$PATH"
|
||||
|
||||
# xsecurelock settings
|
||||
export XSECURELOCK_AUTH=auth_x11
|
||||
export XSECURELOCK_AUTHPROTO=authproto_pam
|
||||
export XSECURELOCK_BURNIN_MITIGATION=300
|
||||
export XSECURELOCK_PASSWORD_PROMPT=time
|
||||
|
||||
{{- if eq .chezmoi.hostname "helix" }}
|
||||
# make GTK apps scale correctly on hidpi
|
||||
# scale GTK applicatons on hidpi screens
|
||||
export GDK_SCALE=2 GDK_DPI_SCALE=0.50 thunar
|
||||
export GDK_SCALE=2 GDK_DPI_SCALE="0.50 Simple-scan"
|
||||
export GDK_SCALE=2 GDK_DPI_SCALE=0.50 lutris
|
||||
|
|
Loading…
Reference in a new issue