|
|
@ -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) |
|
|
@ -197,6 +195,7 @@ static const Rule rules[] = { |
|
|
|
RULE(.class = "pinentry-qt", .isfloating = 1) |
|
|
|
RULE(.class = "pinentry-qt5", .isfloating = 1) |
|
|
|
RULE(.class = "Nm-connection-editor", .isfloating = 1) |
|
|
|
RULE(.class = "blueman-manager", .isfloating = 1) |
|
|
|
RULE(.class = "pavucontrol-qt", .isfloating = 0) |
|
|
|
RULE(.class = "Firefox", .wintype = WTYPE "NORMAL", .tags = 1 << 2) |
|
|
|
|
|
|
@ -266,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() */ |
|
|
@ -280,16 +279,18 @@ static const char *dmenucmd[] = { |
|
|
|
"-sf", selfgcolor, |
|
|
|
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 *termcmd[] = { "st", 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 *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 <X11/XF86keysym.h> |
|
|
|
|
|
|
|
/* This defines the name of the executable that handles the bar (used for signalling purposes) */ |
|
|
@ -308,9 +309,10 @@ static Key keys[] = { |
|
|
|
{ MODKEY, XK_n, spawn, SHCMD("networkmanager_dmenu") }, |
|
|
|
// { MODKEY, XK_grave, spawn, SHCMD("/home/wiebel/sync/bin/st-tilda.sh") },
|
|
|
|
{ ALTKEY|ControlMask, XK_l, spawn, SHCMD("/usr/local/bin/lock.me") }, |
|
|
|
{ 0, XK_Print, spawn, SHCMD("/usr/bin/spectacle") }, |
|
|
|
/* Media Keys */ |
|
|
|
{ 0, XF86XK_MonBrightnessUp, spawn, SHCMD("xbacklight -inc 5") }, |
|
|
|
{ 0, XF86XK_MonBrightnessDown, spawn, SHCMD("xbacklight -dec 5") }, |
|
|
|
{ 0, XF86XK_MonBrightnessUp, spawn, SHCMD("brightnessctl s +5%") }, |
|
|
|
{ 0, XF86XK_MonBrightnessDown, spawn, SHCMD("brightnwssctl s 5%-") }, |
|
|
|
{ 0, XF86XK_AudioRaiseVolume, spawn, {.v = volup } }, |
|
|
|
{ 0, XF86XK_AudioLowerVolume, spawn, {.v = voldn } }, |
|
|
|
{ 0, XF86XK_AudioMute, spawn, {.v = volmute } }, |
|
|
|