mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-04-23 03:20:26 +10:00
Minor edits
This commit is contained in:
@@ -645,13 +645,14 @@ dtXPKeymap = M.fromList $
|
||||
Xmonad has several search engines available to use located in XMonad.Actions.Search. Additionally, you can add other search engines such as those listed below.
|
||||
|
||||
#+BEGIN_SRC haskell
|
||||
archwiki, ebay, news, reddit, urban :: S.SearchEngine
|
||||
archwiki, ebay, news, reddit, urban, yacy :: S.SearchEngine
|
||||
|
||||
archwiki = S.searchEngine "archwiki" "https://wiki.archlinux.org/index.php?search="
|
||||
ebay = S.searchEngine "ebay" "https://www.ebay.com/sch/i.html?_nkw="
|
||||
news = S.searchEngine "news" "https://news.google.com/search?q="
|
||||
reddit = S.searchEngine "reddit" "https://www.reddit.com/search/?q="
|
||||
urban = S.searchEngine "urban" "https://www.urbandictionary.com/define.php?term="
|
||||
yacy = S.searchEngine "yacy" "http://localhost:8090/yacysearch.html?query="
|
||||
|
||||
-- This is the list of search engines that I want to use. Some are from
|
||||
-- XMonad.Actions.Search, and some are the ones that I added above.
|
||||
@@ -671,12 +672,13 @@ searchList = [ ("a", archwiki)
|
||||
, ("u", urban)
|
||||
, ("w", S.wikipedia)
|
||||
, ("y", S.youtube)
|
||||
, ("S-y", yacy)
|
||||
, ("z", S.amazon)
|
||||
]
|
||||
#+END_SRC
|
||||
|
||||
* Scratchpads
|
||||
Allows to have several floating scratchpads running different applications. Import Util.NamedScratchpad. Bind a key to namedScratchpadSpawnAction.
|
||||
Allows to have several floating scratchpads running different applications. Import Util.NamedScratchpad and bind a key to namedScratchpadSpawnAction. In the example below, I create two named scratchpads: (1) a scratchpad for my terminal, and (2) a scratchpad for moc which is a termina music player.
|
||||
|
||||
#+BEGIN_SRC haskell
|
||||
myScratchPads :: [NamedScratchpad]
|
||||
|
||||
Reference in New Issue
Block a user