comment cleanup

This commit is contained in:
speedie 2022-11-30 17:30:32 +01:00
parent 1327b16ec4
commit b0b854b933
4 changed files with 10 additions and 15 deletions

View file

@ -7,7 +7,6 @@
* *
* "shell" is automatically defined as your shell. * "shell" is automatically defined as your shell.
* *
* If you need help, run speedwm-keybinds.
* Once you're done with your edits, run 'make clean install'. * Once you're done with your edits, run 'make clean install'.
*************************************************************/ *************************************************************/

View file

@ -1,10 +1,10 @@
/* Color/Alpha settings /* Color/Alpha settings
* You probably don't need to change these unless you want special opacity settings. * You probably don't need to change these unless you want special opacity settings.
* *
* Once you're done with your edits, run 'make clean install'. */ * Once you're done with your edits, run 'make clean install'.
/* Misc color options
*/ */
/* Misc color options */
static char *colors[][3] = { static char *colors[][3] = {
[SchemeBar] = { col_textnorm, col_background, NULL }, [SchemeBar] = { col_textnorm, col_background, NULL },
[SchemeTagsNorm] = { col_textnorm, col_background, NULL }, [SchemeTagsNorm] = { col_textnorm, col_background, NULL },
@ -19,12 +19,10 @@ static char *colors[][3] = {
[SchemeTitleHidden] = { col_titlesel, col_background, NULL }, [SchemeTitleHidden] = { col_titlesel, col_background, NULL },
[SchemeLayout] = { col_layouttext, col_layout, NULL }, [SchemeLayout] = { col_layouttext, col_layout, NULL },
[SchemeSystray] = { col_systray, col_systray, NULL }, [SchemeSystray] = { col_systray, col_systray, NULL },
/* text background window border /* text background window border */
*/
}; };
/* Colors for the status bar (.Xresources) /* Colors for the status bar (.Xresources) */
*/
static char *colstatus[] = { static char *colstatus[] = {
col_status0, col_status0,
col_status1, col_status1,
@ -44,8 +42,7 @@ static char *colstatus[] = {
col_status15, col_status15,
}; };
/* Alpha to use for opacity /* Alpha to use for opacity */
*/
static unsigned int alphas[][3] = { static unsigned int alphas[][3] = {
/* fg bg border/unused */ /* fg bg border/unused */
[SchemeBar] = { OPAQUE, baropacity, baropacity }, [SchemeBar] = { OPAQUE, baropacity, baropacity },
@ -63,8 +60,7 @@ static unsigned int alphas[][3] = {
[SchemeSystray] = { OPAQUE, systrayopacity, systrayopacity }, [SchemeSystray] = { OPAQUE, systrayopacity, systrayopacity },
}; };
/* Colors to use for tags /* Colors to use for tags */
*/
static char *tagsel[][2] = { static char *tagsel[][2] = {
{ col_tag1_text, col_tag1 }, { col_tag1_text, col_tag1 },
{ col_tag2_text, col_tag2 }, { col_tag2_text, col_tag2 },
@ -78,8 +74,7 @@ static char *tagsel[][2] = {
/* Text Background */ /* Text Background */
}; };
/* Alpha for tags /* Alpha for tags */
*/
static const unsigned int tagalpha[] = { static const unsigned int tagalpha[] = {
tagselopacity, tagselopacity,
tagnormopacity, tagnormopacity,

1
draw.c
View file

@ -1,6 +1,7 @@
/* This C file handles functions for drawing text, graphics, setting colorschemes and decoding UTF-8. /* This C file handles functions for drawing text, graphics, setting colorschemes and decoding UTF-8.
* *
* draw.c is similar to drw.c in suckless dwm. * draw.c is similar to drw.c in suckless dwm.
*
* See LICENSE file for copyright and license details. */ * See LICENSE file for copyright and license details. */
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>

View file

@ -2,7 +2,7 @@
* *
* Below is a configuration file which is technically C source code. * Below is a configuration file which is technically C source code.
* See the man page (speedie.1) or README.md for help. * See the man page (speedie.1) or README.md for help.
* * See the LICENSE file for license details.
*/ */
/* Window alignment options */ /* Window alignment options */