summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2023-12-09 21:16:09 -0500
committerBenjamin Chausse <benjamin@chausse.xyz>2023-12-09 21:16:09 -0500
commita74a51b84b1a36a5021531403778bf1be2125676 (patch)
tree5e85d7e602835df227611d53a3b2663dae76003e
parentf907157f21addf81c052904287d45ebcd45e3004 (diff)
quick fixes
-rw-r--r--.config/fontconfig/fonts.conf7
-rw-r--r--.config/sxhkd/sxhkdrc4
-rw-r--r--.config/zsh/.zshrc2
-rw-r--r--.profile6
-rw-r--r--.xinitrc7
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 @@
<family>Vulf Mono</family>
<family>Cousine Nerd Font</family>
<family>GoMono Nerd Font</family>
- <family>Lig LinLibertineMO Nerd Font</family>
- <family>Lig Linux Libertine Mono O</family>
- <family>Linux Libertine Mono O</family>
- <family>Brutalist Mono</family>
- <family>Cartograph Mono CF</family>
- <family>Maison Mono</family>
- <family>Liberation Mono</family>
</prefer>
</alias>
</fontconfig>
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