Update 2023-03-28 18:19 OpenBSD/amd64

This commit is contained in:
c0dev0id 2023-03-28 18:19:41 +02:00
parent 9e409020f3
commit 5e04647389
12 changed files with 255 additions and 481 deletions

View File

@ -1,5 +1,153 @@
! $OpenBSD: dot.Xdefaults,v 1.3 2014/07/10 10:22:59 jasper Exp $
XTerm*loginShell:true
! -- CURSOR --!
"Xcursor.size: 32
"Xcursor.size: 32
Xcursor.size:
Xcursor.theme:
xterm.cursorTheme:
!Xcursor.theme: Adwaita
!Xcursor.size: 64
! -- XIDLE -- !
XIdle*position: sw
XIdle*delay: 1
XIdle*timeout: 300
! -- XLOCK -- !
xlock.description: off
xlock.echokeys: off
xlock.info:
xlock.background: #181818
xlock.foreground: #D6D5D3
xlock.mode: blank
xlock.username: username:
xlock.password: password:
! -- XCLOCK -- !
xclock*analog: false
xclock*update: 1
xclock*background: #181818
xclock*foreground: #D6D5D3
! -- XPDF -- !
xpdf*enableFreetype: yes
xpdf*antialias: yes
xpdf*urlCommand: chrome %s
xpdf*viKeys: on
! -- XCALC -- !
xcalc.ti.background: #282828
xcalc.ti.bevel.background: #181818
xcalc.ti.bevel.screen.background: #181818
xcalc.ti.bevel.screen.OCT.background: #181818
xcalc.ti.bevel.screen.OCT.foreground: LightSeaGreen
xcalc.ti.bevel.screen.HEX.background: #181818
xcalc.ti.bevel.screen.HEX.foreground: LightSeaGreen
xcalc.ti.bevel.screen.DEC.background: #181818
xcalc.ti.bevel.screen.DEC.foreground: LightSeaGreen
xcalc.ti.bevel.screen.DEG.background: #181818
xcalc.ti.bevel.screen.DEG.foreground: LightSeaGreen
xcalc.ti.bevel.screen.GRAD.background: #181818
xcalc.ti.bevel.screen.GRAD.foreground: LightSeaGreen
xcalc.ti.bevel.screen.RAD.background: #181818
xcalc.ti.bevel.screen.RAD.foreground: LightSeaGreen
xcalc.ti.bevel.screen.INV.background: #181818
xcalc.ti.bevel.screen.INV.foreground: Red
xcalc.ti.bevel.screen.LCD.background: #181818
xcalc.ti.bevel.screen.LCD.foreground: LightSeaGreen
xcalc.ti.bevel.screen.LCD.shadowWidth: 0
xcalc.ti.bevel.screen.M.background: #181818
xcalc.ti.bevel.screen.M.foreground: LightSeaGreen
xcalc.ti.bevel.screen.P.background: #181818
xcalc.ti.bevel.screen.P.foreground: Yellow
xcalc.ti.Command.foreground: White
xcalc.ti.Command.background: #777777
xcalc.ti.button5.background: Orange3
xcalc.ti.button17.background: #611161
xcalc.ti.button18.background: #611161
xcalc.ti.button19.background: #611161
xcalc.ti.button20.background: #611111
xcalc.ti.button25.background: #722222
xcalc.ti.button30.background: #833333
xcalc.ti.button35.background: #944444
xcalc.ti.button40.background: #a55555
xcalc.ti.button45.background: #a55555
xcalc.ti.button50.background: #a55555
xcalc.ti.button22.background: #222262
xcalc.ti.button23.background: #222262
xcalc.ti.button24.background: #222272
xcalc.ti.button27.background: #333373
xcalc.ti.button28.background: #333373
xcalc.ti.button29.background: #333373
xcalc.ti.button32.background: #444484
xcalc.ti.button33.background: #444484
xcalc.ti.button34.background: #444484
xcalc.ti.button37.background: #555595
xcalc.ti.button38.background: #555595
xcalc.ti.button39.background: #555595
xcalc.ti.button42.background: #555595
xcalc.ti.button43.background: #555595
xcalc.ti.button44.background: #555595
xcalc.ti.button47.background: #555595
xcalc.ti.button48.background: #555595
xcalc.ti.button49.background: #555595
xcalc.ti.button52.background: #555595
xcalc*cursor: hand2
xcalc*shapestyle: rectangle
! -- XMESSAGE -- !
xmessage.form.okay.shapeStyle: rectangle
xmessage.form.okay.background: #555595
xmessage.form.okay.foreground: #D6D5D3
xmessage*background: #181818
xmessage*foreground: #D6D5D3
xmessage*defaultButton: okay
Xmessage.form.message.Scroll: WhenNeeded
! -- XDVI -- !
xdvi.wwwbrowser: chrome
xdvi.gsAlpha: true
xdvi.unique: true
xdvi.watchFile: 10
! -- GNUPLOT -- !
gnuplot*background: white
gnuplot*textColor: black
gnuplot*borderColor: black
gnuplot*axisColor: black
gnuplot*line1Color: red
gnuplot*line2Color: green
gnuplot*line3Color: blue
gnuplot*line4Color: magenta
gnuplot*line5Color: cyan
gnuplot*line6Color: sienna
gnuplot*line7Color: orange
gnuplot*line8Color: coral
! -- XTERM -- !
xterm*loginShell:true
xterm*faceName: AnonymiceNerdFont
xterm*faceSize: 11
xterm*allowTitleOps: false
xterm*bufferedFPS: 60
xterm*hold: false
xterm*sessionMgt: false
xterm*allowBoldFonts: false
xterm*allowsends: false
xterm*background: #000000
xterm*foreground: #D6D5D3
xterm*cursorColor: #990000
xterm*scrollBar: false
xterm*color0: #181818
xterm*color1: #dc322f
xterm*color2: #859900
xterm*color3: #b58900
xterm*color4: #268bd2
xterm*color5: #d33682
xterm*color6: #2aa198
xterm*color7: #D6D5D3
xterm*color8: #000000
xterm*color9: #cb4b16
xterm*color10: #5B6900
xterm*color11: #7E6000
xterm*color12: #045E9D
xterm*color13: #A62E68
xterm*color14: #127E76
xterm*color15: #eee8d5

