fix: html not being generated properly

This commit is contained in:
speediegq 2022-10-24 17:49:30 +02:00
parent c0800993ac
commit 3325239f89
4 changed files with 440 additions and 196 deletions

288
README.md
View file

@ -67,33 +67,22 @@ Please let me know if any keybinds are missing as these have been manually added
These keybinds are for navigating speedwm These keybinds are for navigating speedwm
- Super+t | Reorganize tags and move windows
- Super+f | Full-screen the selected window - Super+f | Full-screen the selected window
- Super+b | Show/hide the speedwm bar - Super+b | Show/hide the speedwm bar
- Super+s | Show/hide the systray - Super+s | Show/hide the systray
- Super+j/k | Move focus between visible windows - Super+j/k | Move focus between visible windows
- Super+m | Moves focus to the Master window (or back if Master is already focused) - Super+m | Moves focus to the Master window (or back if Master is already focused)
- Super+Control+z/x | Increase/decrease gaps between windows by 5
- Super+Control+j/k | Move focus between hidden windows (Can then 'Show')
- Super+a/d | Increase/decrease size of each window - Super+a/d | Increase/decrease size of each window
- Super+w/e | Resize the window keeping the aspect ratio of it.
- Super+o | Hide a window - Super+o | Hide a window
- Super+Control+o | Show a hidden focused window
- Super+Control+Shift+o | Show all hidden windows
- Super+Control+Shift+p | Hide all windows
- Super+Control+a/d | Move to the next/previous tag
- Super+Control+Shift+z/c | Move to the next/previous tag skipping any without windows open
- Super+Minus | Show the scratchpad - Super+Minus | Show the scratchpad
- Super+Equal | Remove the scratchpad - Super+Equal | Remove the scratchpad
- Super+Enter | Switch order of windows - Super+Enter | Switch order of windows
- Super+Shift+q | Close the current window
- Super+Colon | Open a list of desktop entries in dmenu - Super+Colon | Open a list of desktop entries in dmenu
- Super+Tab | Switch between windows on the same tag. (Like Windows Alt+Tab)
- Super+0 | Reset mfact - Super+0 | Reset mfact
- Super+r | Reset number of masters - Super+r | Reset number of masters
- Super+t | Disable inactive fade - Super+y | Make the current selected window sticky
- Super+Shift+Equal | Toggle scratchpads
- Super+Shift+Minus | Hide the scratchpad
- Super+Shift+Space | Unfloat floating windows
- Super+Shift+Arrow | Resizes a window in floating mode
- Super+1 | Move to tag 1 - Super+1 | Move to tag 1
- Super+2 | Move to tag 2 - Super+2 | Move to tag 2
- Super+3 | Move to tag 3 - Super+3 | Move to tag 3
@ -112,8 +101,14 @@ Please let me know if any keybinds are missing as these have been manually added
- Super+Shift+7 | Preview tag 7 - Super+Shift+7 | Preview tag 7
- Super+Shift+8 | Preview tag 8 - Super+Shift+8 | Preview tag 8
- Super+Shift+9 | Preview tag 9 - Super+Shift+9 | Preview tag 9
- Super+Shift+q | Close the current window
- Super+Shift+h/j/k/l | Rotates a stack. - Super+Shift+h/j/k/l | Rotates a stack.
- Super+Shift+Arrow | Resizes a window in floating mode
- Super+Shift+Escape | Ask the user if they want to shutdown or reboot or nothing - Super+Shift+Escape | Ask the user if they want to shutdown or reboot or nothing
- Super+Shift+Tab | Switch between windows and tags in detail.
- Super+Shift+Equal | Toggle scratchpads
- Super+Shift+Minus | Hide the scratchpad
- Super+Shift+Space | Toggle floating windows
- Super+Control+1 | Combine the current tag with tag 1 - Super+Control+1 | Combine the current tag with tag 1
- Super+Control+2 | Combine the current tag with tag 2 - Super+Control+2 | Combine the current tag with tag 2
- Super+Control+3 | Combine the current tag with tag 3 - Super+Control+3 | Combine the current tag with tag 3
@ -123,14 +118,21 @@ Please let me know if any keybinds are missing as these have been manually added
- Super+Control+7 | Combine the current tag with tag 7 - Super+Control+7 | Combine the current tag with tag 7
- Super+Control+8 | Combine the current tag with tag 8 - Super+Control+8 | Combine the current tag with tag 8
- Super+Control+9 | Combine the current tag with tag 9 - Super+Control+9 | Combine the current tag with tag 9
- Super+Control+Shift+Colon | Open a list of extra software in dmenu
- Super+Control+q | Mutes your audio - Super+Control+q | Mutes your audio
- Super+Control+w | Increases your volume - Super+Control+w | Increases your volume
- Super+Control+e | Decreases your volume - Super+Control+e | Decreases your volume
- Super+Control+0 | Tag all tags at once. - Super+Control+0 | Tag all tags at once.
- Super+Control+z/x | Increase/decrease gaps between windows by 5
- Super+Control+j/k | Move focus between hidden windows (Can then 'Show')
- Super+Control+Arrow | Moves a window to any corner of your screen (Arrow key) - Super+Control+Arrow | Moves a window to any corner of your screen (Arrow key)
- Super+Control+Tab | Open a dmenu prompt asking the user what layout to switch to - Super+Control+Tab | Open a dmenu prompt asking the user what layout to switch to
- Super+Control+h | Open a list of all keybinds in your terminal using less - Super+Control+h | Open a list of all keybinds in your terminal using less
- Super+Control+o | Show a hidden focused window
- Super+Control+a/d | Move to the next/previous tag
- Super+Control+Shift+o | Show all hidden windows
- Super+Control+Shift+p | Hide all windows
- Super+Control+Shift+Colon | Open a list of extra software in dmenu
- Super+Control+Shift+z/c | Move to the next/previous tag skipping any without windows open
- Super+Control+Shift+a/d | Move between available layouts - Super+Control+Shift+a/d | Move between available layouts
- Super+Control+Shift+1 | Move the focused window to tag 1 - Super+Control+Shift+1 | Move the focused window to tag 1
- Super+Control+Shift+2 | Move the focused window to tag 2 - Super+Control+Shift+2 | Move the focused window to tag 2
@ -151,13 +153,27 @@ Please let me know if any keybinds are missing as these have been manually added
- Super+Control+Shift+w | Decreases your music volume - Super+Control+Shift+w | Decreases your music volume
- Super+Control+Shift+e | Increase your music volume - Super+Control+Shift+e | Increase your music volume
- Super+Control+Shift+r | Restart speedwm - Super+Control+Shift+r | Restart speedwm
- Super+w/e | Resize the window keeping the aspect ratio of it.
- Super+Tab | Switch between windows on the same tag. (Like Windows Alt+Tab)
- Super+Shift+Tab | Switch between windows and tags in detail.
- Super+Control+Shift+j/k | Change window size vertically (cfact) - Super+Control+Shift+j/k | Change window size vertically (cfact)
- Super+Control+Shift+Equal | Increase bar height by 1
- Super+Control+Shift+Minus | Decrease bar height by 1
### Chained keybinds ### Chained keybinds
- Super+r & s | Run screenkey if it is installed
- Super+r & d | Kill screenkey
- Super+w & r | Randomize wallpaper
- Super+w & p | Set wallpaper to the previous
- Super+t & r | Reorganize tags and move windows
- Super+t & t | Toggle tag area in the bar
- Super+t & y | Toggle empty tag area in the bar
- Super+t & w | Toggle title area in the bar
- Super+t & u | Toggle unselected title area in the bar
- Super+t & p | Toggle powerline tags in the bar
- Super+t & s | Toggle status area in the bar
- Super+t & l | Toggle layout area in the bar
- Super+t & o | Toggle inactive fade
- Super+t & b | Show all bar modules
- Super+t & s | Make the current selected window sticky
- Super+c & w | Get the weather (Using wttr.in) - Super+c & w | Get the weather (Using wttr.in)
- Super+c & n | Switch to the next track - Super+c & n | Switch to the next track
- Super+c & p | Switch to the previous track - Super+c & p | Switch to the previous track
@ -166,16 +182,15 @@ Please let me know if any keybinds are missing as these have been manually added
- Super+g & i | Increase inner gaps by 1 - Super+g & i | Increase inner gaps by 1
- Super+g & o | Increase outer gaps by 1 - Super+g & o | Increase outer gaps by 1
- Super+g & j/k | Increase/decrease gaps between windows by 1 - Super+g & j/k | Increase/decrease gaps between windows by 1
- Super+p & j/k | Increase/decrease bar padding by 1
- Super+p & u/d | Increase/decrease bar padding by 5
- Super+p & r | Reset bar padding to default
- Super+p & t | Toggle bar padding on/off
- Super+Shift+g & i | Decrease inner gaps by 1 - Super+Shift+g & i | Decrease inner gaps by 1
- Super+Shift+g & o | Decrease outer gaps by 1 - Super+Shift+g & o | Decrease outer gaps by 1
- Super+r & s | Run screenkey if it is installed
- Super+r & d | Kill screenkey
- Super+Shift+e & a | Open the virtual keyboard - Super+Shift+e & a | Open the virtual keyboard
- Super+Shift+e & e | Open a list of all emojis and copy the selection - Super+Shift+e & e | Open a list of all emojis and copy the selection
- Super+Shift+k & o | Kill every window except the focused - Super+Shift+k & o | Kill every window except the focused
- Super+t & s | Make the current selected window sticky
- Super+w & r | Randomize wallpaper
- Super+w & p | Set wallpaper to the previous
### Extras ### Extras
@ -306,6 +321,207 @@ Note that the 'xrdb' dependency is required for both pywal and .Xresources suppo
Below is a list of all .Xresources values you can define. The .Xresources file should be placed in ~ or ~/.config by the user. Below is a list of all .Xresources values you can define. The .Xresources file should be placed in ~ or ~/.config by the user.
If it is not or you want it somewhere else, you can edit 'autostart.h' and 'make clean install'. If it is not or you want it somewhere else, you can edit 'autostart.h' and 'make clean install'.
- speedwm.bar.height: 8 ! Height of the bar in pixels (<num>)
- speedwm.bar.position: 1 ! Position of the bar (0: Bottom, 1: Top)
- speedwm.bar.paddingh: 10 ! Horizontal padding (extra space) around the bar in pixels (<num>)
- speedwm.bar.paddingv: 10 ! Vertical padding (extra space) around the bar in pixels (<num>)
- 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)
- speedwm.bar.hide.powerline: 0 ! Hide the powerline drawn over the tags (0/1)
- speedwm.bar.hide.floating: 0 ! Hide the floating window indicator (0/1)
- speedwm.bar.hide.layout: 0 ! Hide the layout indicator (0/1)
- speedwm.bar.hide.sticky: 0 ! Hide the sticky indicator (0/1)
- speedwm.bar.hide.status: 0 ! Hide the status bar (0/1)
- speedwm.bar.hide.systray: 1 ! Hide the systray (0/1)
- speedwm.bar.hide.title: 0 ! Hide the window title (0/1)
- speedwm.bar.hide.unseltitle: 1 ! Hide the unselected window title (0/1)
- speedwm.bar.hide.icon: 0 ! Hide the window icon (0/1)
- speedwm.bar.layoutposition: 1 ! Position of the layout indicator (0: Right, 1: Left)
- 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>)
- speedwm.client.allowurgent: 1 ! Allow windows to have the 'urgent' status (0/1)
- speedwm.client.autoresize: 1 ! Allow windows to resize themselves on demand (0/1)
- speedwm.client.decorhints: 1 ! Respect decoration hints for windows (0/1)
- speedwm.client.fade.inactive: 1 ! Fade inactive windows (windows that are not focused) (0/1)
- speedwm.client.fade.windows: 1 ! Fade windows (0/1)
- speedwm.client.floatscratchpad: 0 ! Float a scratchpad window when it is shown (0/1)
- speedwm.client.savefloat: 1 ! Save the position of floating windows when they are no longer floating (0/1)
- speedwm.client.swallow: 1 ! Allow clients to be swallowed by the terminal emulator (0/1)
- 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)
- speedwm.fonts.font1: NotoSans-Regular:size=8:antialiasing=true
- speedwm.fonts.font2: fontawesome:size=8:antialiasing=true
- speedwm.fonts.font3: Noto Color Emoji:size=8:antialiasing=true
- speedwm.col.background: #222222
- speedwm.col.layout: #99b3ff
- speedwm.col.layouttext: #000000
- speedwm.col.status0: #131210
- speedwm.col.status1: #bf616a
- speedwm.col.status2: #A16F9D
- speedwm.col.status3: #68ABAA
- speedwm.col.status4: #A89F93
- speedwm.col.status5: #D3A99B
- speedwm.col.status6: #AFC9AC
- speedwm.col.status7: #eae1cb
- speedwm.col.status8: #a39d8e
- speedwm.col.status9: #6D5E8E
- speedwm.col.status10: #a16f9d
- speedwm.col.status11: #d3a99b
- speedwm.col.status12: #afc9ac
- speedwm.col.status13: #eae1cb
- speedwm.col.status14: #6d5e8e
- speedwm.col.status15: #ffffff
- 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.tag9.text: #eeeeee
- speedwm.col.tagurgent: #f0e68c
- speedwm.col.textnorm: #bbbbbb
- speedwm.col.textsel: #eeeeee
- speedwm.col.titlenorm: #222222
- speedwm.col.titlesel: #99b3ff
- speedwm.col.titlehid: #222222
- speedwm.col.windowbordernorm: #000000
- speedwm.col.windowbordersel: #eeeeee
- speedwm.col.windowborderurg: #f0e68c
- speedwm.color.hiddentitle: 1 ! Color the hidden title (0/1)
- speedwm.color.layout: 0 ! Color the layout indicator (0/1)
- speedwm.color.selectedtitle: 0 ! Color the selected title (0/1)
- speedwm.cursor.warp: 1 ! Warp the cursor to the next focused window/monitor (0/1)
- speedwm.focus.spawned: 0 ! Focus the newly spawned window or keep focus (0/1)
- 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)
- 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>)
- speedwm.gaps.sizeoh: 10 ! Horizontal outer gap size (<num>)
- speedwm.gaps.sizeov: 10 ! Vertical outer gap size (<num>)
- speedwm.gaps.smartgaps: 0 ! Enable different gap size when only one client is spawned (0/1)
- speedwm.gaps.smartgapsize: 0 ! Size of the gaps when only one client is spawned (0/1)
- 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>)
- speedwm.layout.deck.count: 0 ! Enable deck count in the deck layout (0/1)
- speedwm.layout.deck.format: [0]
- speedwm.layout.dgrid.forcevsplit: 1 ! Force vertical splits in the dynamic grid layout (0/1)
- 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: [0/0]
- speedwm.mfact: 0.50 ! Default mfact (0-1)
- speedwm.mfact.lowest: 0.05 ! Lowest possible mfact (0-1)
- 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.cfact: 1 ! Enable adjusting cfact with your mouse (0/1)
- speedwm.mouse.mousepreview: 1 ! Enable previewing tags by hovering over them with your cursor (0/1)
- speedwm.rule.refresh: 1 ! Allow rules to be refreshed if a title/class changes (0/1)
- 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)
- speedwm.stack.mastercount: 1 ! Number of master clients in the master stack to start with (0/1)
- speedwm.stack.snap: 20 ! Snap pixel (<char>)
- speedwm.status.defaultstatus:
- speedwm.status.status: status
- speedwm.status.statusallmons: 1 ! Display status text on all monitors (0/1)
- 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)
- 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)
- 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: 0 ! Include the bar in the tag preview (0/1)
- speedwm.tag.preview.paddingh: 0 ! Extra horizontal padding between the tag preview and the edge of the screen (<num>)
- speedwm.tag.preview.paddingv: 0 ! Extra vertical padding between the tag preview and the bar (<num>)
- speedwm.tag.preview.scale: 2 ! Amount to scale down the preview picture by (<num>)
- speedwm.tag.resetgaps: 1 ! Reset gaps when the tag has no clients (0/1)
- speedwm.tag.resetlayout: 1 ! Reset layout when the tag has no clients (0/1)
- speedwm.tag.resetmfact: 1 ! Reset mfact when the tag has no clients (0/1)
- speedwm.tag.start: 1 ! Start on a tag on startup (0/1)
- speedwm.tag.underline: 0 ! Draw an underline on the tags (0/1)
- speedwm.tag.underlineall: 0 ! Show underline on all tags or just the selected tags (0/1)
- speedwm.tag.underlinepad: 5 ! Horizontal padding between the underline and tag (<num>)
- speedwm.tag.underlinestroke: 2 ! Height of the underline in pixels (<num>)
- speedwm.tag.underlinevoffset: 0 ! How far above the bottom of the bar the line should appear (<num)
- speedwm.tag.urgentwindows: 1 ! Color tags that have urgent tags on them (0/1)
- speedwm.tiling.resizehints: 0 ! Enable resize hints (0/1)
- speedwm.run.shell: /bin/sh
## Signals ## Signals
Thanks to the 'fsignal' patch available on suckless.org's website, we can easily write shell scripts to interact with dwm and therefore speedwm. Thanks to the 'fsignal' patch available on suckless.org's website, we can easily write shell scripts to interact with dwm and therefore speedwm.
I made some changes to this patch, because it has some.. questionable behaviour in my opinion. I made some changes to this patch, because it has some.. questionable behaviour in my opinion.
@ -381,6 +597,32 @@ Below is a list of all signums and what they do.
- 65 | Reload .Xresources on the fly - 65 | Reload .Xresources on the fly
- 66 | Switch to the previous tag, skipping empty tags - 66 | Switch to the previous tag, skipping empty tags
- 67 | Switch to the next tag, skipping empty tags - 67 | Switch to the next tag, skipping empty tags
- 68 | Toggle the tag area in the bar
- 69 | Toggle the empty tags in the bar
- 70 | Toggle the powerline tags in the bar
- 71 | Toggle the title area in the bar
- 72 | Toggle the unselected title area in the bar
- 73 | Toggle the layout area in the bar
- 74 | Toggle the status area in the bar
- 75 | Toggle the floating indicator area in the bar
- 76 | Toggle the sticky indicator area in the bar
- 77 | Toggle the icon in the window title
- 78 | Show all bar modules
- 79 | Increase bar height by 1
- 80 | Decrease bar height by 1
- 81 | Reset bar height
- 82 | Increase vertical barpadding by 1
- 83 | Decrease vertical barpadding by 1
- 84 | Increase horizontal barpadding by 1
- 85 | Decrease horizontal barpadding by 1
- 86 | Increase vertical and horizontal barpadding by 1
- 87 | Decrease vertical and horizontal barpadding by 1
- 88 | Toggle vertical barpadding
- 89 | Toggle horizontal barpadding
- 90 | Toggle vertical and horizontal barpadding
- 91 | Reset vertical barpadding
- 92 | Reset horizontal barpadding
- 93 | Reset vertical and horizontal barpadding
## Switching run launcher ## Switching run launcher
Some users may prefer to use a different run launcher than dmenu. Some users may prefer to use a different run launcher than dmenu.

