Status can now be overriden, I don't know why this wasn't possible

before.
This commit is contained in:
speedie 2022-11-18 15:18:42 +01:00
parent ef4eec1f93
commit d50409965a
3 changed files with 4 additions and 3 deletions

View file

@ -595,6 +595,7 @@ Below is a list of all signums and what they do.
- 110 - Rotate backwards in the stack axis - 110 - Rotate backwards in the stack axis
- 111 - Rotate backwards in the secondary stack axis - 111 - Rotate backwards in the secondary stack axis
- 112 - Mirror the layout - 112 - Mirror the layout
- 113 - Enter an empty layout where all clients are hidden
## Maintaining settings easily ## Maintaining settings easily
speedwm is a personal fork of dwm and will therefore likely have keybinds and other options you may not like. speedwm is a personal fork of dwm and will therefore likely have keybinds and other options you may not like.

View file

@ -14,7 +14,7 @@
static const char *autostart[] = { static const char *autostart[] = {
/* Run the built in status bar */ /* Run the built in status bar */
shell, "-c", "pgrep speedwm_status || speedwm_status &", NULL, shell, "-c", status, NULL,
/* Autostart script, if it exists */ /* Autostart script, if it exists */
shell, "-c", "$HOME/.config/speedwm/autostart.sh", NULL, shell, "-c", "$HOME/.config/speedwm/autostart.sh", NULL,

View file

@ -134,10 +134,10 @@ static int automove = 0; /* Allow clients to automatic
static int autoresize = 0; /* Allow resizing clients automatically when they request it. */ static int autoresize = 0; /* Allow resizing clients automatically when they request it. */
/* Font options */ /* Font options */
static char font[] = "NotoSans Regular 8"; static char font[] = "NotoSans Regular 8";
/* Status options */ /* Status options */
static char status[] = "speedwm_status"; /* Status bar to use, stellar for stellar, dwmblocks for dwmblocks, slstatus for slstatus, etc. */ static char status[] = "speedwm_status &"; /* Status bar to run on startup. Set this to nothing to run nothing and run your own status bar. */
static char defaultstatus[] = ""; /* What to print when a status bar is not running */ static char defaultstatus[] = ""; /* What to print when a status bar is not running */
/* Alternate bar /* Alternate bar