commit 9b0d24b9b193d9236404c2a2ebd7f1bad69c9983
parent e046b0cccefb6b442574bdcfa7299c2760e56c24
Author: grouse <bdmfegys@duck.com>
Date: Wed, 10 Jan 2024 18:48:59 -0500
fix spacing and indenting on comments
Diffstat:
1 file changed, 18 insertions(+), 18 deletions(-)
diff --git a/config.def.h b/config.def.h
@@ -6,11 +6,11 @@ static const unsigned int gappx = 7; /* gaps between windows */
static const unsigned int snap = 32; /* snap pixel */
static const int showbar = 1; /* 0 means no bar */
static const int topbar = 1; /* 0 means bottom bar */
-#define ICONSIZE 16 /* icon size */
-#define ICONSPACING 5 /* space between icon and title */
+#define ICONSIZE 16 /* icon size */
+#define ICONSPACING 5 /* space between icon and title */
static const unsigned int systraypinning = 0; /* 0: sloppy systray follows selected monitor, >0: pin systray to monitor X */
static const unsigned int systrayspacing = 2; /* systray spacing */
-static const int systraypinningfailfirst = 1; /* 1: if pinning fails, display systray on the first monitor, False: display systray on the last monitor*/
+static const int systraypinningfailfirst = 1; /* 1: if pinning fails, display systray on the first monitor, False: display systray on the last monitor */
static const int showsystray = 1; /* 0 means no systray */
static const char *fonts[] = { "Inconsolata-ExpandedBold:pixelsize=22" };
static const char dmenufont[] = "Inconsolata-ExpandedBold:pixelsize=22";
@@ -31,10 +31,10 @@ typedef struct {
const char *name;
const void *cmd;
} Sp;
-static const char *spcmd1[] = {"birdterm", "-n", "spterm", "-g", "144x41", NULL }; /* regular terminal scratchpad */
-static const char *spcmd2[] = {"birdterm", "-n", "spfm", "-g", "144x41", "-e", "ranger", NULL }; /* file manager scratchpad */
-static const char *spcmd3[] = {"birdterm", "-n", "upgrader", "-g", "144x41", "-e", "upgrader", NULL }; /* upgrade script, change if your script is named differently */
-static const char *spcmd4[] = {"birdterm", "-n", "musicterm", "-g", "144x41", "-e", "mocp", NULL }; /* upgrade script, change if your script is named differently */
+static const char *spcmd1[] = {"birdterm", "-n", "spterm", "-g", "144x41", NULL }; /* regular terminal scratchpad */
+static const char *spcmd2[] = {"birdterm", "-n", "spfm", "-g", "144x41", "-e", "ranger", NULL }; /* file manager scratchpad */
+static const char *spcmd3[] = {"birdterm", "-n", "upgrader", "-g", "144x41", "-e", "upgrader", NULL }; /* upgrade script, change if your script is named differently */
+static const char *spcmd4[] = {"birdterm", "-n", "musicterm", "-g", "144x41", "-e", "mocp", NULL }; /* upgrade script, change if your script is named differently */
static Sp scratchpads[] = {
/* name cmd */
{"spterm", spcmd1},
@@ -65,7 +65,7 @@ static const Rule rules[] = {
{ NULL, "spterm", NULL, SPTAG(0), 1, -1 }, // scratchpad floating rule
{ NULL, "spfm", NULL, SPTAG(1), 1, -1 }, // suckless file manager command
{ NULL, "upgrader", NULL, SPTAG(2), 1, -1 }, // upgrade script command floating
- { NULL, "musicterm", NULL, SPTAG(3), 1, -1 }, // upgrade script command floating
+ { NULL, "musicterm",NULL, SPTAG(3), 1, -1 }, // upgrade script command floating
// { "Alacritty","Alacritty",NULL, 0, 1, -1 }, // alacritty
/* end of scratchpad floating rules */
@@ -108,19 +108,19 @@ static const Layout layouts[] = {
#define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } }
/* commands */
-static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
+static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
static const char *dmenucmd[] = { "dmenu_run", "-i", NULL };
static const char *termcmd[] = { "birdterm", NULL };
//static const char *wallpaper[] = { "nsxiv", "-t", "/home/tetraonini/Pictures/wallpapers/*.png", NULL };
//static const char *wallpapergif[] = { "nsxiv", "-t", "/home/tetraonini/Pictures/wallpapers/gif/*.gif", NULL };
-static const char *wallpaper[] = { "xwallpaper" }; /* calling wallpaper picker script, utilizes nsxiv */
-static const char *wallpapergif[] = { "xwallpapergif" }; /* calling gif wallpaper picker script, utilizes nsxiv */
-static const char *restarter[] = { "restarter", NULL}; /* dmenu script for restarting daemons and getting system info through dunst */
+static const char *wallpaper[] = { "xwallpaper" }; /* calling wallpaper picker script, utilizes nsxiv */
+static const char *wallpapergif[] = { "xwallpapergif" }; /* calling gif wallpaper picker script, utilizes nsxiv */
+static const char *restarter[] = { "restarter", NULL}; /* dmenu script for restarting daemons and getting system info through dunst */
/* pulseaudio script for setting volume, called by XF86 keys */
-static const char *volup[] = { "volume.sh", "up", NULL};
+static const char *volup[] = { "volume.sh", "up", NULL};
static const char *voldown[] = { "volume.sh", "down", NULL};
static const char *volmute[] = { "volume.sh", "mute", NULL};
-static const char *firefox[] = { "librewolf", NULL}; /* browser shortcut */
+static const char *firefox[] = { "librewolf", NULL}; /* browser shortcut */
#include "exitdwm.c"
@@ -169,10 +169,10 @@ static const Key keys[] = {
TAGKEYS( XK_7, 6)
TAGKEYS( XK_8, 7)
TAGKEYS( XK_9, 8)
-/* following line is commented out due to exitmenu patch
- { MODKEY|ShiftMask, XK_q, quit, {0} },*/
- { MODKEY|ControlMask|ShiftMask, XK_q, quit, {1} },
- { MODKEY|ShiftMask, XK_e, exitdwm, {0} },
+/* following line is commented out due to exitmenu patch */
+// { MODKEY|ShiftMask, XK_q, quit, {0} },
+ { MODKEY|ControlMask|ShiftMask, XK_q, quit, {1} },
+ { MODKEY|ShiftMask, XK_e, exitdwm, {0} },
};
/* button definitions */