Update 2023-01-30 10:56 OpenBSD/amd64

This commit is contained in:
c0dev0id
2023-01-30 10:56:19 +01:00
parent 2921779271
commit 5f9d75b7c3
7 changed files with 31 additions and 17 deletions

View File

@@ -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')"),
})

View File

@@ -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.

View File

@@ -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")

View File

@@ -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",