openbsd-dotfiles

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

commit e24743272883abbb9a800f0c9413fe9cec36713d
parent 9fe4b26e60f6ae4e33b6f7c780004c2e05d86bcf
Author: Kaustubh Banerjee <mail@kausban.com>
Date:   Fri, 15 Oct 2021 10:04:44 +0200

Update 2021-10-15 10:04 OpenBSD/amd64

Diffstat:
A.config/sxhkd/sxhkdrc.openbsd | 66++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
A.xsession | 45+++++++++++++++++++++++++++++++++++++++++++++
M.zshenv | 1+
3 files changed, 112 insertions(+), 0 deletions(-)

diff --git a/.config/sxhkd/sxhkdrc.openbsd b/.config/sxhkd/sxhkdrc.openbsd @@ -0,0 +1,66 @@ +################################################## +#basic + +super + z + dmenu-recent + +super + y + dmenu-recent + +super + e + tabbed -c st -w + +super + c + clipmenu + +################################################## +# Et cetera + +super + numbersign + dmenuunicode + +super + F3 + slock + +XF86Tools + toggle-touchbar + +super + Print + maimpick + +super + adiaeresis ; e + killall -SIGUSR2 dunst && dunstify -r 99 "notifications enabled" + +super + adiaeresis ; d + dunstify -r 99 "notifications silenced" && sleep 1 && killall -SIGUSR1 dunst + +super + minus + dunstctl close + +super + adiaeresis ; x + dunstctl close-all + +super + adiaeresis ; c + dunstctl context + +super + adiaeresis ; h + dunstctl history-pop + +# Mount a USB drive or Android device +super + {F9,F10} + {dmenumount,dmenuumount} + +################################################## +#Fnc keys + +XF86AudioMute + dvol mute; +XF86Audio{Raise,Lower}Volume + dvol {up,down}; +XF86AudioMicMute + amixer set Capture toggle; +XF86Display + displayselect +XF86MonBrightness{Up,Down} + dlight -{i,d} 5 + diff --git a/.xsession b/.xsession @@ -0,0 +1,45 @@ +# use UTF-8 everywhere +export LANG=en_US.UTF-8 + +# specify location of zshenv. #alt .kshrc +export ENV=$HOME/.zshenv + +# load Xresources file +xrdb -merge $HOME/.config/X11/xresources + +# delay and repeat +xset r rate 500 50 + +# set your background color +xsetroot -solid dimgray + +# ulimit for nextcloud +ulimit -n 7030 + +# xidle will lock your display after a period of inactivity +xidle -delay 5 -sw -program "/usr/local/bin/slock" -timeout 180 & + +# disable system beep +xset b off + +# caps and ctrl +setxkbmap -option ctrl:swap_lalt_lctl +setxkbmap -option caps:ctrl_modifier + +# enable scrolling with trackpoint and middle button +xinput set-prop "/dev/wsmouse" "WS Pointer Wheel Emulation" 1 +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 & +#while true; do +# xsetroot -name "$( date +"%F %R" )" +# sleep 1m # Update time every minute +#done & + +dwm + diff --git a/.zshenv b/.zshenv @@ -8,6 +8,7 @@ export HISTFILE="$ZDOTDIR"/.zsh_history typeset -U PATH path export PATH="/home/lamdacore/.bin:$PATH" export PATH="/home/lamdacore/.emacs.d/bin:$PATH" +export PATH="/home/lamdacore/.local/share/cargo/bin:$PATH" export SUDO_ASKPASS="/home/lamdacore/.bin/dmenupass" export TERMINAL="st" export BROWSER="firefox"