openbsd-dotfiles

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

commit 024bc71d89f7399028c4f7beeaf392028ebe4831
parent e24743272883abbb9a800f0c9413fe9cec36713d
Author: KB <lamdacore@tzen2.lan.kausban.com>
Date:   Thu, 28 Apr 2022 00:24:52 +0200

update for tzen2 and obsd7.1

Diffstat:
M.bin/dmenu-recent | 2+-
M.bin/dmenu-symbol | 2+-
M.config/dunst/dunstrc | 2+-
M.gitignore | 1+
M.zshenv | 2+-
Mabs/dwm/patch-config_def_h | 10+++++-----
Mabs/slstatus/config.def.h | 2+-
7 files changed, 11 insertions(+), 10 deletions(-)

diff --git a/.bin/dmenu-recent b/.bin/dmenu-recent @@ -4,7 +4,7 @@ set -euo pipefail # Originally based on code by Dieter Plaetinck. # Pretty much re-written by Mina Nagy (mnzaki) -dmenu_cmd="dmenu -i -p > -fn monospace:size=10 -nb #222222 -nf #bbbbbb -sb #005577 -sf #eeeeee" +dmenu_cmd="dmenu -i -p > -fn monospace:size=12 -nb #222222 -nf #bbbbbb -sb #005577 -sf #eeeeee" terminal="st -e" max_recent=199 # Number of recent commands to track diff --git a/.bin/dmenu-symbol b/.bin/dmenu-symbol @@ -3,7 +3,7 @@ # Shows the selected character in dunst if running. # Get user selection via dmenu from emoji file. -chosen=$(grep -v "#" -h ~/.config/dmenuunicode/unicode_emoji.txt ~/.config/dmenuunicode/unicode_greek.txt ~/.config/dmenuunicode/unicode_math.txt ~/.config/dmenuunicode/unicode_latin.txt | dmenu -i -l 20 -fn mono-10 | sed "s/ .*//") +chosen=$(grep -v "#" -h ~/.config/dmenuunicode/unicode_emoji.txt ~/.config/dmenuunicode/unicode_greek.txt ~/.config/dmenuunicode/unicode_math.txt ~/.config/dmenuunicode/unicode_latin.txt | dmenu -i -l 20 -fn mono-12 | sed "s/ .*//") # Exit if none chosen. [ -z "$chosen" ] && exit diff --git a/.config/dunst/dunstrc b/.config/dunst/dunstrc @@ -24,7 +24,7 @@ sort = yes idle_threshold = 120 - font = Monospace 12 + font = Monospace 8 line_height = 0 markup = full diff --git a/.gitignore b/.gitignore @@ -48,3 +48,4 @@ Thumbs.db *.mov *.wmv +.cfg diff --git a/.zshenv b/.zshenv @@ -44,7 +44,7 @@ export JULIA_EDITOR="emacs" ## firefox export MOZ_X11_EGL=1 export MOZ_ACCELERATED=1 -export MOZ_WEBRENDERER=1 +export MOZ_WEBRENDER=1 ## java export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel -Dswing.crossplatformlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel' diff --git a/abs/dwm/patch-config_def_h b/abs/dwm/patch-config_def_h @@ -1,5 +1,3 @@ -$OpenBSD$ - Index: config.def.h --- config.def.h.orig +++ config.def.h @@ -27,7 +25,7 @@ Index: config.def.h static const char col_gray1[] = "#222222"; static const char col_gray2[] = "#444444"; static const char col_gray3[] = "#bbbbbb"; -@@ -18,6 +25,17 @@ static const char *colors[][3] = { +@@ -18,38 +25,57 @@ static const char *colors[][3] = { [SchemeSel] = { col_gray4, col_cyan, col_cyan }, }; @@ -43,9 +41,11 @@ Index: config.def.h +static const unsigned int gappx = 4; /* gap pixel between windows */ + /* tagging */ - static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }; +-static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }; ++static const char *tags[] = { "१", "२", "३", "४", "५", "६", "७", "८", "९" }; -@@ -26,30 +44,38 @@ static const Rule rules[] = { + static const Rule rules[] = { + /* xprop(1): * WM_CLASS(STRING) = instance, class * WM_NAME(STRING) = title */ diff --git a/abs/slstatus/config.def.h b/abs/slstatus/config.def.h @@ -65,7 +65,7 @@ static const char unknown_str[] = "n/a"; */ static const struct arg args[] = { /* function format argument */ - { wifi_essid, "[ 📶 %s ]", "iwm0"}, + { wifi_essid, "[ 📶 %s ]", "iwx0"}, { datetime, " [ %s ]", "%Y %b %e (%a) %R" }, { battery_state, " [ %s", NULL}, { battery_perc, "%s%% ] ", NULL},