Minor edits.

This commit is contained in:
Derek Taylor
2020-12-16 21:18:19 -06:00
parent 1aa6138866
commit 4df1816db5
4 changed files with 26 additions and 12 deletions

View File

@@ -133,9 +133,9 @@
:desc "Search web for text between BEG/END" :desc "Search web for text between BEG/END"
"s w" #'eww-search-words) "s w" #'eww-search-words)
(setq doom-font (font-spec :family "UbuntuMono Nerd Font" :size 16) (setq doom-font (font-spec :family "Mononoki Nerd Font" :size 15)
doom-variable-pitch-font (font-spec :family "Ubuntu" :size 15) doom-variable-pitch-font (font-spec :family "Ubuntu" :size 15)
doom-big-font (font-spec :family "UbuntuMono Nerd Font" :size 24)) doom-big-font (font-spec :family "Mononoki Nerd Font" :size 24))
(after! doom-themes (after! doom-themes
(setq doom-themes-enable-bold t (setq doom-themes-enable-bold t
doom-themes-enable-italic t)) doom-themes-enable-italic t))

View File

@@ -254,9 +254,9 @@ Settings related to fonts within Doom Emacs:
+ 'font-lock-keyword-face' -- for keywords with special significance, like for and if in C. + 'font-lock-keyword-face' -- for keywords with special significance, like for and if in C.
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(setq doom-font (font-spec :family "UbuntuMono Nerd Font" :size 16) (setq doom-font (font-spec :family "Mononoki Nerd Font" :size 15)
doom-variable-pitch-font (font-spec :family "Ubuntu" :size 15) doom-variable-pitch-font (font-spec :family "Ubuntu" :size 15)
doom-big-font (font-spec :family "UbuntuMono Nerd Font" :size 24)) doom-big-font (font-spec :family "Mononoki Nerd Font" :size 24))
(after! doom-themes (after! doom-themes
(setq doom-themes-enable-bold t (setq doom-themes-enable-bold t
doom-themes-enable-italic t)) doom-themes-enable-italic t))

View File

