From a74a51b84b1a36a5021531403778bf1be2125676 Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Sat, 9 Dec 2023 21:16:09 -0500 Subject: quick fixes --- .config/fontconfig/fonts.conf | 7 ------- .config/sxhkd/sxhkdrc | 4 ++-- .config/zsh/.zshrc | 2 +- .profile | 6 ++++++ .xinitrc | 7 ++++++- 5 files changed, 15 insertions(+), 11 deletions(-) diff --git a/.config/fontconfig/fonts.conf b/.config/fontconfig/fonts.conf index b36ded9..0b18be1 100644 --- a/.config/fontconfig/fonts.conf +++ b/.config/fontconfig/fonts.conf @@ -31,13 +31,6 @@ Vulf Mono Cousine Nerd Font GoMono Nerd Font - Lig LinLibertineMO Nerd Font - Lig Linux Libertine Mono O - Linux Libertine Mono O - Brutalist Mono - Cartograph Mono CF - Maison Mono - Liberation Mono diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc index c6e1387..74abf77 100644 --- a/.config/sxhkd/sxhkdrc +++ b/.config/sxhkd/sxhkdrc @@ -150,7 +150,7 @@ super + p flameshot gui ## TODOs (orgmode-nvim) super + space - dropdowntoggle orgmode nvim $HOME/Dropbox/org/home.org + dropdowntoggle orgmode nvim $HOME/Dropbox/org/index.norg ## Terminal Calculator super + a dropdowntoggle calc tmux-r @@ -216,7 +216,7 @@ super + Print #-# Special Keys #-# ## Increase/decrease Volume {XF86AudioRaiseVolume, XF86AudioLowerVolume} - volumectl 5 {+,-} + volumectl 1 {+,-} ## Max-Out Volume shift + XF86AudioRaiseVolume volumectl 100 diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index d1aa444..7ec7bc0 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -81,7 +81,7 @@ 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() { +mkcd() { mkdir -p -- "$1" && cd -P -- "$1" } diff --git a/.profile b/.profile index 6123bc4..4f6edba 100644 --- a/.profile +++ b/.profile @@ -21,6 +21,7 @@ export XDG_CONFIG_HOME=$HOME/.config export XDG_DATA_HOME=$HOME/.local/share export R_PROFILE_USER=$HOME/.config/R/Rprofile export ZDOTDIR=$HOME/.config/zsh +export TEXMFHOME=$XDG_DATA_HOME/texmf # Applications export EDITOR=$(which nvim) @@ -43,6 +44,11 @@ export LESS_TERMCAP_ue=$'\e[0m' # end underline shortcutgen aliasgen +# Ensure XDG_RUNTIME_DIR is set +if test -z "$XDG_RUNTIME_DIR"; then + export XDG_RUNTIME_DIR=$(mktemp -d /tmp/$(id -u)-runtime-dir.XXX) +fi + # Start Desktop Environment if on the main TTY if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then startx diff --git a/.xinitrc b/.xinitrc index ba30e5f..935c5bc 100644 --- a/.xinitrc +++ b/.xinitrc @@ -1,5 +1,6 @@ $HOME/.dropbox-dist/dropboxd & $XDG_CONFIG_HOME/startup/$(hostname) & +gentoo-pipewire-launcher & makewall & sxhkd & dunst & @@ -8,9 +9,13 @@ picom -b & echo us > $HOME/.cache/layout xrdb -load $HOME/.Xresources flashfocus -n 30 -t 150 -l never -o 0.75 -v ERROR & +$HOME/.screenlayout/battlestation-dualmon.sh & dwmblocks & remaps & while true; do - dwm >/dev/null +# Start dwm (loop restarts it if it crashes) +# dwm >/dev/null +# Trying to launch dwm with dbus-launch + dbus-launch --exit-with-session dwm done # vim:filetype=sh -- cgit v1.2.3