Compare commits
No commits in common. "148649aa32f33765b003f996b41879fca1084a3e" and "84c06e3578afe49f45bdcfff1beb66f69b7e7994" have entirely different histories.
148649aa32
...
84c06e3578
34
config.h
34
config.h
@ -186,6 +186,8 @@ static const Rule rules[] = {
|
|||||||
RULE(.wintype = WTYPE "UTILITY", .isfloating = 1)
|
RULE(.wintype = WTYPE "UTILITY", .isfloating = 1)
|
||||||
RULE(.wintype = WTYPE "TOOLBAR", .isfloating = 1)
|
RULE(.wintype = WTYPE "TOOLBAR", .isfloating = 1)
|
||||||
RULE(.wintype = WTYPE "SPLASH", .isfloating = 1)
|
RULE(.wintype = WTYPE "SPLASH", .isfloating = 1)
|
||||||
|
RULE(.instance= "main", .class = "Psi+", .tags = 1 << 3)
|
||||||
|
RULE(.instance= "tabs", .class = "Psi+", .tags = 1 << 3)
|
||||||
RULE(.class = "Claws-mail", .tags = 1 << 3)
|
RULE(.class = "Claws-mail", .tags = 1 << 3)
|
||||||
RULE(.class = "Zoiper", .tags = 1 << 3)
|
RULE(.class = "Zoiper", .tags = 1 << 3)
|
||||||
RULE(.class = "linphone", .tags = 1 << 3)
|
RULE(.class = "linphone", .tags = 1 << 3)
|
||||||
@ -195,7 +197,6 @@ static const Rule rules[] = {
|
|||||||
RULE(.class = "pinentry-qt", .isfloating = 1)
|
RULE(.class = "pinentry-qt", .isfloating = 1)
|
||||||
RULE(.class = "pinentry-qt5", .isfloating = 1)
|
RULE(.class = "pinentry-qt5", .isfloating = 1)
|
||||||
RULE(.class = "Nm-connection-editor", .isfloating = 1)
|
RULE(.class = "Nm-connection-editor", .isfloating = 1)
|
||||||
RULE(.class = "blueman-manager", .isfloating = 1)
|
|
||||||
RULE(.class = "pavucontrol-qt", .isfloating = 0)
|
RULE(.class = "pavucontrol-qt", .isfloating = 0)
|
||||||
RULE(.class = "Firefox", .wintype = WTYPE "NORMAL", .tags = 1 << 2)
|
RULE(.class = "Firefox", .wintype = WTYPE "NORMAL", .tags = 1 << 2)
|
||||||
|
|
||||||
@ -265,7 +266,7 @@ static const Layout layouts[] = {
|
|||||||
|
|
||||||
|
|
||||||
/* helper for spawning shell commands in the pre dwm-5.0 fashion */
|
/* helper for spawning shell commands in the pre dwm-5.0 fashion */
|
||||||
#define SHCMD(cmd) { .v = (const char*[]){ "/usr/bin/env", "sh", "-c", cmd, NULL } }
|
#define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } }
|
||||||
|
|
||||||
/* commands */
|
/* commands */
|
||||||
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
|
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
|
||||||
@ -279,18 +280,16 @@ static const char *dmenucmd[] = {
|
|||||||
"-sf", selfgcolor,
|
"-sf", selfgcolor,
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
//static const char *termcmd[] = { "st", NULL };
|
static const char *termcmd[] = { "st", NULL };
|
||||||
//static const char *tmuxcmd[] = { "st", "-c", "st-tmux", "-e", "/home/wiebel/sync/bin/tmux-spawn.sh", NULL };
|
static const char *tmuxcmd[] = { "st", "-c", "st-tmux", "-e", "/home/wiebel/sync/bin/tmux-spawn.sh", NULL };
|
||||||
static const char *termcmd[] = { "kitty", NULL };
|
|
||||||
static const char *tmuxcmd[] = { "kitty", "-e", "/home/wiebel/sync/bin/tmux-spawn.sh", NULL };
|
|
||||||
// static const char scratchpadname[] = "tilda";
|
// static const char scratchpadname[] = "tilda";
|
||||||
/* static const char *scratchpadcmd[] = { "st", "-t", scratchpadname, "-g", "120x34", NULL }; */
|
/* static const char *scratchpadcmd[] = { "st", "-t", scratchpadname, "-g", "120x34", NULL }; */
|
||||||
// static const char *scratchpadcmd[] = { "st", "-t", scratchpadname, "-c", "st-tilda", "-g", "180x18", "-e", "tmux", "new-session", "-A", "-s", "tilda", NULL };
|
// static const char *scratchpadcmd[] = { "st", "-t", scratchpadname, "-c", "st-tilda", "-g", "180x18", "-e", "tmux", "new-session", "-A", "-s", "tilda", NULL };
|
||||||
|
|
||||||
static const char *volup[] = { "pavolume", "volup", "10", NULL };
|
static const char *volup[] = { "/opt/pavolume/pavolume", "volup", "10", NULL };
|
||||||
static const char *voldn[] = { "pavolume", "voldown", "10", NULL };
|
static const char *voldn[] = { "/opt/pavolume/pavolume", "voldown", "10", NULL };
|
||||||
static const char *volmute[] = { "pavolume", "mutetoggle", NULL };
|
static const char *volmute[] = { "/opt/pavolume/pavolume", "mutetoggle", NULL };
|
||||||
static const char *playpause[] = { "playerctl", "play-pause", NULL };
|
static const char *playpause[] = { "/usr/bin/playerctl", "play-pause", NULL };
|
||||||
#include <X11/XF86keysym.h>
|
#include <X11/XF86keysym.h>
|
||||||
|
|
||||||
/* This defines the name of the executable that handles the bar (used for signalling purposes) */
|
/* This defines the name of the executable that handles the bar (used for signalling purposes) */
|
||||||
@ -309,14 +308,13 @@ static Key keys[] = {
|
|||||||
{ MODKEY, XK_n, spawn, SHCMD("networkmanager_dmenu") },
|
{ MODKEY, XK_n, spawn, SHCMD("networkmanager_dmenu") },
|
||||||
// { MODKEY, XK_grave, spawn, SHCMD("/home/wiebel/sync/bin/st-tilda.sh") },
|
// { MODKEY, XK_grave, spawn, SHCMD("/home/wiebel/sync/bin/st-tilda.sh") },
|
||||||
{ ALTKEY|ControlMask, XK_l, spawn, SHCMD("/usr/local/bin/lock.me") },
|
{ ALTKEY|ControlMask, XK_l, spawn, SHCMD("/usr/local/bin/lock.me") },
|
||||||
{ 0, XK_Print, spawn, SHCMD("/usr/bin/spectacle") },
|
/* Media Keys */
|
||||||
/* Media Keys */
|
{ 0, XF86XK_MonBrightnessUp, spawn, SHCMD("xbacklight -inc 5") },
|
||||||
{ 0, XF86XK_MonBrightnessUp, spawn, SHCMD("brightnessctl s +5%") },
|
{ 0, XF86XK_MonBrightnessDown, spawn, SHCMD("xbacklight -dec 5") },
|
||||||
{ 0, XF86XK_MonBrightnessDown, spawn, SHCMD("brightnwssctl s 5%-") },
|
{ 0, XF86XK_AudioRaiseVolume, spawn, {.v = volup } },
|
||||||
{ 0, XF86XK_AudioRaiseVolume, spawn, {.v = volup } },
|
{ 0, XF86XK_AudioLowerVolume, spawn, {.v = voldn } },
|
||||||
{ 0, XF86XK_AudioLowerVolume, spawn, {.v = voldn } },
|
{ 0, XF86XK_AudioMute, spawn, {.v = volmute } },
|
||||||
{ 0, XF86XK_AudioMute, spawn, {.v = volmute } },
|
{ 0, XF86XK_AudioPlay, spawn, {.v = playpause } },
|
||||||
{ 0, XF86XK_AudioPlay, spawn, {.v = playpause } },
|
|
||||||
{ MODKEY, XK_j, focusstack, {.i = +1 } },
|
{ MODKEY, XK_j, focusstack, {.i = +1 } },
|
||||||
{ MODKEY, XK_k, focusstack, {.i = -1 } },
|
{ MODKEY, XK_k, focusstack, {.i = -1 } },
|
||||||
{ MODKEY|ShiftMask, XK_j, inplacerotate, {.i = +1} },
|
{ MODKEY|ShiftMask, XK_j, inplacerotate, {.i = +1} },
|
||||||
|
@ -67,5 +67,4 @@ LDFLAGS = -flto ${LIBS}
|
|||||||
#LDFLAGS = ${LIBS}
|
#LDFLAGS = ${LIBS}
|
||||||
|
|
||||||
# compiler and linker
|
# compiler and linker
|
||||||
#CC = cc
|
CC = cc
|
||||||
CC = clang
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user