example.Xresources no longer crashes, was caused by warp value, we'll

see what we can do about it
This commit is contained in:
speedie 2022-12-18 20:30:02 +01:00
parent 6149a8500d
commit 12440ffb04
4 changed files with 74 additions and 80 deletions

View file

@ -375,7 +375,6 @@ Below is a list of all .Xresources values you can define.
- speedwm.client.swallowfloating: 1
- speedwm.client.wmclass: 1
- speedwm.fonts.font: NotoSans Regular 9
- speedwm.col.background: #222222
- speedwm.col.layout: #99b3ff
- speedwm.col.layouttext: #000000
- speedwm.col.status0: #131210
@ -412,24 +411,25 @@ Below is a list of all .Xresources values you can define.
- speedwm.col.powerline7_text: #131210
- speedwm.col.systray: #222222
- speedwm.col.tag1: #99b3ff
- speedwm.col.tag1.text: #eeeeee
- speedwm.col.tag2: #99b3ff
- speedwm.col.tag2.text: #eeeeee
- speedwm.col.tag3: #99b3ff
- speedwm.col.tag3.text: #eeeeee
- speedwm.col.tag4: #99b3ff
- speedwm.col.tag4.text: #eeeeee
- speedwm.col.tag5: #99b3ff
- speedwm.col.tag5.text: #eeeeee
- speedwm.col.tag6: #99b3ff
- speedwm.col.tag6.text: #eeeeee
- speedwm.col.tag7: #99b3ff
- speedwm.col.tag7.text: #eeeeee
- speedwm.col.tag8: #99b3ff
- speedwm.col.tag8.text: #eeeeee
- speedwm.col.tag9: #99b3ff
- speedwm.col.tag1.text: #eeeeee
- speedwm.col.tag2.text: #eeeeee
- speedwm.col.tag3.text: #eeeeee
- speedwm.col.tag4.text: #eeeeee
- speedwm.col.tag5.text: #eeeeee
- speedwm.col.tag6.text: #eeeeee
- speedwm.col.tag7.text: #eeeeee
- speedwm.col.tag8.text: #eeeeee
- speedwm.col.tag9.text: #eeeeee
- speedwm.col.tagurgent: #f0e68c
- speedwm.col.background: #222222
- speedwm.col.textnorm: #bbbbbb
- speedwm.col.textsel: #222222
- speedwm.col.titlenorm: #222222
@ -473,9 +473,8 @@ Below is a list of all .Xresources values you can define.
- speedwm.text.layout15: L15
- speedwm.color.hiddentitle: 1
- speedwm.color.layout: 0
- speedwm.color.selectedtitle: 1
- speedwm.color.selectedtitle: 0
- speedwm.bar.powerline.tag.shape: 0
- speedwm.cursor.warp: 1
- speedwm.focus.spawned: 0
- speedwm.fullscreen.hidebar: 1
- speedwm.fullscreen.lockfullscreen: 1
@ -497,7 +496,7 @@ Below is a list of all .Xresources values you can define.
- speedwm.mfact: 0.50
- speedwm.mfact.lowest: 0.05
- speedwm.mouse.clicktofocus: 0
- speedwm.mouse.mfact: 1
- speedwm.mouse.mfact: 1
- speedwm.mouse.cfact: 1
- speedwm.rule.refresh: 0
- speedwm.stack.attachdirection: 3

View file

