From ff1dfb49ab1eec7e9412261c56bcdb69cbe06ce1 Mon Sep 17 00:00:00 2001 From: Luca Matei Pintilie Date: Sat, 3 Aug 2024 11:40:07 +0200 Subject: silence warnings --- .profile | 24 +++--------------------- 1 file changed, 3 insertions(+), 21 deletions(-) (limited to '.profile') diff --git a/.profile b/.profile index e41354d..32b9729 100755 --- a/.profile +++ b/.profile @@ -41,6 +41,7 @@ XDG_CACHE_DIR="$HOME/.cache" GOPATH="$XDG_CACHE_DIR/go" PNPM_HOME="$HOME/.local/share/pnpm" MANPAGER="nvim +Man!" +SVDIR="$HOME/.config/service" export DENO_INSTALL export DENO_NO_UPDATE_CHECK @@ -52,6 +53,7 @@ export XDG_CONFIG_HOME export XDG_CACHE_DIR export GOPATH export PNPM_HOME +export SVDIR export GOPROXY export EDITOR @@ -60,26 +62,6 @@ export BAT_THEME export TERMINAL export MANPAGER -SWAY_PROCESSES="$(pgrep sway)" - -# Sway specific -if [ -n "$SWAY_PROCESSES" ] -then - SDL_VIDEODRIVER="wayland" - _JAVA_AWT_WM_NONREPARENTING=1 - QT_QPA_PLATFORM="wayland" - XDG_CURRENT_DESKTOP="sway" - XDG_SESSION_DESKTOP="sway" - XDG_SESSION_TYPE="wayland" - - export SDL_VIDEODRIVER - export _JAVA_AWT_WM_NONREPARENTING - export QT_QPA_PLATFORM - export XDG_CURRENT_DESKTOP - export XDG_SESSION_DESKTOP - export XDG_SESSION_TYPE -fi - PATH="$PNPM_HOME:\ $GOPATH/bin:\ $DENO_INSTALL/bin:\ @@ -90,7 +72,7 @@ $HOME/.luarocks/bin:\ $HOME/.dotnet/tools:\ $PATH" -if [ -n "$(which gem)" ] +if [ -n "$(which gem 2> /dev/null)" ] then GEM_HOME="$(gem env user_gemhome)" export GEM_HOME -- cgit v1.2.3