View File

@ -1,398 +0,0 @@
! -- TomorrowNightBright -- !
#define color0 #181818
#define color1 #dc322f
#define color2 #859900
#define color3 #b58900
#define color4 #268bd2
#define color5 #d33682
#define color6 #2aa198
#define color7 #D6D5D3
#define color8 #000000
#define color9 #cb4b16
#define color10 #5B6900
#define color11 #7E6000
#define color12 #045E9D
#define color13 #A62E68
#define color14 #127E76
#define color15 #eee8d5
#define FG #D6D5D3
#define BG #000000
#define CC #990000
#define EDITOR nvi
#define BROWSER qutebrowser
#define XFONT -misc-tamsyn-medium-r-normal--15-108-100-100-c-80-iso8859-1
! -- SET DEFAULTS -- !
*.foreground: FG
*.background: BG
*.cursorColor: CC
! *.font: XFONT
*.color0: color0
*.color1: color1
*.color2: color2
*.color3: color3
*.color4: color4
*.color5: color5
*.color6: color6
*.color7: color7
*.color8: color8
*.color9: color9
*.color10: color10
*.color11: color11
*.color12: color12
*.color13: color13
*.color14: color14
*.color15: color15
! ! -- XCURSOR -- !
! #ifdef SRVR_x1_home_codevoid_de
! Xcursor.theme: dmz
Xcursor.size: 32
! #endif
! -- XFT SETTINGS -- !
! default
! Xft.dpi: 96
Xft.autohint: 0
Xft.lcdfilter: lcddefault
Xft.hintstyle: hintslight
Xft.hinting: 1
Xft.antialias: 1
Xft.rgba: rgb
! -- XIDLE -- !
XIdle*position: sw
XIdle*delay: 1
XIdle*timeout: 300
! -- XLOCK -- !
xlock.description: off
xlock.echokeys: off
xlock.info:
xlock.background: color0
xlock.foreground: FG
xlock.mode: blank
xlock.username: username:
xlock.password: password:
xlock.font: XFONT
xlock.planfont: XFONT
! -- XCAL -- !
xcalendar*firstDay: 1
xcalendar*markHoliday: false
! -- XCLOCK -- !
xclock*analog: false
xclock*update: 1
xclock*Foreground: FG
xclock*background: color0
! -- XPDF -- !
xpdf*enableFreetype: yes
xpdf*antialias: yes
xpdf*foreground: color5
xpdf*background: color0
xpdf*urlCommand: BROWSER %s
xpdf*viKeys: on
! -- XCALC -- !
xcalc*geometry: 200x275
xcalc.ti.bevel.background: #111111
xcalc.ti.bevel.screen.background: #000000
xcalc.ti.bevel.screen.DEG.background: #000000
xcalc.ti.bevel.screen.DEG.foreground: LightSeaGreen
xcalc.ti.bevel.screen.GRAD.background: #000000
xcalc.ti.bevel.screen.GRAD.foreground: LightSeaGreen
xcalc.ti.bevel.screen.RAD.background: #000000
xcalc.ti.bevel.screen.RAD.foreground: LightSeaGreen
xcalc.ti.bevel.screen.INV.background: #000000
xcalc.ti.bevel.screen.INV.foreground: Red
xcalc.ti.bevel.screen.LCD.background: #000000
xcalc.ti.bevel.screen.LCD.foreground: LightSeaGreen
xcalc.ti.bevel.screen.LCD.shadowWidth: 0
xcalc.ti.bevel.screen.M.background: #000000
xcalc.ti.bevel.screen.M.foreground: LightSeaGreen
xcalc.ti.bevel.screen.P.background: #000000
xcalc.ti.bevel.screen.P.foreground: Yellow
xcalc.ti.Command.foreground: White
xcalc.ti.Command.background: #777777
xcalc.ti.button5.background: Orange3
xcalc.ti.button19.background: #611161
xcalc.ti.button18.background: #611161
xcalc.ti.button20.background: #611111
xcalc.ti.button25.background: #722222
xcalc.ti.button30.background: #833333
xcalc.ti.button35.background: #944444
xcalc.ti.button40.background: #a55555
xcalc.ti.button22.background: #222262
xcalc.ti.button23.background: #222262
xcalc.ti.button24.background: #222272
xcalc.ti.button27.background: #333373
xcalc.ti.button28.background: #333373
xcalc.ti.button29.background: #333373
xcalc.ti.button32.background: #444484
xcalc.ti.button33.background: #444484
xcalc.ti.button34.background: #444484
xcalc.ti.button37.background: #555595
xcalc.ti.button38.background: #555595
xcalc.ti.button39.background: #555595
xcalc*cursor: hand2
xcalc*shapestyle: rectangle
! -- XMESSAGE -- !
.xmessage.form.okay.shapeStyle: rectangle
.xmessage.form.okay.background: BG
.xmessage.form.okay.foreground: FG
xmessage*message*background: color0
xmessage*defaultButton: okay
Xmessage.form.message.Scroll: WhenNeeded
! -- XDVI -- !
xdvi.background: color0
xdvi.wwwbrowser: BROWSER -Un
xdvi.gsAlpha: true
xdvi.unique: true
xdvi.watchFile: 10
! -- HERBE -- !
herbe.background_color: #181818
herbe.border_color: #FF6A00
herbe.font_color: #C0C0C0
herbe.font_pattern: Spleen-15
herbe.line_spacing: 5
herbe.padding: 10
herbe.width: 480
herbe.border_size: 1
herbe.pos_x: 60
herbe.pos_y: 85
! 0 = TOP_LEFT, 1 = TOP_RIGHT, 2 = BOTTOM_LEFT, 3 = BOTTOM_RIGHT
herbe.corner: 1
herbe.duration: 15
! -- GNUPLOT -- !
gnuplot*background: white
gnuplot*textColor: black
gnuplot*borderColor: black
gnuplot*axisColor: black
gnuplot*line1Color: red
gnuplot*line2Color: green
gnuplot*line3Color: blue
gnuplot*line4Color: magenta
gnuplot*line5Color: cyan
gnuplot*line6Color: sienna
gnuplot*line7Color: orange
gnuplot*line8Color: coral
! -- XOSVIEW -- !
! General Resources
xosview*geometry: 184x148
xosview*captions: true
xosview*labels: true
xosview*meterLabelColor: #cccccc
xosview*usedlabels: true
xosview*usedLabelColor: #cccccc
xosview*borderwidth: 1
xosview*font: 6x10
xosview*background: #222222
xosview*foreground: #cccccc
xosview*enableStipple: true
xosview*samplesPerSec: 10
xosview*graphNumCols: 128
! Load Meter Resources
xosview*load: true
xosview*loadCritColor: red
xosview*loadWarnColor: orange
xosview*loadProcColor: blue
xosview*loadIdleColor: green2
xosview*loadPriority: 20
xosview*loadCritThreshold: 5
xosview*loadWarnThreshold: 2
xosview*loadDecay: false
xosview*loadGraph: false
xosview*loadUsedFormat: float
! CPU Meter Resources
xosview*cpu: true
xosview*cpuUserColor: blue
xosview*cpuNiceColor: yellow
xosview*cpuSystemColor: red
xosview*cpuInterruptColor: red
xosview*cpuFreeColor: green2
xosview*cpuPriority: 1
xosview*cpuDecay: true
xosview*cpuGraph: true
xosview*cpuUsedFormat: percent
! Memory Meter Resources
xosview*mem: True
xosview*memUsedColor: blue
xosview*memSharedColor: yellow
xosview*memBufferColor: DarkOrange
xosview*memCacheColor: red
xosview*memFreeColor: green2
!xosview*memTextColor: blue
!xosview*memOtherColor: orange
!xosview*memActiveColor: blue
!xosview*memInactiveColor: lightblue
xosview*memPriority: 10
xosview*memDecay: False
xosview*memGraph: False
xosview*memUsedFormat: autoscale
! Swap Meter Resources
xosview*swap: True
xosview*swapUsedColor: blue
xosview*swapFreeColor: green2
xosview*swapReservedColor: yellow
xosview*swapPriority: 10
xosview*swapDecay: False
xosview*swapGraph: False
xosview*swapUsedFormat: autoscale
! Page Meter Resources
xosview*page: True
xosview*pageBandwidth: 120
xosview*pageInColor: blue
xosview*pageOutColor: red
xosview*pageIdleColor: green2
xosview*pagePriority: 5
xosview*pageDecay: False
xosview*pageGraph: False
xosview*pageUsedFormat: autoscale
! Network Meter Resources
xosview*net: True
xosview*netBandwidth: 25000000 ! for 100Mbit/s Ethernet (could be 12500000)
xosview*netInColor: blue
xosview*netOutColor: red
xosview*netBackground: green2
xosview*netPriority: 2
xosview*netDecay: True
xosview*netGraph: False
xosview*netUsedFormat: autoscale
! Wireless Link
xosview*quality: True
! Interrupt Meter Resources
xosview*interrupts: True
xosview*intOnColor: red
xosview*intOffColor: blue
xosview*intPriority: 1
! Interrupt Rate Meter Resources
xosview*irqrate: True
xosview*irqrateUsedColor: red
xosview*irqrateIdleColor: black
xosview*irqratePriority: 1
xosview*irqrateUsedFormat: autoscale
xosview*irqrateDecay: True
xosview*irqrateGraph: False
! Battery Meter Resources
xosview*battery: True
xosview*batteryLeftColor: blue
xosview*batteryUsedColor: red
xosview*batteryPriority: 50
xosview*batteryUsedFormat: percent
! Disk Meter Resources
xosview*disk: True
xosview*diskUsedColor: red
xosview*diskIdleColor: green2
xosview*diskWriteColor: yellow
xosview*diskReadColor: blue
xosview*diskBandwidth: 80000000 ! 80MB/s
xosview*diskPriority: 10
xosview*diskDecay: True
xosview*diskUsedFormat: autoscale
xosview*diskGraph: False
! Raid Meter Resources
xosview*RAID: False
xosview*RAIDdevicecount: 1
xosview*RAIDdiskOnlineColor: green2
xosview*RAIDdiskFailureColor: red
xosview*RAIDresyncdoneColor: yellow
xosview*RAIDresynctodoColor: red
xosview*RAIDresynccompleteColor: green
xosview*RAIDPriority: 20
xosview*RAIDUsedFormat: percent
! XTerm specific
xterm*faceName: AnonymiceNerdFont
xterm*faceSize: 11
xterm*allowTitleOps: false
xterm*bufferedFPS: 60
xterm*hold: false
xterm*sessionMgt: false
xterm*allowBoldFonts: false
xterm*allowsends: false
xterm*background: #000000
xterm*foreground: #D6D5D3
xterm*cursorColor: #990000
xterm*scrollBar: false
!xterm*charClass: 33:48,35:48,37-38:48,43-47:48,58:48,61:48,63-64:48,95:48,126:48
!xterm*on2Clicks: regex [[:alpha:]]+://([[:alnum:]!#+,./=?@_~-]|(%[[:xdigit:]][[:xdigit:]]))+
xterm*color0: #181818
xterm*color1: #dc322f
xterm*color2: #859900
xterm*color3: #b58900
xterm*color4: #268bd2
xterm*color5: #d33682
xterm*color6: #2aa198
xterm*color7: #D6D5D3
xterm*color8: #000000
xterm*color9: #cb4b16
xterm*color10: #5B6900
xterm*color11: #7E6000
xterm*color12: #045E9D
xterm*color13: #A62E68
xterm*color14: #127E76
xterm*color15: #eee8d5
! URxvt specific
URxvt*font: XFONT
URxvt*boldFont: XFONT
URxvt*italicFont: XFONT
URxvt*background: BG
URxvt*foreground: FG
URxvt*cursorColor: CC
URxvt*scrollBar: false
URxvt*color0: #181818
URxvt*color1: #dc322f
URxvt*color2: #859900
URxvt*color3: #b58900
URxvt*color4: #268bd2
URxvt*color5: #d33682
URxvt*color6: #2aa198
URxvt*color7: #D6D5D3
URxvt*color8: #000000
URxvt*color9: #cb4b16
URxvt*color10: #5B6900
URxvt*color11: #7E6000
URxvt*color12: #045E9D
URxvt*color13: #A62E68
URxvt*color14: #127E76
URxvt*color15: #eee8d5
URxvt*intensityStyles: false
URxvt.depth: 24
URxvt.iso14755: false
URxvt.letterSpace: 0
URxvt.lineSpace: 0
XTerm*cursorTheme:

