mirror of
https://codeberg.org/andyscott/dotfiles.git
synced 2024-12-22 18:03:11 -05:00
Compare commits
No commits in common. "d46f86661a9dacc25f3a2d687fa9677e85d6c340" and "fa2b37ce7028b3dac0c678c52a659b2a4c072eaf" have entirely different histories.
d46f86661a
...
fa2b37ce70
6 changed files with 13 additions and 45 deletions
|
@ -1,4 +0,0 @@
|
||||||
prefix=${XDG_DATA_HOME}/npm
|
|
||||||
cache=${XDG_CACHE_HOME}/npm
|
|
||||||
tmp=${XDG_RUNTIME_DIR}/npm
|
|
||||||
init-module=${XDG_CONFIG_HOME}/npm/init/npm-init.js
|
|
|
@ -1,23 +1,17 @@
|
||||||
# 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"
|
|
||||||
|
|
||||||
# make Java behave when not using a DE
|
# make Java behave when not using a DE
|
||||||
export _JAVA_AWT_WM_NONREPARENTING=1
|
export _JAVA_AWT_WM_NONREPARENTING=1
|
||||||
|
# move $GOPATH to .local
|
||||||
# xsecurelock settings
|
export GOPATH="$HOME/.local/opt/go"
|
||||||
export XSECURELOCK_AUTH=auth_x11
|
export PATH="$HOME/.local/opt/go/bin:$PATH"
|
||||||
export XSECURELOCK_AUTHPROTO=authproto_pam
|
# add .local/bin to $PATH
|
||||||
export XSECURELOCK_BURNIN_MITIGATION=300
|
export PATH="$HOME/.local/bin:$PATH"
|
||||||
export XSECURELOCK_PASSWORD_PROMPT=time
|
# 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" }}
|
{{- if eq .chezmoi.hostname "helix" }}
|
||||||
# scale GTK applicatons on hidpi screens
|
# make GTK apps scale correctly on hidpi
|
||||||
export GDK_SCALE=2 GDK_DPI_SCALE=0.50 thunar
|
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 Simple-scan"
|
||||||
export GDK_SCALE=2 GDK_DPI_SCALE=0.50 lutris
|
export GDK_SCALE=2 GDK_DPI_SCALE=0.50 lutris
|
||||||
|
@ -27,25 +21,3 @@ export GDK_SCALE=2 GDK_DPI_SCALE=0.50 Gajim
|
||||||
export GDK_SCALE=2 GDK_DPI_SCALE=0.50 Ristretto
|
export GDK_SCALE=2 GDK_DPI_SCALE=0.50 Ristretto
|
||||||
export GDK_SCALE=2 GDK_DPI_SCALE=0.50 ghex
|
export GDK_SCALE=2 GDK_DPI_SCALE=0.50 ghex
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
## No littering in $HOME!
|
|
||||||
|
|
||||||
# bash
|
|
||||||
export HISTFILE="${XDG_STATE_HOME}"/bash_history
|
|
||||||
|
|
||||||
# cargo
|
|
||||||
export CARGO_HOME="$XDG_DATA_HOME"/cargo
|
|
||||||
|
|
||||||
# go
|
|
||||||
export GOPATH="$XDG_DATA_HOME"/go
|
|
||||||
export GOMODCACHE="$XDG_CACHE_HOME"/go/mod
|
|
||||||
|
|
||||||
# GTK2
|
|
||||||
export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc
|
|
||||||
|
|
||||||
# Node
|
|
||||||
export NPM_CONFIG_USERCONFIG="$XDG_CONFIG_HOME"/npm/npmrc
|
|
||||||
|
|
||||||
# Xorg
|
|
||||||
export XINITRC="$XDG_CONFIG_HOME"/X11/xinitrc
|
|
||||||
export XAUTHORITY="$XDG_RUNTIME_DIR"/Xauthority
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
userresources="$XDG_CONFIG_HOME"/X11/Xresources
|
userresources=$HOME/.Xresources
|
||||||
usermodmap="$XDG_CONFIG_HOME"/X11/Xmodmap
|
usermodmap=$HOME/.Xmodmap
|
||||||
sysresources=/etc/X11/xinit/Xresources
|
sysresources=/etc/X11/xinit/Xresources
|
||||||
sysmodmap=/etc/X11/xinit/Xmodmap
|
sysmodmap=/etc/X11/xinit/Xmodmap
|
||||||
|
|
Loading…
Reference in a new issue