add screenshot script and binds
This commit is contained in:
parent
4611bca454
commit
854f0629c1
7 changed files with 35 additions and 17 deletions
9
config.h
9
config.h
|
|
@ -6,8 +6,8 @@ static unsigned int gappx = 10; /* gaps between windows */
|
|||
static unsigned int snap = 32; /* snap pixel */
|
||||
static int showbar = 1; /* 0 means no bar */
|
||||
static int topbar = 0; /* 0 means bottom bar */
|
||||
static const char *fonts[] = { "Maple Mono NL:size=10" };
|
||||
static const char dmenufont[] = "Maple Mono NL:size=10";
|
||||
static const char *fonts[] = { "Iosevka Custom:size=10" };
|
||||
static const char dmenufont[] = "Iosevka Custom:size=10";
|
||||
static char normbgcolor[] = "#222222";
|
||||
static char normbordercolor[] = "#444444";
|
||||
static char normfgcolor[] = "#bbbbbb";
|
||||
|
|
@ -126,7 +126,10 @@ static Key keys[] = {
|
|||
{ 0, XF86XK_AudioLowerVolume, spawn, {.v = vol_down } },
|
||||
{ 0, XF86XK_AudioRaiseVolume, spawn, {.v = vol_up } },
|
||||
{ 0, XF86XK_AudioMute, spawn, {.v = vol_mute } },
|
||||
{ MODKEY|ShiftMask, XK_s, spawn, SHCMD("maim -s | xclip -selection clipboard -t image/png"), },
|
||||
{ MODKEY|ShiftMask, XK_s, spawn, SHCMD("maim -s -B | xclip -selection clipboard -t image/png"), },
|
||||
{ Mod1Mask|ShiftMask, XK_s, spawn, SHCMD("active_screenshot.sh"), },
|
||||
{ MODKEY|ShiftMask, XK_w, spawn, SHCMD("feh --bg-fill ~/.walls/$(ls ~/.walls | dmenu)"), },
|
||||
{ MODKEY|ShiftMask, XK_t, spawn, SHCMD("tinty apply $(tinty list | dmenu)"), },
|
||||
};
|
||||
|
||||
/* button definitions */
|
||||
|
|
|
|||
Loading…
Reference in a new issue