mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-04-23 11:30:23 +10:00
Minor edits.
This commit is contained in:
3
.bashrc
3
.bashrc
@@ -204,6 +204,9 @@ alias tb="nc termbin.com 9999"
|
|||||||
# the terminal rickroll
|
# the terminal rickroll
|
||||||
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'
|
||||||
|
|
||||||
|
# Unlock LBRY tips
|
||||||
|
alias tips='lbrynet txo spend --type=support --is_not_my_input --blocking'
|
||||||
|
|
||||||
### 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
|
||||||
|
|||||||
@@ -281,6 +281,9 @@ alias config="/usr/bin/git --git-dir=$HOME/dotfiles --work-tree=$HOME"
|
|||||||
# termbin
|
# termbin
|
||||||
alias tb="nc termbin.com 9999"
|
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
|
# force all kakoune windows into one session
|
||||||
alias kak="/usr/bin/kak -c mysession"
|
alias kak="/usr/bin/kak -c mysession"
|
||||||
alias kaks="/usr/bin/kak -s mysession"
|
alias kaks="/usr/bin/kak -s mysession"
|
||||||
|
|||||||
@@ -1,14 +1,14 @@
|
|||||||
[xin_0]
|
[xin_0]
|
||||||
file=/home/dt/wallpapers/0103.jpg
|
file=/home/dt/wallpapers/0218.jpg
|
||||||
mode=0
|
mode=0
|
||||||
bgcolor=#000000
|
bgcolor=#000000
|
||||||
|
|
||||||
[xin_1]
|
[xin_1]
|
||||||
file=/home/dt/wallpapers/0103.jpg
|
file=/home/dt/wallpapers/0218.jpg
|
||||||
mode=0
|
mode=0
|
||||||
bgcolor=#000000
|
bgcolor=#000000
|
||||||
|
|
||||||
[xin_2]
|
[xin_2]
|
||||||
file=/home/dt/wallpapers/0103.jpg
|
file=/home/dt/wallpapers/0218.jpg
|
||||||
mode=0
|
mode=0
|
||||||
bgcolor=#000000
|
bgcolor=#000000
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
[geometry]
|
[geometry]
|
||||||
posx=3856
|
posx=1936
|
||||||
posy=40
|
posy=40
|
||||||
sizex=1884
|
sizex=1884
|
||||||
sizey=1020
|
sizey=1020
|
||||||
|
|||||||
@@ -8,42 +8,46 @@
|
|||||||
# Dmenu script for editing some of my more frequently edited config files.
|
# Dmenu script for editing some of my more frequently edited config files.
|
||||||
|
|
||||||
|
|
||||||
declare options=("alacritty
|
declare -a options=("alacritty"
|
||||||
awesome
|
"awesome"
|
||||||
bash
|
"bash"
|
||||||
broot
|
"broot"
|
||||||
bspwm
|
"bspwm"
|
||||||
doom.d/config.el
|
"doom.d/config.el"
|
||||||
doom.d/init.el
|
"doom.d/init.el"
|
||||||
dunst
|
"dunst"
|
||||||
dwm
|
"dwm"
|
||||||
emacs.d/init.el
|
"emacs.d/init.el"
|
||||||
herbstluftwm
|
"herbstluftwm"
|
||||||
i3
|
"i3"
|
||||||
neovim
|
"neovim"
|
||||||
picom
|
"picom"
|
||||||
polybar
|
"polybar"
|
||||||
qtile
|
"qtile"
|
||||||
quickmarks
|
"quickmarks"
|
||||||
qutebrowser
|
"qutebrowser"
|
||||||
spectrwm
|
"spectrwm"
|
||||||
st
|
"st"
|
||||||
stumpwm
|
"stumpwm"
|
||||||
surf
|
"surf"
|
||||||
sxhkd
|
"sxhkd"
|
||||||
tabbed
|
"tabbed"
|
||||||
termite
|
"termite"
|
||||||
vifm
|
"vifm"
|
||||||
vim
|
"vim"
|
||||||
vimb
|
"vimb"
|
||||||
xmobar
|
"xmobar"
|
||||||
xmonad
|
"xmonad"
|
||||||
xresources
|
"xresources"
|
||||||
zsh
|
"zsh"
|
||||||
quit")
|
"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
|
case "$choice" in
|
||||||
quit)
|
quit)
|
||||||
echo "Program terminated." && exit 1
|
echo "Program terminated." && exit 1
|
||||||
@@ -148,5 +152,8 @@ case "$choice" in
|
|||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
# Ultimately, what do want to do with our choice? Open in our editor!
|
||||||
alacritty -e nvim "$choice"
|
alacritty -e nvim "$choice"
|
||||||
# emacsclient -c -a emacs "$choice"
|
# emacsclient -c -a emacs "$choice"
|
||||||
|
|
||||||
|
|||||||
@@ -67,7 +67,7 @@
|
|||||||
<a class="bookmark" href="https://www.patreon.com/distrotube" target="_blank">Patreon</a>
|
<a class="bookmark" href="https://www.patreon.com/distrotube" target="_blank">Patreon</a>
|
||||||
<a class="bookmark" href="https://gitlab.com/dwt1" target="_blank">GitLab</a>
|
<a class="bookmark" href="https://gitlab.com/dwt1" target="_blank">GitLab</a>
|
||||||
<a class="bookmark" href="https://github.com" target="_blank">GitHub</a>
|
<a class="bookmark" href="https://github.com" target="_blank">GitHub</a>
|
||||||
<a class="bookmark" href="https://mastodon.technology/@distrotube" target="_blank">Mastodon</a>
|
<a class="bookmark" href="https://distrotoot.com" target="_blank">Mastodon</a>
|
||||||
<a class="bookmark" href="https://diasp.org/stream" target="_blank">Diaspora</a>
|
<a class="bookmark" href="https://diasp.org/stream" target="_blank">Diaspora</a>
|
||||||
<a class="bookmark" href="https://netflix.com" target="_blank">Netflix</a>
|
<a class="bookmark" href="https://netflix.com" target="_blank">Netflix</a>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -794,7 +794,7 @@ grid = renamed [Replace "grid"]
|
|||||||
$ addTabs shrinkText myTabTheme
|
$ addTabs shrinkText myTabTheme
|
||||||
$ subLayout [] (smartBorders Simplest)
|
$ subLayout [] (smartBorders Simplest)
|
||||||
$ limitWindows 12
|
$ limitWindows 12
|
||||||
$ mySpacing 8
|
$ mySpacing 0
|
||||||
$ mkToggle (single MIRROR)
|
$ mkToggle (single MIRROR)
|
||||||
$ Grid (16/10)
|
$ Grid (16/10)
|
||||||
spirals = renamed [Replace "spirals"]
|
spirals = renamed [Replace "spirals"]
|
||||||
|
|||||||
@@ -664,7 +664,7 @@ grid = renamed [Replace "grid"]
|
|||||||
$ addTabs shrinkText myTabTheme
|
$ addTabs shrinkText myTabTheme
|
||||||
$ subLayout [] (smartBorders Simplest)
|
$ subLayout [] (smartBorders Simplest)
|
||||||
$ limitWindows 12
|
$ limitWindows 12
|
||||||
$ mySpacing 8
|
$ mySpacing 0
|
||||||
$ mkToggle (single MIRROR)
|
$ mkToggle (single MIRROR)
|
||||||
$ Grid (16/10)
|
$ Grid (16/10)
|
||||||
spirals = renamed [Replace "spirals"]
|
spirals = renamed [Replace "spirals"]
|
||||||
|
|||||||
3
.zshrc
3
.zshrc
@@ -205,6 +205,9 @@ alias tb="nc termbin.com 9999"
|
|||||||
# the terminal rickroll
|
# the terminal rickroll
|
||||||
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'
|
||||||
|
|
||||||
|
# Unlock LBRY tips
|
||||||
|
alias tips='lbrynet txo spend --type=support --is_not_my_input --blocking'
|
||||||
|
|
||||||
### 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
|
||||||
|
|||||||
Reference in New Issue
Block a user