diff --git a/.config/bmdirs b/.config/bmdirs index f3e29be..24bdd21 100644 --- a/.config/bmdirs +++ b/.config/bmdirs @@ -6,5 +6,5 @@ m ~/Music pp ~/Pictures vv ~/Videos cf ~/.config -sc ~/.scripts +sc ~/.local/bin mn /mnt diff --git a/.config/i3blocks/config b/.config/i3blocks/config index 06edb86..393ea86 100644 --- a/.config/i3blocks/config +++ b/.config/i3blocks/config @@ -1,4 +1,4 @@ -command=~/.scripts/statusbar/$BLOCK_NAME +command=~/.local/bin/statusbar/$BLOCK_NAME separator_block_width=15 markup=pango diff --git a/.scripts/SCRIPTS.md b/.local/bin/SCRIPTS.md similarity index 98% rename from .scripts/SCRIPTS.md rename to .local/bin/SCRIPTS.md index a99e35e..08bca91 100644 --- a/.scripts/SCRIPTS.md +++ b/.local/bin/SCRIPTS.md @@ -1,11 +1,11 @@ # Directory of Scripts -I keep all my user-created scripts here in `~/.scripts/`. Scripts are sorted +I keep all my user-created scripts here in `~/.local/bin/`. Scripts are sorted into sub-directories for easy management, and all are seamlessly added to `$PATH` with the command below in `~/.profile`: ``` -export PATH="$(du $HOME/.scripts/ | cut -f2 | tr '\n' ':')$PATH" +export PATH="$(du $HOME/.local/bin/ | cut -f2 | tr '\n' ':')$PATH" ``` ## `statusbar/` diff --git a/.scripts/cron/IMPORTANT_NOTE.md b/.local/bin/cron/IMPORTANT_NOTE.md similarity index 100% rename from .scripts/cron/IMPORTANT_NOTE.md rename to .local/bin/cron/IMPORTANT_NOTE.md diff --git a/.scripts/cron/checkup b/.local/bin/cron/checkup similarity index 100% rename from .scripts/cron/checkup rename to .local/bin/cron/checkup diff --git a/.scripts/cron/cronbat b/.local/bin/cron/cronbat similarity index 100% rename from .scripts/cron/cronbat rename to .local/bin/cron/cronbat diff --git a/.scripts/cron/crontog b/.local/bin/cron/crontog similarity index 100% rename from .scripts/cron/crontog rename to .local/bin/cron/crontog diff --git a/.scripts/cron/newsup b/.local/bin/cron/newsup similarity index 100% rename from .scripts/cron/newsup rename to .local/bin/cron/newsup diff --git a/.scripts/i3cmds/cabl b/.local/bin/i3cmds/cabl similarity index 100% rename from .scripts/i3cmds/cabl rename to .local/bin/i3cmds/cabl diff --git a/.scripts/i3cmds/camtoggle b/.local/bin/i3cmds/camtoggle similarity index 100% rename from .scripts/i3cmds/camtoggle rename to .local/bin/i3cmds/camtoggle diff --git a/.scripts/i3cmds/ddspawn b/.local/bin/i3cmds/ddspawn similarity index 100% rename from .scripts/i3cmds/ddspawn rename to .local/bin/i3cmds/ddspawn diff --git a/.scripts/i3cmds/displayselect b/.local/bin/i3cmds/displayselect similarity index 100% rename from .scripts/i3cmds/displayselect rename to .local/bin/i3cmds/displayselect diff --git a/.scripts/i3cmds/dmenumount b/.local/bin/i3cmds/dmenumount similarity index 100% rename from .scripts/i3cmds/dmenumount rename to .local/bin/i3cmds/dmenumount diff --git a/.scripts/i3cmds/dmenurecord b/.local/bin/i3cmds/dmenurecord similarity index 100% rename from .scripts/i3cmds/dmenurecord rename to .local/bin/i3cmds/dmenurecord diff --git a/.scripts/i3cmds/dmenuumount b/.local/bin/i3cmds/dmenuumount similarity index 100% rename from .scripts/i3cmds/dmenuumount rename to .local/bin/i3cmds/dmenuumount diff --git a/.scripts/i3cmds/dmenuunicode b/.local/bin/i3cmds/dmenuunicode similarity index 100% rename from .scripts/i3cmds/dmenuunicode rename to .local/bin/i3cmds/dmenuunicode diff --git a/.scripts/i3cmds/dropdowncalc b/.local/bin/i3cmds/dropdowncalc similarity index 100% rename from .scripts/i3cmds/dropdowncalc rename to .local/bin/i3cmds/dropdowncalc diff --git a/.scripts/i3cmds/ducksearch b/.local/bin/i3cmds/ducksearch similarity index 100% rename from .scripts/i3cmds/ducksearch rename to .local/bin/i3cmds/ducksearch diff --git a/.scripts/i3cmds/hover b/.local/bin/i3cmds/hover similarity index 100% rename from .scripts/i3cmds/hover rename to .local/bin/i3cmds/hover diff --git a/.scripts/i3cmds/i3resize b/.local/bin/i3cmds/i3resize similarity index 100% rename from .scripts/i3cmds/i3resize rename to .local/bin/i3cmds/i3resize diff --git a/.scripts/i3cmds/killrecording b/.local/bin/i3cmds/killrecording similarity index 100% rename from .scripts/i3cmds/killrecording rename to .local/bin/i3cmds/killrecording diff --git a/.scripts/i3cmds/maimpick b/.local/bin/i3cmds/maimpick similarity index 100% rename from .scripts/i3cmds/maimpick rename to .local/bin/i3cmds/maimpick diff --git a/.scripts/i3cmds/prompt b/.local/bin/i3cmds/prompt similarity index 100% rename from .scripts/i3cmds/prompt rename to .local/bin/i3cmds/prompt diff --git a/.scripts/i3cmds/samedir b/.local/bin/i3cmds/samedir similarity index 100% rename from .scripts/i3cmds/samedir rename to .local/bin/i3cmds/samedir diff --git a/.scripts/i3cmds/showclip b/.local/bin/i3cmds/showclip similarity index 100% rename from .scripts/i3cmds/showclip rename to .local/bin/i3cmds/showclip diff --git a/.scripts/i3cmds/td-toggle b/.local/bin/i3cmds/td-toggle similarity index 100% rename from .scripts/i3cmds/td-toggle rename to .local/bin/i3cmds/td-toggle diff --git a/.scripts/i3cmds/tmuxdd b/.local/bin/i3cmds/tmuxdd similarity index 100% rename from .scripts/i3cmds/tmuxdd rename to .local/bin/i3cmds/tmuxdd diff --git a/.scripts/i3cmds/toggletouchpad b/.local/bin/i3cmds/toggletouchpad similarity index 100% rename from .scripts/i3cmds/toggletouchpad rename to .local/bin/i3cmds/toggletouchpad diff --git a/.scripts/i3cmds/torwrap b/.local/bin/i3cmds/torwrap similarity index 100% rename from .scripts/i3cmds/torwrap rename to .local/bin/i3cmds/torwrap diff --git a/.scripts/i3cmds/tutorialvids b/.local/bin/i3cmds/tutorialvids similarity index 100% rename from .scripts/i3cmds/tutorialvids rename to .local/bin/i3cmds/tutorialvids diff --git a/.scripts/i3cmds/winresize b/.local/bin/i3cmds/winresize similarity index 100% rename from .scripts/i3cmds/winresize rename to .local/bin/i3cmds/winresize diff --git a/.scripts/larbs.png b/.local/bin/larbs.png similarity index 100% rename from .scripts/larbs.png rename to .local/bin/larbs.png diff --git a/.scripts/statusbar/battery b/.local/bin/statusbar/battery similarity index 100% rename from .scripts/statusbar/battery rename to .local/bin/statusbar/battery diff --git a/.scripts/statusbar/clock b/.local/bin/statusbar/clock similarity index 100% rename from .scripts/statusbar/clock rename to .local/bin/statusbar/clock diff --git a/.scripts/statusbar/cpu b/.local/bin/statusbar/cpu similarity index 100% rename from .scripts/statusbar/cpu rename to .local/bin/statusbar/cpu diff --git a/.scripts/statusbar/disk b/.local/bin/statusbar/disk similarity index 100% rename from .scripts/statusbar/disk rename to .local/bin/statusbar/disk diff --git a/.scripts/statusbar/help b/.local/bin/statusbar/help similarity index 74% rename from .scripts/statusbar/help rename to .local/bin/statusbar/help index 1374769..4916d5c 100755 --- a/.scripts/statusbar/help +++ b/.local/bin/statusbar/help @@ -1,6 +1,6 @@ #!/bin/sh case $BLOCK_BUTTON in - 1) groff -mom ~/.readme.mom -Tpdf | zathura - ;; + 1) groff -mom ~/.local/share/larbs/readme.mom -Tpdf | zathura - ;; 2) i3 restart ;; 3) pgrep -x dunst >/dev/null && notify-send "❓ Help module" "\- Left click to open LARBS guide. - Middle click to refresh i3.";; diff --git a/.scripts/statusbar/internet b/.local/bin/statusbar/internet similarity index 100% rename from .scripts/statusbar/internet rename to .local/bin/statusbar/internet diff --git a/.scripts/statusbar/iplocate b/.local/bin/statusbar/iplocate similarity index 100% rename from .scripts/statusbar/iplocate rename to .local/bin/statusbar/iplocate diff --git a/.scripts/statusbar/mailbox b/.local/bin/statusbar/mailbox similarity index 100% rename from .scripts/statusbar/mailbox rename to .local/bin/statusbar/mailbox diff --git a/.scripts/statusbar/memory b/.local/bin/statusbar/memory similarity index 100% rename from .scripts/statusbar/memory rename to .local/bin/statusbar/memory diff --git a/.scripts/statusbar/mpdupdate b/.local/bin/statusbar/mpdupdate similarity index 100% rename from .scripts/statusbar/mpdupdate rename to .local/bin/statusbar/mpdupdate diff --git a/.scripts/statusbar/music b/.local/bin/statusbar/music similarity index 100% rename from .scripts/statusbar/music rename to .local/bin/statusbar/music diff --git a/.scripts/statusbar/news b/.local/bin/statusbar/news similarity index 100% rename from .scripts/statusbar/news rename to .local/bin/statusbar/news diff --git a/.scripts/statusbar/pacpackages b/.local/bin/statusbar/pacpackages similarity index 100% rename from .scripts/statusbar/pacpackages rename to .local/bin/statusbar/pacpackages diff --git a/.scripts/statusbar/popupgrade b/.local/bin/statusbar/popupgrade similarity index 100% rename from .scripts/statusbar/popupgrade rename to .local/bin/statusbar/popupgrade diff --git a/.scripts/statusbar/torrent b/.local/bin/statusbar/torrent similarity index 100% rename from .scripts/statusbar/torrent rename to .local/bin/statusbar/torrent diff --git a/.scripts/statusbar/volume b/.local/bin/statusbar/volume similarity index 100% rename from .scripts/statusbar/volume rename to .local/bin/statusbar/volume diff --git a/.scripts/statusbar/weather b/.local/bin/statusbar/weather similarity index 100% rename from .scripts/statusbar/weather rename to .local/bin/statusbar/weather diff --git a/.scripts/tools/compiler b/.local/bin/tools/compiler similarity index 100% rename from .scripts/tools/compiler rename to .local/bin/tools/compiler diff --git a/.scripts/tools/dmenuhandler b/.local/bin/tools/dmenuhandler similarity index 100% rename from .scripts/tools/dmenuhandler rename to .local/bin/tools/dmenuhandler diff --git a/.scripts/tools/dmenupass b/.local/bin/tools/dmenupass similarity index 100% rename from .scripts/tools/dmenupass rename to .local/bin/tools/dmenupass diff --git a/.scripts/tools/ext b/.local/bin/tools/ext similarity index 100% rename from .scripts/tools/ext rename to .local/bin/tools/ext diff --git a/.scripts/tools/extract b/.local/bin/tools/extract similarity index 100% rename from .scripts/tools/extract rename to .local/bin/tools/extract diff --git a/.scripts/tools/getbib b/.local/bin/tools/getbib similarity index 100% rename from .scripts/tools/getbib rename to .local/bin/tools/getbib diff --git a/.scripts/tools/getkeys b/.local/bin/tools/getkeys similarity index 100% rename from .scripts/tools/getkeys rename to .local/bin/tools/getkeys diff --git a/.scripts/tools/ifinstalled b/.local/bin/tools/ifinstalled similarity index 100% rename from .scripts/tools/ifinstalled rename to .local/bin/tools/ifinstalled diff --git a/.scripts/tools/linkhandler b/.local/bin/tools/linkhandler similarity index 100% rename from .scripts/tools/linkhandler rename to .local/bin/tools/linkhandler diff --git a/.scripts/tools/lmc b/.local/bin/tools/lmc similarity index 100% rename from .scripts/tools/lmc rename to .local/bin/tools/lmc diff --git a/.scripts/tools/opout b/.local/bin/tools/opout similarity index 100% rename from .scripts/tools/opout rename to .local/bin/tools/opout diff --git a/.scripts/tools/pauseallmpv b/.local/bin/tools/pauseallmpv similarity index 100% rename from .scripts/tools/pauseallmpv rename to .local/bin/tools/pauseallmpv diff --git a/.scripts/tools/podentr b/.local/bin/tools/podentr similarity index 100% rename from .scripts/tools/podentr rename to .local/bin/tools/podentr diff --git a/.scripts/tools/qndl b/.local/bin/tools/qndl similarity index 100% rename from .scripts/tools/qndl rename to .local/bin/tools/qndl diff --git a/.scripts/tools/queueandnotify b/.local/bin/tools/queueandnotify similarity index 100% rename from .scripts/tools/queueandnotify rename to .local/bin/tools/queueandnotify diff --git a/.scripts/tools/remaps b/.local/bin/tools/remaps similarity index 100% rename from .scripts/tools/remaps rename to .local/bin/tools/remaps diff --git a/.scripts/tools/rotdir b/.local/bin/tools/rotdir similarity index 100% rename from .scripts/tools/rotdir rename to .local/bin/tools/rotdir diff --git a/.scripts/tools/rssadd b/.local/bin/tools/rssadd similarity index 100% rename from .scripts/tools/rssadd rename to .local/bin/tools/rssadd diff --git a/.scripts/tools/setbg b/.local/bin/tools/setbg similarity index 100% rename from .scripts/tools/setbg rename to .local/bin/tools/setbg diff --git a/.scripts/tools/shortcuts b/.local/bin/tools/shortcuts similarity index 100% rename from .scripts/tools/shortcuts rename to .local/bin/tools/shortcuts diff --git a/.scripts/tools/texclear b/.local/bin/tools/texclear similarity index 100% rename from .scripts/tools/texclear rename to .local/bin/tools/texclear diff --git a/.scripts/tools/transadd b/.local/bin/tools/transadd similarity index 100% rename from .scripts/tools/transadd rename to .local/bin/tools/transadd diff --git a/.scripts/tools/vifmimg b/.local/bin/tools/vifmimg similarity index 100% rename from .scripts/tools/vifmimg rename to .local/bin/tools/vifmimg diff --git a/.scripts/tools/vu b/.local/bin/tools/vu similarity index 100% rename from .scripts/tools/vu rename to .local/bin/tools/vu diff --git a/.scripts/ttymaps.kmap b/.local/bin/ttymaps.kmap similarity index 100% rename from .scripts/ttymaps.kmap rename to .local/bin/ttymaps.kmap diff --git a/.scripts/unix b/.local/bin/unix similarity index 100% rename from .scripts/unix rename to .local/bin/unix diff --git a/.local/share/larbs/readme.mom b/.local/share/larbs/readme.mom index 9ba7452..62bc06e 100644 --- a/.local/share/larbs/readme.mom +++ b/.local/share/larbs/readme.mom @@ -70,7 +70,7 @@ but you can also hold it down and it will act as another Windows/super/mod key. The menu button (usually between the right Alt and Ctrl) is an alternative Super/Mod button. This is to make one-handing on laptops easier. .LIST OFF -If you'd like to change any of these keyboard changes, you need only open and change \f(CW~/.scripts/tools/remaps\fP. +If you'd like to change any of these keyboard changes, you need only open and change \f(CW~/.local/bin/tools/remaps\fP. Actually, this should go without saying, but \fIeverything\fP here can easily be changed. .PP Additionally, while this isn't a part of i3, the default editing mode in the shell is using vi bindings. @@ -91,8 +91,8 @@ If you just want black and white icons, you should actually just be able to unin .PP The i3blocks config is \f(CW~/.config/i3blocks/config\fP, which you can access by the terminal shortcut \f(CWcfB\fP. Notice that the config file refers to several module -scripts in the \f(CW~/.scripts/\fP directory. You can read a summary of all of these -scripts in the file \f(CW~/.scripts/SCRIPTS.md\fP. +scripts in the \f(CW~/.local/bin/\fP directory. You can read a summary of all of these +scripts in the file \f(CW~/.local/bin/SCRIPTS.md\fP. .HEADING 2 "Deeper Tutorials" .PP In addition to this guide and reading the dotfiles of programs manually, you @@ -338,7 +338,7 @@ Note that it is your responsibility to ensure that none of the bindings you add .HEADING 1 "Frequently Asked Questions (FAQs)" .HEADING 2 "My keyboard isn't working as expected!" .PP -LARBS runs some custom keyboard settings in \f(CW~/.scripts/tools/remaps\fP. +LARBS runs some custom keyboard settings in \f(CW~/.local/bin/tools/remaps\fP. These settings may override your preferred settings, so you should open this file and comment out troublesome lines if you have issues. .HEADING 2 "My audio isn't working!" .PP diff --git a/.profile b/.profile index de47a18..dde6b15 100644 --- a/.profile +++ b/.profile @@ -2,7 +2,7 @@ # Profile file. Runs on login. # Adds `~/.scripts` and all subdirectories to $PATH -export PATH="$PATH:$(du "$HOME/.scripts/" | cut -f2 | tr '\n' ':' | sed 's/:*$//')" +export PATH="$PATH:$(du "$HOME/.local/bin/" | cut -f2 | tr '\n' ':' | sed 's/:*$//')" export EDITOR="nvim" export TERMINAL="st" export BROWSER="firefox" @@ -10,7 +10,7 @@ export READER="zathura" export FILE="vifm" export BIB="$HOME/Documents/LaTeX/uni.bib" export REFER="$HOME/Documents/referbib" -export SUDO_ASKPASS="$HOME/.scripts/tools/dmenupass" +export SUDO_ASKPASS="$HOME/.local/bin/tools/dmenupass" export NOTMUCH_CONFIG="$HOME/.config/notmuch-config" export GTK2_RC_FILES="$HOME/.config/gtk-2.0/gtkrc-2.0" @@ -32,4 +32,4 @@ echo "$0" | grep "bash$" >/dev/null && [ -f ~/.bashrc ] && source "$HOME/.bashrc [ "$(tty)" = "/dev/tty1" ] && ! pgrep -x i3 >/dev/null && exec startx # Switch escape and caps if tty: -sudo -n loadkeys ~/.scripts/ttymaps.kmap 2>/dev/null +sudo -n loadkeys ~/.local/bin/ttymaps.kmap 2>/dev/null diff --git a/README.md b/README.md index 8d4c5a9..7918366 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ These are my dotfiles! The name of the repo, "voidrice", came from the fact they + calcurse + ncmpcpp and mpd (my main music player) + mpv -+ And many little scripts I use filed in the `~/.scripts/` directory ++ And many little scripts I use filed in the `~/.local/bin/` directory ## More documentation