diff --git a/docs/example.Xresources b/docs/example.Xresources index e1cdc86..5c6530a 100644 --- a/docs/example.Xresources +++ b/docs/example.Xresources @@ -1,4 +1,3 @@ - - speedwm.nmaster: 1 - speedwm.font: fontawesome:size=8 - speedwm.font2: NotoSans-Regular:size=8:antialiasing=true - speedwm.font3: Noto Emoji:size=8 @@ -53,7 +52,7 @@ - speedwm.mfact: 0.50 - speedwm.startontag: 1 - speedwm.enablegaps: 1 - - speedwm.smartgaps: 1 + - speedwm.smartgaps: 0 - speedwm.smartgapsize: 0 - speedwm.gappih: 10 - speedwm.gappiv: 10 @@ -67,8 +66,8 @@ - speedwm.defaultname: - speedwm.refreshrules: 1 - speedwm.decorhints: 1 - - speedwm.barpaddingv: 0 - - speedwm.barpaddingh: 0 + - speedwm.barpaddingv: 5 + - speedwm.barpaddingh: 5 - speedwm.barheight: 5 - speedwm.centerfloating: 1 - speedwm.savefloat: 1 @@ -114,3 +113,4 @@ - speedwm.underlinevoffset: 0 - speedwm.forcevsplit: 1 - speedwm.floatscratchpad: 0 + - speedwm.nmaster: 1 diff --git a/options.h b/options.h index ffd8c7a..392e253 100644 --- a/options.h +++ b/options.h @@ -100,16 +100,16 @@ */ /* Window alignment options */ -static unsigned int borderpx = 1; /* How big your border is */ +static unsigned int borderpx = 1; /* How big your border is in pixels */ static unsigned int snap = 20; /* Snap pixel */ -static int nmaster = 1; +static int nmaster = 1; /* Number of masters */ static int resizehints = 0; static int decorhints = 1; /* Respect decoration hints */ static int savefloat = 1; /* Save position of floating windows */ static int refreshrules = 1; /* Refresh rules when a CLASS or TITLE changes */ static int i3nmaster = 0; /* Enable i3-gaps like nmaster (1/0) */ static int mousemfact = 1; /* Enable adjusting mfact using the mouse (1/0) */ -static float mfact = 0.50; +static float mfact = 0.50; /* Default mfact value. 0.50 = each gets half the available space */ /* Window gap options */ static int enablegaps = 1; /* Enable gaps */ @@ -198,8 +198,8 @@ static int spacingicon = 5; /* spacing between the title /* Bar options */ static int barheight = 5; /* Bar height in px, 0 = calculate automatically */ static int barposition = 1; /* Bar position. Top: 0, Bottom: 1 */ -static int barpaddingv = 0; /* How much padding to have vertically in pixels */ -static int barpaddingh = 0; /* How much padding to have horizontally in pixels */ +static int barpaddingv = 5; /* How much padding to have vertically in pixels */ +static int barpaddingh = 5; /* How much padding to have horizontally in pixels */ static int leftlayout = 1; /* Layout indicator on the left (1) or on the right (0) */ /* Tag text options */