Update 2023-12-28 22:52 OpenBSD/amd64-x13
This commit is contained in:
parent
7e9a9e039c
commit
1ece4561d6
@ -149,6 +149,7 @@ xterm*background: #000000
|
||||
xterm*foreground: #D6D5D3
|
||||
xterm*cursorColor: #990000
|
||||
xterm*scrollBar: false
|
||||
xterm*bellIsUrgent: true
|
||||
xterm*color0: #181818
|
||||
xterm*color1: #dc322f
|
||||
xterm*color2: #859900
|
||||
|
@ -10,7 +10,7 @@ PIMDIR="${HOME}/Documents"
|
||||
# COLORS
|
||||
#
|
||||
|
||||
COLOR_NB="#121212"
|
||||
COLOR_NB="#181818"
|
||||
COLOR_NF="#707070"
|
||||
COLOR_SB="#222222"
|
||||
COLOR_SF="#CCCCCC"
|
||||
|
@ -54,7 +54,7 @@
|
||||
--password-store=basic \
|
||||
--structured-metrics-disabled \
|
||||
--wm-window-animations-disabled \
|
||||
--new-window "$@"
|
||||
--new-window --app="$@"
|
||||
|
||||
#--use-gl=egl \
|
||||
# --disable-yuv-image-decoding \
|
||||
|
@ -120,34 +120,36 @@ Zalando"
|
||||
# EXPECTS: $URI $DMENU_CMD
|
||||
# PROVIDES: $BROWSER
|
||||
choose_browser() {
|
||||
|
||||
FAT_BROWSER="Qutebrowser (default)"
|
||||
MIN_BROWSER="Vimb (default)"
|
||||
DEF_BROWSER="$BROWSER"
|
||||
|
||||
case "${URI}" in
|
||||
gopher://*) DEFAULT="Lagrange (default)"; ;;
|
||||
gemini://*) DEFAULT="Lagrange (default)"; ;;
|
||||
192.168.*) DEFAULT="Chrome (default)"; ;;
|
||||
*github.com*) DEFAULT="Chrome (default)"; ;;
|
||||
*amazon.de*) DEFAULT="Chrome (default)"; ;;
|
||||
*chaos.social*) DEFAULT="Chrome (default)"; ;;
|
||||
*hetzner.cloud*) DEFAULT="Chrome (default)"; ;;
|
||||
*hetzner.de*) DEFAULT="Vimb (default)"; ;;
|
||||
*duckduckgo.com/*images*) DEFAULT="Vimb (default)"; ;;
|
||||
*github.com*) DEFAULT="$FAT_BROWSER"; ;;
|
||||
*amazon.de*) DEFAULT="$FAT_BROWSER"; ;;
|
||||
*hetzner.cloud*) DEFAULT="$FAT_BROWSER"; ;;
|
||||
*hetzner.de*) DEFAULT="$MIN_BROWSER"; ;;
|
||||
*youtube.com/watch*) DEFAULT="Mpv (default)"; ;;
|
||||
*media.ccc.de/v/*) DEFAULT="Mpv (default)"; ;;
|
||||
*bsd.network*) DEFAULT="Chrome (default)"; ;;
|
||||
*itch.io*) DEFAULT="Firefox (default)"; ;;
|
||||
*chat.uugrn.org*) DEFAULT="Firefox (default)"; ;;
|
||||
*[./]amazon.*) DEFAULT="Chrome (default)"; ;;
|
||||
*comdirect.de*) DEFAULT="Chrome (default)"; ;;
|
||||
*bsd.network*) DEFAULT="$FAT_BROWSER"; ;;
|
||||
*itch.io*) DEFAULT="$FAT_BROWSER"; ;;
|
||||
*chat.uugrn.org*) DEFAULT="$FAT_BROWSER"; ;;
|
||||
*[./]amazon.*) DEFAULT="$FAT_BROWSER"; ;;
|
||||
*comdirect.de*) DEFAULT="$FAT_BROWSER"; ;;
|
||||
*.pdf|*.cb|*.ps) DEFAULT="Zathura (default)"; ;;
|
||||
*.mp4|*.m4v|*.mkv) DEFAULT="Mpv (default)"; ;;
|
||||
*) DEFAULT="Chrome (default)"; ;;
|
||||
*) DEFAULT="$DEF_BROWSER"; ;;
|
||||
esac
|
||||
|
||||
local S="${DEFAULT}\nLuakit\nVimb\nFirefox\nChrome\nQutebrowser\nWyeb\nNetsurf\nTor-Browser\nDillo\nSurf\nMpv"
|
||||
case $(echo "${S}" | ${DMENU_CMD} -p "Browser") in
|
||||
[Nn]etsurf*) BROWSER=netsurf-gtk3 ;;
|
||||
[Vv]imb*) BROWSER=vimb; ;;
|
||||
[Vv]imb*) BROWSER="vimb --no-maximize" ;;
|
||||
[Dd]illo*) BROWSER=dillo; ;;
|
||||
[Qq]uteb*r*) BROWSER=qutebrowser ;;
|
||||
[Qq]uteb*r*) BROWSER="qutebrowser -R" ;;
|
||||
[Ss]urf*) BROWSER=surf ;;
|
||||
[Oo]tter*r*) BROWSER=otter-browser ;;
|
||||
[Ll]uakit*) BROWSER="luakit -Un" ;;
|
||||
|
@ -142,7 +142,7 @@ hc set smart_frame_surroundings off
|
||||
# TABS
|
||||
hc attr theme.title_height 12
|
||||
hc attr theme.title_when multiple_tabs
|
||||
hc attr theme.title_font 'Terminus:pixelsize=13'
|
||||
hc attr theme.title_font 'fixed:pixelsize=13'
|
||||
hc attr theme.title_depth 5
|
||||
|
||||
# BORDER WIDTH
|
||||
@ -182,52 +182,9 @@ hc attr theme.normal.tab_title_color $COLOR_NF
|
||||
hc attr theme.active.title_color $COLOR_SF
|
||||
hc attr theme.normal.title_color $COLOR_NF
|
||||
|
||||
# tab color
|
||||
# hc attr theme.tab_title_color $COLOR_NB
|
||||
#
|
||||
# # tab color
|
||||
# hc attr theme.active.tab_color $COLOR_SB # inactive tab, active frame, bg color
|
||||
# hc attr theme.active.tab_title_color $COLOR_SF # inactive tab, active frame, fg color
|
||||
#
|
||||
# hc attr theme.normal.tab_color $COLOR_NB # inactive tab, inactive frame, bg color
|
||||
# hc attr theme.normal.tab_title_color $COLOR_NF # inactive tab, inactive frame, fg color
|
||||
#
|
||||
# # hc attr theme.active.color $COLOR_SB # active tab, active frame, fg color
|
||||
# # hc attr theme.normal.color $COLOR_NB # active tab, inactive frame, fg color
|
||||
# hc attr theme.active.title_color $COLOR_SF # active tab, active frame, fg color
|
||||
# hc attr theme.normal.title_color $COLOR_NF # active tab, inactive frame, fg color
|
||||
|
||||
# hc attr theme.active.tab_outer_color $COLOR_NB
|
||||
|
||||
# hc set frame_border_active_color $COLOR_NB
|
||||
# hc set frame_border_normal_color $COLOR_NB
|
||||
# hc set frame_bg_normal_color $COLOR_NB
|
||||
# hc set frame_bg_active_color $COLOR_NF
|
||||
# hc set show_frame_decorations 'focused_if_multiple'
|
||||
# hc set frame_bg_transparent on
|
||||
# hc set frame_transparent_width 5
|
||||
#
|
||||
# hc attr settings.frame_transparent_width 1
|
||||
#
|
||||
# hc attr theme.active.color $COLOR_NB
|
||||
# hc attr theme.title_color $COLOR_SF
|
||||
# hc attr theme.normal.color $COLOR_NB
|
||||
# #hc attr theme.urgent.color '#7811A1dd'
|
||||
# hc attr theme.inner_width 0
|
||||
# hc attr theme.inner_color $COLOR_NB
|
||||
# hc attr theme.border_width 0
|
||||
# hc attr theme.floating.border_width 1
|
||||
# hc attr theme.floating.outer_width 1
|
||||
# hc attr theme.floating.normal.outer_color $COLOR_NB
|
||||
# hc attr theme.floating.active.outer_color $COLOR_SB
|
||||
# hc attr theme.active.inner_color $COLOR_NB
|
||||
# hc attr theme.urgent.inner_color '#9A65B0'
|
||||
# hc attr theme.normal.inner_color $COLOR_NB
|
||||
|
||||
# hc set window_gap 0
|
||||
|
||||
# rules
|
||||
hc unrule -F
|
||||
|
||||
#hc rule class=XTerm tag=3 # move all xterms to tag 3
|
||||
hc rule focus=on # normally focus new clients
|
||||
hc rule floatplacement=smart
|
||||
|
@ -10,16 +10,17 @@
|
||||
# | WINDOW DECORATION
|
||||
# +--------------------------------------------------
|
||||
|
||||
border_width = 1
|
||||
color_focus = rgb:ff/6A/00
|
||||
color_focus_maximized = rgb:ff/6A/00
|
||||
color_focus_maximized_free = rgb:ff/A6/00
|
||||
color_focus_free = rgb:ff/A6/00
|
||||
color_unfocus = rgb:47/47/47
|
||||
border_width = 2
|
||||
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
|
||||
tile_gap = 12
|
||||
region_padding = 12
|
||||
disable_border = 1
|
||||
tile_gap = 16
|
||||
region_padding = 16
|
||||
disable_border = 0
|
||||
maximize_hide_bar = 1
|
||||
|
||||
# +--------------------------------------------------
|
||||
# | BAR SETTINGS
|
||||
@ -29,14 +30,17 @@ bar_border_width = 1
|
||||
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
|
||||
bar_color_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:99/99/99,rgb:ff/6A/00,red
|
||||
bar_font_color_selected = rgb:ff/ff/ff
|
||||
|
||||
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 = Terminus:pixelsize=18
|
||||
bar_font_pua = CozetteVector:pixelsize=13
|
||||
bar_font_pua = PowerlineExtraSymbols:pixelsize=18
|
||||
bar_action = cbar
|
||||
bar_action_expand = 0
|
||||
bar_at_bottom = 0
|
||||
@ -61,25 +65,43 @@ bar_at_bottom = 0
|
||||
# ++ A literal ‘+’
|
||||
# +@ Prefix for text markup sequences
|
||||
|
||||
bar_format = +S WS:+I/+R H:+M +W +|2R +A %b %d %H:%M
|
||||
#bar_format = +S WS:+I/+R | H:+M | +W +|2R +A
|
||||
#bar_format = +I +S (+M) +|1R +A %Y-%m-%d %H:%M
|
||||
bar_format = +S +@bg=2;+L+@bg=0; +W +|2R +A
|
||||
|
||||
# +--------------------------------------------------
|
||||
# | WORKSPACE LAYOUT
|
||||
# +--------------------------------------------------
|
||||
|
||||
workspace_indicator = listall,markcurrent,markactive,markempty,markurgent,noindexes
|
||||
workspace_mark_active = '[A]'
|
||||
workspace_mark_current = '+@fg=1;[C]+@fg=0;'
|
||||
workspace_mark_empty = '[ ]'
|
||||
workspace_mark_urgent = '+@fg=2;[I]+@fg=0;'
|
||||
workspace_indicator = listactive,listcurrent,listurgent,listempty,markactive,markcurrent,markurgent,markempty,printnames,noindex
|
||||
|
||||
workspace_mark_current = '+@bg=1; '
|
||||
workspace_mark_current_suffix = ' +@bg=2;'
|
||||
workspace_mark_active = '+@bg=4; '
|
||||
workspace_mark_active_suffix = ' +@bg=2;'
|
||||
workspace_mark_urgent = '+@bg=3; '
|
||||
workspace_mark_urgent_suffix = ' +@bg=2;'
|
||||
workspace_mark_empty = '+@bg=2; '
|
||||
workspace_mark_empty_suffix = ' +@bg=2;'
|
||||
|
||||
name = ws[1]:1
|
||||
name = ws[2]:2
|
||||
name = ws[3]:3
|
||||
name = ws[4]:4
|
||||
name = ws[5]:5
|
||||
name = ws[6]:6
|
||||
name = ws[7]:7
|
||||
name = ws[8]:8
|
||||
name = ws[9]:9
|
||||
name = ws[10]:10
|
||||
|
||||
workspace_limit = 10
|
||||
stack_mark_horizontal = 'D'
|
||||
stack_mark_horizontal_flip = 'U'
|
||||
stack_mark_horizontal = 'v'
|
||||
stack_mark_horizontal_flip = '^'
|
||||
stack_mark_vertical = '>'
|
||||
stack_mark_vertical_flip = '<'
|
||||
stack_mark_max = 'M'
|
||||
stack_mark_floating = 'F'
|
||||
stack_mark_max = 'F'
|
||||
stack_mark_floating = '~'
|
||||
verbose_layout = 0
|
||||
urgent_enabled = 1
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
insteadOf = https://github.wdf.sap.corp/
|
||||
[url "git@github.infra.hana.ondemand.com:"]
|
||||
insteadOf = https://github.infra.hana.ondemand.com/
|
||||
[user "git@git.github.com:"]
|
||||
[user "git@github.com:"]
|
||||
name = Stefan Hagen
|
||||
email = sh+github@codevoid.de
|
||||
[user]
|
||||
|
@ -1,6 +1,6 @@
|
||||
asterisk = "*";
|
||||
prompt = "";
|
||||
font = "Terminus:pixelsize=18";
|
||||
font = "Terminus:pixelsize=16";
|
||||
bottom = false;
|
||||
|
||||
prompt_fg = "#FFFFFF";
|
||||
|
Loading…
Reference in New Issue
Block a user