@ -1,7 +1,9 @@
!! speedwm example .Xresources configuration file
!! - speedwm 1.9 example .Xresources configuration file -
!!
!! Copy to ~/.speedwmrc or ~/.config/speedwm/speedwmrc to use.
!! Alternatively append the values to your existing .Xresources.
!! Bar options
speedwm.bar.height: 3 ! Height of the bar in pixels (<num>)
speedwm.bar.position: 1 ! Position of the bar (0: Bottom, 1: Top)
speedwm.bar.paddingoh: 10 ! Horizontal padding (extra space) around the bar in pixels (<num>)
@ -10,7 +12,6 @@ speedwm.bar.paddingih: 0 ! Horizontal padding (extra space) insid
speedwm.bar.paddingiv: 0 ! Vertical padding (extra space) inside the bar in pixels (<num>)
!! Bar module options
speedwm.bar.hide: 0 ! Hide the bar by default (0/1)
speedwm.bar.hide.tags: 0 ! Hide the tags (0/1)
speedwm.bar.hide.emptytags: 1 ! Hide the tags that have no windows open (0/1)
@ -24,17 +25,14 @@ speedwm.bar.hide.icon: 0 ! Hide the window icon (0/1)
speedwm.bar.hide.clientindicator: 0 ! Hide the client indicator on the tags (0/1)
!! Title options
speedwm.bar.titleposition: 1 ! Position of the title (0: Left, 1: Center)
!! Border options
speedwm.border.roundedcorners: 0 ! Enable rounded corners around the border of windows (0/1)
speedwm.border.cornerradius: 2 ! Corner radius when rounded corners are enabled (<num>)
speedwm.border.size: 1 ! Size of the border around windows in pixels (<num>)
!! Client options
speedwm.client.allowurgent: 1 ! Allow windows to have the 'urgent' status (0/1)
speedwm.client.automove: 1 ! Allow windows to move themselves on demand. This may be annoying depending on what software you use and is disabled by default for this reason (0/1)
speedwm.client.autofocus: 1 ! Allow windows to focus themselves on demand. This may be annoying depending on what software you use and is disabled by default for this reason (0/1)
@ -50,15 +48,14 @@ speedwm.client.swallow: 1 ! Allow clients to be swallowed by the t
speedwm.client.swallowfloating: 1 ! Also allow floating clients to be swallowed (0/1)
speedwm.client.wmclass: 1 ! Enable workaround for when a class cannot be grabbed from a client (0/1)
!! Font options
!! Font used for the bar
speedwm.fonts.font: NotoSans Regular 9
!! Color options
speedwm.col.background: #222222
!! Layout colors
speedwm.col.layout: #99b3ff
speedwm.col.layouttext: #000000
!! Status colors
speedwm.col.status0: #131210
speedwm.col.status1: #bf616a
speedwm.col.status2: #A16F9D
@ -75,6 +72,8 @@ speedwm.col.status12: #afc9ac
speedwm.col.status13: #eae1cb
speedwm.col.status14: #6d5e8e
speedwm.col.status15: #ffffff
!! Powerline background colors
speedwm.col.powerline0: #131210
speedwm.col.powerline1: #bf616a
speedwm.col.powerline2: #A16F9D
@ -83,6 +82,8 @@ speedwm.col.powerline4: #A89F93
speedwm.col.powerline5: #D3A99B
speedwm.col.powerline6: #AFC9AC
speedwm.col.powerline7: #eae1cb
!! Powerline foreground colors
speedwm.col.powerline0_text: #eeeeee
speedwm.col.powerline1_text: #131210
speedwm.col.powerline2_text: #131210
@ -91,37 +92,55 @@ speedwm.col.powerline4_text: #131210
speedwm.col.powerline5_text: #131210
speedwm.col.powerline6_text: #131210
speedwm.col.powerline7_text: #131210
!! Systray colors
speedwm.col.systray: #222222
!! Tag background colors
speedwm.col.tag1: #99b3ff
speedwm.col.tag1.text: #eeeeee
speedwm.col.tag2: #99b3ff
speedwm.col.tag2.text: #eeeeee
speedwm.col.tag3: #99b3ff
speedwm.col.tag3.text: #eeeeee
speedwm.col.tag4: #99b3ff
speedwm.col.tag4.text: #eeeeee
speedwm.col.tag5: #99b3ff
speedwm.col.tag5.text: #eeeeee
speedwm.col.tag6: #99b3ff
speedwm.col.tag6.text: #eeeeee
speedwm.col.tag7: #99b3ff
speedwm.col.tag7.text: #eeeeee
speedwm.col.tag8: #99b3ff
speedwm.col.tag8.text: #eeeeee
speedwm.col.tag9: #99b3ff
!! Tag foreground colors
speedwm.col.tag1.text: #eeeeee
speedwm.col.tag2.text: #eeeeee
speedwm.col.tag3.text: #eeeeee
speedwm.col.tag4.text: #eeeeee
speedwm.col.tag5.text: #eeeeee
speedwm.col.tag6.text: #eeeeee
speedwm.col.tag7.text: #eeeeee
speedwm.col.tag8.text: #eeeeee
speedwm.col.tag9.text: #eeeeee
!! Tag misc colors
speedwm.col.tagurgent: #f0e68c
!! Generic background colors
speedwm.col.background: #222222
!! Generic foreground colors
speedwm.col.textnorm: #bbbbbb
speedwm.col.textsel: #222222
!! Title colors
speedwm.col.titlenorm: #222222
speedwm.col.titlesel: #99b3ff
speedwm.col.titlehid: #222222
!! Window border colors
speedwm.col.windowbordernorm: #000000
speedwm.col.windowbordersel: #eeeeee
speedwm.col.windowborderurg: #f0e68c
!! Text options
!!
!! Empty tags
speedwm.text.tag1.empty: 
speedwm.text.tag2.empty: 
speedwm.text.tag3.empty: 
@ -132,6 +151,7 @@ speedwm.text.tag7.empty: 
speedwm.text.tag8.empty: 
speedwm.text.tag9.empty: 
!! Used tags
speedwm.text.tag1.used: 
speedwm.text.tag2.used: 
speedwm.text.tag3.used: 
@ -142,6 +162,7 @@ speedwm.text.tag7.used: 
speedwm.text.tag8.used: 
speedwm.text.tag9.used: 
!! Layout text
speedwm.text.layout1: L1
speedwm.text.layout2: L2
speedwm.text.layout3: L3
@ -159,31 +180,22 @@ speedwm.text.layout14: L14
speedwm.text.layout15: L15
!! Color toggles
speedwm.color.hiddentitle: 1 ! Color the hidden title (0/1)
speedwm.color.layout: 0 ! Color the layout indicator (0/1)
speedwm.color.selectedtitle: 1 ! Color the selected title (0/1)
speedwm.color.selectedtitle: 0 ! Color the selected title (0/1)
!! Powerline options
speedwm.bar.powerline.tag.shape: 0 ! Shape of the tag powerlines (0: >, 1: /)
!! Cursor options
speedwm.cursor.warp: 1 ! Warp the cursor to the next focused window/monitor (0/1)
!! Focus options
speedwm.focus.spawned: 0 ! Focus the newly spawned window or keep focus (0/1)
!! Fullscreen options
speedwm.fullscreen.hidebar: 1 ! Hide the bar when a client is fullscreened (0/1)
speedwm.fullscreen.lockfullscreen: 1 ! Lock the fullscreen (0/1)
speedwm.fullscreen.movefullscreenmon: 0 ! Allow moving fullscreened windows to another monitor (0/1)
!! Gap options
speedwm.gaps.enable: 1 ! Enable gaps around the windows
speedwm.gaps.sizeih: 10 ! Horizontal inner gap size (<num>)
speedwm.gaps.sizeiv: 10 ! Vertical inner gap size (<num>)
@ -193,40 +205,33 @@ speedwm.gaps.smartgaps: 0 ! Enable different gap size when only on
speedwm.gaps.smartgapsize: 0 ! Size of the gaps when only one client is spawned (0/1)
!! Icon options
speedwm.icon.size: 10 ! Size of the window icon in the taskbar (<num>)
speedwm.icon.spacing: 5 ! Spacing between icon and text in the taskbar (<num>)
!! Layout options
!!
!! Deck layout
speedwm.layout.deck.count: 0 ! Enable deck count in the deck layout (0/1)
speedwm.layout.deck.format: [%d]
!! Monocle layout
speedwm.layout.monocle.clientcount: 0 ! Enable client count in the monocle layout (0/1)
speedwm.layout.monocle.count: 0 ! Enable focused client and number of total clients in the monocle layout (0/1)
speedwm.layout.monocle.format: [%d/%d]
!! mfact options
speedwm.mfact: 0.50 ! Default mfact (0-1)
speedwm.mfact.lowest: 0.05 ! Lowest possible mfact (0-1)
!! Mouse options
speedwm.mouse.clicktofocus: 0 ! Require clicking on a window to focus or focus when the cursor touches it (0/1)
speedwm.mouse.mfact: 1 ! Enable adjusting mfact with your mouse (0/1)
speedwm.mouse.mfact: 1 ! Enable adjusting mfact with your mouse (0/1)
speedwm.mouse.cfact: 1 ! Enable adjusting cfact with your mouse (0/1)
!! Rule options
speedwm.rule.refresh: 0 ! Allow rules to be refreshed if a title/class changes (0/1)
!! Stack options
speedwm.stack.attachdirection: 3 ! Direction to attach windows in (0: Default, 1: Above, 2: Aside, 3: Below, 4: Bottom, 5: Top)
speedwm.stack.centerfloating: 1 ! Center floating windows (0/1)
speedwm.stack.i3mcount: 0 ! Enable i3 like nmaster/mastercount (0/1)
@ -234,24 +239,20 @@ speedwm.stack.mastercount: 1 ! Number of master clients in the master
speedwm.stack.snap: 20 ! Snap pixel (<char>)
!! Text to print when no status bar is running. Empty means nothing.
speedwm.status.defaultstatus:
!! Switcher options
speedwm.switcher.maxheight: 200 ! Max height of the switcher in pixels (<char>)
speedwm.switcher.maxwidth: 600 ! Max width of the switcher in pixels (<char>)
speedwm.switcher.menupositionv: 1 ! Menu position of the switcher vertically (0: Bottom, 1: Center, 2: Top)
speedwm.switcher.menupositionh: 1 ! Menu position of the switcher horizontally (0: Left, 1: Center, 2: Right)
!! Systray options
speedwm.systray.padding: 2 ! Extra padding between status and systray (0/1)
speedwm.systray.pinning: 0 ! Always show systray on the focused monitor or <num> (0/<monitor number>)
speedwm.systray.position: 0 ! Position of the systray horizontally (0: Right, 1: Left)
!! Tag options
speedwm.tag.pertag: 1 ! Allow tags to have their own values (0/1)
speedwm.tag.preview: 1 ! Enable tag previews (0/1)
speedwm.tag.preview.bar: 1 ! Include the bar in the tag preview (0/1)
@ -270,14 +271,11 @@ speedwm.tag.underlinevoffset: 0 ! How far above the bottom of the bar th
speedwm.tag.urgentwindows: 1 ! Color tags that have urgent tags on them (0/1)
!! Tiling options
speedwm.tiling.resizehints: 0 ! Enable resize hints (0/1)
!! Shell to run commands with (<char>)
speedwm.run.shell: /bin/sh
!! You have reached the bottom of the speedwm config file.
!! It may be used as a reference for writing a config file from scratch, or simply copied somewhere and edited.
!! Defaults here should more or less represent the settings in the speedwm source code.

