openbsd-dotfiles

Base configurations for my Openbsd desktop
git clone https://git.kausban.com/openbsd-dotfiles/raw/.git
Log | Files | Refs

commit 6cc4e70568916ef100e663717971caa9411b96f6
parent 638ba3515f4aa06980c621fea3f77ea431f55506
Author: KB <mail@kausban.com>
Date:   Fri, 13 Dec 2024 11:01:24 +0100

Update 2024-12-13 11:01 OpenBSD/amd64

Diffstat:
M.config/X11/xresources | 3++-
M.config/zsh/.zshrc.local | 6+++---
M.xsession | 11++++++++---
M.zshenv | 6++++++
Mports/dwm/config.h | 2+-
5 files changed, 20 insertions(+), 8 deletions(-)

diff --git a/.config/X11/xresources b/.config/X11/xresources @@ -11,7 +11,8 @@ Emacs.font: Iosevka-10 !! Transparency (0-1): st.alpha: 1 !! Set a default font and font size as below: -st.font: iosevka-10; +!!st.font: iosevka-10; +st.font: spleen-12x24 ! st.termname: st-256color ! st.borderpx: 2 diff --git a/.config/zsh/.zshrc.local b/.config/zsh/.zshrc.local @@ -8,9 +8,9 @@ dotfiles_autoupdate() { alias kbus="setxkbmap us altgr-intl -option 'ctrl:swap_lalt_lctl' -option 'caps:ctrl_modifier' -option 'shift:breaks_caps'" alias kbde="setxkbmap de -option 'ctrl:swap_lalt_lctl' -option 'caps:ctrl_modifier' -option 'shift:breaks_caps'" -autoload _fzf_key_bindings _fzf_completion -_fzf_key_bindings -_fzf_completion +alias home_pool="mount_nfs -T 10.0.1.30:/mnt/zpool/home_pool ~/sync/home_pool" + +source <(fzf --zsh) #xterm title function xterm_title_precmd () { diff --git a/.xsession b/.xsession @@ -36,14 +36,19 @@ xinput set-prop "/dev/wsmouse" "WS Pointer Wheel Emulation Button" 2 xinput set-prop "/dev/wsmouse" "WS Pointer Wheel Emulation Axes" 6 7 4 5 sxhkd -c ~/.config/sxhkd/sxhkdrc.openbsd & -dunst & picom -b xwallpaper --zoom ~/.config/wall.png slstatus & + +dunst & + + #while true; do # xsetroot -name "$( date +"%F %R" )" # sleep 1m # Update time every minute #done & -dwm - +#dwm +exec dbus-launch --exit-with-session --sh-syntax dwm + + diff --git a/.zshenv b/.zshenv @@ -9,6 +9,7 @@ typeset -U PATH path export PATH="/home/kb/.bin:$PATH" export PATH="/home/kb/.emacs.d/bin:$PATH" export PATH="/home/kb/.local/share/cargo/bin:$PATH" +export PATH="/home/kb/.local/bin:$PATH" export SUDO_ASKPASS="/home/kb/.bin/dmenupass" export TERMINAL="st" export BROWSER="firefox" @@ -41,6 +42,11 @@ export JULIA_CPU_THREADS=16 export JULIA_NUM_THREADS=16 export JULIA_EDITOR="emacs" +## python +export PYENV_ROOT="/home/kb/.local/pyenv" +[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH" +eval "$(pyenv init -)" + ## firefox export MOZ_X11_EGL=1 export MOZ_ACCELERATED=1 diff --git a/ports/dwm/config.h b/ports/dwm/config.h @@ -85,7 +85,7 @@ static const Layout layouts[] = { /* commands */ static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */ -static const char *dmenucmd[] = { "dmenu-recent", NULL }; +static const char *dmenucmd[] = { "dmenu_run", NULL }; static const char *termcmd[] = { "tabbed", "-c", "st", "-w", NULL }; static const char scratchpadname[] = "scratchpad"; static const char *scratchpadcmd[] = { "st", "-t", scratchpadname, "-g", "85x20+600+10", NULL };