Browse Source

system: move GUI-related env vars to /etc/environment

master
FollieHiyuki 3 months ago
parent
commit
d483163cda
Signed by: FollieHiyuki GPG Key ID: 813CF484F4993419
  1. 9
      home/.bashrc-bloated
  2. 9
      home/.config/fish/conf.d/env.fish
  3. 9
      home/.config/zsh/.zshenv
  4. 1
      home/.ssh/environment
  5. 19
      system/etc/environment

9
home/.bashrc-bloated

@ -48,8 +48,6 @@ export SVDIR=$HOME/.local/share/service
export _JAVA_AWT_WM_NONREPARENTING=1
export GPG_TTY="$(tty)"
export GOPROXY=direct
# pfetch
export PF_INFO="ascii title kernel wm shell uptime pkgs memory"
# fzf
export FZF_DEFAULT_OPTS="--multi --layout=reverse --inline-info
--bind alt-j:preview-down,alt-k:preview-up
@ -65,13 +63,6 @@ export FZF_CTRL_T_COMMAND="fd --follow --hidden --exclude .git"
export FZF_ALT_C_OPTS="--preview 'exa -1a --sort=type --color always --icons {} 2>/dev/null'"
export FZF_ALT_C_COMMAND="fd --type d --follow --hidden --exclude .git"
export FZF_TMUX=1
# ibus
export GTK_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
export QT_IM_MODULE=ibus
# qt5ct
export QT_QPA_PLATFORMTHEME=qt5ct
export QT_PLATFORM_PLUGIN=qt5ct
# .NET
export DOTNET_CLI_TELEMETRY_OPTOUT=1
# zoxide

9
home/.config/fish/conf.d/env.fish

@ -59,8 +59,6 @@ set -gx SVDIR $HOME/.local/share/service
set -gx _JAVA_AWT_WM_NONREPARENTING 1
set -gx GPG_TTY (tty)
set -gx GOPROXY direct
# pfetch
set -gx PF_INFO "ascii title kernel wm shell uptime pkgs memory"
# fzf
set -gx FZF_DEFAULT_OPTS "--multi --layout=reverse --inline-info
--bind alt-j:preview-down,alt-k:preview-up
@ -76,13 +74,6 @@ set -gx FZF_CTRL_T_COMMAND "fd . \$dir --follow --hidden --exclude .git"
set -gx FZF_ALT_C_OPTS "--preview 'exa -1a --sort=type --color always --icons {} 2>/dev/null'"
set -gx FZF_ALT_C_COMMAND "fd --type d --follow --hidden --exclude .git"
set -gx FZF_TMUX 1
# ibus
set -gx GTK_IM_MODULE ibus
set -gx XMODIFIERS @im=ibus
set -gx QT_IM_MODULE ibus
# qt5ct
set -gx QT_QPA_PLATFORMTHEME qt5ct
set -gx QT_PLATFORM_PLUGIN qt5ct
# .NET
set -gx DOTNET_CLI_TELEMETRY_OPTOUT 1
# nodenv

9
home/.config/zsh/.zshenv

@ -46,8 +46,6 @@ export SVDIR=$XDG_DATA_HOME/service
export _JAVA_AWT_WM_NONREPARENTING=1
export GPG_TTY="$(tty)"
export GOPROXY=direct
# pfetch
export PF_INFO="ascii title kernel wm shell uptime pkgs memory"
# fzf
export FZF_DEFAULT_OPTS="--multi --layout=reverse --inline-info
--bind alt-j:preview-down,alt-k:preview-up
@ -63,13 +61,6 @@ export FZF_CTRL_T_COMMAND="fd --follow --hidden --exclude .git"
export FZF_ALT_C_OPTS="--preview 'exa -1a --sort=type --color always --icons {} 2>/dev/null'"
export FZF_ALT_C_COMMAND="fd --type d --follow --hidden --exclude .git"
export FZF_TMUX=1
# ibus
export GTK_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
export QT_IM_MODULE=ibus
# qt5ct
export QT_QPA_PLATFORMTHEME=qt5ct
export QT_PLATFORM_PLUGIN=qt5ct
# .NET
export DOTNET_CLI_TELEMETRY_OPTOUT=1
# nodenv

1
home/.ssh/environment

@ -1 +0,0 @@
TERM=xterm-256color

19
system/etc/environment

@ -0,0 +1,19 @@
########
# ibus #
########
# GTK_IM_MODULE=ibus
# XMODIFIERS=@im=ibus
# QT_IM_MODULE=ibus
##########
# fcitx5 #
##########
GTK_IM_MODULE=fcitx
XMODIFIERS=@im=fcitx
QT_IM_MODULE=fcitx
#########
# qt5ct #
#########
QT_QPA_PLATFORMTHEME=qt5ct
QT_PLATFORM_PLUGIN=qt5ct