Update 2024-08-18 19:51 OpenBSD/amd64-x13

This commit is contained in:
c0dev0id 2024-08-18 19:51:08 +02:00
parent 2bceec6708
commit 223d3fa4cf
4 changed files with 13 additions and 2 deletions

View File

@ -28,6 +28,7 @@ COLOR_SB="#AF5F00"
STERM="st -f TerminessNerdFont:pixelsize=18" STERM="st -f TerminessNerdFont:pixelsize=18"
BTERM="st -f TerminessNerdFont:pixelsize=24" BTERM="st -f TerminessNerdFont:pixelsize=24"
HTERM="st -f spleen:pixelsize=32" HTERM="st -f spleen:pixelsize=32"
HTERM="st -f JetBrainsMonoNerdFont:pixelsize=20"
# #
# DMENU # DMENU

View File

@ -3,7 +3,7 @@
# cat /etc/rc.conf.local # 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) cur="$(sndioctl -n server.device | cut -d"(" -f1)"
case $1 in case $1 in
+) sndioctl server.device=$(( cur + 1 )) > /dev/null 2>&1 \ +) sndioctl server.device=$(( cur + 1 )) > /dev/null 2>&1 \
|| echo "Max device reached"; ;; || echo "Max device reached"; ;;
@ -13,7 +13,7 @@ case $1 in
|| echo "Device $1 not available"; ;; || echo "Device $1 not available"; ;;
esac esac
now=$(sndioctl -n server.device) now="$(sndioctl -n server.device | cut -d"(" -f1)"
echo "Active server.device=$now" echo "Active server.device=$now"
dmesg | grep -B2 ^audio$now | grep " at " | head -n 1 dmesg | grep -B2 ^audio$now | grep " at " | head -n 1

Binary file not shown.

View File

@ -51,6 +51,7 @@ hi DiffText ctermbg=red ctermfg=NONE cterm=NONE
hi VertSplit ctermbg=NONE ctermfg=246 cterm=NONE hi VertSplit ctermbg=NONE ctermfg=246 cterm=NONE
hi FoldColumn ctermbg=NONE ctermfg=251 cterm=NONE hi FoldColumn ctermbg=NONE ctermfg=251 cterm=NONE
hi Folded ctermbg=233 ctermfg=251 cterm=NONE hi Folded ctermbg=233 ctermfg=251 cterm=NONE
hi ErrorMsg ctermbg=NONE ctermfg=160 cterm=NONE
" ########################################### " ###########################################
" # TOGGLES / SETTINGS " # TOGGLES / SETTINGS
@ -140,6 +141,15 @@ nnoremap <leader>h :History<CR>
let g:tagbar_ctags_bin = "ectags" let g:tagbar_ctags_bin = "ectags"
noremap <F12> :TagbarToggle<CR> noremap <F12> :TagbarToggle<CR>
noremap mm :silent make \| redraw! <CR>
nnoremap <Up> gk
nnoremap <Down> gj
xnoremap <Up> gk
xnoremap <Down> gj
inoremap <Up> <C-O>gk
inoremap <Down> <C-O>gj
" ########################################### " ###########################################
" # TAGS FILE " # TAGS FILE
" ########################################### " ###########################################