From 9a4558a37bbd17fe0effe9a4a99a3e97739c60e4 Mon Sep 17 00:00:00 2001 From: c0dev0id Date: Sun, 17 Mar 2024 18:13:15 +0100 Subject: [PATCH] Update 2024-03-17 18:13 OpenBSD/amd64-x13 --- .bin/_config | 37 +++++++++++++++------------------ .bin/cbar | Bin 10304 -> 10304 bytes .bin/pim-sync-all | 32 ---------------------------- .config/spectrwm/spectrwm.conf | 33 +++++++++++++++-------------- .kshrc | 27 ++++++++++++++++-------- .tmux.conf | 30 +++++++++++++------------- 6 files changed, 66 insertions(+), 93 deletions(-) delete mode 100755 .bin/pim-sync-all diff --git a/.bin/_config b/.bin/_config index f93f971..7684fe5 100644 --- a/.bin/_config +++ b/.bin/_config @@ -10,26 +10,30 @@ PIMDIR="${HOME}/Documents" # 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 # -STERM="st -f TamzenForPowerline:pixelsize=16" -BTERM="st -f JetBrainsMonoNerdFont:pixelsize=18" -HTERM="st -f JetBrainsMonoNerdFont:pixelsize=22" +STERM="st -f TerminessNerdFont:pixelsize=18" +BTERM="st -f TerminessNerdFont:pixelsize=24" +HTERM="st -f spleen:pixelsize=32" # # DMENU # -DMENUOPTS="-fn TamzenForPowerline:pixelsize=16 \ +DMENUOPTS="-fn Terminus:pixelsize=20:style=bold \ -nb $COLOR_NB \ -nf $COLOR_NF \ -sf $COLOR_SF \ @@ -38,24 +42,17 @@ DMENUOPTS="-fn TamzenForPowerline:pixelsize=16 \ -f" DMENU_CMD="dmenu $DMENUOPTS" -#DMENU_CMD="rofi -dmenu" DMENURUN_CMD="dmenu_run $DMENUOPTS" -#DMENURUN_CMD="rofi -show run" # # NOTIFY # -#NOTIFY_CMD() { -# twmnc -i "${VAR##*/}" \ -# -d 5000 \ -# -t "$(date +%H:%M)" \ -# -c "$@" -#} NOTIFY_CMD() { - echo "$@" \ - | xnotify \ - $NOTIFY_CMD_OPTS & + twmnc -i "${VAR##*/}" \ + -d 5000 \ + -t "$(date +%H:%M)" \ + -c "$@" } # diff --git a/.bin/cbar b/.bin/cbar index ea6844fb787a127366f1c72858e6f5322a7ad093..5fdc57868351148b09fa5eb311c82fc31917a53b 100755 GIT binary patch delta 23 ccmX>Qa3ElVq$E@5m(9|W`ivmjN9qeN0BwH=$^ZZW delta 23 ccmX>Qa3ElVq$E@G /home/sdk/.reminders/import.rem - -# sync email to offline -mbsync -a - -# index email -mu index diff --git a/.config/spectrwm/spectrwm.conf b/.config/spectrwm/spectrwm.conf index a7c8cbf..443a4e2 100644 --- a/.config/spectrwm/spectrwm.conf +++ b/.config/spectrwm/spectrwm.conf @@ -11,15 +11,14 @@ # +-------------------------------------------------- border_width = 2 -tile_gap = 5 -region_padding = 5 +tile_gap = 6 +region_padding = 6 -color_focus = rgb:B9/39/34 -color_unfocus = rgb:33/33/33 - -color_focus_maximized = rgb:00/80/80 -color_focus_maximized_free = rgb:00/80/80 -color_focus_free = rgb:00/80/80 +color_focus = rgb:AF/5F/00 +color_focus_maximized = rgb:AF/5F/00 +color_focus_maximized_free = rgb:AF/5F/00 +color_focus_free = rgb:AF/5F/00 +color_unfocus = rgb:44/44/44 color_unfocus_free = rgb:55/35/00 disable_border = 1 maximize_hide_bar = 0 @@ -29,19 +28,21 @@ maximize_hide_bar = 0 # +-------------------------------------------------- bar_enabled = 1 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_color_free = 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_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_font_color = rgb:CC/CC/CC -bar_font_color_free = rgb:CC/CC/CC +bar_font_color = rgb:99/99/99 +bar_font_color_free = rgb:99/99/99 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_action = cbar bar_action_expand = 0 diff --git a/.kshrc b/.kshrc index 9aaf6fd..17e1e01 100644 --- a/.kshrc +++ b/.kshrc @@ -78,17 +78,26 @@ set bell-style none # PROMPT ######################################################################## -C1="\[$(tput setaf 241)\]" # gray -C2="\[$(tput setaf 37)\]" # green -C0="\[$(tput op)\]" # reset -x=$(echo -e \\001) # hack from ksh(1) +# C1="\[$(tput setaf 241)\]" # gray +# C2="\[$(tput setaf 208)\]" # orange +# C0="\[$(tput op)\]" # reset +# 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 ] \ - && C2="\[$(tput setaf 196)\]" # gray +RED="\[$(tput setaf 196)\]" +GREY="\[$(tput setaf 248)\]" +RESET="\[$(tput op)\]" -PS1="${C1}[${C2}\h${C1}](${C2}\${?}${C1})(${C2}\w${C1})\$ ${C0}" - -# PS1="\\$ " +if [ $(id -u) -eq 0 ] +then + PS1="${x}${RED}\\$ ${RESET}${x}" +else + PS1="${x}${GREY}\\$ ${RESET}${x}" +fi ######################################################################## # ALIASES diff --git a/.tmux.conf b/.tmux.conf index 6ca40e1..47971a9 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -3,6 +3,7 @@ # remap prefix from 'C-b' to 'C-a' unbind C-b set -g prefix C-a + bind-key C-a last-window bind-key C-n next-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) 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-Down unbind-key C-M-Up @@ -69,12 +68,12 @@ set-option -g allow-rename off set -g set-titles off # Reduce delay for escape key press -set -sg escape-time 0 +set -sg escape-time 1000 set -g default-terminal "tmux-256color" # we can do utf lines -set -sa terminal-overrides ",*:U8=0:" +set -as terminal-overrides ",*:U8=0:" set -g aggressive-resize off set -g alternate-screen on @@ -91,21 +90,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 'fg=colour240' +set -g pane-active-border-style 'fg=colour250' # -set -g status-interval 60 ## statusbar set -g status-position bottom 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-left '' -set -g status-right-length 20 -set -g status-left-length 1 -# # +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=colour37]#[bg=colour235]#I:#W' -# # -# setw -g window-status-style '' -setw -g window-status-format '#[fg=colour30]#I:#W' +setw -g window-status-current-format '#[fg=colour246]#I:#[fg=colour208]#W' +# +setw -g window-status-style '' +setw -g window-status-format '#[fg=colour246]#I:#W'