I just start to use xmonad window manager. It is wonderful. I tried to modify some configurations to get it work more suitable for me.
My question is:
1. How to make a keyboard shortcut for commonly used apps? For example, I'd like to bind
Chrome
to mod-b
.
2. How to change the dmenu
font? I tried to add options to the exec part:
dmenu_run -fn "-xos4-terminus-medium-r-*-*-14-*"
dmenu_run -fn 'Droid Sans Mono-14'
but it doesn't work.
------
**Edit**:
Question 1 solved by:
> In the section myKeys conf@(XConfig {XMonad.modMask = modm}) = M.fromList $
>
> add:
>
> -- launch Chrome browser
> , ((modm, xK_b), spawn "exe=google-chrome
")
--------------------------------------------
**Edit 2**:
Question 2 solved by https://askubuntu.com/questions/326907/custom-font-with-dmenu
Asked by Nick
(1147 rep)
Dec 17, 2014, 08:30 AM
Last activity: Jan 29, 2022, 06:26 PM
Last activity: Jan 29, 2022, 06:26 PM