View File

@ -4,21 +4,15 @@
#
# FONTS
#
#DFONT="FuraCodeNerdFont-13" # Font for dmenu
##SFONT="FuraCodeNerdFont-11" # productive
#SFONT="-uw-ttyp0-medium-r-normal--18-170-75-75-c-90-iso8859-1"
#BFONT="InputMono-15" # couch distance
#HFONT="FuraCodeNerdFont-19" # presentation
DFONT="InputMono-8" # Font for dmenu
SFONT="InputMono-8" # couch distance
BFONT="InputMono-12" # couch distance
HFONT="InputMono-14" # couch distance
DFONT="FuraCodeNerdFont-8"
SFONT="FuraCodeNerdFont-8"
BFONT="FuraCodeNerdFont-10"
HFONT="FuraCodeNerdFont-12"
#
# TERMINALS
#
STERM="st -f $SFONT"
STERM="st -f -xos4-terminus-medium-r-normal--20-200-72-72-c-100-iso10646-1"
BTERM="st -f $BFONT"
HTERM="st -f $HFONT"
@ -30,7 +24,7 @@ HTERM="st -f $HFONT"
# DMENUOPTS="-fn '$DFONT' -nb #121212 -nf #707070 -sf #FFA600 -sb #121212 -l 20 -i -f"
# SPECTRWM GREY
DMENUOPTS="-fn '$DFONT' -nb #121212 -nf #707070 -sf #CCCCCC -sb #121212 -l 20 -i -f"
DMENUOPTS="-fn '$DFONT' -nb #181818 -nf #999999 -sf #CCCCCC -sb #181818 -i -f"
DMENU_CMD="dmenu $DMENUOPTS"
DMENURUN_CMD="dmenu_run $DMENUOPTS"

