Update 2023-01-30 10:56 OpenBSD/amd64
This commit is contained in:
parent
2921779271
commit
5f9d75b7c3
@ -19,13 +19,13 @@ test -f ${HOME}/.bin/_config \
|
||||
test -f "${HISTFILE}" \
|
||||
|| touch "${HISTFILE}"
|
||||
|
||||
HISTDATA="$(while IFS= read -r l; do echo "${#l} $((++n)) $l"; done < "${HISTFILE}" | sort -t\| -k 2 -u | sort -n | cut -d" " -f3-)"
|
||||
|
||||
PICKLIST="paste_from_clipboard
|
||||
pick_from_history
|
||||
edit_history_file
|
||||
-----------------
|
||||
$(cat "${HISTFILE}" \
|
||||
| sort -t\| -k 2 -u \
|
||||
| sort -r \
|
||||
$(echo "${HISTDATA}" \
|
||||
| cut -b 23- \
|
||||
| egrep -v ' |^[^a-zA-Z0-9]' \
|
||||
| grep '..\...'\
|
||||
|
@ -12,11 +12,12 @@ bar_border = rgb:18/18/18
|
||||
bar_border_unfocus = rgb:18/18/18
|
||||
bar_color = rgb:18/18/18
|
||||
bar_color_selected = rgb:18/24/28
|
||||
bar_font_color = rgb:99/99/99
|
||||
bar_font_color = rgb:99/99/99,red
|
||||
bar_font_color_selected = rgb:ff/ff/ff
|
||||
bar_font = FuraCodeNerdFont-11
|
||||
bar_font_pua = FuraCodeNerdFont-13
|
||||
bar_action = cbar
|
||||
bar_action_expand = 1
|
||||
bar_at_bottom = 0
|
||||
bar_format = +S +L +R +I +M +W +|1R +A %Y-%m-%d %H:%M
|
||||
workspace_indicator = listall,markcurrent,markactive,markempty,noindexes
|
||||
@ -31,6 +32,12 @@ stack_mark_vertical_flip = ''
|
||||
stack_mark_max = ''
|
||||
|
||||
workspace_clamp = 1
|
||||
cycle_visible = 1
|
||||
warp_focus = 1
|
||||
focus_close_wrap = 1
|
||||
focus_mode = default
|
||||
verbose_layout = 1
|
||||
warp_pointer = 1
|
||||
|
||||
# Custom Quirks
|
||||
quirk[IPMIView20-IPMIView20:IPMIView20-IPMIView20] = FLOAT + ANYWHERE
|
||||
|
3
.kshrc
3
.kshrc
@ -129,7 +129,8 @@ alias kludges="vim ~/.notion/cfg_kludges.lua"
|
||||
alias spectrwmrc="vim ~/.config/spectrwm/spectrwm.conf"
|
||||
|
||||
# remind
|
||||
alias rem="remind -c+cl3 ~/.reminders"
|
||||
alias rem="clear; remind -c+cu4 -wt ~/.reminders"
|
||||
alias remy="clear; remind -cu12 -wt ~/.reminders | less"
|
||||
|
||||
# mastodon
|
||||
alias toot-sh="toot-wrapper sh@bsd.network"
|
||||
|
@ -5,7 +5,7 @@
|
||||
-- Create a dock
|
||||
mod_dock.create{
|
||||
-- Dock mode: embedded|floating
|
||||
mode="floating",
|
||||
mode="embedded",
|
||||
|
||||
-- The screen to create the dock on
|
||||
screen=0,
|
||||
@ -13,13 +13,13 @@ mod_dock.create{
|
||||
-- Corner or side of the screen to place the dock on.
|
||||
-- For embedded dock the valid values are: tl|tr|bl|br
|
||||
-- For floating dock the following are also valid: tc|bc|ml|mc|mr
|
||||
pos="mr",
|
||||
pos="bl",
|
||||
|
||||
-- Growth direction: left|right|up|down
|
||||
grow="down",
|
||||
grow="right",
|
||||
|
||||
-- Whether new dockapps should be added automatically to this dock
|
||||
is_auto=false,
|
||||
is_auto=true,
|
||||
|
||||
-- Show floating dock initially?
|
||||
floating_hidden=false,
|
||||
@ -31,5 +31,5 @@ mod_dock.create{
|
||||
-- For floating docks, you may want the following toggle binding.
|
||||
defbindings("WScreen", {
|
||||
bdoc("Toggle floating dock."),
|
||||
kpress(META.."c", "mod_dock.set_floating_shown_on(_, 'toggle')"),
|
||||
kpress(META.."b", "mod_dock.set_floating_shown_on(_, 'toggle')"),
|
||||
})
|
||||
|
@ -36,6 +36,13 @@ defwinprop {
|
||||
statusbar = "systray",
|
||||
}
|
||||
|
||||
defwinprop {
|
||||
class = "dzen2",
|
||||
is_dockapp = true,
|
||||
max_size = { w = 64, h = 64},
|
||||
}
|
||||
|
||||
|
||||
-- Define some additional title shortening rules to use when the full
|
||||
-- title doesn't fit in the available space. The first-defined matching
|
||||
-- rule that succeeds in making the title short enough is used.
|
||||
|
@ -57,19 +57,17 @@ dopath("cfg_notioncore")
|
||||
dopath("cfg_kludges")
|
||||
|
||||
-- Define some layouts.
|
||||
dopath("cfg_layouts")
|
||||
dopath("cfg_layout_dev")
|
||||
-- dopath("cfg_layouts")
|
||||
-- dopath("cfg_layout_dev")
|
||||
|
||||
-- Load modules
|
||||
-- Module mod_$module loads cfg_$module
|
||||
dopath("mod_query")
|
||||
dopath("mod_menu")
|
||||
dopath("mod_tiling")
|
||||
dopath("mod_statusbar")
|
||||
dopath("mod_dock")
|
||||
dopath("mod_sp")
|
||||
-- dopath("mod_dock")
|
||||
dopath("mod_statusbar")
|
||||
dopath("mod_float-sb")
|
||||
-- dopath("min_tabs")
|
||||
|
||||
-- dopath("net_client_list")
|
||||
dopath("mod_xrandr")
|
||||
|
@ -13,7 +13,7 @@ de.defstyle("*", {
|
||||
highlight_pixels = 1,
|
||||
shadow_pixels = 1,
|
||||
border_style = "elevated",
|
||||
font = "xft:FuraCodeNerdFont:size=18",
|
||||
font = "xft:FuraCodeNerdFont:size=9",
|
||||
text_align = "center",
|
||||
})
|
||||
|
||||
@ -93,6 +93,7 @@ de.defstyle("stdisp", {
|
||||
shadow_pixels = 0,
|
||||
highlight_pixels = 0,
|
||||
text_align = "left",
|
||||
font = "xft:FuraCodeNerdFont:size=12",
|
||||
|
||||
de.substyle("important", {
|
||||
foreground_colour = "green",
|
||||
|
Loading…
Reference in New Issue
Block a user