From df66b828b27355e95a923bdce67eefb4fb176735 Mon Sep 17 00:00:00 2001 From: Chris Nutter Date: Thu, 24 Sep 2020 21:18:11 -0700 Subject: [PATCH] updated things --- .config/dunst/dunstrc | 46 +++---- .config/i3/config | 17 ++- .config/kitty/kitty.conf | 2 +- .config/mpd/mpd.conf | 2 +- .newsboat/urls | 26 +++- .scripts/' | 128 ++++++++++++++++++ .scripts/compile-scripts/latex.sh | 5 - .scripts/compile/latex.sh | 11 ++ .scripts/compile/rss-xml.sh | 8 ++ .scripts/copy-from-purple.sh | 5 - .scripts/fun/fortune.sh | 24 ++++ .scripts/{ => fun}/loop-sl.sh | 0 .../{neofetch-clean.sh => fun/neofetch.sh} | 2 - .scripts/{git-in.sh => git/in.sh} | 0 .scripts/{git-out.sh => git/out.sh} | 0 .../domain-fix.sh} | 0 .../{monitor-setup.sh => init/monitor.sh} | 0 .scripts/init/polybar.sh | 10 ++ .scripts/kapp.sh | 9 -- .scripts/latex-setup.sh | 38 ------ .scripts/{mount-scripts => mount}/blue.sh | 0 .scripts/{mount-scripts => mount}/purple.sh | 0 .scripts/other/vpn-check.sh | 8 ++ .scripts/polybar.sh | 13 -- .scripts/pywal/discord.sh | 1 + .scripts/{pywal-dunst.sh => pywal/dunst.sh} | 0 .scripts/{ => wip}/ncmpcpp.sh | 0 .scripts/{ => wip}/patch-vivaldi.sh | 0 .scripts/{ => wip}/pick-ascii.sh | 0 .scripts/{ => wip}/wal-discord-injector.sh | 0 .scripts/wip/yt-rss-grab.sh | 12 ++ .vimrc | 9 +- .zshrc | 22 +-- packages.txt | 27 +++- 34 files changed, 303 insertions(+), 122 deletions(-) create mode 100644 .scripts/' delete mode 100755 .scripts/compile-scripts/latex.sh create mode 100644 .scripts/compile/latex.sh create mode 100644 .scripts/compile/rss-xml.sh delete mode 100755 .scripts/copy-from-purple.sh create mode 100755 .scripts/fun/fortune.sh rename .scripts/{ => fun}/loop-sl.sh (100%) rename .scripts/{neofetch-clean.sh => fun/neofetch.sh} (97%) rename .scripts/{git-in.sh => git/in.sh} (100%) rename .scripts/{git-out.sh => git/out.sh} (100%) rename .scripts/{host-domain-fix.sh => init/domain-fix.sh} (100%) rename .scripts/{monitor-setup.sh => init/monitor.sh} (100%) create mode 100755 .scripts/init/polybar.sh delete mode 100755 .scripts/kapp.sh delete mode 100755 .scripts/latex-setup.sh rename .scripts/{mount-scripts => mount}/blue.sh (100%) rename .scripts/{mount-scripts => mount}/purple.sh (100%) create mode 100755 .scripts/other/vpn-check.sh delete mode 100755 .scripts/polybar.sh create mode 120000 .scripts/pywal/discord.sh rename .scripts/{pywal-dunst.sh => pywal/dunst.sh} (100%) rename .scripts/{ => wip}/ncmpcpp.sh (100%) rename .scripts/{ => wip}/patch-vivaldi.sh (100%) rename .scripts/{ => wip}/pick-ascii.sh (100%) rename .scripts/{ => wip}/wal-discord-injector.sh (100%) create mode 100755 .scripts/wip/yt-rss-grab.sh diff --git a/.config/dunst/dunstrc b/.config/dunst/dunstrc index 45799d3..6cfbd56 100644 --- a/.config/dunst/dunstrc +++ b/.config/dunst/dunstrc @@ -1,6 +1,6 @@ [global] frame_width = 1 - frame_color = "#B2B9C7" + frame_color = "#8C867D" font = Noto Sans 10 @@ -181,18 +181,18 @@ [urgency_low] # IMPORTANT: colors have to be defined in quotation marks. # Otherwise the "#" and following would be interpreted as a comment. - background = "#103723" - foreground = "#B2B9C7" + background = "#010103" + foreground = "#8C867D" timeout = 10 [urgency_normal] - background = "#103723" - foreground = "#B2B9C7" + background = "#010103" + foreground = "#8C867D" timeout = 10 [urgency_critical] - background = "#103723" - foreground = "#B2B9C7" + background = "#010103" + foreground = "#8C867D" timeout = 0 @@ -252,8 +252,8 @@ # appname = claws-mail # category = email.arrived # urgency = normal -# background = "#103723" -# foreground = "#B2B9C7" +# background = "#010103" +# foreground = "#8C867D" # #[mute.sh] # appname = mute @@ -263,40 +263,40 @@ #[JDownloader] # appname = JDownloader # category = JD -# background = "#103723" -# foreground = "#B2B9C7" +# background = "#010103" +# foreground = "#8C867D" # #[newsbeuter] # summary = *Feeds* -# background = "#103723" -# foreground = "#B2B9C7" +# background = "#010103" +# foreground = "#8C867D" # [irc] appname = weechat timeout = 0 - background = "#103723" - foreground = "#B2B9C7" + background = "#010103" + foreground = "#8C867D" # [weechat hl] appname = weechat category = weechat.HL - background = "#103723" - foreground = "#B2B9C7" + background = "#010103" + foreground = "#8C867D" # [weechat pn] appname = weechat category = weechat.PM - background = "#103723" - foreground = "#B2B9C7" + background = "#010103" + foreground = "#8C867D" # #[CMUS] # appname = CMUS # category = cmus -# background = "#103723" -# foreground = "#B2B9C7" +# background = "#010103" +# foreground = "#8C867D" # # -# background = "#103723" -# foreground = "#B2B9C7" +# background = "#010103" +# foreground = "#8C867D" # # vim: ft=cfg diff --git a/.config/i3/config b/.config/i3/config index b1e97e8..1e85d6a 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -431,10 +431,10 @@ mode "$mode_gaps_outer" { # --> Colorscheme exec_always --no-startup-id wal -i ~/Pictures/Wallpapers/ -exec_always sh ~/.scripts/pywal-dunst.sh +exec_always sh ~/.scripts/pywal/dunst.sh # --> Taskbar -exec_always sh ~/.config/polybar/launch.sh +exec_always sh ~/.scripts/init/polybar.sh # --> Transparency exec pkill picom @@ -448,14 +448,21 @@ exec mpc update exec synergyc --no-tray --restart --name Gray 192.168.1.236:24800 # --> Xresources DPI Switcher -exec_always sh ~/.scripts/monitor-setup.sh && xrdb ~/.Xresources +exec_always sh ~/.scripts/init/monitor.sh && xrdb ~/.Xresources # --> Mounting All Network Drives bindsym $mod+Shift+m exec kitty -e sudo umount /mnt/purple /mnt/blue/* -bindsym $mod+m exec kitty -e mount-* +bindsym $mod+m exec kitty -e sudo mount-* # --> Allow Local Access to Website -bindsym $mod+Shift+h exec kitty -e sudo sh ~/.scripts/host-domain-fix.sh +bindsym $mod+Shift+h exec kitty -e sudo sh ~/.scripts/domain-fix.sh + +# --> Time/Date Fix +bindsym $mod+Shift+t exec timedatectl set-ntp true && timedatectl set-ntp false + +# --> VPN Connect +exec piactl background enable +exec piactl connect # Unused ######################################################## diff --git a/.config/kitty/kitty.conf b/.config/kitty/kitty.conf index be7ef5b..98d8873 100644 --- a/.config/kitty/kitty.conf +++ b/.config/kitty/kitty.conf @@ -247,7 +247,7 @@ open_url_modifiers kitty_mod #: The modifier keys to press when clicking with the mouse on URLs to #: open the URL -open_url_with default +open_url_with vivaldi-stable #: The program with which to open URLs that are clicked on. The #: special value default means to use the operating system's default diff --git a/.config/mpd/mpd.conf b/.config/mpd/mpd.conf index a6ac0b7..7589bba 100644 --- a/.config/mpd/mpd.conf +++ b/.config/mpd/mpd.conf @@ -10,7 +10,7 @@ # be disabled and audio files will only be accepted over ipc socket (using # file:// protocol) or streaming files over an accepted protocol. # -music_directory "~/Music" +music_directory "/run/media/cdnutter/Windows\ 10/Users/Gray/Music" # # This setting sets the MPD internal playlist directory. The purpose of this # directory is storage for playlists created by MPD. The server will use diff --git a/.newsboat/urls b/.newsboat/urls index 43da34b..8f9fbe6 100644 --- a/.newsboat/urls +++ b/.newsboat/urls @@ -1,2 +1,24 @@ -https://hnrss.org/frontpage -https://lukesmith.xyz/rss.xml +https://iamchrisama.com/rss.xml +https://hnrss.org/frontpage "Articles" +https://lukesmith.xyz/rss.xml "Blog" +------------------------------------------- +# YouTube +# --> LinusTechTips +https://www.youtube.com/feeds/videos.xml?channel_id=UCXuqSBlHAE6Xw-yeJA0Tunw "YouTube" "~YouTube: LinusTechTips" +# --> Average Linux User +https://www.youtube.com/feeds/videos.xml?channel_id=UCZiL6BoryLWxyapUuVYW27g "YouTube" "~YouTube: AverageLinuxUser" +------------------------------------------- +# Reddit +https://www.reddit.com/r/jailbreak.rss "Reddit" "~/r/jailbreak" +https://www.reddit.com/r/unixporn.rss "Reddit" "~/r/unixporn" +https://www.reddit.com/r/sffpc.rss "Reddit" "~/r/sffpc" +https://www.reddit.com/r/linuxmemes.rss "Reddit" "~/r/linuxmemes" + +https://www.reddit.com/r/cobrakai.rss "Reddit" "~/r/cobrakai" +https://www.reddit.com/r/breakingbad.rss "Reddit" "~/r/breakingbad" + +https://www.reddit.com/r/okbuddychicanery.rss "Reddit" "~/r/okbuddychicanery" +------------------------------------------- +# RARBG +https://rarbg.to/rssdd.php?categories=44 "Torrents" "Movies" "~RARBG: 1080p Movies" +https://rarbg.to/rssdd.php?categories=52 "Torrents" "Movies" "~RARBG: 4K HDR Movies" diff --git a/.scripts/' b/.scripts/' new file mode 100644 index 0000000..7f7a646 --- /dev/null +++ b/.scripts/' @@ -0,0 +1,128 @@ +# If you come from bash you might have to change your $PATH. +# export PATH=$HOME/bin:/usr/local/bin:$PATH + +# Path to your oh-my-zsh installation. +export ZSH="/home/cdnutter/.oh-my-zsh" + +# Set name of the theme to load --- if set to "random", it will +# load a random theme each time oh-my-zsh is loaded, in which case, +# to know which specific one was loaded, run: echo $RANDOM_THEME +# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes +ZSH_THEME="clean" + +# Set list of themes to pick from when loading at random +# Setting this variable when ZSH_THEME=random will cause zsh to load +# a theme from this variable instead of looking in ~/.oh-my-zsh/themes/ +# If set to an empty array, this variable will have no effect. +# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" ) + +# Uncomment the following line to use case-sensitive completion. +# CASE_SENSITIVE="true" + +# Uncomment the following line to use hyphen-insensitive completion. +# Case-sensitive completion must be off. _ and - will be interchangeable. +# HYPHEN_INSENSITIVE="true" + +# Uncomment the following line to disable bi-weekly auto-update checks. +# DISABLE_AUTO_UPDATE="true" + +# Uncomment the following line to automatically update without prompting. +# DISABLE_UPDATE_PROMPT="true" + +# Uncomment the following line to change how often to auto-update (in days). +# export UPDATE_ZSH_DAYS=13 + +# Uncomment the following line if pasting URLs and other text is messed up. +# DISABLE_MAGIC_FUNCTIONS=true + +# Uncomment the following line to disable colors in ls. +# DISABLE_LS_COLORS="true" + +# Uncomment the following line to disable auto-setting terminal title. +# DISABLE_AUTO_TITLE="true" + +# Uncomment the following line to enable command auto-correction. +# ENABLE_CORRECTION="true" + +# Uncomment the following line to display red dots whilst waiting for completion. +# COMPLETION_WAITING_DOTS="true" + +# Uncomment the following line if you want to disable marking untracked files +# under VCS as dirty. This makes repository status check for large repositories +# much, much faster. +# DISABLE_UNTRACKED_FILES_DIRTY="true" + +# Uncomment the following line if you want to change the command execution time +# stamp shown in the history command output. +# You can set one of the optional three formats: +# "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd" +# or set a custom format using the strftime function format specifications, +# see 'man strftime' for details. +# HIST_STAMPS="mm/dd/yyyy" + +# Would you like to use another custom folder than $ZSH/custom? +# ZSH_CUSTOM=/path/to/new-custom-folder + +# Which plugins would you like to load? +# Standard plugins can be found in ~/.oh-my-zsh/plugins/* +# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/ +# Example format: plugins=(rails git textmate ruby lighthouse) +# Add wisely, as too many plugins slow down shell startup. +plugins=(git) + +source $ZSH/oh-my-zsh.sh + +# User configuration + +# export MANPATH="/usr/local/man:$MANPATH" + +# You may need to manually set your language environment +# export LANG=en_US.UTF-8 + +# Preferred editor for local and remote sessions +# if [[ -n $SSH_CONNECTION ]]; then +# export EDITOR='vim' +# else +# export EDITOR='mvim' +# fi + +# Compilation flags +# export ARCHFLAGS="-arch x86_64" + +# Set personal aliases, overriding those provided by oh-my-zsh libs, +# plugins, and themes. Aliases can be placed here, though oh-my-zsh +# users are encouraged to define aliases within the ZSH_CUSTOM folder. +# For a full list of active aliases, run `alias`. +# +# Example aliases +# alias zshconfig="mate ~/.zshrc" +# alias ohmyzsh="mate ~/.oh-my-zsh" + +######################################################################### + +## Alias + +alias icat="kitty +kitten icat" +alias please="sudo" + +alias sl="sh ~/.scripts/fun/loop-sl.sh" +alias git-out="sh ~/.scripts/git/out.sh" +alias git-in="sh ~/.scripts/git/in.sh" + +alias mount-purple="sh ~/.scripts/mount/purple.sh" +alias mount-blue="sh ~/.scripts/mount/blue.sh" +alias mount-\*="sh ~/.scripts/mount/blue.sh && sudo ~/.scripts/mount/purple.sh" + +alias neo="sh ~/.scripts/fun/neofetch.sh" +alias for="sh ~/.scripts/fun/fortune.sh" + +## wal + +(cat ~/.cache/wal/sequences &) +cat ~/.cache/wal/sequences + +## Zathura-Pywal +export PATH="/home/cdnutter/.local/bin:$PATH" + +## PATH +PATH=$PATH$(find "$HOME/.scripts" -type d -not -path '/.' -printf ":%p") diff --git a/.scripts/compile-scripts/latex.sh b/.scripts/compile-scripts/latex.sh deleted file mode 100755 index bb7d062..0000000 --- a/.scripts/compile-scripts/latex.sh +++ /dev/null @@ -1,5 +0,0 @@ -#! /bin/bash - -pdflatex *.tex *.pdf -pdflatex *.tex *.pdf #hahahahahahaha -rm -rf *.aux *.log *.toc *.out *.dvi diff --git a/.scripts/compile/latex.sh b/.scripts/compile/latex.sh new file mode 100644 index 0000000..5df75b3 --- /dev/null +++ b/.scripts/compile/latex.sh @@ -0,0 +1,11 @@ +#!/usr/bin/env zsh + +[[ -z "$@" ]] && exit + +FILE="$1" +NAME="$1:t:r" + +pdflatex "$FILE" "$NAME".pdf +pdflatex "$FILE" "$NAME".pdf + +rm *.aux *.log *.toc *.out diff --git a/.scripts/compile/rss-xml.sh b/.scripts/compile/rss-xml.sh new file mode 100644 index 0000000..c90fe91 --- /dev/null +++ b/.scripts/compile/rss-xml.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env zsh + +[[ -z "$@" ]] && exit + +FILE="$1" + +sudo cp $1 /mnt/blue/internal/XAMPP/htdocs/ + diff --git a/.scripts/copy-from-purple.sh b/.scripts/copy-from-purple.sh deleted file mode 100755 index f090136..0000000 --- a/.scripts/copy-from-purple.sh +++ /dev/null @@ -1,5 +0,0 @@ -#! /bin/bash - -# For now it does Music. Will do more things later such as pictures for lectures. etc. -cp -r -n /mnt/purple/Music/Playlists/Apple\ Music\ Playlists ~/Music/ - diff --git a/.scripts/fun/fortune.sh b/.scripts/fun/fortune.sh new file mode 100755 index 0000000..82b18a4 --- /dev/null +++ b/.scripts/fun/fortune.sh @@ -0,0 +1,24 @@ +#! /usr/bin/env zsh + +trap "tput cnorm; exit" 2 +VAR=$(( $RANDOM % 4 )) + +random_say() { + case $VAR in + 0) + botsay + ;; + 1) + cowsay + ;; + 2) + buddhasay + ;; + esac +} + +clear +fortune | random_say +tput civis +read +tput cnorm diff --git a/.scripts/loop-sl.sh b/.scripts/fun/loop-sl.sh similarity index 100% rename from .scripts/loop-sl.sh rename to .scripts/fun/loop-sl.sh diff --git a/.scripts/neofetch-clean.sh b/.scripts/fun/neofetch.sh similarity index 97% rename from .scripts/neofetch-clean.sh rename to .scripts/fun/neofetch.sh index e7c4a44..a36ef18 100755 --- a/.scripts/neofetch-clean.sh +++ b/.scripts/fun/neofetch.sh @@ -7,5 +7,3 @@ neofetch tput civis read -p "" tput cnorm - - diff --git a/.scripts/git-in.sh b/.scripts/git/in.sh similarity index 100% rename from .scripts/git-in.sh rename to .scripts/git/in.sh diff --git a/.scripts/git-out.sh b/.scripts/git/out.sh similarity index 100% rename from .scripts/git-out.sh rename to .scripts/git/out.sh diff --git a/.scripts/host-domain-fix.sh b/.scripts/init/domain-fix.sh similarity index 100% rename from .scripts/host-domain-fix.sh rename to .scripts/init/domain-fix.sh diff --git a/.scripts/monitor-setup.sh b/.scripts/init/monitor.sh similarity index 100% rename from .scripts/monitor-setup.sh rename to .scripts/init/monitor.sh diff --git a/.scripts/init/polybar.sh b/.scripts/init/polybar.sh new file mode 100755 index 0000000..0d7a95e --- /dev/null +++ b/.scripts/init/polybar.sh @@ -0,0 +1,10 @@ +#!/usr/bin/env sh + +# Terminate already running bar instances +killall -q polybar + +# Wait until the processes have been shut down +while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done + +# Launch polybar +polybar main -c $HOME/.config/polybar/config.ini & diff --git a/.scripts/kapp.sh b/.scripts/kapp.sh deleted file mode 100755 index b6be1bd..0000000 --- a/.scripts/kapp.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/usr/bin/env zsh - -# kill all instances of an application -[[ -z "$@" ]] && exit - -application_name="$(echo "$1" | awk '{print tolower($0)}')" -ps aux | grep "$application_name" | grep -v 'grep' | awk '{print $2}' | while read process; do - kill -9 "$process" -done diff --git a/.scripts/latex-setup.sh b/.scripts/latex-setup.sh deleted file mode 100755 index 5c430da..0000000 --- a/.scripts/latex-setup.sh +++ /dev/null @@ -1,38 +0,0 @@ -#! /bin/bash - -EDITOR=vim -bold=$(tput bold) -normal=$(tput sgr0) - -now=`date +"%m%d%Y"` - -############################### - -pause() { - read -p "If you're good to go, press any key to continue." -} - -prompt() { - echo "This is meant to be ran in the current directory of your choosing." - echo "If you don't mean to use it in..." - echo "${bold}" && pwd && echo "${normal}" - echo -n "...then Ctrl-D or Ctrl-C." - pause -} - -setup() { - cp ~/School/homework-and-stuffs/*.tex . - mv *.tex $2-${now}.tex - vim *.tex -} - -if [[ $1 = "--no-prompt" -o $2 = "--no-prompt" ]] - setup - -else - prompt - setup - -fi - - diff --git a/.scripts/mount-scripts/blue.sh b/.scripts/mount/blue.sh similarity index 100% rename from .scripts/mount-scripts/blue.sh rename to .scripts/mount/blue.sh diff --git a/.scripts/mount-scripts/purple.sh b/.scripts/mount/purple.sh similarity index 100% rename from .scripts/mount-scripts/purple.sh rename to .scripts/mount/purple.sh diff --git a/.scripts/other/vpn-check.sh b/.scripts/other/vpn-check.sh new file mode 100755 index 0000000..9d38a12 --- /dev/null +++ b/.scripts/other/vpn-check.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env zsh + +function yes() { echo "You are connected to VPN." } +function no() { echo "You are NOT connected to VPN!" } + +[[ "$(wget https://www.privateinternetaccess.com -O - -q | grep 'You are protected by PIA' | cut -c 42-65)" ]] && yes || no + +exit diff --git a/.scripts/polybar.sh b/.scripts/polybar.sh deleted file mode 100755 index 5bab53c..0000000 --- a/.scripts/polybar.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/env bash - -# Terminate already running bar instances -killall -q polybar -# If all your bars have ipc enabled, you can also use -# polybar-msg cmd quit - -# Launch bar1 and bar2 -echo "---" | tee -a /tmp/polybar1.log /tmp/polybar2.log -polybar bar1 >>/tmp/polybar1.log 2>&1 & -polybar bar2 >>/tmp/polybar2.log 2>&1 & - -echo "Bars launched..." diff --git a/.scripts/pywal/discord.sh b/.scripts/pywal/discord.sh new file mode 120000 index 0000000..ca2853f --- /dev/null +++ b/.scripts/pywal/discord.sh @@ -0,0 +1 @@ +wal-discord \ No newline at end of file diff --git a/.scripts/pywal-dunst.sh b/.scripts/pywal/dunst.sh similarity index 100% rename from .scripts/pywal-dunst.sh rename to .scripts/pywal/dunst.sh diff --git a/.scripts/ncmpcpp.sh b/.scripts/wip/ncmpcpp.sh similarity index 100% rename from .scripts/ncmpcpp.sh rename to .scripts/wip/ncmpcpp.sh diff --git a/.scripts/patch-vivaldi.sh b/.scripts/wip/patch-vivaldi.sh similarity index 100% rename from .scripts/patch-vivaldi.sh rename to .scripts/wip/patch-vivaldi.sh diff --git a/.scripts/pick-ascii.sh b/.scripts/wip/pick-ascii.sh similarity index 100% rename from .scripts/pick-ascii.sh rename to .scripts/wip/pick-ascii.sh diff --git a/.scripts/wal-discord-injector.sh b/.scripts/wip/wal-discord-injector.sh similarity index 100% rename from .scripts/wal-discord-injector.sh rename to .scripts/wip/wal-discord-injector.sh diff --git a/.scripts/wip/yt-rss-grab.sh b/.scripts/wip/yt-rss-grab.sh new file mode 100755 index 0000000..592fc4b --- /dev/null +++ b/.scripts/wip/yt-rss-grab.sh @@ -0,0 +1,12 @@ +#! /usr/bin/env zsh + +[[ ! "$1" ]] && echo './yt-rss-grab.sh [url]' && exit + +ID=$(wget $1 -O - -q | grep -o -P '(channelId" content=.{0,25})' | cut -c 21-100) + +#----------------------# + +echo "https://www.youtube.com/feeds/videos.xml?channel_id=$ID" +exit + +#----------------------# diff --git a/.vimrc b/.vimrc index cd9bb9b..9143478 100644 --- a/.vimrc +++ b/.vimrc @@ -3,7 +3,7 @@ set wildmenu set nowrap filetype off -autocmd BufRead,BufNewFile *.md,*.text,*.txt,*.tex setlocal spell +autocmd BufRead,BufNewFile *.md,*.text,*.txt,*.tex,*.html setlocal spell set complete+=kspell set clipboard=unnamedplus @@ -57,10 +57,8 @@ inoremap =strftime("%x - %X") inoremap \//==============================// inoremap \\begin{center}\line(1,0){250}\end{center} -autocmd FileType tex nnoremap :!clear && sh ~/.scripts/compile-scripts/latex.sh "%" -autocmd FileType c nnoremap :!clear && sh ~/.scripts/compile-scripts/c.sh "%" -autocmd FileType py nnoremap :!clear && sh ~/.scripts/compile-scripts/python.sh "%" -autocmd FileType cpp nnoremap :!clear && sh ~/.scripts/compile-scripts/cpp.sh "%" +autocmd FileType tex nnoremap :!clear && sh ~/.scripts/compile/latex.sh "%" +autocmd FileType xml nnoremap :!clear && sh ~/.scripts/compile/rss-xml.sh "%" function! XTermPasteBegin() set pastetoggle=[201~ @@ -69,4 +67,3 @@ function! XTermPasteBegin() endfunction let g:livepreview_previewer = 'zathura' -i diff --git a/.zshrc b/.zshrc index 83f992a..e87ec19 100644 --- a/.zshrc +++ b/.zshrc @@ -103,24 +103,24 @@ source $ZSH/oh-my-zsh.sh ## Alias alias icat="kitty +kitten icat" -alias please="sudo" -alias sl="sh ~/.scripts/loop-sl.sh" -alias git-out="sh ~/.scripts/git-out.sh" -alias git-in="sh ~/.scripts/git-in.sh" +alias please="sudo" -alias mount-purple="sh ~/.scripts/mount-scripts/purple.sh" -alias mount-blue="sh ~/.scripts/mount-scripts/blue.sh" -alias mount-\*="sh ~/.scripts/mount-scripts/blue.sh && sudo ~/.scripts/mount-scripts/purple.sh" +alias sl="sh ~/.scripts/loop-sl.sh" +alias git-out="sh ~/.scripts/git/out.sh" +alias git-in="sh ~/.scripts/git/in.sh" + +alias mount-purple="sh ~/.scripts/mount/purple.sh" +alias mount-blue="sh ~/.scripts/mount/blue.sh" +alias mount-\*="sh ~/.scripts/mount/blue.sh && sudo ~/.scripts/mount/purple.sh" + +alias neo="sh ~/.scripts/clean/neofetch.sh" +alias for="sh ~/.scripts/clean/fortune.sh" ## wal (cat ~/.cache/wal/sequences &) cat ~/.cache/wal/sequences -## neofetch - -##neofetch --ascii ~/.scripts/ascii/bla - ## Zathura-Pywal export PATH="/home/cdnutter/.local/bin:$PATH" diff --git a/packages.txt b/packages.txt index 309c57f..fcb6b54 100644 --- a/packages.txt +++ b/packages.txt @@ -1,3 +1,4 @@ +aaxtomp3-git 1.1.r104.g2ef05cd-1 accountsservice 0.6.55-3 acl 2.2.53-3 acpi 1.7-3 @@ -42,9 +43,11 @@ bison 3.6.4-1 bluez-libs 5.54-2 bmenu 0.13-1 boost-libs 1.72.0-2 +botsay 1.2.2-1 brotli 1.0.7-3 btrfs-progs 5.7-1 bubblewrap 0.4.1-1 +buddhasay 0.4.0-1 bzip2 1.0.8-3 c-ares 1.16.1-2 ca-certificates 20181109-4 @@ -53,15 +56,18 @@ ca-certificates-utils 20181109-4 cairo 1.17.2+25+gaee96d175-1 cairomm 1.12.2-4 cantarell-fonts 1:0.201-1 +catsay v0.2.0.8.r11.g6abd981-1 cbindgen 0.14.4-1 cdparanoia 10.2-8 chromaprint 1.5.0-2 +chromedriver 85.0.4183.87-1 cifs-utils 6.10-1 clang 10.0.1-1 clipit 1:1.4.3-2 cmake 3.18.2-1 cmus 2.8.0-4 colord 1.4.4+9+g1ce26da-2 +colorpicker 1.0.f5d441a-2 compiler-rt 10.0.1-1 confuse 3.3-1 conky 1.11.5+2+g0d449029-2 @@ -119,11 +125,14 @@ figlet 2.2.5-4 figlet-fonts 1.0-3 file 5.39-1 filesystem 2020.05-1 +fim 0.6-3 findutils 4.7.0-2 flac 1.3.3-2 flex 2.6.4-3 fluidsynth 2.1.4-1 fontconfig 2:2.13.91+48+gfcb0420-2 +fortune-mod 2.12.0-1 +fortune-mod-issa-haiku 1.1-5 freeglut 3.2.1-2 freetype2 2.10.2-1 fribidi 1.0.10-1 @@ -174,6 +183,7 @@ groff 1.22.4-3 grub 2.04-11.1 grub-customizer 5.1.0-2 grub-theme-manjaro-dev 18.0-3 +gsasl 1.8.1-2 gsettings-desktop-schemas 3.36.1-1 gsfonts 20180524-3 gsl 2.6-2 @@ -229,6 +239,7 @@ iptables 1:1.8.5-2 iputils 20190709-3 irssi 1.2.2-3 iso-codes 4.5.0-1 +isync 1.3.2-1 iw 5.8-1 jack 0.125.0-9 jansson 2.13.1-1 @@ -371,6 +382,7 @@ libgusb 0.3.5-1 libibus 1.5.22+8+gf591381e-1 libice 1.0.10-3 libid3tag 0.15.1b-11 +libidn 1.36-1 libidn2 2.3.0-1 libiec61883 1.2.0-6 libimagequant 2.12.6-1 @@ -394,6 +406,7 @@ libmm-glib 1.14.2-1 libmms 0.6.4-3 libmnl 1.0.4-3 libmodplug 0.8.9.0-3 +libmp4v2 4.1.3-1 libmpc 1.1.0-2 libmpcdec 1:0.1+r475-3 libmpdclient 2.19-3 @@ -433,6 +446,7 @@ libraw1394 2.1.2-3 librsvg 2:2.48.8-1 libsamplerate 0.1.9-3 libsasl 2.1.27-3 +libsass 3.6.4-1 libseccomp 2.4.2-1 libsecret 0.20.3-1 libshout 1:2.4.3-3 @@ -550,7 +564,7 @@ manjaro-base-skel 20171029-3 manjaro-browser-settings 20200629-1 manjaro-firmware 20160419-1 manjaro-hotfixes 2018.08-6 -manjaro-i3-settings 20200804-1 +manjaro-i3-settings 20200919-1 manjaro-keyring 20200603-1 manjaro-ranger-settings 20190513-2 manjaro-release 20.1-1 @@ -590,6 +604,7 @@ mpd 0.21.25-3 mpfr 4.1.0-1 mpg123 1.26.3-2 mpv 1:0.32.0-4 +msmtp 1.8.12-1 mtdev 1.1.6-1 mujs 1.0.8-1 mupdf 1.17.0-2 @@ -615,8 +630,10 @@ nfs-utils 2.5.1-1 nfsidmap 2.5.1-1 nitrogen 1.6.1-3 nm-connection-editor 1.18.0-1 +node-gyp 7.1.0-1 nodejs 14.10.0-1 noto-fonts 20190926-4 +npm 6.14.8-1 npth 1.6-2 nspr 4.28-1 nss 3.56-1 @@ -656,6 +673,7 @@ pangomm 2.42.1-2 papirus-icon-theme 20200901-1 papirus-maia-icon-theme 20200201-1 parted 3.3-2 +pass 1.7.3-2 patch 2.7.6-8 patchutils 0.3.4-4 pciutils 3.7.0-1 @@ -761,6 +779,7 @@ ranger 1.9.3.4.gd8c363c9-1 rav1e 0.3.3-1 rdesktop 1.9.0-2 readline 8.0.004-1 +recode 3.7.7-1 reiserfsprogs 3.6.27-3 remmina 1:1.4.8-1 remmina-plugin-rdesktop 1.3.0.0-1 @@ -794,12 +813,14 @@ rust 1:1.46.0-1 rxvt-unicode 9.22-10 rxvt-unicode-terminfo 9.22-10 s-nail 14.9.19-2 +sassc 3.6.1-2 sbxkb 0.7.6-4 screenfetch 3.9.1-1 scrot 1.4-1 sdl 1.2.15-14 sdl2 2.0.12-2 sed 4.8-1 +semver 7.3.2-1 shaderc 2020.0-1 shadow 4.8.1-4 shared-mime-info 2.0+1+g6bf9e4f-2 @@ -831,6 +852,8 @@ t1lib 5.1.2-8 taglib 1.11.1-4 talloc 2.3.1-3 tar 1.32-3 +tcl 8.6.10-2 +tcsh 6.22.02-1 tdb 1.4.3-2 terminus-font 4.48-3 tevent 1:0.10.2-1 @@ -885,6 +908,7 @@ webkit2gtk 2.28.4-1 webrtc-audio-processing 0.3.1-2 wget 1.20.3-3 which 2.21-5 +wikiquote-fortune 1.5-1 wildmidi 0.4.3-3 wireless-regdb 2020.04.29-1 wireless_tools 30.pre9-3 @@ -905,6 +929,7 @@ xcb-util-keysyms 0.4.0-3 xcb-util-renderutil 0.3.9-3 xcb-util-wm 0.4.1-3 xcb-util-xrm 1.3-2 +xclip 0.13-3 xcursor-breeze 5.11.5-1 xdg-dbus-proxy 0.1.2-2 xdg-user-dirs 0.17-3