From fb4795a9971abc26065fa80ba110d629ce1e2177 Mon Sep 17 00:00:00 2001 From: Derek Taylor Date: Sun, 17 Jan 2021 17:15:26 -0600 Subject: [PATCH] Minor edits. --- .bashrc | 3 ++ .config/fish/config.fish | 3 ++ .config/nitrogen/bg-saved.cfg | 6 +-- .config/nitrogen/nitrogen.cfg | 2 +- .dmenu/dmenu-edit-configs.sh | 75 +++++++++++++++++++---------------- .surf/html/homepage.html | 2 +- .xmonad/README.org | 2 +- .xmonad/xmonad.hs | 2 +- .zshrc | 3 ++ 9 files changed, 57 insertions(+), 41 deletions(-) diff --git a/.bashrc b/.bashrc index 891903b..8e08434 100644 --- a/.bashrc +++ b/.bashrc @@ -204,6 +204,9 @@ alias tb="nc termbin.com 9999" # the terminal rickroll alias rr='curl -s -L https://raw.githubusercontent.com/keroserene/rickrollrc/master/roll.sh | bash' +# Unlock LBRY tips +alias tips='lbrynet txo spend --type=support --is_not_my_input --blocking' + ### 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 diff --git a/.config/fish/config.fish b/.config/fish/config.fish index 2f232a3..421b581 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -281,6 +281,9 @@ alias config="/usr/bin/git --git-dir=$HOME/dotfiles --work-tree=$HOME" # termbin alias tb="nc termbin.com 9999" +# Unlock LBRY tips +alias tips="lbrynet txo spend --type=support --is_not_my_input --blocking" + # force all kakoune windows into one session alias kak="/usr/bin/kak -c mysession" alias kaks="/usr/bin/kak -s mysession" diff --git a/.config/nitrogen/bg-saved.cfg b/.config/nitrogen/bg-saved.cfg index 0313570..8bed38e 100644 --- a/.config/nitrogen/bg-saved.cfg +++ b/.config/nitrogen/bg-saved.cfg @@ -1,14 +1,14 @@ [xin_0] -file=/home/dt/wallpapers/0103.jpg +file=/home/dt/wallpapers/0218.jpg mode=0 bgcolor=#000000 [xin_1] -file=/home/dt/wallpapers/0103.jpg +file=/home/dt/wallpapers/0218.jpg mode=0 bgcolor=#000000 [xin_2] -file=/home/dt/wallpapers/0103.jpg +file=/home/dt/wallpapers/0218.jpg mode=0 bgcolor=#000000 diff --git a/.config/nitrogen/nitrogen.cfg b/.config/nitrogen/nitrogen.cfg index 7372c90..8af6a8f 100644 --- a/.config/nitrogen/nitrogen.cfg +++ b/.config/nitrogen/nitrogen.cfg @@ -1,5 +1,5 @@ [geometry] -posx=3856 +posx=1936 posy=40 sizex=1884 sizey=1020 diff --git a/.dmenu/dmenu-edit-configs.sh b/.dmenu/dmenu-edit-configs.sh index 848cffc..5b98fef 100755 --- a/.dmenu/dmenu-edit-configs.sh +++ b/.dmenu/dmenu-edit-configs.sh @@ -8,42 +8,46 @@ # Dmenu script for editing some of my more frequently edited config files. -declare options=("alacritty -awesome -bash -broot -bspwm -doom.d/config.el -doom.d/init.el -dunst -dwm -emacs.d/init.el -herbstluftwm -i3 -neovim -picom -polybar -qtile -quickmarks -qutebrowser -spectrwm -st -stumpwm -surf -sxhkd -tabbed -termite -vifm -vim -vimb -xmobar -xmonad -xresources -zsh -quit") +declare -a options=("alacritty" +"awesome" +"bash" +"broot" +"bspwm" +"doom.d/config.el" +"doom.d/init.el" +"dunst" +"dwm" +"emacs.d/init.el" +"herbstluftwm" +"i3" +"neovim" +"picom" +"polybar" +"qtile" +"quickmarks" +"qutebrowser" +"spectrwm" +"st" +"stumpwm" +"surf" +"sxhkd" +"tabbed" +"termite" +"vifm" +"vim" +"vimb" +"xmobar" +"xmonad" +"xresources" +"zsh" +"quit" +) -choice=$(echo -e "${options[@]}" | dmenu -p 'Edit config file: ') +# The combination of echo and printf is done to add line breaks to the end of each +# item in the array before it is piped into dmenu. Otherwise, all the items are listed +# as one long line (one item). +choice=$(echo "$(printf '%s\n' "${options[@]}")" | dmenu -p 'Edit config file: ') case "$choice" in quit) echo "Program terminated." && exit 1 @@ -148,5 +152,8 @@ case "$choice" in exit 1 ;; esac + +# Ultimately, what do want to do with our choice? Open in our editor! alacritty -e nvim "$choice" # emacsclient -c -a emacs "$choice" + diff --git a/.surf/html/homepage.html b/.surf/html/homepage.html index 977d27a..796b8cb 100644 --- a/.surf/html/homepage.html +++ b/.surf/html/homepage.html @@ -67,7 +67,7 @@ Patreon GitLab GitHub - Mastodon + Mastodon Diaspora Netflix diff --git a/.xmonad/README.org b/.xmonad/README.org index d5941f2..11b7ca2 100644 --- a/.xmonad/README.org +++ b/.xmonad/README.org @@ -794,7 +794,7 @@ grid = renamed [Replace "grid"] $ addTabs shrinkText myTabTheme $ subLayout [] (smartBorders Simplest) $ limitWindows 12 - $ mySpacing 8 + $ mySpacing 0 $ mkToggle (single MIRROR) $ Grid (16/10) spirals = renamed [Replace "spirals"] diff --git a/.xmonad/xmonad.hs b/.xmonad/xmonad.hs index d4928b6..ebf784d 100644 --- a/.xmonad/xmonad.hs +++ b/.xmonad/xmonad.hs @@ -664,7 +664,7 @@ grid = renamed [Replace "grid"] $ addTabs shrinkText myTabTheme $ subLayout [] (smartBorders Simplest) $ limitWindows 12 - $ mySpacing 8 + $ mySpacing 0 $ mkToggle (single MIRROR) $ Grid (16/10) spirals = renamed [Replace "spirals"] diff --git a/.zshrc b/.zshrc index 52b2b25..200cba7 100644 --- a/.zshrc +++ b/.zshrc @@ -205,6 +205,9 @@ alias tb="nc termbin.com 9999" # the terminal rickroll alias rr='curl -s -L https://raw.githubusercontent.com/keroserene/rickrollrc/master/roll.sh | bash' +# Unlock LBRY tips +alias tips='lbrynet txo spend --type=support --is_not_my_input --blocking' + ### 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