summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2023-10-25 12:40:20 -0400
committerBenjamin Chausse <benjamin@chausse.xyz>2023-10-25 12:40:20 -0400
commit6ccb0c265a8a5cd9d491f40c9812f84ad7fac4a9 (patch)
tree7a11b57f95e81e94528181caa8c3724536ed909f
parent4bab74779bcc7b5dcb1cb63e8eb7bec74519eb2f (diff)
xinitrc sources per-hostname configs
-rw-r--r--.config/fontconfig/fonts.conf3
-rw-r--r--.config/startup/battlestation10
-rw-r--r--.config/zsh/.zshrc6
-rw-r--r--.profile4
-rw-r--r--.xinitrc3
5 files changed, 21 insertions, 5 deletions
diff --git a/.config/fontconfig/fonts.conf b/.config/fontconfig/fonts.conf
index 18f95df..b36ded9 100644
--- a/.config/fontconfig/fonts.conf
+++ b/.config/fontconfig/fonts.conf
@@ -12,8 +12,7 @@
<alias>
<family>sans-serif</family>
<prefer>
- <family>Titillium</family>
- <family>Joy Pixels</family>
+ <family>Vulf Sans</family>
<family>Noto Color Emoji</family>
</prefer>
</alias>
diff --git a/.config/startup/battlestation b/.config/startup/battlestation
new file mode 100644
index 0000000..ed7355f
--- /dev/null
+++ b/.config/startup/battlestation
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+# Pipewire setup:
+gentoo-pipewire-launcher &
+
+# Load Nvidia X Server Settings
+nvidia-settings --load-config-only &
+
+# Load stacked dual monitor configuration
+$XDG_CONFIG_HOME ~/.screenlayout/battlestation-dualmon.sh &
diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc
index 60790f1..ca70102 100644
--- a/.config/zsh/.zshrc
+++ b/.config/zsh/.zshrc
@@ -80,6 +80,12 @@ RPROMPT="\$vcs_info_msg_0_ %B%F{magenta}(%B%F{cyan}%1/%B%F{magenta})"
zstyle ':vcs_info:git:*' formats '%b'
+# Quickly navigate to a created directory
+function mkcd() {
+ mkdir -p -- "$1" &&
+ cd -P -- "$1"
+}
+
# Loading shortcuts made by aliasgen and shortcutgen
source $HOME/.cache/zsh-aliases*
source $HOME/.cache/zsh-shortcuts
diff --git a/.profile b/.profile
index cfc75db..6123bc4 100644
--- a/.profile
+++ b/.profile
@@ -1,11 +1,13 @@
# Path
export SCRIPTS=$HOME/.local/bin
export PATH=$PATH$( find $SCRIPTS/ -type d -printf ":%p" )
+export GOPATH=$HOME/.go
+export PATH=$PATH:$GOPATH/bin
export PATH=$PATH:$HOME/.cargo/bin
export PATH=$PATH:/root/.local/bin
export PATH=$PATH:$HOME/.local/bin
export PATH=$PATH:/usr/local/go/bin
-export GOPATH=$HOME/.go
+export PATH=$PATH:/usr/local/go/bin
# QT & GTK
export QT_QPA_PLATFORMTHEME="qt5ct"
diff --git a/.xinitrc b/.xinitrc
index b685cb4..ba30e5f 100644
--- a/.xinitrc
+++ b/.xinitrc
@@ -1,5 +1,5 @@
$HOME/.dropbox-dist/dropboxd &
-$HOME/.screenlayout/office.sh &
+$XDG_CONFIG_HOME/startup/$(hostname) &
makewall &
sxhkd &
dunst &
@@ -13,5 +13,4 @@ remaps &
while true; do
dwm >/dev/null
done
-# exec icewm
# vim:filetype=sh