From 51bfd4a1bf4b128e76520c2071ed409965bdb292 Mon Sep 17 00:00:00 2001 From: Derek Taylor Date: Tue, 1 Dec 2020 15:54:57 -0600 Subject: [PATCH] Minor edits --- .bashrc | 7 ++++++- .config/fish/config.fish | 2 +- .spectrwm.conf | 4 ++-- .xmonad/README.org | 6 ++++-- .xmonad/xmonad.hs | 4 +++- .zshrc | 2 +- 6 files changed, 17 insertions(+), 8 deletions(-) diff --git a/.bashrc b/.bashrc index 12f52ac..933cbd6 100644 --- a/.bashrc +++ b/.bashrc @@ -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' ### RANDOM COLOR SCRIPT ### -/opt/shell-color-scripts/colorscript.sh random +colorscript random source /home/dt/.config/broot/launcher/bash/br + +### BASH INSULTER ### +if [ -f /etc/bash.command-not-found ]; then + . /etc/bash.command-not-found +fi diff --git a/.config/fish/config.fish b/.config/fish/config.fish index 99409ee..29c395e 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -377,4 +377,4 @@ alias kakd="/usr/bin/kak -d -s mysession &" ### RANDOM COLOR SCRIPT ### # Get this script from my GitLab: gitlab.com/dwt1/shell-color-scripts # Or install it from the Arch User Repository: shell-color-scripts -/opt/shell-color-scripts/colorscript.sh random +colorscript random diff --git a/.spectrwm.conf b/.spectrwm.conf index 3e1871a..5298ce5 100644 --- a/.spectrwm.conf +++ b/.spectrwm.conf @@ -98,8 +98,8 @@ modkey = Mod4 # PROGRAMS # Validated default programs: -# program[lock] = xlock -# program[term] = xterm +program[lock] = slock +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[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 diff --git a/.xmonad/README.org b/.xmonad/README.org index 4637c1e..ec36aa9 100644 --- a/.xmonad/README.org +++ b/.xmonad/README.org @@ -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] diff --git a/.xmonad/xmonad.hs b/.xmonad/xmonad.hs index 46a2c1f..8a77fbf 100644 --- a/.xmonad/xmonad.hs +++ b/.xmonad/xmonad.hs @@ -553,13 +553,14 @@ dtXPKeymap = M.fromList $ , (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=" 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. @@ -579,6 +580,7 @@ searchList = [ ("a", archwiki) , ("u", urban) , ("w", S.wikipedia) , ("y", S.youtube) + , ("S-y", yacy) , ("z", S.amazon) ] diff --git a/.zshrc b/.zshrc index 73c4bc6..fdf7321 100644 --- a/.zshrc +++ b/.zshrc @@ -182,7 +182,7 @@ if [ -f /etc/bash.command-not-found ]; then fi ### RANDOM COLOR SCRIPT ### -/opt/shell-color-scripts/colorscript.sh random +colorscript random ### SETS VI MODE ### bindkey -v