Compare commits

..

2 Commits

Author SHA1 Message Date
nemo 8feb470940 hotkay set-sound-card 2025-06-14 12:24:50 +02:00
nemo 70c429b5c0 update terminal 2025-06-14 12:24:31 +02:00
1 changed files with 8 additions and 5 deletions

View File

@ -91,7 +91,7 @@ static const Layout layouts[] = {
/* commands */ /* 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", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL }; static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL };
static const char *termcmd[] = { "st", NULL }; static const char *termcmd[] = { "xfce4-terminal", "--hide-menubar", NULL };
static const char *firefox[] = { "firefox", NULL }; static const char *firefox[] = { "firefox", NULL };
static const char *cacalendar[] = { "cacalendar", NULL }; static const char *cacalendar[] = { "cacalendar", NULL };
static const char *pcmanfm[] = { "pcmanfm", NULL }; static const char *pcmanfm[] = { "pcmanfm", NULL };
@ -103,13 +103,16 @@ static const char *mineur[] = { "mineur", NULL };
static const Key keys[] = { static const Key keys[] = {
/* custom */ /* custom */
{ 0, XF86XK_PowerOff, spawn, SHCMD("power") }, { 0, XF86XK_PowerOff, spawn, SHCMD("power") },
{ 0, XF86XK_AudioRaiseVolume, spawn, SHCMD("/home/cptbb/dev/script/volume add") }, { 0, XF86XK_AudioRaiseVolume, spawn, SHCMD("volume add") },
{ 0, XF86XK_AudioLowerVolume, spawn, SHCMD("/home/cptbb/dev/script/volume min") }, { 0, XF86XK_AudioLowerVolume, spawn, SHCMD("volume min") },
{ 0, XF86XK_AudioMute, spawn, SHCMD("/home/cptbb/dev/script/volume set 0") }, { 0, XF86XK_AudioMute, spawn, SHCMD("volume set 0") },
{ 0, XF86XK_AudioPlay, spawn, SHCMD("/home/cptbb/dev/script/volume set 100") }, { 0, XF86XK_AudioPlay, spawn, SHCMD("volume set 100") },
{ 0, XF86XK_MonBrightnessUp, spawn, SHCMD("luminosity add") }, { 0, XF86XK_MonBrightnessUp, spawn, SHCMD("luminosity add") },
{ 0, XF86XK_MonBrightnessDown, spawn, SHCMD("luminosity min") }, { 0, XF86XK_MonBrightnessDown, spawn, SHCMD("luminosity min") },
{ 0, PrintScreenDWM, spawn, SHCMD("screenshot") }, { 0, PrintScreenDWM, spawn, SHCMD("screenshot") },
{ ShiftMask, XF86XK_AudioRaiseVolume, spawn, SHCMD("set-sound-card next") },
{ ShiftMask, XF86XK_AudioLowerVolume, spawn, SHCMD("set-sound-card prev") },
{ ShiftMask, XF86XK_AudioMute, spawn, SHCMD("set-sound-card") },
{ ShiftMask, PrintScreenDWM, spawn, SHCMD("screenrecorder") }, { ShiftMask, PrintScreenDWM, spawn, SHCMD("screenrecorder") },
{ MODKEY|ShiftMask, XK_l, spawn, SHCMD("lockscreen") }, { MODKEY|ShiftMask, XK_l, spawn, SHCMD("lockscreen") },
{ MODKEY, XK_w, spawn, SHCMD("randwallpaper") }, { MODKEY, XK_w, spawn, SHCMD("randwallpaper") },