Minor edits

This commit is contained in:
Derek Taylor
2020-12-01 15:54:57 -06:00
parent 248ac6186c
commit 51bfd4a1bf
6 changed files with 17 additions and 8 deletions
+6 -1
View File
@@ -203,6 +203,11 @@ alias tb="nc termbin.com 9999"
alias rr='curl -s -L https://raw.githubusercontent.com/keroserene/rickrollrc/master/roll.sh | bash' alias rr='curl -s -L https://raw.githubusercontent.com/keroserene/rickrollrc/master/roll.sh | bash'
### RANDOM COLOR SCRIPT ### ### RANDOM COLOR SCRIPT ###
/opt/shell-color-scripts/colorscript.sh random colorscript random
source /home/dt/.config/broot/launcher/bash/br source /home/dt/.config/broot/launcher/bash/br
### BASH INSULTER ###
if [ -f /etc/bash.command-not-found ]; then
. /etc/bash.command-not-found
fi
+1 -1
View File
@@ -377,4 +377,4 @@ alias kakd="/usr/bin/kak -d -s mysession &"
### RANDOM COLOR SCRIPT ### ### RANDOM COLOR SCRIPT ###
# Get this script from my GitLab: gitlab.com/dwt1/shell-color-scripts # Get this script from my GitLab: gitlab.com/dwt1/shell-color-scripts
# Or install it from the Arch User Repository: shell-color-scripts # Or install it from the Arch User Repository: shell-color-scripts
/opt/shell-color-scripts/colorscript.sh random colorscript random
+2 -2
View File
@@ -98,8 +98,8 @@ modkey = Mod4
# PROGRAMS # PROGRAMS
# Validated default programs: # Validated default programs:
# program[lock] = xlock program[lock] = slock
# program[term] = xterm program[term] = alacritty
# program[menu] = dmenu_run $dmenu_bottom -fn $bar_font -nb $bar_color -nf $bar_font_color -sb $bar_color_selected -sf $bar_font_color_selected # program[menu] = dmenu_run $dmenu_bottom -fn $bar_font -nb $bar_color -nf $bar_font_color -sb $bar_color_selected -sf $bar_font_color_selected
# program[search] = dmenu $dmenu_bottom -i -fn $bar_font -nb $bar_color -nf $bar_font_color -sb $bar_color_selected -sf $bar_font_color_selected # program[search] = dmenu $dmenu_bottom -i -fn $bar_font -nb $bar_color -nf $bar_font_color -sb $bar_color_selected -sf $bar_font_color_selected
# program[name_workspace] = dmenu $dmenu_bottom -p Workspace -fn $bar_font -nb $bar_color -nf $bar_font_color -sb $bar_color_selected -sf $bar_font_color_selected # program[name_workspace] = dmenu $dmenu_bottom -p Workspace -fn $bar_font -nb $bar_color -nf $bar_font_color -sb $bar_color_selected -sf $bar_font_color_selected
+4 -2
View File
@@ -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. 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 #+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=" archwiki = S.searchEngine "archwiki" "https://wiki.archlinux.org/index.php?search="
ebay = S.searchEngine "ebay" "https://www.ebay.com/sch/i.html?_nkw=" ebay = S.searchEngine "ebay" "https://www.ebay.com/sch/i.html?_nkw="
news = S.searchEngine "news" "https://news.google.com/search?q=" news = S.searchEngine "news" "https://news.google.com/search?q="
reddit = S.searchEngine "reddit" "https://www.reddit.com/search/?q=" reddit = S.searchEngine "reddit" "https://www.reddit.com/search/?q="
urban = S.searchEngine "urban" "https://www.urbandictionary.com/define.php?term=" 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 -- 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. -- XMonad.Actions.Search, and some are the ones that I added above.
@@ -671,12 +672,13 @@ searchList = [ ("a", archwiki)
, ("u", urban) , ("u", urban)
, ("w", S.wikipedia) , ("w", S.wikipedia)
, ("y", S.youtube) , ("y", S.youtube)
, ("S-y", yacy)
, ("z", S.amazon) , ("z", S.amazon)
] ]
#+END_SRC #+END_SRC
* Scratchpads * 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 #+BEGIN_SRC haskell
myScratchPads :: [NamedScratchpad] myScratchPads :: [NamedScratchpad]
+3 -1
View File
@@ -553,13 +553,14 @@ dtXPKeymap = M.fromList $
, (xK_Escape, quit) , (xK_Escape, quit)
] ]
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=" archwiki = S.searchEngine "archwiki" "https://wiki.archlinux.org/index.php?search="
ebay = S.searchEngine "ebay" "https://www.ebay.com/sch/i.html?_nkw=" ebay = S.searchEngine "ebay" "https://www.ebay.com/sch/i.html?_nkw="
news = S.searchEngine "news" "https://news.google.com/search?q=" news = S.searchEngine "news" "https://news.google.com/search?q="
reddit = S.searchEngine "reddit" "https://www.reddit.com/search/?q=" reddit = S.searchEngine "reddit" "https://www.reddit.com/search/?q="
urban = S.searchEngine "urban" "https://www.urbandictionary.com/define.php?term=" 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 -- 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. -- XMonad.Actions.Search, and some are the ones that I added above.
@@ -579,6 +580,7 @@ searchList = [ ("a", archwiki)
, ("u", urban) , ("u", urban)
, ("w", S.wikipedia) , ("w", S.wikipedia)
, ("y", S.youtube) , ("y", S.youtube)
, ("S-y", yacy)
, ("z", S.amazon) , ("z", S.amazon)
] ]
+1 -1
View File
@@ -182,7 +182,7 @@ if [ -f /etc/bash.command-not-found ]; then
fi fi
### RANDOM COLOR SCRIPT ### ### RANDOM COLOR SCRIPT ###
/opt/shell-color-scripts/colorscript.sh random colorscript random
### SETS VI MODE ### ### SETS VI MODE ###
bindkey -v bindkey -v