Update 2024-01-22 16:55 OpenBSD/amd64-x13

This commit is contained in:
c0dev0id 2024-01-22 16:55:21 +01:00
parent c74afefc69
commit 29731e0eb3
6 changed files with 46 additions and 16 deletions

5
.bin/bspwm-keys Executable file
View File

@ -0,0 +1,5 @@
#!/bin/sh
. ~/.bin/_config
awk '/^[a-z]/ && last {print $0,"|",last} {last=""} /^#/{last=$0}' ~/.config/bspwm/sxhkdrc \
| column -t -s '|' \
| $DMENU_CMD -p "bspwm keys:" -l 30

View File

@ -71,6 +71,7 @@ Zalando"
*::*) DEFAULT="CPAN (default)"; ;;
http*) DEFAULT="OPEN (default)"; ;;
192.168.*) DEFAULT="OPEN (default)"; C="http://${C}"; ;;
10.20.*) DEFAULT="OPEN (default)"; C="http://${C}"; ;;
gopher*) DEFAULT="OPEN (default)"; ;;
g_*) DEFAULT="GLIB Documentation"; ;;
[Ss]oup_*) DEFAULT="LibSOUP Documentation"; ;;

View File

@ -6,12 +6,15 @@
alt + Return
sterm
# big terminal
alt + shift + Return
bterm
# huge terminal
alt + control + Return
hterm
# scratchpad
alt + minus
sp
@ -19,27 +22,35 @@ alt + minus
alt + d
dexec
# ssh
alt + s
dexec_ssh
# browser
alt + shift + f
dexec_browser
# password manager
alt + shift + p
dexec_pass
# apps
alt + a
dexec_apps
# pim
alt + p
dexec_pim
# vpn
alt + v
dexec_vpn
# vim: history
alt + shift + o
texec "vim -c ':History!'"
# vim: myfiles
alt + o
texec "vim -c ':MyFiles'"
@ -80,12 +91,15 @@ alt + y
alt + g
bspc node -s biggest
# toggle tiling
alt + space
bspc node -t "~"{floating,tiled}
# pick color
Print
xpick_copy
# screenshot
alt + Print
sshot
@ -126,6 +140,7 @@ alt + ctrl + {Left,Down,Up,Right}
alt + {Prior,Next}
bspc desktop -f {prev,next}.local
# drag window to next/previous desktop
alt + shift + {Next,Prior}
bspc node -d {next,prev}.local --follow
@ -151,10 +166,11 @@ alt + {_,shift + }{1-9,0}
#super + {Left,Down,Up,Right}
# bspc node -p {west,south,north,east}
# preselect spawn area
ctrl + {Left,Down,Up,Right}
bspc node -p {west,south,north,east}; \
sterm
bspc node -p {west,south,north,east}
# cancel the preselection for the focused node
ctrl + Return
bspc node -p cancel

7
.ksh/task.ksh Normal file
View File

@ -0,0 +1,7 @@
alias task-list="task list"
alias task-add="task add"
alias task-add-home="task rc.context:home add"
alias task-add-openbsd="task rc.context:openbsd add"
alias task-add-uugrn="task rc.context:uugrn add"
alias task-add-work="task rc.context:work add"

1
.kshrc
View File

@ -87,6 +87,7 @@ load() { [ -f ~/.ksh/$1 ] && . ~/.ksh/$1; }
load environment.ksh
load functions.ksh
load aliases.ksh
load task.ksh
load email.ksh
load porttools.ksh
load remind.ksh

View File

@ -71,7 +71,7 @@ set -g set-titles off
# Reduce delay for escape key press
set -sg escape-time 0
# set -g default-terminal "tmux-256color"
set -g default-terminal "tmux-256color"
# we can do utf lines
set -sa terminal-overrides ",*:U8=0:"
@ -91,20 +91,20 @@ setw -g monitor-activity off
set -g bell-action none
## panes
set -g pane-border-style 'bg=colour0 fg=colour202'
set -g pane-active-border-style 'bg=colour0 fg=colour202'
# set -g pane-border-style 'bg=colour0 fg=colour202'
# set -g pane-active-border-style 'bg=colour0 fg=colour202'
#
## statusbar
set -g status-position bottom
set -g status-justify left
set -g status-style 'fg=colour246'
set -g status-right ''
set -g status-left ' '
set -g status-right-length 10
set -g status-left-length 10
#
setw -g window-status-current-style ''
setw -g window-status-current-format '#[fg=colour246]#I:#[fg=colour37]#W'
#
setw -g window-status-style ''
setw -g window-status-format '#[fg=colour246]#I:#W'
set -g status-style 'bg=colour236 fg=colour246'
# set -g status-right ''
# set -g status-left ' '
# set -g status-right-length 10
# set -g status-left-length 10
# #
# setw -g window-status-current-style ''
# setw -g window-status-current-format '#[fg=colour246]#I:#[fg=colour37]#W'
# #
# setw -g window-status-style ''
# setw -g window-status-format '#[fg=colour246]#I:#W'