diff --git a/.bin/dexec_browser b/.bin/dexec_browser index f728ee7..ee1e7e5 100755 --- a/.bin/dexec_browser +++ b/.bin/dexec_browser @@ -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 '..\...'\ diff --git a/.config/spectrwm/spectrwm.conf b/.config/spectrwm/spectrwm.conf index ada276c..340374e 100644 --- a/.config/spectrwm/spectrwm.conf +++ b/.config/spectrwm/spectrwm.conf @@ -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 diff --git a/.kshrc b/.kshrc index e60f9ba..38f7bfc 100644 --- a/.kshrc +++ b/.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" diff --git a/.notion/cfg_dock.lua b/.notion/cfg_dock.lua index b49facb..b1ac3e7 100644 --- a/.notion/cfg_dock.lua +++ b/.notion/cfg_dock.lua @@ -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')"), }) diff --git a/.notion/cfg_kludges.lua b/.notion/cfg_kludges.lua index b7fbafb..29004f1 100644 --- a/.notion/cfg_kludges.lua +++ b/.notion/cfg_kludges.lua @@ -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. diff --git a/.notion/cfg_notion.lua b/.notion/cfg_notion.lua index 9634895..d6c8681 100644 --- a/.notion/cfg_notion.lua +++ b/.notion/cfg_notion.lua @@ -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") diff --git a/.notion/look_codevoid.lua b/.notion/look_codevoid.lua index f2d88b4..c68068d 100644 --- a/.notion/look_codevoid.lua +++ b/.notion/look_codevoid.lua @@ -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",