diff --git a/config.h b/config.h index d51d7ad..5f856d4 100644 --- a/config.h +++ b/config.h @@ -186,8 +186,6 @@ static const Rule rules[] = { RULE(.wintype = WTYPE "UTILITY", .isfloating = 1) RULE(.wintype = WTYPE "TOOLBAR", .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 = "Zoiper", .tags = 1 << 3) RULE(.class = "linphone", .tags = 1 << 3) @@ -267,7 +265,7 @@ static const Layout layouts[] = { /* helper for spawning shell commands in the pre dwm-5.0 fashion */ -#define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } } +#define SHCMD(cmd) { .v = (const char*[]){ "/usr/bin/env", "sh", "-c", cmd, NULL } } /* commands */ static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */ @@ -289,10 +287,10 @@ static const char *tmuxcmd[] = { "kitty", "-e", "/home/wiebel/sync/bin/tmux-spa /* 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 *volup[] = { "/opt/pavolume/pavolume", "volup", "10", NULL }; -static const char *voldn[] = { "/opt/pavolume/pavolume", "voldown", "10", NULL }; -static const char *volmute[] = { "/opt/pavolume/pavolume", "mutetoggle", NULL }; -static const char *playpause[] = { "/usr/bin/playerctl", "play-pause", NULL }; +static const char *volup[] = { "pavolume", "volup", "10", NULL }; +static const char *voldn[] = { "pavolume", "voldown", "10", NULL }; +static const char *volmute[] = { "pavolume", "mutetoggle", NULL }; +static const char *playpause[] = { "playerctl", "play-pause", NULL }; #include /* This defines the name of the executable that handles the bar (used for signalling purposes) */