From bda30ddfeac03c635bb21dc40dbb5c2ba70d35d0 Mon Sep 17 00:00:00 2001 From: c0dev0id Date: Tue, 1 Oct 2024 17:54:06 +0200 Subject: [PATCH] Update 2024-10-01 17:54 OpenBSD/amd64-t14 --- .Xdefaults | 2 +- .bin/_config | 10 +++++----- .bin/scratchpad | 2 +- .config/spectrwm/spectrwm.conf | 4 ++-- .gnupg/pinentry-dmenu.conf | 2 +- .vim/vimrc | 6 ++++++ 6 files changed, 16 insertions(+), 10 deletions(-) diff --git a/.Xdefaults b/.Xdefaults index 1dc5125..915b109 100644 --- a/.Xdefaults +++ b/.Xdefaults @@ -6,7 +6,7 @@ Xcursor.theme: xterm.cursorTheme: ! -- XFT -- ! -Xft.dpi: 96 +Xft.dpi: 125 Xft.rgba: none Xft.lcdfilter: 0 diff --git a/.bin/_config b/.bin/_config index a9c2443..35f2658 100644 --- a/.bin/_config +++ b/.bin/_config @@ -29,16 +29,16 @@ FONT=IosevkaTerm # FONT=Spleen # FONT=JetBrainsMonoNerdFont # FONT=FuraCodeNerdFontMono -SIZE=18 -STERM="st -f $FONT:pixelsize=$SIZE" -BTERM="st -f $FONT:pixelsize=$(( SIZE + 6 ))" -HTERM="st -f $FONT:pixelsize=$(( SIZE + 12 ))" +SIZE=16 +STERM="st -f $FONT:size=$SIZE" +BTERM="st -f $FONT:size=$(( SIZE + 6 ))" +HTERM="st -f $FONT:size=$(( SIZE + 12 ))" # # DMENU # -DMENUOPTS="-fn Terminus:pixelsize=20:style=bold \ +DMENUOPTS="-fn Terminus:size=20:style=bold \ -nb $COLOR_NB \ -nf $COLOR_NF \ -sf $COLOR_SF \ diff --git a/.bin/scratchpad b/.bin/scratchpad index e2f145c..365a140 100755 --- a/.bin/scratchpad +++ b/.bin/scratchpad @@ -14,7 +14,7 @@ GAP=$(( RESH / 12 )) H=$(( RESH - 2 * GAP )) V=$(( RESV - 2 * GAP )) -COLUMNS=176 +COLUMNS=170 ROWS=37 # set the quirk in .config/spectrwm/spectrwm.conf diff --git a/.config/spectrwm/spectrwm.conf b/.config/spectrwm/spectrwm.conf index c01ca82..eedcb20 100644 --- a/.config/spectrwm/spectrwm.conf +++ b/.config/spectrwm/spectrwm.conf @@ -41,8 +41,8 @@ bar_font_color = rgb:99/99/99 bar_font_color_free = rgb:99/99/99 bar_font_color_selected = rgb:ff/ff/ff -bar_font = Terminess Nerd Font:pixelsize=18:style=bold -bar_font_pua = JetBrainsMonoNerdFont:pixelsize=13 +bar_font = Terminess Nerd Font:size=17:style=bold +bar_font_pua = JetBrainsMonoNerdFont:size=12 bar_action = cbar bar_action_expand = 0 diff --git a/.gnupg/pinentry-dmenu.conf b/.gnupg/pinentry-dmenu.conf index 41435af..f8c25fc 100644 --- a/.gnupg/pinentry-dmenu.conf +++ b/.gnupg/pinentry-dmenu.conf @@ -1,6 +1,6 @@ asterisk = "*"; prompt = ""; -font = "JetBrainsMonoNerdFont:pixelsize=15"; +font = "JetBrainsMonoNerdFont:size=15"; bottom = false; prompt_fg = "#FFFFFF"; diff --git a/.vim/vimrc b/.vim/vimrc index 5c59c47..9e1100d 100644 --- a/.vim/vimrc +++ b/.vim/vimrc @@ -255,6 +255,12 @@ endif " CUSTOM: # highlights, n searches. nmap # :let @/ = expand('')\|set hlsearch +" CUSTOM: root save +function RootSave() + :exec 'w !doas dd of=' . shellescape(expand('%')) + :set nomodified +endfunction + " PLUGIN: TAGBAR nmap :TagbarToggle let g:tagbar_ctags_bin = "ectags"