From 054a6a0e6a03faf3bb97e44ffdf380b8787d098a Mon Sep 17 00:00:00 2001 From: c0dev0id Date: Fri, 8 Dec 2023 18:02:01 +0100 Subject: [PATCH] Update 2023-12-08 18:02 OpenBSD/amd64-x13 --- .Xdefaults | 19 +++++++++++++++++++ .bin/_config | 1 + .bin/apps/settings | 7 +++++++ .bin/sndevice | 2 +- .kshrc | 1 - .notion/cfg_statusbar.lua | 4 ++-- .notion/look_codevoid.lua | 3 ++- .vim/vimrc | 2 +- 8 files changed, 33 insertions(+), 6 deletions(-) diff --git a/.Xdefaults b/.Xdefaults index 466868d..d2c9806 100644 --- a/.Xdefaults +++ b/.Xdefaults @@ -191,3 +191,22 @@ Zutty.fontsize: 16 Zutty.fontpath: /home/sdk/.fonts Zutty.bg: #121212 Zutty.cr: #FF6A00 + +! URxvt specific +URxvt*font: xft:Terminus-18 +URxvt*boldFont: xft:Terminus-18 +URxvt*italicFont: xft:Terminus-18 + +URxvt*background: #121212 +URxvt*foreground: #eee8d5 +URxvt*cursorColor: #FFA600 +URxvt*scrollBar: false + +URxvt*intensityStyles: false + +!URxvt.depth: 24 +URxvt.jumpScroll: true +URxvt.iso14755: true +URxvt.letterSpace: 0 +URxvt.lineSpace: 4 +URxvt.geometry: 400x400 diff --git a/.bin/_config b/.bin/_config index e426d54..af94778 100644 --- a/.bin/_config +++ b/.bin/_config @@ -9,6 +9,7 @@ FONTSIZE_DMENU=$FONTSIZE_SMALL # TERMINALS # +#STERM="urxvtc -fn xft:${FONTNAME}:pixelsize=${FONTSIZE_SMALL}" STERM="st -f ${FONTNAME}:pixelsize=${FONTSIZE_SMALL}" BTERM="st -f ${FONTNAME}:pixelsize=${FONTSIZE_BIG}" HTERM="st -f spleen:pixelsize=32" diff --git a/.bin/apps/settings b/.bin/apps/settings index b593a5c..d74eea1 100755 --- a/.bin/apps/settings +++ b/.bin/apps/settings @@ -1,6 +1,12 @@ #!/bin/sh . $HOME/.bin/_config + +audio_devlist() { + +} + + SEL=$(printf "BACKLIGHT\nAUDIODEVICE\nLIDACTION\nSCREEN\nCONFIGFILES" \ | $DMENU_CMD -p Mailbox) @@ -10,6 +16,7 @@ case $SEL in doas wsconsctl display.brightness=$S ;; "AUDIODEVICE") + L=audio_devlist D=$(printf "0\n1\n2\n3\n4\n5" | $DMENU_CMD -p AudioDevice) sndioctl server.device=$D ;; diff --git a/.bin/sndevice b/.bin/sndevice index 32496ad..235d2e2 100755 --- a/.bin/sndevice +++ b/.bin/sndevice @@ -1,7 +1,7 @@ #!/bin/sh # cat /etc/rc.conf.local -# sndiod_flags=-f rsnd/0 -F rsnd/1 -F rsnd/2 -F rsnd/3 +# sndiod_flags=-f rsnd/0 -F rsnd/1 -F rsnd/2 -F rsnd/3 ... cur=$(sndioctl -n server.device) case $1 in diff --git a/.kshrc b/.kshrc index 84482f8..205c59f 100644 --- a/.kshrc +++ b/.kshrc @@ -446,7 +446,6 @@ portclean() {( cd /usr/ports doas rm -rf pobj/* plist logs packages bulk update distfiles/* mkdir -p plist logs packages bulk update - #doas chown -R sdk:_pbuild /usr/ports/ doas make fix-permissions )} pmark() { pwd > /var/cache/pmark; } diff --git a/.notion/cfg_statusbar.lua b/.notion/cfg_statusbar.lua index dd4310f..4971941 100644 --- a/.notion/cfg_statusbar.lua +++ b/.notion/cfg_statusbar.lua @@ -21,12 +21,12 @@ mod_statusbar.create { -- %workspace_name_pager -- %workspace_num_name_pager - template="%workspace_pager %filler %systray % %shellbar | %date", + template="%workspace_pager %filler %systray % %shellbar %date", } -- Launch ion-statusd. This must be done after creating any statusbars -- for necessary statusd modules to be parsed from the templates. -- mod_statusbar.launch_statusd { -- shellbar, --- date={ date_format='| %a %Y-%m-%d %H:%M', }, +-- date={ date_format=' %a %Y-%m-%d %H:%M', }, -- } diff --git a/.notion/look_codevoid.lua b/.notion/look_codevoid.lua index 47e42ca..d672c03 100644 --- a/.notion/look_codevoid.lua +++ b/.notion/look_codevoid.lua @@ -13,7 +13,7 @@ de.defstyle("*", { highlight_pixels = 1, shadow_pixels = 1, border_style = "elevated", - font = "xft:Terminus:pixelsize=13", + font = "xft:Terminus:pixelsize=15", text_align = "center", }) @@ -93,6 +93,7 @@ de.defstyle("stdisp", { shadow_pixels = 0, highlight_pixels = 0, text_align = "left", + font = "xft:CozetteVector:pixelsize=13", background_colour = "#222222", de.substyle("important", { diff --git a/.vim/vimrc b/.vim/vimrc index defc9f8..af78f09 100644 --- a/.vim/vimrc +++ b/.vim/vimrc @@ -49,7 +49,7 @@ set smarttab set textwidth=72 " set colorcolumn=72 -"set formatprg=par\ -w72q +set formatprg=par\ -w72q set list set listchars=tab:»·,trail:•