View file

@ -7,60 +7,60 @@
!! !!
!! NOTE: This configuration file is not and will never be compatible with speedwm 0.9 and older. !! NOTE: This configuration file is not and will never be compatible with speedwm 0.9 and older.
!! Version 1.0 changed every single value and as such, compatibility with older versions was lost. !! Version 1.0 changed every single value and as such, compatibility with older versions was lost.
!@
!! Bar options !! Bar options
!@
- speedwm.bar.height: 8 !! Height of the bar in pixels (<num>) - speedwm.bar.height: 8 ! Height of the bar in pixels (<num>)
- speedwm.bar.position: 1 !! Position of the bar (0: Bottom, 1: Top) - speedwm.bar.position: 1 ! Position of the bar (0: Bottom, 1: Top)
- speedwm.bar.paddingh: 10 !! Horizontal padding (extra space) around the bar in pixels (<num>) - speedwm.bar.paddingh: 10 ! Horizontal padding (extra space) around the bar in pixels (<num>)
- speedwm.bar.paddingv: 10 !! Vertical padding (extra space) around the bar in pixels (<num>) - speedwm.bar.paddingv: 10 ! Vertical padding (extra space) around the bar in pixels (<num>)
!@
!! Bar module options !! Bar module options
!@
- speedwm.bar.hide: 0 !! Hide the bar by default (0/1) - speedwm.bar.hide: 0 ! Hide the bar by default (0/1)
- speedwm.bar.hide.tags: 0 !! Hide the tags (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) - speedwm.bar.hide.emptytags: 1 ! Hide the tags that have no windows open (0/1)
- speedwm.bar.hide.powerline: 0 !! Hide the powerline drawn over the tags (0/1) - speedwm.bar.hide.powerline: 0 ! Hide the powerline drawn over the tags (0/1)
- speedwm.bar.hide.floating: 0 !! Hide the floating window indicator (0/1) - speedwm.bar.hide.floating: 0 ! Hide the floating window indicator (0/1)
- speedwm.bar.hide.layout: 0 !! Hide the layout indicator (0/1) - speedwm.bar.hide.layout: 0 ! Hide the layout indicator (0/1)
- speedwm.bar.hide.sticky: 0 !! Hide the sticky indicator (0/1) - speedwm.bar.hide.sticky: 0 ! Hide the sticky indicator (0/1)
- speedwm.bar.hide.status: 0 !! Hide the status bar (0/1) - speedwm.bar.hide.status: 0 ! Hide the status bar (0/1)
- speedwm.bar.hide.systray: 1 !! Hide the systray (0/1) - speedwm.bar.hide.systray: 1 ! Hide the systray (0/1)
- speedwm.bar.hide.title: 0 !! Hide the window title (0/1) - speedwm.bar.hide.title: 0 ! Hide the window title (0/1)
- speedwm.bar.hide.unseltitle: 1 !! Hide the unselected window title (0/1) - speedwm.bar.hide.unseltitle: 1 ! Hide the unselected window title (0/1)
- speedwm.bar.hide.icon: 0 !! Hide the window icon (0/1) - speedwm.bar.hide.icon: 0 ! Hide the window icon (0/1)
!@
!! Layout indicator options !! Layout indicator options
!@
- speedwm.bar.layoutposition: 1 !! Position of the layout indicator (0: Right, 1: Left) - speedwm.bar.layoutposition: 1 ! Position of the layout indicator (0: Right, 1: Left)
!@
!! Border options !! Border options
!@
- speedwm.border.roundedcorners: 0 !! Enable rounded corners around the border of windows (0/1) - 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.cornerradius: 2 ! Corner radius when rounded corners are enabled (<num>)
- speedwm.border.size: 1 !! Size of the border around windows in pixels (<num>) - speedwm.border.size: 1 ! Size of the border around windows in pixels (<num>)
!@
!! Client options !! Client options
!@
- speedwm.client.allowurgent: 1 !! Allow windows to have the 'urgent' status (0/1) - speedwm.client.allowurgent: 1 ! Allow windows to have the 'urgent' status (0/1)
- speedwm.client.autoresize: 1 !! Allow windows to resize themselves on demand (0/1) - speedwm.client.autoresize: 1 ! Allow windows to resize themselves on demand (0/1)
- speedwm.client.decorhints: 1 !! Respect decoration hints for windows (0/1) - speedwm.client.decorhints: 1 ! Respect decoration hints for windows (0/1)
- speedwm.client.fade.inactive: 1 !! Fade inactive windows (windows that are not focused) (0/1) - speedwm.client.fade.inactive: 1 ! Fade inactive windows (windows that are not focused) (0/1)
- speedwm.client.fade.windows: 1 !! Fade windows (0/1) - speedwm.client.fade.windows: 1 ! Fade windows (0/1)
- speedwm.client.floatscratchpad: 0 !! Float a scratchpad window when it is shown (0/1) - speedwm.client.floatscratchpad: 0 ! Float a scratchpad window when it is shown (0/1)
- speedwm.client.savefloat: 1 !! Save the position of floating windows when they are no longer floating (0/1) - speedwm.client.savefloat: 1 ! Save the position of floating windows when they are no longer floating (0/1)
- speedwm.client.swallow: 1 !! Allow clients to be swallowed by the terminal emulator (0/1) - speedwm.client.swallow: 1 ! Allow clients to be swallowed by the terminal emulator (0/1)
- speedwm.client.swallowfloating: 1 !! Also allow floating clients to be swallowed (0/1) - 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) - speedwm.client.wmclass: 1 ! Enable workaround for when a class cannot be grabbed from a client (0/1)
!@
!! Font options !! Font options
!@
- speedwm.fonts.font1: NotoSans-Regular:size=8:antialiasing=true - speedwm.fonts.font1: NotoSans-Regular:size=8:antialiasing=true
- speedwm.fonts.font2: fontawesome:size=8:antialiasing=true - speedwm.fonts.font2: fontawesome:size=8:antialiasing=true
- speedwm.fonts.font3: Noto Color Emoji:size=8:antialiasing=true - speedwm.fonts.font3: Noto Color Emoji:size=8:antialiasing=true
!@
!! Color options !! Color options
!@
- speedwm.col.background: #222222 - speedwm.col.background: #222222
- speedwm.col.layout: #99b3ff - speedwm.col.layout: #99b3ff
- speedwm.col.layouttext: #000000 - speedwm.col.layouttext: #000000
@ -108,137 +108,137 @@
- speedwm.col.windowbordernorm: #000000 - speedwm.col.windowbordernorm: #000000
- speedwm.col.windowbordersel: #eeeeee - speedwm.col.windowbordersel: #eeeeee
- speedwm.col.windowborderurg: #f0e68c - speedwm.col.windowborderurg: #f0e68c
!@
!! Color toggles !! Color toggles
!@
- speedwm.color.hiddentitle: 1 !! Color the hidden title (0/1) - speedwm.color.hiddentitle: 1 ! Color the hidden title (0/1)
- speedwm.color.layout: 0 !! Color the layout indicator (0/1) - speedwm.color.layout: 0 ! Color the layout indicator (0/1)
- speedwm.color.selectedtitle: 0 !! Color the selected title (0/1) - speedwm.color.selectedtitle: 0 ! Color the selected title (0/1)
!@
!! Cursor options !! Cursor options
!@
- speedwm.cursor.warp: 1 !! Warp the cursor to the next focused window/monitor (0/1) - speedwm.cursor.warp: 1 ! Warp the cursor to the next focused window/monitor (0/1)
!@
!! Focus options !! Focus options
!@
- speedwm.focus.spawned: 0 !! Focus the newly spawned window or keep focus (0/1) - speedwm.focus.spawned: 0 ! Focus the newly spawned window or keep focus (0/1)
!@
!! Fullscreen options !! Fullscreen options
!@
- speedwm.fullscreen.hidebar: 1 !! Hide the bar when a client is fullscreened (0/1) - 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.lockfullscreen: 1 ! Lock the fullscreen (0/1)
- speedwm.fullscreen.movefullscreenmon: 0 !! Allow moving fullscreened windows to another monitor (0/1) - speedwm.fullscreen.movefullscreenmon: 0 ! Allow moving fullscreened windows to another monitor (0/1)
!@
!! Gap options !! Gap options
!@
- speedwm.gaps.enable: 1 !! Enable gaps around the windows - speedwm.gaps.enable: 1 ! Enable gaps around the windows
- speedwm.gaps.sizeih: 10 !! Horizontal inner gap size (<num>) - speedwm.gaps.sizeih: 10 ! Horizontal inner gap size (<num>)
- speedwm.gaps.sizeiv: 10 !! Vertical inner gap size (<num>) - speedwm.gaps.sizeiv: 10 ! Vertical inner gap size (<num>)
- speedwm.gaps.sizeoh: 10 !! Horizontal outer gap size (<num>) - speedwm.gaps.sizeoh: 10 ! Horizontal outer gap size (<num>)
- speedwm.gaps.sizeov: 10 !! Vertical outer gap size (<num>) - speedwm.gaps.sizeov: 10 ! Vertical outer gap size (<num>)
- speedwm.gaps.smartgaps: 0 !! Enable different gap size when only one client is spawned (0/1) - speedwm.gaps.smartgaps: 0 ! Enable different gap size when only one client is spawned (0/1)
- speedwm.gaps.smartgapsize: 0 !! Size of the gaps when only one client is spawned (0/1) - speedwm.gaps.smartgapsize: 0 ! Size of the gaps when only one client is spawned (0/1)
!@
!! Icon options !! Icon options
!@
- speedwm.icon.size: 10 !! Size of the window icon in the taskbar (<num>) - 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>) - speedwm.icon.spacing: 5 ! Spacing between icon and text in the taskbar (<num>)
!@
!! Layout options !! Layout options
!@
!! Deck layout !! Deck layout
!@
- speedwm.layout.deck.count: 0 !! Enable deck count in the deck layout (0/1) - speedwm.layout.deck.count: 0 ! Enable deck count in the deck layout (0/1)
!@
!! Format of the deck count where %d is the deck count (string) !! Format of the deck count where %d is the deck count (string)
- speedwm.layout.deck.format: [%d] - speedwm.layout.deck.format: [%d]
!@
!! Dynamic Grid layout !! Dynamic Grid layout
!@
- speedwm.layout.dgrid.forcevsplit: 1 !! Force vertical splits in the dynamic grid layout (0/1) - speedwm.layout.dgrid.forcevsplit: 1 ! Force vertical splits in the dynamic grid layout (0/1)
!@
!! Monocle layout !! Monocle layout
!@
- speedwm.layout.monocle.clientcount: 0 !! Enable client count in the monocle layout (0/1) - 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.count: 0 ! Enable focused client and number of total clients in the monocle layout (0/1)
!@
!! Format of the monocle count where %d is the monocle count (string) !! Format of the monocle count where %d is the monocle count (string)
- speedwm.layout.monocle.format: [%d/%d] - speedwm.layout.monocle.format: [%d/%d]
!@
!! mfact options !! mfact options
!@
- speedwm.mfact: 0.50 !! Default mfact (0-1) - speedwm.mfact: 0.50 ! Default mfact (0-1)
- speedwm.mfact.lowest: 0.05 !! Lowest possible mfact (0-1) - speedwm.mfact.lowest: 0.05 ! Lowest possible mfact (0-1)
!@
!! Mouse options !! Mouse options
!@
- speedwm.mouse.clicktofocus: 0 !! Require clicking on a window to focus or focus when the cursor touches it (0/1) - 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) - speedwm.mouse.cfact: 1 ! Enable adjusting cfact with your mouse (0/1)
- speedwm.mouse.mousepreview: 1 !! Enable previewing tags by hovering over them with your cursor (0/1) - speedwm.mouse.mousepreview: 1 ! Enable previewing tags by hovering over them with your cursor (0/1)
!@
!! Rule options !! Rule options
!@
- speedwm.rule.refresh: 1 !! Allow rules to be refreshed if a title/class changes (0/1) - speedwm.rule.refresh: 1 ! Allow rules to be refreshed if a title/class changes (0/1)
!@
!! Stack options !! 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.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.centerfloating: 1 ! Center floating windows (0/1)
- speedwm.stack.i3mcount: 0 !! Enable i3 like nmaster/mastercount (0/1) - speedwm.stack.i3mcount: 0 ! Enable i3 like nmaster/mastercount (0/1)
- speedwm.stack.mastercount: 1 !! Number of master clients in the master stack to start with (0/1) - speedwm.stack.mastercount: 1 ! Number of master clients in the master stack to start with (0/1)
- speedwm.stack.snap: 20 !! Snap pixel (<char>) - speedwm.stack.snap: 20 ! Snap pixel (<char>)
!@
!! Status options !! Status options
!@
!! Text to print when no status bar is running. Empty means nothing. !! Text to print when no status bar is running. Empty means nothing.
- speedwm.status.defaultstatus: - speedwm.status.defaultstatus:
!@
!! Status bar script to run !! Status bar script to run
- speedwm.status.status: status - speedwm.status.status: status
!@
- speedwm.status.statusallmons: 1 !! Display status text on all monitors (0/1) - speedwm.status.statusallmons: 1 ! Display status text on all monitors (0/1)
!@
!! Switcher options !! Switcher options
!@
- speedwm.switcher.maxheight: 200 !! Max height of the switcher in pixels (<char>) - 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.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.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) - speedwm.switcher.menupositionh: 1 ! Menu position of the switcher horizontally (0: Left, 1: Center, 2: Right)
!@
!! Systray options !! Systray options
!@
- speedwm.systray.padding: 2 !! Extra padding between status and systray (0/1) - 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.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) - speedwm.systray.position: 0 ! Position of the systray horizontally (0: Right, 1: Left)
!@
!! Tag options !! Tag options
!@
- speedwm.tag.pertag: 1 !! Allow tags to have their own values (0/1) - 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: 1 ! Enable tag previews (0/1)
- speedwm.tag.preview.bar: 0 !! Include the bar in the tag preview (0/1) - speedwm.tag.preview.bar: 0 ! Include the bar in the tag preview (0/1)
- speedwm.tag.preview.paddingh: 0 !! Extra horizontal padding between the tag preview and the edge of the screen (<num>) - speedwm.tag.preview.paddingh: 0 ! Extra horizontal padding between the tag preview and the edge of the screen (<num>)
- speedwm.tag.preview.paddingv: 0 !! Extra vertical padding between the tag preview and the bar (<num>) - speedwm.tag.preview.paddingv: 0 ! Extra vertical padding between the tag preview and the bar (<num>)
- speedwm.tag.preview.scale: 2 !! Amount to scale down the preview picture by (<num>) - speedwm.tag.preview.scale: 2 ! Amount to scale down the preview picture by (<num>)
- speedwm.tag.resetgaps: 1 !! Reset gaps when the tag has no clients (0/1) - speedwm.tag.resetgaps: 1 ! Reset gaps when the tag has no clients (0/1)
- speedwm.tag.resetlayout: 1 !! Reset layout when the tag has no clients (0/1) - speedwm.tag.resetlayout: 1 ! Reset layout when the tag has no clients (0/1)
- speedwm.tag.resetmfact: 1 !! Reset mfact when the tag has no clients (0/1) - speedwm.tag.resetmfact: 1 ! Reset mfact when the tag has no clients (0/1)
- speedwm.tag.start: 1 !! Start on a tag on startup (0/1) - speedwm.tag.start: 1 ! Start on a tag on startup (0/1)
- speedwm.tag.underline: 0 !! Draw an underline on the tags (0/1) - speedwm.tag.underline: 0 ! Draw an underline on the tags (0/1)
- speedwm.tag.underlineall: 0 !! Show underline on all tags or just the selected tags (0/1) - speedwm.tag.underlineall: 0 ! Show underline on all tags or just the selected tags (0/1)
- speedwm.tag.underlinepad: 5 !! Horizontal padding between the underline and tag (<num>) - speedwm.tag.underlinepad: 5 ! Horizontal padding between the underline and tag (<num>)
- speedwm.tag.underlinestroke: 2 !! Height of the underline in pixels (<num>) - speedwm.tag.underlinestroke: 2 ! Height of the underline in pixels (<num>)
- speedwm.tag.underlinevoffset: 0 !! How far above the bottom of the bar the line should appear (<num) - speedwm.tag.underlinevoffset: 0 ! How far above the bottom of the bar the line should appear (<num)
- speedwm.tag.urgentwindows: 1 !! Color tags that have urgent tags on them (0/1) - speedwm.tag.urgentwindows: 1 ! Color tags that have urgent tags on them (0/1)
!@
!! Tiling options !! Tiling options
!@
- speedwm.tiling.resizehints: 0 !! Enable resize hints (0/1) - speedwm.tiling.resizehints: 0 ! Enable resize hints (0/1)
!@
!! Shell to run commands with (<char>) !! Shell to run commands with (<char>)
!@
- speedwm.run.shell: /bin/sh - speedwm.run.shell: /bin/sh
!@
!! You have reached the bottom of the speedwm config file. !! 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. !! 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. !! Defaults here should more or less represent the settings in the speedwm source code.

