Update 2024-03-17 18:13 OpenBSD/amd64-x13
This commit is contained in:
parent
1c3503910e
commit
9a4558a37b
37
.bin/_config
37
.bin/_config
@ -10,26 +10,30 @@ PIMDIR="${HOME}/Documents"
|
|||||||
# COLORS
|
# COLORS
|
||||||
#
|
#
|
||||||
|
|
||||||
BACKGROUND="#002020"
|
# COLOR_NB="#181818"
|
||||||
|
# COLOR_NF="#707070"
|
||||||
|
# COLOR_SB="#222222"
|
||||||
|
# COLOR_SF="#CCCCCC"
|
||||||
|
|
||||||
|
COLOR_NB="#181818"
|
||||||
|
COLOR_NF="#707070"
|
||||||
|
COLOR_SF="#000000"
|
||||||
|
COLOR_SB="#AF5F00"
|
||||||
|
|
||||||
COLOR_NB="#001010"
|
|
||||||
COLOR_NF="#008080"
|
|
||||||
COLOR_SB="#004040"
|
|
||||||
COLOR_SF="#EEEEEE"
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# TERMINALS
|
# TERMINALS
|
||||||
#
|
#
|
||||||
|
|
||||||
STERM="st -f TamzenForPowerline:pixelsize=16"
|
STERM="st -f TerminessNerdFont:pixelsize=18"
|
||||||
BTERM="st -f JetBrainsMonoNerdFont:pixelsize=18"
|
BTERM="st -f TerminessNerdFont:pixelsize=24"
|
||||||
HTERM="st -f JetBrainsMonoNerdFont:pixelsize=22"
|
HTERM="st -f spleen:pixelsize=32"
|
||||||
|
|
||||||
#
|
#
|
||||||
# DMENU
|
# DMENU
|
||||||
#
|
#
|
||||||
|
|
||||||
DMENUOPTS="-fn TamzenForPowerline:pixelsize=16 \
|
DMENUOPTS="-fn Terminus:pixelsize=20:style=bold \
|
||||||
-nb $COLOR_NB \
|
-nb $COLOR_NB \
|
||||||
-nf $COLOR_NF \
|
-nf $COLOR_NF \
|
||||||
-sf $COLOR_SF \
|
-sf $COLOR_SF \
|
||||||
@ -38,24 +42,17 @@ DMENUOPTS="-fn TamzenForPowerline:pixelsize=16 \
|
|||||||
-f"
|
-f"
|
||||||
|
|
||||||
DMENU_CMD="dmenu $DMENUOPTS"
|
DMENU_CMD="dmenu $DMENUOPTS"
|
||||||
#DMENU_CMD="rofi -dmenu"
|
|
||||||
DMENURUN_CMD="dmenu_run $DMENUOPTS"
|
DMENURUN_CMD="dmenu_run $DMENUOPTS"
|
||||||
#DMENURUN_CMD="rofi -show run"
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# NOTIFY
|
# NOTIFY
|
||||||
#
|
#
|
||||||
|
|
||||||
#NOTIFY_CMD() {
|
|
||||||
# twmnc -i "${VAR##*/}" \
|
|
||||||
# -d 5000 \
|
|
||||||
# -t "$(date +%H:%M)" \
|
|
||||||
# -c "$@"
|
|
||||||
#}
|
|
||||||
NOTIFY_CMD() {
|
NOTIFY_CMD() {
|
||||||
echo "$@" \
|
twmnc -i "${VAR##*/}" \
|
||||||
| xnotify \
|
-d 5000 \
|
||||||
$NOTIFY_CMD_OPTS &
|
-t "$(date +%H:%M)" \
|
||||||
|
-c "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -1,32 +0,0 @@
|
|||||||
#/bin/sh -xe
|
|
||||||
|
|
||||||
# snapshot
|
|
||||||
cd /home/sdk/.reminders
|
|
||||||
git add *
|
|
||||||
git commit -m "Update $(date +"%Y-%m-%d %H:%M:%S")" || true
|
|
||||||
|
|
||||||
# copy uugrn calendard to dalek
|
|
||||||
scp -q vorstand@vorstand.uugrn.org:private/Kalender/uugrn.rem \
|
|
||||||
sdk@home.codevoid.de:.reminders/uugrn.rem
|
|
||||||
|
|
||||||
# copy all calendars from dalek to local
|
|
||||||
scp -q sdk@home.codevoid.de:.reminders/\*.rem \
|
|
||||||
/home/sdk/.reminders/
|
|
||||||
|
|
||||||
# download vcal/vcard from icloud / radical
|
|
||||||
vdirsyncer sync
|
|
||||||
|
|
||||||
# create import.rem from ical events (XXX fix this mess)
|
|
||||||
find ~/.isync -name "*.ics" -exec cat {} + \
|
|
||||||
| ical2rem --no-todos \
|
|
||||||
| fgrep -v "REM MSG" \
|
|
||||||
| sed 's,\\n, ,g' \
|
|
||||||
| tr -d '\' \
|
|
||||||
| sed 's/ / /g' \
|
|
||||||
> /home/sdk/.reminders/import.rem
|
|
||||||
|
|
||||||
# sync email to offline
|
|
||||||
mbsync -a
|
|
||||||
|
|
||||||
# index email
|
|
||||||
mu index
|
|
@ -11,15 +11,14 @@
|
|||||||
# +--------------------------------------------------
|
# +--------------------------------------------------
|
||||||
|
|
||||||
border_width = 2
|
border_width = 2
|
||||||
tile_gap = 5
|
tile_gap = 6
|
||||||
region_padding = 5
|
region_padding = 6
|
||||||
|
|
||||||
color_focus = rgb:B9/39/34
|
color_focus = rgb:AF/5F/00
|
||||||
color_unfocus = rgb:33/33/33
|
color_focus_maximized = rgb:AF/5F/00
|
||||||
|
color_focus_maximized_free = rgb:AF/5F/00
|
||||||
color_focus_maximized = rgb:00/80/80
|
color_focus_free = rgb:AF/5F/00
|
||||||
color_focus_maximized_free = rgb:00/80/80
|
color_unfocus = rgb:44/44/44
|
||||||
color_focus_free = rgb:00/80/80
|
|
||||||
color_unfocus_free = rgb:55/35/00
|
color_unfocus_free = rgb:55/35/00
|
||||||
disable_border = 1
|
disable_border = 1
|
||||||
maximize_hide_bar = 0
|
maximize_hide_bar = 0
|
||||||
@ -29,19 +28,21 @@ maximize_hide_bar = 0
|
|||||||
# +--------------------------------------------------
|
# +--------------------------------------------------
|
||||||
bar_enabled = 1
|
bar_enabled = 1
|
||||||
bar_border_width = 2
|
bar_border_width = 2
|
||||||
bar_border = rgb:00/00/00
|
|
||||||
bar_border_unfocus = rgb:00/10/10
|
|
||||||
bar_border_free = rgb:00/10/10
|
|
||||||
|
|
||||||
bar_color = rgb:00/10/10,rgb:00/60/60,rgb:00/10/10,rgb:58/00/00,rgb:00/40/40
|
bar_border = rgb:18/18/18
|
||||||
bar_color_free = rgb:00/10/10,rgb:00/60/60,rgb:00/10/10,rgb:58/00/00,rgb:00/40/40
|
bar_border_unfocus = rgb:18/18/18
|
||||||
|
bar_border_free = rgb:18/18/18
|
||||||
|
|
||||||
|
bar_color = rgb:18/18/18,rgb:90/40/00,rgb:12/12/12,rgb:58/00/00,rgb:45/20/00
|
||||||
|
bar_color_free = rgb:18/18/18,rgb:90/40/00,rgb:12/12/12,rgb:58/00/00,rgb:45/20/00
|
||||||
bar_color_selected = rgb:18/24/28
|
bar_color_selected = rgb:18/24/28
|
||||||
|
|
||||||
bar_font_color = rgb:CC/CC/CC
|
bar_font_color = rgb:99/99/99
|
||||||
bar_font_color_free = rgb:CC/CC/CC
|
bar_font_color_free = rgb:99/99/99
|
||||||
bar_font_color_selected = rgb:ff/ff/ff
|
bar_font_color_selected = rgb:ff/ff/ff
|
||||||
|
|
||||||
bar_font = TamzenForPowerline:pixelsize=16
|
bar_font = Terminess Nerd Font:pixelsize=18:style=bold
|
||||||
|
|
||||||
bar_font_pua = JetBrainsMonoNerdFont:pixelsize=13
|
bar_font_pua = JetBrainsMonoNerdFont:pixelsize=13
|
||||||
bar_action = cbar
|
bar_action = cbar
|
||||||
bar_action_expand = 0
|
bar_action_expand = 0
|
||||||
|
27
.kshrc
27
.kshrc
@ -78,17 +78,26 @@ set bell-style none
|
|||||||
# PROMPT
|
# PROMPT
|
||||||
########################################################################
|
########################################################################
|
||||||
|
|
||||||
C1="\[$(tput setaf 241)\]" # gray
|
# C1="\[$(tput setaf 241)\]" # gray
|
||||||
C2="\[$(tput setaf 37)\]" # green
|
# C2="\[$(tput setaf 208)\]" # orange
|
||||||
C0="\[$(tput op)\]" # reset
|
# C0="\[$(tput op)\]" # reset
|
||||||
x=$(echo -e \\001) # hack from ksh(1)
|
# x=$(echo -e \\001) # hack from ksh(1)
|
||||||
|
#
|
||||||
|
# [ $(id -u) -eq 0 ] \
|
||||||
|
# && C2="\[$(tput setaf 196)\]" # gray
|
||||||
|
#
|
||||||
|
# PS1="${C1}[${C2}\h${C1}](${C2}\${?}${C1})(${C2}\w${C1})\$ ${C0}"
|
||||||
|
|
||||||
[ $(id -u) -eq 0 ] \
|
RED="\[$(tput setaf 196)\]"
|
||||||
&& C2="\[$(tput setaf 196)\]" # gray
|
GREY="\[$(tput setaf 248)\]"
|
||||||
|
RESET="\[$(tput op)\]"
|
||||||
|
|
||||||
PS1="${C1}[${C2}\h${C1}](${C2}\${?}${C1})(${C2}\w${C1})\$ ${C0}"
|
if [ $(id -u) -eq 0 ]
|
||||||
|
then
|
||||||
# PS1="\\$ "
|
PS1="${x}${RED}\\$ ${RESET}${x}"
|
||||||
|
else
|
||||||
|
PS1="${x}${GREY}\\$ ${RESET}${x}"
|
||||||
|
fi
|
||||||
|
|
||||||
########################################################################
|
########################################################################
|
||||||
# ALIASES
|
# ALIASES
|
||||||
|
30
.tmux.conf
30
.tmux.conf
@ -3,6 +3,7 @@
|
|||||||
# remap prefix from 'C-b' to 'C-a'
|
# remap prefix from 'C-b' to 'C-a'
|
||||||
unbind C-b
|
unbind C-b
|
||||||
set -g prefix C-a
|
set -g prefix C-a
|
||||||
|
|
||||||
bind-key C-a last-window
|
bind-key C-a last-window
|
||||||
bind-key C-n next-window
|
bind-key C-n next-window
|
||||||
bind-key C-p previous-window
|
bind-key C-p previous-window
|
||||||
@ -11,8 +12,6 @@ bind a send-prefix
|
|||||||
# reload config file (change file location to your the tmux.conf you want to use)
|
# reload config file (change file location to your the tmux.conf you want to use)
|
||||||
bind r source-file ~/.tmux.conf \; display-message "Config reloaded..."
|
bind r source-file ~/.tmux.conf \; display-message "Config reloaded..."
|
||||||
|
|
||||||
#set-option -g lock-after-time 3600
|
|
||||||
|
|
||||||
unbind-key C-S-Up
|
unbind-key C-S-Up
|
||||||
unbind-key C-S-Down
|
unbind-key C-S-Down
|
||||||
unbind-key C-M-Up
|
unbind-key C-M-Up
|
||||||
@ -69,12 +68,12 @@ set-option -g allow-rename off
|
|||||||
set -g set-titles off
|
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 1000
|
||||||
|
|
||||||
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 -as terminal-overrides ",*:U8=0:"
|
||||||
|
|
||||||
set -g aggressive-resize off
|
set -g aggressive-resize off
|
||||||
set -g alternate-screen on
|
set -g alternate-screen on
|
||||||
@ -91,21 +90,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 'fg=colour240'
|
||||||
# set -g pane-active-border-style 'bg=colour0 fg=colour202'
|
set -g pane-active-border-style 'fg=colour250'
|
||||||
#
|
#
|
||||||
set -g status-interval 60
|
|
||||||
## 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 'bg=colour234 fg=colour30'
|
set -g status-style 'fg=colour246'
|
||||||
set -g status-right '#(date +%H:%M)'
|
set -g status-right '#(date +%H:%M)'
|
||||||
set -g status-left ''
|
set -g status-left ' '
|
||||||
set -g status-right-length 20
|
set -g status-right-length 10
|
||||||
set -g status-left-length 1
|
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=colour37]#[bg=colour235]#I:#W'
|
setw -g window-status-current-format '#[fg=colour246]#I:#[fg=colour208]#W'
|
||||||
# #
|
#
|
||||||
# setw -g window-status-style ''
|
setw -g window-status-style ''
|
||||||
setw -g window-status-format '#[fg=colour30]#I:#W'
|
setw -g window-status-format '#[fg=colour246]#I:#W'
|
||||||
|
Loading…
Reference in New Issue
Block a user