View file

@ -744,8 +744,6 @@ speedwm.client.wmclass: 1
.IP \[bu] 2
speedwm.fonts.font: NotoSans Regular 9
.IP \[bu] 2
speedwm.col.background: #222222
.IP \[bu] 2
speedwm.col.layout: #99b3ff
.IP \[bu] 2
speedwm.col.layouttext: #000000
@ -818,42 +816,44 @@ speedwm.col.systray: #222222
.IP \[bu] 2
speedwm.col.tag1: #99b3ff
.IP \[bu] 2
speedwm.col.tag1.text: #eeeeee
.IP \[bu] 2
speedwm.col.tag2: #99b3ff
.IP \[bu] 2
speedwm.col.tag2.text: #eeeeee
.IP \[bu] 2
speedwm.col.tag3: #99b3ff
.IP \[bu] 2
speedwm.col.tag3.text: #eeeeee
.IP \[bu] 2
speedwm.col.tag4: #99b3ff
.IP \[bu] 2
speedwm.col.tag4.text: #eeeeee
.IP \[bu] 2
speedwm.col.tag5: #99b3ff
.IP \[bu] 2
speedwm.col.tag5.text: #eeeeee
.IP \[bu] 2
speedwm.col.tag6: #99b3ff
.IP \[bu] 2
speedwm.col.tag6.text: #eeeeee
.IP \[bu] 2
speedwm.col.tag7: #99b3ff
.IP \[bu] 2
speedwm.col.tag7.text: #eeeeee
.IP \[bu] 2
speedwm.col.tag8: #99b3ff
.IP \[bu] 2
speedwm.col.tag8.text: #eeeeee
.IP \[bu] 2
speedwm.col.tag9: #99b3ff
.IP \[bu] 2
speedwm.col.tag1.text: #eeeeee
.IP \[bu] 2
speedwm.col.tag2.text: #eeeeee
.IP \[bu] 2
speedwm.col.tag3.text: #eeeeee
.IP \[bu] 2
speedwm.col.tag4.text: #eeeeee
.IP \[bu] 2
speedwm.col.tag5.text: #eeeeee
.IP \[bu] 2
speedwm.col.tag6.text: #eeeeee
.IP \[bu] 2
speedwm.col.tag7.text: #eeeeee
.IP \[bu] 2
speedwm.col.tag8.text: #eeeeee
.IP \[bu] 2
speedwm.col.tag9.text: #eeeeee
.IP \[bu] 2
speedwm.col.tagurgent: #f0e68c
.IP \[bu] 2
speedwm.col.background: #222222
.IP \[bu] 2
speedwm.col.textnorm: #bbbbbb
.IP \[bu] 2
speedwm.col.textsel: #222222
@ -940,12 +940,10 @@ speedwm.color.hiddentitle: 1
.IP \[bu] 2
speedwm.color.layout: 0
.IP \[bu] 2
speedwm.color.selectedtitle: 1
speedwm.color.selectedtitle: 0
.IP \[bu] 2
speedwm.bar.powerline.tag.shape: 0
.IP \[bu] 2
speedwm.cursor.warp: 1
.IP \[bu] 2
speedwm.focus.spawned: 0
.IP \[bu] 2
speedwm.fullscreen.hidebar: 1

