From 6ccb0c265a8a5cd9d491f40c9812f84ad7fac4a9 Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Wed, 25 Oct 2023 12:40:20 -0400 Subject: xinitrc sources per-hostname configs --- .config/fontconfig/fonts.conf | 3 +-- .config/startup/battlestation | 10 ++++++++++ .config/zsh/.zshrc | 6 ++++++ .profile | 4 +++- .xinitrc | 3 +-- 5 files changed, 21 insertions(+), 5 deletions(-) create mode 100644 .config/startup/battlestation 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 @@ sans-serif - Titillium - Joy Pixels + Vulf Sans Noto Color Emoji 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 -- cgit v1.2.3