From 79e6cf4b49dafdb47367ba682bf8a4d1a3bea790 Mon Sep 17 00:00:00 2001 From: Trey Blancher Date: Mon, 21 Dec 2020 16:02:18 -0500 Subject: [PATCH] clipmenu branch initial commit --- xmonad.hs | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/xmonad.hs b/xmonad.hs index ff46939..0f51308 100755 --- a/xmonad.hs +++ b/xmonad.hs @@ -357,12 +357,15 @@ myKeys = [ , ((controlMask .|. shiftMask, xK_4), unGrab >> spawn "scrot --exec 'mkdir -p ~/Desktop && mv $f ~/Desktop' --select && paplay ~/wav/camera.wav") -- windows (viewOnScreen 1 "ws") -- ifWindows (resource =? "altUrxvt") (mapM_ focus) (spawnHere altTerminal)) - , ((winKey .|. shiftMask, xK_v), do - windows (viewOnScreen 1 "virtualbox") - ifWindows (className =? "Gvim") (mapM_ focus) (spawnHere "gvim")) - , ((winKey , xK_v), do - windows (viewOnScreen 1 "timetracker") - ifWindows (title =? "osmium:timetracker") (mapM_ focus) (spawnHere "urxvtc -cd ~/timetracker -e 'tmux attach -t timetracker || tmux -2 new-session -s timetracker'")) + , ((lAlt, xK_v), do + spawnHere "clipmenu" + spawnHere "xdotool key Ctrl+v") + --, ((winKey .|. shiftMask, xK_v), do + -- windows (viewOnScreen 1 "virtualbox") + -- ifWindows (className =? "Gvim") (mapM_ focus) (spawnHere "gvim")) + --, ((winKey , xK_v), do + -- windows (viewOnScreen 1 "timetracker") + -- ifWindows (title =? "osmium:timetracker") (mapM_ focus) (spawnHere "urxvtc -cd ~/timetracker -e 'tmux attach -t timetracker || tmux -2 new-session -s timetracker'")) --, ((lAlt , xK_v), spawnHere "xfce4-popup-clipman") --, ((winKey , xK_x), windowPromptGoto dXPConfig) , ((winKey .|. shiftMask, xK_x), windowPromptBring dXPConfig)