View file

@ -119,7 +119,6 @@ ResourcePref resources[] = {
{ "bar.paddingih", INTEGER, &barpaddingih },
{ "stack.centerfloating", INTEGER, &centerfloating },
{ "client.savefloat", INTEGER, &savefloat },
{ "cursor.warp", INTEGER, &warpcursor },
{ "tag.pertag", INTEGER, &pertag },
{ "stack.i3mcount", INTEGER, &i3mastercount },
{ "bar.titleposition", INTEGER, &titleposition },
@ -141,7 +140,6 @@ ResourcePref resources[] = {
{ "tag.resetmfact", INTEGER, &resetmfact },
{ "tag.resetgaps", INTEGER, &resetgaps },
{ "client.wmclass", INTEGER, &wmclass },
{ "mouse.clicktofocus", INTEGER, &clicktofocus },
{ "tag.urgentwindows", INTEGER, &urgentwindows },
{ "tag.underline", INTEGER, &underline },
{ "tag.underlinepad", INTEGER, &underlinepad },
@ -156,6 +154,7 @@ ResourcePref resources[] = {
{ "gaps.smartgapsize", INTEGER, &smartgapsize },
{ "mouse.mfact", INTEGER, &mousemfact },
{ "mouse.cfact", INTEGER, &mousecfact },
{ "mouse.warpcursor", INTEGER, &warpcursor },
{ "focus.spawned", INTEGER, &focusspawn },
{ "client.floatscratchpad", INTEGER, &floatscratchpad },
{ "client.autofocus", INTEGER, &autofocus },