From be10da81b24847ebb82fcfd7130b89868407b526 Mon Sep 17 00:00:00 2001 From: Rekai Musuka Date: Thu, 27 Oct 2022 03:37:29 -0300 Subject: [PATCH] chore: move things to systemd user env --- .config/environment.d/devkitpro.conf | 4 ++++ .config/environment.d/fcitx5.conf | 3 +++ .config/environment.d/qt5.conf | 1 + .pam_environment | 3 --- .zshenv | 11 ++--------- 5 files changed, 10 insertions(+), 12 deletions(-) create mode 100644 .config/environment.d/devkitpro.conf create mode 100644 .config/environment.d/fcitx5.conf create mode 100644 .config/environment.d/qt5.conf delete mode 100644 .pam_environment diff --git a/.config/environment.d/devkitpro.conf b/.config/environment.d/devkitpro.conf new file mode 100644 index 0000000..d3465c6 --- /dev/null +++ b/.config/environment.d/devkitpro.conf @@ -0,0 +1,4 @@ +# DevKitPro +DEVKITPRO=/opt/devkitpro +DEVKITARM=/opt/devkitpro/devkitARM +DEVKITPPC=/opt/devkitpro/devkitPPC \ No newline at end of file diff --git a/.config/environment.d/fcitx5.conf b/.config/environment.d/fcitx5.conf new file mode 100644 index 0000000..a3ad8d8 --- /dev/null +++ b/.config/environment.d/fcitx5.conf @@ -0,0 +1,3 @@ +GTK_IM_MODULE = fcitx +QT_IM_MODULE = fcitx +XMODIFIERS = "@im=fcitx" \ No newline at end of file diff --git a/.config/environment.d/qt5.conf b/.config/environment.d/qt5.conf new file mode 100644 index 0000000..f08c6bd --- /dev/null +++ b/.config/environment.d/qt5.conf @@ -0,0 +1 @@ +QT_QPA_PLATFORMTHEME=qt5ct diff --git a/.pam_environment b/.pam_environment deleted file mode 100644 index f07739f..0000000 --- a/.pam_environment +++ /dev/null @@ -1,3 +0,0 @@ -GTK_IM_MODULE DEFAULT=fcitx -QT_IM_MODULE DEFAULT=fcitx -XMODIFIERS DEFAULT=\@im=fcitx diff --git a/.zshenv b/.zshenv index 8ef917f..b68ecea 100644 --- a/.zshenv +++ b/.zshenv @@ -20,12 +20,5 @@ export PATH="/opt/zls/bin:$PATH" # Yarn Global export PATH="$HOME/.yarn/bin:$PATH" -# QT5 on GNOME -export QT_QPA_PLATFORMTHEME="qt5ct" - -# DevKitPro -export DEVKITPRO=/opt/devkitpro -export DEVKITARM=/opt/devkitpro/devkitARM -export DEVKITPPC=/opt/devkitpro/devkitPPC - -export PATH="/opt/devkitpro/tools/bin:$PATH"; +# DevKitPro +export PATH="/opt/devkitpro/tools/bin:$PATH" \ No newline at end of file