clip history

This commit is contained in:
Venelin Dechkov
2026-07-30 11:54:49 +03:00
parent a4385c8858
commit ef7e66f609
3 changed files with 28 additions and 22 deletions
+5 -3
View File
@@ -72,6 +72,7 @@ static const Layout layouts[] = {
// 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", "-fn", "monospace:size=14", NULL };
static const char* termcmd[] = { "st", NULL };
static const char* simulate_mmb[] = { "xdotool", "click", "--delay", "0", "--clearmodifiers", "2", NULL };
#if HAS_SW_BACKLIGHT
static const char* bright_up[] = { "brightnessctl", "s", "-q", "1%+", NULL };
static const char* bright_down[] = { "brightnessctl", "s", "-q", "1%-", NULL };
@@ -83,9 +84,10 @@ static void webbookmark(const Arg* unused){
static const Key keys[] = {
/* modifier key function argument */
{ MODKEY|ShiftMask, XK_s, vene_screenshot, {0} }, // Take a screenshot, located in ~/screenshots and in clipboard
{ ShiftMask, XK_Insert, vene_paste_sel, {0} }, // Paste what the mouse selection
{ MODKEY|ShiftMask, XK_b, webbookmark, {0} }, // Open a web bookmark
{ MODKEY|ShiftMask, XK_s, vene_screenshot, {0} }, // Take a screenshot, located in ~/screenshots and in clipboard
{ MODKEY, XK_v, vene_clip_history,{0} }, // Clip history
{ ShiftMask, XK_Insert, spawn, { .v = simulate_mmb } }, // Paste what the mouse selection by simulating a MMB click
{ MODKEY|ShiftMask, XK_b, webbookmark, {0} }, // Open a web bookmark
{ 0, XF86XK_AudioRaiseVolume, vene_inc_vol, {0} },
{ 0, XF86XK_AudioLowerVolume, vene_dec_vol, {0} },
{ 0, XF86XK_AudioMute, vene_toggle_vol, {0} },