From f0be4e3b5fa02798534e9e86bcb70ad198a0200f Mon Sep 17 00:00:00 2001 From: self Date: Tue, 12 Jul 2022 16:55:01 +0100 Subject: changes in .zshenv for cargo install --- .xinitrc | 8 ++++++-- zsh/.zshenv | 2 ++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.xinitrc b/.xinitrc index 53a6740..1f2db64 100644 --- a/.xinitrc +++ b/.xinitrc @@ -7,7 +7,7 @@ export SHELL=/bin/zsh # Set shell to zsh # wmname LG3D & # For getting Java applications, e.g. Pycharm, Rider to work. # Launch the Window Manager with a Parameter -session=${1:-dwm} +session=${1:-ferrwm} run_dwm() { # Run all applications that go hand in hand w/ dwm @@ -19,8 +19,12 @@ run_dwm() { } +run_ferrwm() { + RUST_LOG=trace && ferrwm +} + case $session in - i3|i3wm ) exec i3;; + ferrwm ) run_ferrwm ;; dwm ) run_dwm ;; # No known session, try to run it as command esac diff --git a/zsh/.zshenv b/zsh/.zshenv index 8bc7359..addc57f 100644 --- a/zsh/.zshenv +++ b/zsh/.zshenv @@ -6,11 +6,13 @@ export XDG_STATE_HOME="$HOME/.local/state" # Path Directories export PATH="$PATH:$HOME/.local/bin" +export PATH="$PATH:$XDG_DATA_HOME/cargo/bin" # Other # export XAUTHORITY="$XDG_RUNTIME_DIR/Xauthority" export RUSTUP_HOME="$XDG_DATA_HOME/rustup" export CARGO_HOME="$XDG_DATA_HOME/cargo" +export CARGO_INSTALL_ROOT="$CARGO_HOME" export KDEHOME="$XDG_CONFIG_HOME/kde4" export GTK_RC_FILES="$XDG_CONFIG_HOME"/gtk-1.0/gtkrc export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc -- cgit v1.2.1