Update 2023-12-24 17:35 OpenBSD/amd64-x13

This commit is contained in:
c0dev0id
2023-12-24 17:35:07 +01:00
parent a0b32efe60
commit 7e9a9e039c
5 changed files with 130 additions and 76 deletions

View File

@@ -1,5 +1,7 @@
#!/usr/local/bin/bash
. ~/.bin/_config
#######################################################################
# STARTUP COMMANDS
#######################################################################
@@ -93,10 +95,9 @@ hc keybind $Mod-minus spawn scratchpad.sh
hc mouseunbind --all
# mouse
hc mousebind $Mod-Button1 drag '' move
hc mousebind $Mod-Button1 move
hc mousebind $Mod-Button3 resize
# XXX TODO BASHISM
# tags
tag_names=( {1..9} )
@@ -128,57 +129,102 @@ hc rule fixedsize floating=on
hc set tree_style '╾│ ├└╼─┐'
# theme
hc attr theme.tiling.reset 1
hc attr theme.floating.reset 1
hc set frame_border_active_color '#222222cc'
hc set frame_border_normal_color '#101010cc'
hc set frame_bg_normal_color '#565656aa'
hc set frame_bg_active_color '#345F0Caa'
hc set frame_border_width 1
hc set show_frame_decorations 'focused_if_multiple'
hc set frame_bg_transparent on
hc set frame_transparent_width 5
hc set frame_gap 4
# reset theme
hc attr theme.reset 1
hc attr settings.frame_transparent_width 1
# spacing
hc set frame_gap 14
hc attr theme.title_align center
hc set frame_padding 0
hc set smart_window_surroundings off
hc set smart_frame_surroundings off
hc attr theme.title_height 15
hc attr theme.title_when always
hc attr theme.title_font 'CozetteVector:pixelsize=13' # example using Xft
# hc attr theme.title_font '-*-fixed-medium-r-*-*-13-*-*-*-*-*-*-*'
hc attr theme.title_depth 3 # space below the title's baseline
hc attr theme.active.color '#345F0Cef'
hc attr theme.title_color '#ffffff'
hc attr theme.normal.color '#323232dd'
hc attr theme.urgent.color '#7811A1dd'
hc attr theme.tab_color '#1F1F1Fdd'
hc attr theme.active.tab_color '#2B4F0Add'
hc attr theme.active.tab_outer_color '#6C8257dd'
hc attr theme.active.tab_title_color '#ababab'
hc attr theme.normal.title_color '#898989'
hc attr theme.inner_width 1
hc attr theme.inner_color black
hc attr theme.border_width 1
# 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_depth 5
# BORDER WIDTH
hc attr theme.inner_width 0
hc attr theme.outer_width 0
hc attr theme.border_width 0
hc set frame_border_width 1
hc set window_border_width 0
# FLOATING WINDOW
hc attr theme.floating.border_width 1
hc attr theme.floating.outer_width 1
hc attr theme.floating.outer_color black
hc attr theme.active.inner_color '#789161'
hc attr theme.urgent.inner_color '#9A65B0'
hc attr theme.normal.inner_color '#606060'
# copy inner color to outer_color
for state in active urgent normal ; do
hc substitute C theme.${state}.inner_color \
attr theme.${state}.outer_color C
done
hc attr theme.tiling.outer_width 1
hc attr theme.background_color '#141414'
hc attr theme.floating.title_when always
# NORMAL BORDER COLOR
hc attr theme.normal.inner_color $COLOR_NB
hc attr theme.normal.outer_color $COLOR_NB
hc attr theme.normal.border_color $COLOR_NB
hc set frame_border_normal_color $COLOR_NB
hc set window_border_normal_color $COLOR_NB
# ACTIVE BORDER COLOR
hc attr theme.active.inner_color $COLOR_SB
hc attr theme.active.outer_color $COLOR_SB
hc attr theme.active.border_color $COLOR_SB
hc set frame_border_active_color $COLOR_SB
hc set window_border_active_color $COLOR_SB
# TAB BG COLOR
hc attr theme.active.color $COLOR_SB
hc attr theme.normal.color $COLOR_NB
# INACTIVE TAB TAB TEXT COLOR
hc attr theme.active.tab_title_color $COLOR_SF
hc attr theme.normal.tab_title_color $COLOR_NF
# ACTIVE TAB TEXT COLOR
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
# hc set frame_padding 0
# hc set smart_window_surroundings off
# hc set smart_frame_surroundings on
# hc set mouse_recenter_gap 0
# rules
hc unrule -F
@@ -207,5 +253,5 @@ hc unlock
# "$panel" "$monitor" &
# done
# pkill -lf "^polybar$"
# polybar &
pkill -lf "^polybar$"
polybar &