@@ -532,6 +532,17 @@ myTreeNavigation = M.fromList
* Xprompts * Xprompts
** Xprompt Settings ** Xprompt Settings
The XMonad.Prompt module is useful for writing graphical prompts for XMonad. There are several readily available prompts that we can use, including:
+ shellPrompt - A standard run prompt similar to dmenu.
+ manPrompt - Searches for a program's manpage.
+ passPrompt - Retrieve passwords from pass, the Unix password manager.
+ passGeneratePrompt - Generates a password for pass.
+ passRemovePrompt - Removes a password from pass.
+ sshPrompt - A prompt for ssh connections.
+ xmonadPrompt - A prompt for XMonad commands.
You can write your own prompts if you know some Haskell. Some custom prompts include:
+ calcPrompt - A simple calculator prompt that uses qalculate.
#+BEGIN_SRC haskell #+BEGIN_SRC haskell
dtXPConfig :: XPConfig dtXPConfig :: XPConfig
@@ -545,8 +556,8 @@ dtXPConfig = def
, promptBorderWidth = 0 , promptBorderWidth = 0
, promptKeymap = dtXPKeymap , promptKeymap = dtXPKeymap
, position = Top , position = Top
-- , position = CenteredAt { xpCenterY = 0.3, xpWidth = 0.3 } -- , position = CenteredAt { xpCenterY = 0.3, xpWidth = 0.3 }
, height = 20 , height = 23
, historySize = 256 , historySize = 256
, historyFilter = id , historyFilter = id
, defaultText = [] , defaultText = []
@@ -880,6 +891,7 @@ I am using the Xmonad.Util.EZConfig module which allows keybindings to be writte
| MODKEY + RETURN | opens terminal (alacritty is the terminal but can be easily changed) | | MODKEY + RETURN | opens terminal (alacritty is the terminal but can be easily changed) |
| MODKEY + SHIFT + RETURN | opens run launcher (XMonad's shell xprompt) | | MODKEY + SHIFT + RETURN | opens run launcher (XMonad's shell xprompt) |
| MODKEY + TAB | rotates through the available layouts | | MODKEY + TAB | rotates through the available layouts |
| MODKEY + SPACE | toggles fullscreen on/off (useful for watching videos) |
| MODKEY + SHIFT + c | closes window with focus | | MODKEY + SHIFT + c | closes window with focus |
| MODKEY + SHIFT + r | restarts xmonad | | MODKEY + SHIFT + r | restarts xmonad |
| MODKEY + SHIFT + q | quits xmonad | | MODKEY + SHIFT + q | quits xmonad |
@@ -896,6 +908,8 @@ I am using the Xmonad.Util.EZConfig module which allows keybindings to be writte
| MODKEY + r | switches focus to monitor 3 | | MODKEY + r | switches focus to monitor 3 |
| MODKEY + period | switch focus to next monitor | | MODKEY + period | switch focus to next monitor |
| MODKEY + comma | switch focus to prev monitor | | MODKEY + comma | switch focus to prev monitor |
| MODKEY + SPACE | toggles fullscreen on/off (useful for watching videos) |
| MODKEY + t | force floating window back into tiling |
#+BEGIN_SRC haskell #+BEGIN_SRC haskell
myKeys :: [(String, X ())] myKeys :: [(String, X ())]
@@ -906,9 +920,9 @@ myKeys =
, ("M-S-q", io exitSuccess) -- Quits xmonad , ("M-S-q", io exitSuccess) -- Quits xmonad
-- Run Prompt -- Run Prompt
-- , ("M-S-<Return>", shellPrompt dtXPConfig) -- Xmonad Shell Prompt , ("M-S-<Return>", shellPrompt dtXPConfig) -- Xmonad Shell Prompt
-- , ("M-S-<Return>", spawn "dmenu_run -i -p \"Run: \"") -- Dmenu -- , ("M-S-<Return>", spawn "dmenu_run -i -p \"Run: \"") -- Dmenu
, ("M-S-<Return>", spawn "rofi -show drun -config ~/.config/rofi/themes/dt-dmenu.rasi -display-drun \"Run: \" -drun-display-format \"{name}\"") -- Rofi -- , ("M-S-<Return>", spawn "rofi -show drun -config ~/.config/rofi/themes/dt-dmenu.rasi -display-drun \"Run: \" -drun-display-format \"{name}\"") -- Rofi
-- Useful programs to have a keybinding for launch -- Useful programs to have a keybinding for launch
, ("M-<Return>", spawn (myTerminal ++ " -e fish")) , ("M-<Return>", spawn (myTerminal ++ " -e fish"))

View File

@@ -468,8 +468,8 @@ dtXPConfig = def
, promptBorderWidth = 0 , promptBorderWidth = 0
, promptKeymap = dtXPKeymap , promptKeymap = dtXPKeymap
, position = Top , position = Top
-- , position = CenteredAt { xpCenterY = 0.3, xpWidth = 0.3 } -- , position = CenteredAt { xpCenterY = 0.3, xpWidth = 0.3 }
, height = 20 , height = 23
, historySize = 256 , historySize = 256
, historyFilter = id , historyFilter = id
, defaultText = [] , defaultText = []
@@ -754,9 +754,9 @@ myKeys =
, ("M-S-q", io exitSuccess) -- Quits xmonad , ("M-S-q", io exitSuccess) -- Quits xmonad
-- Run Prompt -- Run Prompt
-- , ("M-S-<Return>", shellPrompt dtXPConfig) -- Xmonad Shell Prompt , ("M-S-<Return>", shellPrompt dtXPConfig) -- Xmonad Shell Prompt
-- , ("M-S-<Return>", spawn "dmenu_run -i -p \"Run: \"") -- Dmenu -- , ("M-S-<Return>", spawn "dmenu_run -i -p \"Run: \"") -- Dmenu
, ("M-S-<Return>", spawn "rofi -show drun -config ~/.config/rofi/themes/dt-dmenu.rasi -display-drun \"Run: \" -drun-display-format \"{name}\"") -- Rofi -- , ("M-S-<Return>", spawn "rofi -show drun -config ~/.config/rofi/themes/dt-dmenu.rasi -display-drun \"Run: \" -drun-display-format \"{name}\"") -- Rofi
-- Useful programs to have a keybinding for launch -- Useful programs to have a keybinding for launch
, ("M-<Return>", spawn (myTerminal ++ " -e fish")) , ("M-<Return>", spawn (myTerminal ++ " -e fish"))