type primary selection via xvkbd
This commit is contained in:
parent
5b033a2c07
commit
66e076ab0c
4
config.h
4
config.h
@ -169,7 +169,7 @@ static Key keys[] = {
|
|||||||
{ MODKEY, XK_s, togglesticky, {.i=False} },
|
{ MODKEY, XK_s, togglesticky, {.i=False} },
|
||||||
{ MODKEY|ShiftMask, XK_s, spawn, SHCMD("temp=\"$(pwd)\"; cd $HOME/dox/notes; st $EDITOR $HOME/dox/notes/Main.md; cd \"$temp\"") },
|
{ MODKEY|ShiftMask, XK_s, spawn, SHCMD("temp=\"$(pwd)\"; cd $HOME/dox/notes; st $EDITOR $HOME/dox/notes/Main.md; cd \"$temp\"") },
|
||||||
{ MODKEY, XK_d, spawn, {.v = dmenucmd } },
|
{ MODKEY, XK_d, spawn, {.v = dmenucmd } },
|
||||||
//{ MODKEY|ShiftMask, XK_d, togglegaps, {0} },
|
{ MODKEY|ShiftMask, XK_d, spawn, SHCMD("de launchdmenu")},
|
||||||
{ MODKEY, XK_f, togglefullscr, {0} },
|
{ MODKEY, XK_f, togglefullscr, {0} },
|
||||||
{ MODKEY|ShiftMask, XK_f, setlayout, {.v = &layouts[8]} },
|
{ MODKEY|ShiftMask, XK_f, setlayout, {.v = &layouts[8]} },
|
||||||
{ MODKEY, XK_g, shiftview, { .i = -1 } },
|
{ MODKEY, XK_g, shiftview, { .i = -1 } },
|
||||||
@ -191,7 +191,7 @@ static Key keys[] = {
|
|||||||
{ MODKEY, XK_Return, spawn, {.v = termcmd } },
|
{ MODKEY, XK_Return, spawn, {.v = termcmd } },
|
||||||
{ MODKEY|ShiftMask, XK_Return, togglescratch, {.ui = 0 } },
|
{ MODKEY|ShiftMask, XK_Return, togglescratch, {.ui = 0 } },
|
||||||
{ MODKEY, XK_z, spawn, SHCMD("st -e tremc") },
|
{ MODKEY, XK_z, spawn, SHCMD("st -e tremc") },
|
||||||
{ ControlMask|ShiftMask, XK_z, spawn, SHCMD("xdotool click 2")},
|
{ ControlMask|ShiftMask, XK_z, spawn, SHCMD("xclip -selection 'primary' -o | xvkbd -xsendevent -file -")},
|
||||||
{ MODKEY, XK_x, spawn, SHCMD("slock & ( sleep 4; xset dpms force off; mpc pause ; pauseallmpv)") },
|
{ MODKEY, XK_x, spawn, SHCMD("slock & ( sleep 4; xset dpms force off; mpc pause ; pauseallmpv)") },
|
||||||
{ MODKEY|ShiftMask, XK_x, spawn, SHCMD("prompt \"Shutdown computer?\" \"sudo -A shutdown -h now\"") },
|
{ MODKEY|ShiftMask, XK_x, spawn, SHCMD("prompt \"Shutdown computer?\" \"sudo -A shutdown -h now\"") },
|
||||||
{ MODKEY, XK_c, togglescratch, {.ui = 1 } },
|
{ MODKEY, XK_c, togglescratch, {.ui = 1 } },
|
||||||
|
Loading…
Reference in New Issue
Block a user