ENH make rofi always appear with focused window
This commit is contained in:
parent
eb2cc3b3a9
commit
dd6080ad68
11
xmonad.hs
11
xmonad.hs
|
@ -99,19 +99,20 @@ main = do
|
||||||
-- keybindings
|
-- keybindings
|
||||||
myModMask = mod4Mask
|
myModMask = mod4Mask
|
||||||
|
|
||||||
|
_myRofi = "rofi -m -2" -- show rofi always with the focused window
|
||||||
myTerm = "urxvt"
|
myTerm = "urxvt"
|
||||||
myBrowser = "brave"
|
myBrowser = "brave"
|
||||||
myVBox = "VBoxManage startvm win8raw"
|
myVBox = "VBoxManage startvm win8raw"
|
||||||
myEditor = "emacsclient -c -e \"(select-frame-set-input-focus (selected-frame))\""
|
myEditor = "emacsclient -c -e \"(select-frame-set-input-focus (selected-frame))\""
|
||||||
myCalc = "urxvt -e R"
|
myCalc = "urxvt -e R"
|
||||||
myRun = "rofi -show run"
|
myRun = _myRofi ++ " -show run"
|
||||||
myAppRun = "rofi -show drun"
|
myAppRun = _myRofi ++ " -show drun"
|
||||||
myClipboard = "rofi -modi \"clipboard:greenclip print\" \
|
myClipboard = _myRofi ++ " -modi \"clipboard:greenclip print\" \
|
||||||
\-show clipboard -run-command '{cmd}' \
|
\-show clipboard -run-command '{cmd}' \
|
||||||
\-theme-str '#element.selected.normal \
|
\-theme-str '#element.selected.normal \
|
||||||
\{ background-color: #00c44e; }'"
|
\{ background-color: #00c44e; }'"
|
||||||
myNetSel = "networkmanager_dmenu"
|
myNetSel = "networkmanager_dmenu -m -2"
|
||||||
myWinSel = "rofi -show window"
|
myWinSel = _myRofi ++ " -show window"
|
||||||
myScreenCap = "screencap -s" --external script
|
myScreenCap = "screencap -s" --external script
|
||||||
myWindowCap = "screencap -w" --external script
|
myWindowCap = "screencap -w" --external script
|
||||||
myScreenLock = "screenlock" --external script
|
myScreenLock = "screenlock" --external script
|
||||||
|
|
Loading…
Reference in New Issue