commit 06494bd84f13b3663ef7b778f99e0170d03fd02c
parent 9135d6317304e01fdede4de4804d349a55fc5625
Author: pyratebeard <root@pyratebeard.net>
Date: Fri, 8 Dec 2023 19:33:43 +0000
XDG and path updates
Diffstat:
3 files changed, 17 insertions(+), 3 deletions(-)
diff --git a/xinit/.xinitrc b/xinit/.xinitrc
@@ -3,6 +3,9 @@
# ░▄▀▄░░█░░█░█░░█░░░█░░░
# ░▀░▀░▀▀▀░▀░▀░▀▀▀░░▀░░░
+# stop raidsync from hogging system
+sudo sysctl -w dev.raid.speed_limit_max=1000
+
# merge in defaults and keymaps
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
@@ -61,10 +64,11 @@ clipmenud &
#2bwm &
# load resources.
-xrdb -load ~/.Xdefaults
+xrdb -load ~/.config/urxvt/.Xdefaults
# set up monitors
-xrandr --output DP-1 --off --output DP-2 --off --output HDMI-1 --off --output HDMI-2 --mode 1920x1080 --pos 1920x0 --rotate left --output DVI-D-1 --primary --mode 1920x1080 --pos 0x336 --rotate normal
+#xrandr --output DP-1 --off --output DP-2 --off --output HDMI-1 --off --output HDMI-2 --mode 1920x1080 --pos 1920x0 --rotate left --output DVI-D-1 --primary --mode 1920x1080 --pos 0x336 --rotate normal
+xrandr --output DP-1 --off --output DP-2 --off --output HDMI-1 --off --output HDMI-2 --mode 1920x1080 --pos 1920x0 --rotate normal --output DVI-D-1 --primary --mode 1920x1080 --rotate normal
# start urxvtd (specify LANG so fonts work correctly - remember â)
LANG=en_US.UTF-8 urxvtd -q -o -f
diff --git a/zsh/.zsh/environment.zsh b/zsh/.zsh/environment.zsh
@@ -3,6 +3,16 @@
# timestamps
#HIST_STAMPS=mm/dd/yyyy
+export XDG_CONFIG_HOME="$HOME"/.config/
+export XAPPLRESDIR="$XDG_CONFIG_HOME"/urxvt/
+export GOPATH="$HOME"/.local/lib/go
+export XDG_DATA_HOME="$HOME"/.local/share
+export XDG_CACHE_HOME="$HOME"/.local/cache
+export XDG_STATE_HOME="$HOME"/.local/state
+export XDG_RUNTIME_DIR="${XDG_RUNTIME_DIR:=/tmp}"
+#export ZDOTDIR="$HOME"/.config/zsh
+export GNUPGHOME="$XDG_DATA_HOME"/gpg
+
# paths
export PATH=$PATH:$HOME/bin:/usr/local/bin:$HOME/.gem/ruby/2.6.0/bin:$HOME/.cargo/bin
export GOPATH=$HOME/src/go
diff --git a/zsh/.zsh/welcome.zsh b/zsh/.zsh/welcome.zsh
@@ -24,7 +24,7 @@ if [[ ! -v SSH_TTY ]] ; then
tmux list-sessions >/dev/null 2>&1 || script
# run on first tmux pane
if [[ $TMUX_PANE == "%0" ]] && [[ ! -v VIMRUNTIME ]]; then
- $HOME/bin/ahoy
+ $HOME/.local/bin/ahoy
fi
#cat ~/tmp/logo5
fi