Update 2023-12-04 17:43 OpenBSD/amd64-x13
This commit is contained in:
parent
241adee410
commit
865a9e051b
@ -178,7 +178,16 @@ XConsole*y: 870
|
||||
XConsole*width: 620
|
||||
XConsole*height: 160
|
||||
|
||||
! -- XFONTSEL -- !
|
||||
XFontSel.printOnQuit: True
|
||||
XFontSel.pattern: -*-*-medium-r-normal-*-*-*-*-*-*-*-iso10646-1
|
||||
XFontSel*Font: lucidasanstypewriter-14
|
||||
|
||||
! -- ZUTTY -- !
|
||||
Zutty.altScroll: true
|
||||
Zutty.boldColors: false
|
||||
Zutty.font: SourceCodePro-Medium
|
||||
Zutty.fontsize: 16
|
||||
Zutty.fontpath: /home/sdk/.fonts
|
||||
Zutty.bg: #121212
|
||||
Zutty.cr: #FF6A00
|
||||
|
35
.bin/_config
35
.bin/_config
@ -1,37 +1,36 @@
|
||||
#!/bin/sh
|
||||
|
||||
# FONTS
|
||||
#
|
||||
SFONT="-slavfox-cozettehidpi-medium-r-normal--26-240-75-75-m-120-iso10646-1"
|
||||
BFONT="-slavfox-cozette-medium-r-normal--13-120-75-75-m-60-iso10646-1"
|
||||
HFONT="FuraCodeNerdFontMono:pixelsize=28"
|
||||
HFONT="LuxiMono:pixelsize=28"
|
||||
|
||||
DFONT="CozetteHidpi:pixelsize=26"
|
||||
NFONT="Termsyn:pixelsize=9"
|
||||
FONTNAME="Terminus"
|
||||
FONTSIZE_SMALL=18
|
||||
FONTSIZE_BIG=26
|
||||
FONTSIZE_DMENU=$((FONTSIZE_SMALL - 0))
|
||||
|
||||
# TERMINALS
|
||||
#
|
||||
STERM="st -f ${SFONT}"
|
||||
BTERM="st -f ${BFONT}"
|
||||
HTERM="st -f ${HFONT}"
|
||||
NTERM="st -f ${NFONT}"
|
||||
STERM="st -f ${FONTNAME}:pixelsize=${FONTSIZE_SMALL}"
|
||||
BTERM="st -f ${FONTNAME}:pixelsize=${FONTSIZE_BIG}"
|
||||
|
||||
# NOTION ORANGE
|
||||
#DMENUOPTS="-fn '$DFONT' -nb #181818 -nf #707070 -sf #FFA600 -sb #222222 -l 18 -i -f"
|
||||
HTERM="zutty -font SourceCodePro-Medium -fontsize ${FONTSIZE_BIG}"
|
||||
|
||||
# BSPWM
|
||||
#DMENUOPTS="-fn '$DFONT' -nb #222222 -nf #707070 -sf #CCCCCC -sb #222222 -i -f"
|
||||
DFONT=${FONTNAME}:pixelsize=${FONTSIZE_DMENU}
|
||||
[ "$WM" == "notion" ] \
|
||||
&& DMENUOPTS="-fn $DFONT -nb #181818 -nf #707070 -sf #FFA600 -sb #222222 -l 18 -i -f"
|
||||
|
||||
# SPECTRWM GREY
|
||||
DMENUOPTS="-fn $DFONT -nb #181818 -nf #999999 -sf #CCCCCC -sb #181818 -i -f"
|
||||
[ "$WM" == "bspwm" ] \
|
||||
&& DMENUOPTS="-fn $DFONT -nb #222222 -nf #707070 -sf #CCCCCC -sb #222222 -i -f"
|
||||
|
||||
[ "$WM" == "spectrwm" ] \
|
||||
&& DMENUOPTS="-fn $DFONT -nb #181818 -nf #999999 -sf #CCCCCC -sb #181818 -i -f"
|
||||
|
||||
DMENU_CMD="dmenu $DMENUOPTS"
|
||||
DMENURUN_CMD="dmenu_run $DMENUOPTS"
|
||||
|
||||
notify_func() {
|
||||
P=" "
|
||||
/usr/local/bin/notify-send \
|
||||
" $(date +%H:%M) $@ "
|
||||
" $(date +%H:%M) $P $@ $P"
|
||||
}
|
||||
NOTIFY_CMD=notify_func
|
||||
|
||||
|
15
.bin/rec_scr
15
.bin/rec_scr
@ -1,6 +1,12 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
doas rcctl set sndiod flags -f rsnd/0 -m play -s play -m mon -s mon -F rsnd/1 -m rec -s rec
|
||||
doas rcctl restart sndiod
|
||||
export AUDIOPLAYDEVICE=snd/0.play
|
||||
export AUDIOMONDEVICE=snd/0.mon
|
||||
export AUDIORECDEVICE=snd/1.rec
|
||||
|
||||
_vidfile="/home/sdk/rec-screen.mkv"
|
||||
_outfile="/home/sdk/rec-encoded-$(date "+%Y%m%d_%H%M%S").mp4"
|
||||
|
||||
@ -8,7 +14,7 @@ _res="1920x1080"
|
||||
_fps="24"
|
||||
|
||||
_mon_dev="snd/mon"
|
||||
_mic_dev="snd/default"
|
||||
_mic_dev="snd/rec"
|
||||
|
||||
_mon_in="-thread_queue_size 16 -use_wallclock_as_timestamps 1 -f sndio -i ${_mon_dev}"
|
||||
_mon_proc="-c:a pcm_s16le"
|
||||
@ -45,3 +51,10 @@ ffmpeg -hide_banner -y \
|
||||
"${_outfile}"
|
||||
set +x
|
||||
printf '%s\n' "${_outfile}"
|
||||
|
||||
|
||||
doas rcctl set sndiod flags -f rsnd/0 -F rsnd/1 -F rsnd/2 -F rsnd/3 -F rsnd/4 -F rsnd/5 -m play -s default
|
||||
doas rcctl restart sndiod
|
||||
|
||||
unset AUDIOPLAYDEVICE
|
||||
unset AUDIORECDEVICE
|
||||
|
@ -35,7 +35,8 @@ bar_color_selected = rgb:18/24/28
|
||||
bar_font_color = rgb:99/99/99,rgb:ff/6A/00,red
|
||||
bar_font_color_selected = rgb:ff/ff/ff
|
||||
bar_font_color_free = rgb:99/99/99
|
||||
bar_font = CozetteHidpi:pixelsize=26
|
||||
bar_font = Terminus:pixelsize=18
|
||||
bar_font_pua = CozetteVector:pixelsize=13
|
||||
bar_action = cbar
|
||||
bar_action_expand = 0
|
||||
bar_at_bottom = 0
|
||||
|
@ -1,6 +1,6 @@
|
||||
asterisk = "*";
|
||||
prompt = "";
|
||||
font = "CozetteHidpi:pixelsize=26";
|
||||
font = "Terminus:pixelsize=18";
|
||||
bottom = false;
|
||||
|
||||
prompt_fg = "#FFFFFF";
|
||||
|
10
.kshrc
10
.kshrc
@ -454,7 +454,15 @@ pdiff() {(
|
||||
alias port-modgo-update='make MODGO_VERSION=latest modgo-gen-modules > modules.inc'
|
||||
|
||||
# DPB
|
||||
alias proot-rebuild="doas proot -c /etc/proot.conf; doas chroot /home/dpb pkg_add -Dsnap ccache"
|
||||
|
||||
proot-rebuild() {
|
||||
doas proot -c /etc/proot.conf
|
||||
doas chroot /home/dpb pkg_add -Dsnap ccache cmake gmake go rust lua--%5.1 gtk+3--
|
||||
doas chroot /home/dpb pkg_add -Dsnap gtk+4-- harfbuzz-- webkitgtk40-- webkitgtk41--
|
||||
doas chroot /home/dpb pkg_add -Dsnap webkitgtk60-- qt6-qtbase-- qtbase-- qtwebengine--
|
||||
doas chroot /home/dpb pkg_add -Dsnap qtwebkit-- python--%3.10
|
||||
}
|
||||
|
||||
alias proot-do="doas chroot /home/dpb/"
|
||||
alias dmake="doas /usr/ports/infrastructure/bin/dpb -B /home/dpb -c -I "
|
||||
alias dpb-control="ssh openbsd.codevoid.de \"doas nc -U /usr/ports/logs/amd64/control-openbsd-*\""
|
||||
|
@ -13,7 +13,7 @@ de.defstyle("*", {
|
||||
highlight_pixels = 1,
|
||||
shadow_pixels = 1,
|
||||
border_style = "elevated",
|
||||
font = "xft:Cozette:pixelsize=13",
|
||||
font = "xft:Envy Code R:pixelsize=13",
|
||||
text_align = "center",
|
||||
})
|
||||
|
||||
@ -93,7 +93,7 @@ de.defstyle("stdisp", {
|
||||
shadow_pixels = 0,
|
||||
highlight_pixels = 0,
|
||||
text_align = "left",
|
||||
font = "xft:Cozette:pixelsize=13",
|
||||
font = "xft:Envy Code R:pixelsize=13",
|
||||
background_colour = "#222222",
|
||||
|
||||
de.substyle("important", {
|
||||
|
Loading…
Reference in New Issue
Block a user