speedwm-mkpage: Auto-pushed speedwm changes!

This commit is contained in:
speediegq 2022-10-03 03:10:02 +02:00
parent 26c064dd96
commit 5846f75382
5 changed files with 18 additions and 7 deletions

View file

@ -90,6 +90,7 @@ Please let me know if any keybinds are missing as these have been manually added
- Super+Enter | Switch order of windows
- Super+Shift+q | Close the current window
- Super+Space | Set layout
- Super+Colon | Open a list of desktop entries in dmenu
- Super+r | Reset number of masters
- Super+t | Disable inactive fade
- Super+Shift+Equal | Toggle scratchpads
@ -125,6 +126,7 @@ 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+8 | Combine the current tag with tag 8
- 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+w | Increases your volume
- Super+Control+e | Decreases your volume
@ -149,7 +151,7 @@ Please let me know if any keybinds are missing as these have been manually added
- Super+Control+Shift+s | Set a wallpaper
- Super+Control+Shift+n | Connect to WLAN
- Super+Control+Shift+b | Connect to a Bluetooth device
- Super+Control+Shift+d | Open up a list of dotfiles in dmenu that you can edit.
- Super+Control+Shift+f | Open up a list of dotfiles in dmenu that you can edit.
- Super+Control+Shift+q | Pauses your music
- Super+Control+Shift+w | Decreases your music volume
- Super+Control+Shift+e | Increase your music volume
@ -160,6 +162,7 @@ Please let me know if any keybinds are missing as these have been manually added
- Alt+Control+j/k | Change window size vertically (cfact)
### Chained keybinds
- Super+c & w | Curl wttr.in and open in less
- Super+c & m | Ask the user for a topic and curl cheat.sh
- Super+c & n | Switch to the next track
@ -195,11 +198,12 @@ Please let me know if any keybinds are missing as these have been manually added
- Music button | Open your defined music player
- WLAN button | Disconnect from WLAN
### Mouse
-- Mouse --
These binds can be activated using your mouse
- Tag <num> (Left click) | Switch to tag <num>
- Tag (Scrolling up/down) | Switch to the next/previous tag
- Layout indicator (Left click) | Switch to the next layout
- Layout indicator (Middle click) | Switch to the next layout
- Layout indicator (Right click) | Open a dmenu list of all layouts
@ -210,6 +214,7 @@ Please let me know if any keybinds are missing as these have been manually added
- Focused window title (Middle click) | Rotate stack
- Dragging (Super+Right click) | Increase/decrease size of each window
- Dragging (SuperControl+Right click) | Increase/decrease cfact
- Root window (Right click) | List .desktop entries and open them
There are also keybinds for statuscmd, but you must implement it into your own status bar.
See mouse.h for more information.
@ -224,8 +229,7 @@ Please let me know if any keybinds are missing as these have been manually added
- Tag previews, Window icons. Can be disabled through editing toggle.mk and toggle.h if you don't want these features.
## Features
These are dependencies if you wanna use certain features
NOTE: Do not add any of these to .xinitrc or similar. They are going to be autostarted by speedwm.
These are necessary for certain features. By default speedwm will prevent an installation without them but you can bypass these if you want.
If you want to use an alternative, change it in options.h.
- dmenu
- NOTE: dmenu is required for most scripts included with this build of speedwm. My build is required for proper Pywal support.
@ -236,7 +240,6 @@ Please let me know if any keybinds are missing as these have been manually added
- xwallpaper (Required to set wallpapers)
- xmodmap
- Required if you want the Alt+Tab to have proper keybinds.
- Install if you want Escape instead of Caps Lock and Right Super+hjkl for arrow keys
- xrdb (Install if you want .Xresources support)
- pywal (Install if you want pywal support. Requires swal aka the default way to set wallpapers)
- wmctrl (Needed for proper window management)
@ -245,6 +248,8 @@ Please let me know if any keybinds are missing as these have been manually added
- If you want to display a message, you need the text patch.
- If you have the background image patch, you can set the image to ~/.config/speedwm-de/swal/CurrentWallpaper. It is a symlink to the current wallpaper.
- maim (Required for built in 'speedwm-screenshotutil' script)
- j4-dmenu-desktop
- Required for dmenu desktop entries. speedwm will not prevent installation without this because it doesn't provide much functionality.
## Software
This build of speedwm comes with binds for software.
@ -375,6 +380,7 @@ Below is a list of all signums and what they do.
- 62 | Remove the scratchpad
- 63 | Reset layout/mfact
- 64 | Reset nmaster
- 65 | Show/Hide systray
## Switching run launcher
Some users may prefer to use a different run launcher than dmenu.

View file

@ -92,6 +92,10 @@
!!
- speedwm.hidebar: 1
!!
!! Display bar on the left or right (1/0)
!!
- speedwm.barposition: 1
!!
!! Show resize hints or not (1/0)
!!
- speedwm.resizehints: 0

View file

@ -208,7 +208,7 @@ static int iconspacing = 5; /* spacing between the title
#endif
/* Bar options */
static int barposition = 1; /* Bar position. Top: 0, Bottom: 1 */
static int barposition = 1; /* Bar position. Top: 1, Bottom: 0 */
static int barheight = 5; /* Bar height in px, 0 = calculate automatically */
static int barpaddingv = 10; /* Vertical bar padding in px. */
static int barpaddingh = 10; /* Horizontal bar padding in px. */

View file

@ -4573,7 +4573,7 @@ showtagpreview(unsigned int i)
return;
}
if (tagpreview) {
if (tagpreview && barposition) {
XSetWindowBackgroundPixmap(dpy, selmon->tagwin, selmon->tagmap[i]);
XCopyArea(dpy, selmon->tagmap[i], selmon->tagwin, drw->gc, 0, 0,
selmon->mw / scalepreview, selmon->mh / scalepreview + 50,

View file

@ -191,6 +191,7 @@ ResourcePref resources[] = {
{ "tagpreviewpaddingv", INTEGER, &tagpreviewpaddingv },
{ "tagpreviewpaddingh", INTEGER, &tagpreviewpaddingh },
{ "barpreview", INTEGER, &barpreview },
{ "barposition", INTEGER, &barposition },
{ "mousepreview", INTEGER, &mousepreview },
#endif
#if USEFADE