View file

@ -10,7 +10,7 @@ if [ "$NOCOLOR" != "true" ]; then
fi fi
# Set documentation directory # Set documentation directory
if [ "$DOCDIR" = "" ]; then if [ "${DOCDIR}" = "" ]; then
DOCDIR=/usr/share/speedwm DOCDIR=/usr/share/speedwm
fi fi
@ -34,22 +34,24 @@ case "$VIEWER" in
"-o") VIEWER="cat" ;; "-o") VIEWER="cat" ;;
esac esac
printf "${0}. Run '$0 -h' to see a list of arguments or to jump to a specific section.\n\ if [ -e "${DOCDIR}/${PREFIX}example.Xresources" ]; then
$(cat \ sed 's|\(!*\)!.*|\1|' ${DOCDIR}/${PREFIX}example.Xresources | grep -v "!" | grep speedwm > /tmp/example.Xresources
$DOCDIR/${PREFIX}doc-01 \ fi
$DOCDIR/${PREFIX}doc-02 \
$DOCDIR/${PREFIX}doc-03 \ cat ${DOCDIR}/${PREFIX}doc-01 \
$DOCDIR/${PREFIX}doc-04 \ ${DOCDIR}/${PREFIX}doc-02 \
$DOCDIR/${PREFIX}keybinds \ ${DOCDIR}/${PREFIX}doc-03 \
$DOCDIR/${PREFIX}dependencies \ ${DOCDIR}/${PREFIX}doc-04 \
$DOCDIR/${PREFIX}doc-05 \ ${DOCDIR}/${PREFIX}keybinds \
$DOCDIR/${PREFIX}doc-06 \ ${DOCDIR}/${PREFIX}dependencies \
$DOCDIR/${PREFIX}doc-07 \ ${DOCDIR}/${PREFIX}doc-05 \
$DOCDIR/${PREFIX}example.signal \ ${DOCDIR}/${PREFIX}doc-06 \
$DOCDIR/${PREFIX}doc-08 \ /tmp/example.Xresources \
$DOCDIR/${PREFIX}doc-09 \ ${DOCDIR}/${PREFIX}doc-07 \
$DOCDIR/${PREFIX}doc-10 \ ${DOCDIR}/${PREFIX}example.signal \
| grep -v "!!")" > /tmp/${PREFIX}doc ${DOCDIR}/${PREFIX}doc-08 \
${DOCDIR}/${PREFIX}doc-09 \
${DOCDIR}/${PREFIX}doc-10 | grep -v "!!" > /tmp/${PREFIX}doc
case "$ARG1" in case "$ARG1" in
"-w") tail -n $(expr $(cat /tmp/${PREFIX}doc | wc -l) "-" 1) /tmp/${PREFIX}doc > ../readme ;; "-w") tail -n $(expr $(cat /tmp/${PREFIX}doc | wc -l) "-" 1) /tmp/${PREFIX}doc > ../readme ;;
@ -100,14 +102,14 @@ case "$ARG1" in
printf "\nYou need to $0 -whtml first." ; exit 1 ;; printf "\nYou need to $0 -whtml first." ; exit 1 ;;
"") $0 -h && exit 0 ;; "") $0 -h && exit 0 ;;
"-h") printf "speedwm help\n\nNo arguments to view this list of arguments.\n-h | View this list of arguments.\n-a | View everything.\n-1 | What is speedwm?\n-2 | List of all keybinds\n-3 | List of all dependencies\n-4 | .Xresources/Pywal information.\n-5 | Signals information\n-6 | Switching run launcher\n-7 | Installation\n-8 | Layouts\n-9| Important information.\n-w | Write documentation to ../readme\n-wmd | Write documentation (Markdown)\n-whtml | Write documentation (HTML) using markdown-to-html.\n-whtml-wtemplate | Combine template 1, output of -whtml and template 2 (from docs/) to create a full HTML document.\n\nIf second argument is -o, the requested output will be sent to stdout.\n-o can be replaced with a text editor or reader of your choice (such as less, vim, emacs, etc.)\n"; exit 0 ;; "-h") printf "speedwm help\n\nNo arguments to view this list of arguments.\n-h | View this list of arguments.\n-a | View everything.\n-1 | What is speedwm?\n-2 | List of all keybinds\n-3 | List of all dependencies\n-4 | .Xresources/Pywal information.\n-5 | Signals information\n-6 | Switching run launcher\n-7 | Installation\n-8 | Layouts\n-9| Important information.\n-w | Write documentation to ../readme\n-wmd | Write documentation (Markdown)\n-whtml | Write documentation (HTML) using markdown-to-html.\n-whtml-wtemplate | Combine template 1, output of -whtml and template 2 (from docs/) to create a full HTML document.\n\nIf second argument is -o, the requested output will be sent to stdout.\n-o can be replaced with a text editor or reader of your choice (such as less, vim, emacs, etc.)\n"; exit 0 ;;
"-1") cat $DOCDIR/${PREFIX}doc-01 > /tmp/stdout ; $VIEWER /tmp/stdout ;; "-1") cat ${DOCDIR}/${PREFIX}doc-01 > /tmp/stdout ; $VIEWER /tmp/stdout ;;
"-2") cat $DOCDIR/${PREFIX}doc-04 $DOCDIR/${PREFIX}keybinds > /tmp/stdout ; $VIEWER /tmp/stdout ;; "-2") cat ${DOCDIR}/${PREFIX}doc-04 ${DOCDIR}/${PREFIX}keybinds > /tmp/stdout ; $VIEWER /tmp/stdout ;;
"-3") cat $DOCDIR/${PREFIX}dependencies > /tmp/stdout ; $VIEWER /tmp/stdout ;; "-3") cat ${DOCDIR}/${PREFIX}dependencies > /tmp/stdout ; $VIEWER /tmp/stdout ;;
"-4") cat $DOCDIR/${PREFIX}doc-06 $DOCDIR/${PREFIX}example.Xresources > /tmp/stdout ; $VIEWER /tmp/stdout ;; "-4") cat ${DOCDIR}/${PREFIX}doc-06 /tmp/example.Xresources > /tmp/stdout ; $VIEWER /tmp/stdout ;;
"-5") cat $DOCDIR/${PREFIX}doc-07 $DOCDIR/${PREFIX}example.signal > /tmp/stdout ; $VIEWER /tmp/stdout ;; "-5") cat ${DOCDIR}/${PREFIX}doc-07 ${DOCDIR}/${PREFIX}example.signal > /tmp/stdout ; $VIEWER /tmp/stdout ;;
"-6") cat $DOCDIR/${PREFIX}doc-08 > /tmp/stdout ; $VIEWER /tmp/stdout ;; "-6") cat ${DOCDIR}/${PREFIX}doc-08 > /tmp/stdout ; $VIEWER /tmp/stdout ;;
"-7") cat $DOCDIR/${PREFIX}doc-02 > /tmp/stdout ; $VIEWER /tmp/stdout ;; "-7") cat ${DOCDIR}/${PREFIX}doc-02 > /tmp/stdout ; $VIEWER /tmp/stdout ;;
"-8") cat $DOCDIR/${PREFIX}doc-03 > /tmp/stdout ; $VIEWER /tmp/stdout ;; "-8") cat ${DOCDIR}/${PREFIX}doc-03 > /tmp/stdout ; $VIEWER /tmp/stdout ;;
"-9") cat $DOCDIR/${PREFIX}doc-05 > /tmp/stdout ; $VIEWER /tmp/stdout ;; "-9") cat ${DOCDIR}/${PREFIX}doc-05 > /tmp/stdout ; $VIEWER /tmp/stdout ;;
"-a") cat /tmp/${PREFIX}doc > /tmp/stdout ; $VIEWER /tmp/stdout ;; "-a") cat /tmp/${PREFIX}doc > /tmp/stdout ; $VIEWER /tmp/stdout ;;
esac esac

View file

@ -57,7 +57,7 @@ LOADCONFIG() {
if [ -e "$HOME/.config/speedwm-de/speedwmrc" ]; then if [ -e "$HOME/.config/speedwm-de/speedwmrc" ]; then
xrdb -merge -quiet $HOME/.config/speedwm-de/speedwmrc xrdb -merge -quiet $HOME/.config/speedwm-de/speedwmrc
else else
sed "s| - ||g" /usr/share/speedwm/example.Xresources > $HOME/.config/speedwm-de/speedwmrc && echo "Wrote example configuration file" sed "s| - ||g; s|!@|g" /usr/share/speedwm/example.Xresources > $HOME/.config/speedwm-de/speedwmrc && echo "Wrote example configuration file"
fi fi
fi fi