initial commit
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
# ---------------------------------------------------------------------------
|
||||
# ~/.xprofile — sourced by .xinitrc and by most display managers.
|
||||
# Put environment variables here, not in .xinitrc, so both login paths agree.
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# --- XDG -------------------------------------------------------------------
|
||||
export XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}"
|
||||
export XDG_DATA_HOME="${XDG_DATA_HOME:-$HOME/.local/share}"
|
||||
export XDG_CACHE_HOME="${XDG_CACHE_HOME:-$HOME/.cache}"
|
||||
export XDG_STATE_HOME="${XDG_STATE_HOME:-$HOME/.local/state}"
|
||||
export XDG_CURRENT_DESKTOP=i3
|
||||
export XDG_SESSION_DESKTOP=i3
|
||||
export XDG_SESSION_TYPE=x11
|
||||
|
||||
# --- PATH ------------------------------------------------------------------
|
||||
case ":$PATH:" in
|
||||
*":$HOME/.local/bin:"*) ;;
|
||||
*) export PATH="$HOME/.local/bin:$PATH" ;;
|
||||
esac
|
||||
|
||||
# --- defaults --------------------------------------------------------------
|
||||
export TERMINAL=kitty
|
||||
export EDITOR=nvim
|
||||
export VISUAL=nvim
|
||||
export PAGER=less
|
||||
export BROWSER=xdg-open
|
||||
|
||||
# --- toolkit theming -------------------------------------------------------
|
||||
export GTK_THEME="catppuccin-macchiato-mauve-standard+default"
|
||||
export QT_QPA_PLATFORMTHEME=qt5ct
|
||||
export QT_AUTO_SCREEN_SCALE_FACTOR=1
|
||||
export QT_WAYLAND_DISABLE_WINDOWDECORATION=1
|
||||
export XCURSOR_THEME="catppuccin-macchiato-dark-cursors"
|
||||
export XCURSOR_SIZE=24
|
||||
|
||||
# --- Java apps need this to render under a non-reparenting WM --------------
|
||||
export _JAVA_AWT_WM_NONREPARENTING=1
|
||||
export AWT_TOOLKIT=MToolkit
|
||||
|
||||
# --- Firefox / Electron: touchpad smooth scrolling + wayland off -----------
|
||||
export MOZ_USE_XINPUT2=1
|
||||
|
||||
# --- keyboard --------------------------------------------------------------
|
||||
# Uncomment and adapt if you want caps-lock as an extra escape:
|
||||
# setxkbmap -option caps:escape
|
||||
|
||||
# --- create the standard user directories the first time round ------------
|
||||
command -v xdg-user-dirs-update >/dev/null 2>&1 && xdg-user-dirs-update
|
||||
Reference in New Issue
Block a user