Update 2023-12-21 22:27 OpenBSD/amd64-x13

This commit is contained in:
c0dev0id
2023-12-21 22:27:23 +01:00
parent 9fc938d31e
commit a1e7a589d0
9 changed files with 60 additions and 48 deletions

View File

@@ -7,6 +7,8 @@
hc() { herbstclient "$@"; }
hc emit_hook reload
hc detect_monitors
#hc attr settings.auto_detect_monitors true
xsetroot -solid '#000000'
@@ -41,6 +43,7 @@ hc keybind $Mod-q close_or_remove
hc keybind $Mod-Return spawn sterm
hc keybind $Mod-Shift-Return spawn bterm
hc keybind $Mod-d spawn dexec
hc keybind $Mod-a spawn dexec_apps
hc keybind $Mod-Shift-f spawn dexec_browser
hc keybind $Mod-Shift-p spawn dexec_pass
hc keybind $Mod-p spawn dexec_pim
@@ -55,16 +58,16 @@ hc keybind $Mod-Right focus right
# splitting frames
# create an empty frame at the specified direction
hc keybind $Mod-Control-Down chain . split bottom 0.5 . focus down
hc keybind $Mod-Control-Right chain . split right 0.5 . focus right
hc keybind $Mod-Control-Left chain . split left 0.5 . focus left
hc keybind $Mod-Control-Up chain . split top 0.5 . focus up
hc keybind $Mod-Shift-Down chain . split bottom 0.5 . focus down
hc keybind $Mod-Shift-Right chain . split right 0.5 . focus right
hc keybind $Mod-Shift-Left chain . split left 0.5 . focus left
hc keybind $Mod-Shift-Up chain . split top 0.5 . focus up
# move window between frames
hc keybind $Mod-Shift-Left shift left
hc keybind $Mod-Shift-Right shift right
hc keybind $Mod-Shift-Up shift up
hc keybind $Mod-Shift-Down shift down
hc keybind $Mod-Control-Left shift left
hc keybind $Mod-Control-Right shift right
hc keybind $Mod-Control-Up shift up
hc keybind $Mod-Control-Down shift down
# cycle tabs
hc keybind $Mod-Prior cycle -1
@@ -81,6 +84,9 @@ hc keybind $Mod-Control-Next chain . move_index +1 . use_index +1
# float
hc keybind $Mod-space set_attr clients.focus.floating toggle
# scratchpad
hc keybind $Mod-minus spawn scratchpad.sh
#######################################################################
# MOUSE BINDINGS
#######################################################################
@@ -135,9 +141,11 @@ hc set frame_bg_transparent on
hc set frame_transparent_width 5
hc set frame_gap 4
hc attr settings.frame_transparent_width 1
hc attr theme.title_height 15
hc attr theme.title_when always
hc attr theme.title_font 'Dejavu Sans:pixelsize=12' # example using Xft
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'
@@ -151,8 +159,8 @@ 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 3
hc attr theme.floating.border_width 4
hc attr theme.border_width 1
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'
@@ -199,5 +207,5 @@ hc unlock
# "$panel" "$monitor" &
# done
pkill -lf polybar
polybar &
# pkill -lf "^polybar$"
# polybar &