mirror of
https://codeberg.org/andyscott/dotfiles.git
synced 2024-11-08 13:30:47 -05:00
bash: remove gtk dpi scaling, redirect river log to XDG_STATE_HOME
This commit is contained in:
parent
b106c6392a
commit
af77c8e850
1 changed files with 3 additions and 7 deletions
|
@ -19,16 +19,12 @@ export XDG_STATE_HOME="${HOME}/.local/state"
|
||||||
export _JAVA_AWT_WM_NONREPARENTING=1
|
export _JAVA_AWT_WM_NONREPARENTING=1
|
||||||
|
|
||||||
# GPG passphrase prompt
|
# GPG passphrase prompt
|
||||||
export GPG_TTY=$(tty)
|
GPG_TTY=$(tty)
|
||||||
|
export GPG_TTY
|
||||||
|
|
||||||
# Mozilla + Wayland
|
# Mozilla + Wayland
|
||||||
export MOZ_ENABLE_WAYLAND=1
|
export MOZ_ENABLE_WAYLAND=1
|
||||||
|
|
||||||
{{ if eq .chezmoi.hostname "helix" -}}
|
|
||||||
# Scale GTK applicatons
|
|
||||||
export GDK_SCALE=2 GDK_DPI_SCALE=0.50
|
|
||||||
{{- end }}
|
|
||||||
|
|
||||||
## No littering in $HOME!
|
## No littering in $HOME!
|
||||||
|
|
||||||
# bash
|
# bash
|
||||||
|
@ -81,4 +77,4 @@ export XAUTHORITY="${XDG_RUNTIME_DIR}/Xauthority"
|
||||||
[[ -f ~/.bashrc ]] && . ~/.bashrc
|
[[ -f ~/.bashrc ]] && . ~/.bashrc
|
||||||
|
|
||||||
# start river
|
# start river
|
||||||
[[ -z $DISPLAY && $(tty) = "/dev/tty1" ]] && exec dbus-run-session river
|
[[ -z $DISPLAY && $(tty) = "/dev/tty1" ]] && exec dbus-run-session river 2> "${XDG_STATE_HOME}"/river.log >/dev/null
|
Loading…
Reference in a new issue