View File

@ -155,28 +155,28 @@ choose_browser() {
gopher://*) DEFAULT="Lagrange (default)"; ;;
gemini://*) DEFAULT="Lagrange (default)"; ;;
*.pdf|*.cb|*.ps) DEFAULT="Zathura (default)"; ;;
192.168.*) DEFAULT="Firefox (default)"; ;;
*github.com*) DEFAULT="Firefox (default)"; ;;
*amazon.de*) DEFAULT="Firefox (default)"; ;;
*twitter.com*) DEFAULT="Firefox (default)"; ;;
*chaos.social*) DEFAULT="Firefox (default)"; ;;
*hetzner.cloud*) DEFAULT="Firefox (default)"; ;;
*hetzner.de*) DEFAULT="Firefox (default)"; ;;
*duckduckgo.com/*images*) DEFAULT="Firefox (default)"; ;;
192.168.*) DEFAULT="Chrome (default)"; ;;
*github.com*) DEFAULT="Chrome (default)"; ;;
*amazon.de*) DEFAULT="Chrome (default)"; ;;
*twitter.com*) DEFAULT="Chrome (default)"; ;;
*chaos.social*) DEFAULT="Chrome (default)"; ;;
*hetzner.cloud*) DEFAULT="Chrome (default)"; ;;
*hetzner.de*) DEFAULT="Chrome (default)"; ;;
*duckduckgo.com/*images*) DEFAULT="Chrome (default)"; ;;
*codevoid.de*) DEFAULT="Luakit (default)"; ;;
*google.*) DEFAULT="Firefox (default)"; ;;
*youtube.com*) DEFAULT="Firefox (default)"; ;;
*youtu.be*) DEFAULT="Firefox (default)"; ;;
*bsd.network*) DEFAULT="Firefox (default)"; ;;
*itch.io*) DEFAULT="Firefox (default)"; ;;
*chat.uugrn.org*) DEFAULT="Firefox (default)"; ;;
*[./]amazon.*) DEFAULT="Firefox (default)"; ;;
*comdirect.de*) DEFAULT="Firefox (default)"; ;;
*motorradfreunde-rheinneckar.de*) DEFAULT="Firefox (default)"; ;;
*polo-motorrad.com*) DEFAULT="Firefox (default)"; ;;
*peek-cloppenburg.de*) DEFAULT="Firefox (default)"; ;;
*asos.com*) DEFAULT="Firefox (default)"; ;;
*zalando.de*) DEFAULT="Firefox (default)"; ;;
*google.*) DEFAULT="Chrome (default)"; ;;
*youtube.com*) DEFAULT="Chrome (default)"; ;;
*youtu.be*) DEFAULT="Chrome (default)"; ;;
*bsd.network*) DEFAULT="Chrome (default)"; ;;
*itch.io*) DEFAULT="Chrome (default)"; ;;
*chat.uugrn.org*) DEFAULT="Chrome (default)"; ;;
*[./]amazon.*) DEFAULT="Chrome (default)"; ;;
*comdirect.de*) DEFAULT="Chrome (default)"; ;;
*motorradfreunde-rheinneckar.de*) DEFAULT="Chrome (default)"; ;;
*polo-motorrad.com*) DEFAULT="Chrome (default)"; ;;
*peek-cloppenburg.de*) DEFAULT="Chrome (default)"; ;;
*asos.com*) DEFAULT="Chrome (default)"; ;;
*zalando.de*) DEFAULT="Chrome (default)"; ;;
*) DEFAULT="Chrome (default)"; ;;
esac

View File

@ -1,6 +1,9 @@
#!/bin/sh -x
doas ifconfig trunk1 destroy
doas ifconfig trunk0 destroy
#doas ifconfig trunk1 destroy
#doas ifconfig trunk0 destroy
doas sh /etc/netstart
sleep 1
sleep 1
sleep 1
doas rcctl restart resolvd
doas rcctl restart dhcpleased

View File

@ -26,9 +26,10 @@ set -x
ffmpeg -y -loglevel error -hide_banner ${_ffmpeg_param} "${_vidfile}"
set +x
# with audio?
[ "$1" == "-a" ] \
&& _audio_encode_param="-filter_complex amix=inputs=2,stereotools=phase=5,compand=attacks=0:points=-80/-115|-35.1/-80|-35/-35|20/20 -c:a aac -b:a 160k"
# # with audio?
# [ "$1" == "-a" ] \
# && _audio_encode_param="-filter_complex amix=inputs=2,stereotools=phase=5,compand=attacks=0:points=-80/-115|-35.1/-80|-35/-35|20/20 -c:a aac -b:a 160k"
_audio_encode_param="-filter_complex amix=inputs=2,stereotools=phase=5,compand=attacks=0:points=-80/-115|-35.1/-80|-35/-35|20/20 -c:a aac -b:a 160k"
printf 'Encoding...\n'
set -x

View File

@ -8,7 +8,7 @@ WID=$(wmctrl -x -l scratchpad | fgrep '.scratchpad' | cut -d" " -f1)
if [ -z "$WID" ]
then
sterm -c scratchpad -g 156x42+240+140 &
sterm -c scratchpad -g 150x40+130+80 &
else
# check if window is iconfified or on another WS (or both)
if xwininfo -id $WID | fgrep -q IsUnMapped

View File

@ -5,13 +5,13 @@
# dynamic width from 0 to 300
# width = (0, 300)
# constant width of 300
width = 400
width = 200
# The maximum height of a single notification, excluding the frame.
height = 400
height = 200
# Position the notification in the top right corner
origin = top-right
# Offset from the origin
offset = 25x50
offset = 12x25
# Scale factor. It is auto-detected if value is 0.
scale = 0
@ -19,9 +19,9 @@
progress_bar = false
# Padding between text and separator.
padding = 8
horizontal_padding = 8
frame_width = 2
padding = 2
horizontal_padding = 2
frame_width = 1
# Defines color of the frame around the notification window.
frame_color = "#333"
@ -32,9 +32,8 @@
sort = yes
### Text ###
font = FuraCodeNerdFont-8
line_height = 2
font = "FuraCodeNerdFont 8"
line_height = 1
markup = no
# The format of the message. Possible variables are:

View File

@ -14,8 +14,8 @@ bar_color = rgb:18/18/18
bar_color_selected = rgb:18/24/28
bar_font_color = rgb:99/99/99,red
bar_font_color_selected = rgb:ff/ff/ff
bar_font = FuraCodeNerdFont-11
bar_font_pua = FuraCodeNerdFont-13
bar_font = FuraCodeNerdFont-6
bar_font_pua = FuraCodeNerdFont-6
bar_action = cbar
bar_action_expand = 1
bar_at_bottom = 0
@ -54,8 +54,20 @@ bind[sterm] = MOD+Return
program[bterm] = bterm
bind[bterm] = MOD+Shift+Return
program[devterm] = texec dev-src
bind[devterm] = MOD+Shift+D
program[bterm] = hterm
bind[bterm] = MOD+Control+Return
program[irssi] = texec x
bind[irssi] = MOD+Shift+X
program[Super] = dexec_super
bind[Super] = Super_L
program[mutt] = texec mutt
bind[mutt] = MOD+Shift+M
program[omutt] = texec mutt-openbsd-all
bind[omutt] = MOD+Shift+O
program[exec] = dexec
bind[exec] = MOD+D

40
.exrc
View File

@ -1,29 +1,45 @@
" interface
set showmode
set showmatch
set ruler
set shiftwidth=4
set tabstop=4
set tags=tags
set verbose
set leftright
set extended
set noflash
" set windowname
set number
" indentation
set shiftwidth=4
set tabstop=4
set wrapmargin=4
set expandtab
" search
set tags=tags
set iclower
set searchincr
set report=1
set number
"set expandtab
set wrapscan
set noerrorbell
set extended
set noedcompatible
" set nomodeline
" nice but messes up copy paste
"set wrapmargin=3
"set noai
"set beautify
" regular expressions
" set extended
" other
set nolock
set path=.
set cedit=
" Don't be smart with indent levels
map I 0i
" map I 0i
" Format paragraph
map gq !)par -w72qie
" map tab to 4 spaces
" map!     
" try to map backspace to c-h
" map!  

26
.kshrc
View File

@ -54,9 +54,9 @@ HISTSIZE=2000
export HISTCONTROL HISTFILE HISTSIZE
### SOFTWARE PREFERENCES
EDITOR="vim"
VISUAL="vim"
BROWSER="luakit -un"
EDITOR="nvi"
VISUAL="nvi"
BROWSER="chrome"
PAGER="less"
export EDITOR VISUAL BROWSER PAGER
@ -123,6 +123,7 @@ alias ssh-config="gpg-edit ~/.ssh/config"
alias kshrc="vim ~/.kshrc"
alias muttrc="vim ~/.mutt/rc-common"
alias vimrc="vim ~/.vim/vimrc"
alias exrc="vim ~/.exrc"
alias kludges="vim ~/.notion/cfg_kludges.lua"
alias spectrwmrc="vim ~/.config/spectrwm/spectrwm.conf"
@ -194,11 +195,10 @@ alias pkg_delete="doas \pkg_delete ${PKGOPT}"
alias pkg_info="\pkg_info ${PKGOPT}"
pkg_reset() { pkg_delete -cIX $(</home/sdk/.pkglist); }
# servers
x() { ssh -t home.codevoid.de 'tmux -u attach || tmux -u'; }
t() { ssh -t tweety.home.codevoid.de 'tmux -u attach || tmux -u'; }
b() { ssh -t barton.oldbsd.de 'tmux -u attach || tmux -u'; }
o() { ssh -t openbsd.codevoid.de 'tmux -u attach || tmux -u'; }
scr() { [ -z "$1" ] && doas wsconsctl -n display.brightness \
|| doas wsconsctl display.brightness="$1"; }
@ -293,7 +293,7 @@ l() {
}
# cam
alias cam="ffplay -loglevel quiet -f v4l2 -input_format mjpeg -video_size 640x360 -i /dev/video"
alias cam="ffplay -loglevel quiet -f v4l2 -input_format mjpeg -video_size 640x480 -i /dev/video"
setcam() {
_dev=$1
echo ln -sf /dev/video${_dev:=0} /dev/video
@ -358,7 +358,7 @@ alias omisc="mutt -f $MUTT_HOST/Virtual/OpenBSD-misc"
########################################################################
# CVS
CVSROOT=sdk@cvs.openbsd.org:/cvs
export CVSROOT=sdk@cvs.openbsd.org:/cvs
alias cvs-diff="doas -u sdk cvs -d $CVSROOT diff -uNp"
alias cvs-commit="doas -u sdk cvs -d $CVSROOT commit"
alias cvs-update="doas -u sdk cvs -z 1 -d $CVSROOT -q up -Pd -A"
@ -367,10 +367,10 @@ cvs-update-all() {
cd /usr/$p && cvs-update;
done
}
alias cvs-release="cvs -d $CVSROOT release"
alias cvs-checkout="doas cvs -z 1 -qd $CVSROOT checkout -P"
alias cvs-release="doas -u sdk cvs -d $CVSROOT release"
alias cvs-checkout="doas -u sdk cvs -z 1 -qd $CVSROOT checkout -P"
cvs-import-simulate() {
cvs -d sdk@cvs.openbsd.org:/cvs \
doas -u sdk cvs -d sdk@cvs.openbsd.org:/cvs \
-n import ports/$(dirname $PWD)/$(basename $PWD) sdk sdk_$(date +"%Y%m%d")
}
cvs-sync-sunny() {
@ -396,7 +396,7 @@ pdiff() {(
PN="${N[0]}${N[1]:+v${N[1]}}${N[2]:+p${N[2]}}"
PD=$(pwd | cut -d"/" -f4,5)
cd /usr/ports
doas cvs -d sdk@cvs.openbsd.org:/cvs diff -uNp "${PD}" \
doas -u sdk cvs -d sdk@cvs.openbsd.org:/cvs diff -uNp "${PD}" \
> "/home/sdk/diffs/${PN}.diff"
echo "/home/sdk/diffs/${PN}.diff"
@ -406,7 +406,7 @@ alias port-modgo-update='make MODGO_VERSION=latest modgo-gen-modules > modules.i
# DPB
alias proot-rebuild="doas proot -c /etc/proot.conf; doas chroot /home/dpb pkg_add ccache"
alias proot-do="doas chroot /home/dpb/"
alias dmake="doas /usr/ports/infrastructure/bin/dpb -B /home/dpb -c -p 4 -j 4"
alias dmake="doas /usr/ports/infrastructure/bin/dpb -B /home/dpb -c"
########################################################################
# KERNEL STUFF
@ -558,7 +558,7 @@ xrandr_only_primary() {
done
}
xrandr_mirror() {
xrandr_set same-as
xrandr_set same-as --mode 1920x1080
}
xrandr_extend_above() {
xrandr_set above

View File

@ -24,7 +24,6 @@ set spelllang=de,en
set re=1
let mapleader = ","
" * and # are only highlighting
" n searches in the direction of * or #
nnoremap * *``