Update 2024-01-22 16:55 OpenBSD/amd64-x13
This commit is contained in:
parent
c74afefc69
commit
29731e0eb3
5
.bin/bspwm-keys
Executable file
5
.bin/bspwm-keys
Executable 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
|
@ -71,6 +71,7 @@ Zalando"
|
|||||||
*::*) DEFAULT="CPAN (default)"; ;;
|
*::*) DEFAULT="CPAN (default)"; ;;
|
||||||
http*) DEFAULT="OPEN (default)"; ;;
|
http*) DEFAULT="OPEN (default)"; ;;
|
||||||
192.168.*) DEFAULT="OPEN (default)"; C="http://${C}"; ;;
|
192.168.*) DEFAULT="OPEN (default)"; C="http://${C}"; ;;
|
||||||
|
10.20.*) DEFAULT="OPEN (default)"; C="http://${C}"; ;;
|
||||||
gopher*) DEFAULT="OPEN (default)"; ;;
|
gopher*) DEFAULT="OPEN (default)"; ;;
|
||||||
g_*) DEFAULT="GLIB Documentation"; ;;
|
g_*) DEFAULT="GLIB Documentation"; ;;
|
||||||
[Ss]oup_*) DEFAULT="LibSOUP Documentation"; ;;
|
[Ss]oup_*) DEFAULT="LibSOUP Documentation"; ;;
|
||||||
|
@ -6,12 +6,15 @@
|
|||||||
alt + Return
|
alt + Return
|
||||||
sterm
|
sterm
|
||||||
|
|
||||||
|
# big terminal
|
||||||
alt + shift + Return
|
alt + shift + Return
|
||||||
bterm
|
bterm
|
||||||
|
|
||||||
|
# huge terminal
|
||||||
alt + control + Return
|
alt + control + Return
|
||||||
hterm
|
hterm
|
||||||
|
|
||||||
|
# scratchpad
|
||||||
alt + minus
|
alt + minus
|
||||||
sp
|
sp
|
||||||
|
|
||||||
@ -19,27 +22,35 @@ alt + minus
|
|||||||
alt + d
|
alt + d
|
||||||
dexec
|
dexec
|
||||||
|
|
||||||
|
# ssh
|
||||||
alt + s
|
alt + s
|
||||||
dexec_ssh
|
dexec_ssh
|
||||||
|
|
||||||
|
# browser
|
||||||
alt + shift + f
|
alt + shift + f
|
||||||
dexec_browser
|
dexec_browser
|
||||||
|
|
||||||
|
# password manager
|
||||||
alt + shift + p
|
alt + shift + p
|
||||||
dexec_pass
|
dexec_pass
|
||||||
|
|
||||||
|
# apps
|
||||||
alt + a
|
alt + a
|
||||||
dexec_apps
|
dexec_apps
|
||||||
|
|
||||||
|
# pim
|
||||||
alt + p
|
alt + p
|
||||||
dexec_pim
|
dexec_pim
|
||||||
|
|
||||||
|
# vpn
|
||||||
alt + v
|
alt + v
|
||||||
dexec_vpn
|
dexec_vpn
|
||||||
|
|
||||||
|
# vim: history
|
||||||
alt + shift + o
|
alt + shift + o
|
||||||
texec "vim -c ':History!'"
|
texec "vim -c ':History!'"
|
||||||
|
|
||||||
|
# vim: myfiles
|
||||||
alt + o
|
alt + o
|
||||||
texec "vim -c ':MyFiles'"
|
texec "vim -c ':MyFiles'"
|
||||||
|
|
||||||
@ -80,12 +91,15 @@ alt + y
|
|||||||
alt + g
|
alt + g
|
||||||
bspc node -s biggest
|
bspc node -s biggest
|
||||||
|
|
||||||
|
# toggle tiling
|
||||||
alt + space
|
alt + space
|
||||||
bspc node -t "~"{floating,tiled}
|
bspc node -t "~"{floating,tiled}
|
||||||
|
|
||||||
|
# pick color
|
||||||
Print
|
Print
|
||||||
xpick_copy
|
xpick_copy
|
||||||
|
|
||||||
|
# screenshot
|
||||||
alt + Print
|
alt + Print
|
||||||
sshot
|
sshot
|
||||||
|
|
||||||
@ -126,6 +140,7 @@ alt + ctrl + {Left,Down,Up,Right}
|
|||||||
alt + {Prior,Next}
|
alt + {Prior,Next}
|
||||||
bspc desktop -f {prev,next}.local
|
bspc desktop -f {prev,next}.local
|
||||||
|
|
||||||
|
# drag window to next/previous desktop
|
||||||
alt + shift + {Next,Prior}
|
alt + shift + {Next,Prior}
|
||||||
bspc node -d {next,prev}.local --follow
|
bspc node -d {next,prev}.local --follow
|
||||||
|
|
||||||
@ -151,10 +166,11 @@ alt + {_,shift + }{1-9,0}
|
|||||||
#super + {Left,Down,Up,Right}
|
#super + {Left,Down,Up,Right}
|
||||||
# bspc node -p {west,south,north,east}
|
# bspc node -p {west,south,north,east}
|
||||||
|
|
||||||
|
# preselect spawn area
|
||||||
ctrl + {Left,Down,Up,Right}
|
ctrl + {Left,Down,Up,Right}
|
||||||
bspc node -p {west,south,north,east}; \
|
bspc node -p {west,south,north,east}
|
||||||
sterm
|
|
||||||
|
|
||||||
|
# cancel the preselection for the focused node
|
||||||
ctrl + Return
|
ctrl + Return
|
||||||
bspc node -p cancel
|
bspc node -p cancel
|
||||||
|
|
||||||
|
7
.ksh/task.ksh
Normal file
7
.ksh/task.ksh
Normal 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
1
.kshrc
@ -87,6 +87,7 @@ load() { [ -f ~/.ksh/$1 ] && . ~/.ksh/$1; }
|
|||||||
load environment.ksh
|
load environment.ksh
|
||||||
load functions.ksh
|
load functions.ksh
|
||||||
load aliases.ksh
|
load aliases.ksh
|
||||||
|
load task.ksh
|
||||||
load email.ksh
|
load email.ksh
|
||||||
load porttools.ksh
|
load porttools.ksh
|
||||||
load remind.ksh
|
load remind.ksh
|
||||||
|
28
.tmux.conf
28
.tmux.conf
@ -71,7 +71,7 @@ set -g set-titles off
|
|||||||
# Reduce delay for escape key press
|
# Reduce delay for escape key press
|
||||||
set -sg escape-time 0
|
set -sg escape-time 0
|
||||||
|
|
||||||
# set -g default-terminal "tmux-256color"
|
set -g default-terminal "tmux-256color"
|
||||||
|
|
||||||
# we can do utf lines
|
# we can do utf lines
|
||||||
set -sa terminal-overrides ",*:U8=0:"
|
set -sa terminal-overrides ",*:U8=0:"
|
||||||
@ -91,20 +91,20 @@ setw -g monitor-activity off
|
|||||||
set -g bell-action none
|
set -g bell-action none
|
||||||
|
|
||||||
## panes
|
## panes
|
||||||
set -g pane-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'
|
# set -g pane-active-border-style 'bg=colour0 fg=colour202'
|
||||||
#
|
#
|
||||||
## statusbar
|
## statusbar
|
||||||
set -g status-position bottom
|
set -g status-position bottom
|
||||||
set -g status-justify left
|
set -g status-justify left
|
||||||
set -g status-style 'fg=colour246'
|
set -g status-style 'bg=colour236 fg=colour246'
|
||||||
set -g status-right ''
|
# set -g status-right ''
|
||||||
set -g status-left ' '
|
# set -g status-left ' '
|
||||||
set -g status-right-length 10
|
# set -g status-right-length 10
|
||||||
set -g status-left-length 10
|
# set -g status-left-length 10
|
||||||
#
|
# #
|
||||||
setw -g window-status-current-style ''
|
# setw -g window-status-current-style ''
|
||||||
setw -g window-status-current-format '#[fg=colour246]#I:#[fg=colour37]#W'
|
# setw -g window-status-current-format '#[fg=colour246]#I:#[fg=colour37]#W'
|
||||||
#
|
# #
|
||||||
setw -g window-status-style ''
|
# setw -g window-status-style ''
|
||||||
setw -g window-status-format '#[fg=colour246]#I:#W'
|
# setw -g window-status-format '#[fg=colour246]#I:#W'
|
||||||
|
Loading…
Reference in New Issue
Block a user