Add scrren shot controller
This commit is contained in:
parent
831fd5e34e
commit
1b0fb061e7
1 changed files with 3 additions and 0 deletions
3
config.h
3
config.h
|
@ -3,6 +3,7 @@
|
||||||
/* def */
|
/* def */
|
||||||
#define WEBBROWSER "google-chrome-stable"
|
#define WEBBROWSER "google-chrome-stable"
|
||||||
#define TERMINAL "alacritty"
|
#define TERMINAL "alacritty"
|
||||||
|
#define SCREENSHOT "spectacle"
|
||||||
/* appearance */
|
/* appearance */
|
||||||
static const unsigned int borderpx = 1; /* border pixel of windows */
|
static const unsigned int borderpx = 1; /* border pixel of windows */
|
||||||
static const unsigned int gappx = 3; /* gaps size between windows */
|
static const unsigned int gappx = 3; /* gaps size between windows */
|
||||||
|
@ -150,6 +151,8 @@ static Key keys[] = {
|
||||||
{ 0, XF86XK_AudioPrev, spawn, SHCMD("playerctl previous") },
|
{ 0, XF86XK_AudioPrev, spawn, SHCMD("playerctl previous") },
|
||||||
// Mute and unmute mic
|
// Mute and unmute mic
|
||||||
{ 0, XF86XK_AudioMicMute, spawn, SHCMD("pactl set-source-mute @DEFAULT_SOURCE@ toggle") },
|
{ 0, XF86XK_AudioMicMute, spawn, SHCMD("pactl set-source-mute @DEFAULT_SOURCE@ toggle") },
|
||||||
|
// Take a screenshot
|
||||||
|
{ 0, XK_Print, spawn, SHCMD(SCREENSHOT) },
|
||||||
};
|
};
|
||||||
|
|
||||||
/* button definitions */
|
/* button definitions */
|
||||||
|
|
Loading…
Reference in a new issue