Compare commits
3 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
|
|
b6eba95813 | ||
|
|
5d0684a19a | ||
|
|
a00642fb3c |
11
config.def.h
11
config.def.h
@ -13,6 +13,9 @@ static const int swallowfloating = 0; /* 1 means swallow floating wind
|
||||
static const int scalepreview = 4; /* Tag preview scaling */
|
||||
static const int showbar = 1; /* 0 means no bar */
|
||||
static const int topbar = 1; /* 0 means bottom bar */
|
||||
/* Custom Status Bar implementation */
|
||||
// static const int usealtbar = 0; /* 1 means use non-dwm status bar */
|
||||
// static const char *altbarclass = "Polybar"; /* Alternate bar class name */
|
||||
/* Status is to be shown on: -1 (all monitors), 0 (a specific monitor by index), 'A' (active monitor) */
|
||||
static const int statusmon = -1;
|
||||
static const unsigned int systrayspacing = 2; /* systray spacing */
|
||||
@ -109,6 +112,8 @@ static const char *const autostart[] = {
|
||||
"sh", "/home/ganome/.local/bin/wallsetter.dwm", NULL,
|
||||
"parcellite", NULL,
|
||||
"picom", "-b", NULL,
|
||||
"numlockx", "on", NULL,
|
||||
"blueman-applet", NULL,
|
||||
NULL /* terminate */
|
||||
};
|
||||
|
||||
@ -178,7 +183,7 @@ static const Rule rules[] = {
|
||||
RULE(.wintype = WTYPE "TOOLBAR", .isfloating = 1)
|
||||
RULE(.wintype = WTYPE "SPLASH", .isfloating = 1)
|
||||
RULE(.class = "Gimp", .tags = 1 << 3)
|
||||
RULE(.class = "Vivaldi-stable", .tags = 1 << 2)
|
||||
RULE(.class = "LibreWolf", .tags = 1 << 2)
|
||||
RULE(.class = "Nemo", .tags = 1 << 6)
|
||||
RULE(.class = "quassel", .tags = 1 << 8)
|
||||
RULE(.class = "vesktop", .tags = 1 << 3, .monitor = 1)
|
||||
@ -206,7 +211,7 @@ static const MonitorRule monrules[] = {
|
||||
static const BarRule barrules[] = {
|
||||
/* monitor bar alignment widthfunc drawfunc clickfunc hoverfunc name */
|
||||
{ -1, 0, BAR_ALIGN_LEFT, width_tags, draw_tags, click_tags, hover_tags, "tags" },
|
||||
{ 0, 0, BAR_ALIGN_RIGHT, width_systray, draw_systray, click_systray, NULL, "systray" },
|
||||
{ 'A', 0, BAR_ALIGN_RIGHT, width_systray, draw_systray, click_systray, NULL, "systray" },
|
||||
{ -1, 0, BAR_ALIGN_LEFT, width_ltsymbol, draw_ltsymbol, click_ltsymbol, NULL, "layout" },
|
||||
{ statusmon, 0, BAR_ALIGN_RIGHT, width_status, draw_status, click_status, NULL, "status" },
|
||||
{ -1, 0, BAR_ALIGN_NONE, width_bartabgroups, draw_bartabgroups, click_bartabgroups, NULL, "bartabgroups" },
|
||||
@ -251,6 +256,7 @@ static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn()
|
||||
static const char *termcmd[] = { "ghostty", NULL };
|
||||
static const char *term2cmd[] = { "kitty", NULL };
|
||||
static const char *wallpapercmd[]= { "/home/ganome/.local/bin/wallsetter.dwm", NULL };
|
||||
static const char *browsercmd[]= { "librewolf", NULL };
|
||||
|
||||
static const char *roficmd[] = {
|
||||
"rofi",
|
||||
@ -267,6 +273,7 @@ static const Key keys[] = {
|
||||
{ MODKEY|ShiftMask, XK_Return, spawn, {.v = term2cmd } },
|
||||
{ MODKEY, XK_b, togglebar, {0} },
|
||||
{ MODKEY|ShiftMask, XK_d, spawn, CMD("vesktop-bin")},
|
||||
{ MODKEY|ShiftMask, XK_w, spawn, {.v = browsercmd } },
|
||||
{ MODKEY, XK_j, focusstack, {.i = +1 } },
|
||||
{ MODKEY, XK_k, focusstack, {.i = -1 } },
|
||||
{ MODKEY, XK_i, incnmaster, {.i = +1 } },
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user