dotfiles

*nix config files
git clone git://git.pyratebeard.net/dotfiles.git
Log | Files | Refs | README

commit 13c98445985dcdef2cefc005eb9a7d0eaff1c094
parent 089b13d837d27438450e3f810747b093530f4374
Author: pyratebeard <root@pyratebeard.net>
Date:   Tue, 23 Aug 2022 10:23:45 +0100

tweak, tweak, tweak

Diffstat:
Mbin/bin/ahoy | 64++++++++++++++++++++++++++++++++++++----------------------------
Mbin/bin/sitrep | 4++++
Mbin/bin/skull | 8++++++++
Mcmus/.cmus/mutiny.theme | 8++++----
Mirssi/.irssi/mutiny2.theme | 15++++++++-------
Mmpd/.mpd/mpd.conf | 4++--
Mvim/.vim/colors/mutiny.vim | 2+-
Mzsh/.zsh/aliases.zsh | 3++-
Mzsh/.zsh/history.zsh | 6+++---
9 files changed, 68 insertions(+), 46 deletions(-)

diff --git a/bin/bin/ahoy b/bin/bin/ahoy @@ -55,14 +55,14 @@ usage() { heading() { header="$(echo ${1} | sed -e 's/\(.\)/\1 /g')" - echo -e "${blue}├┄ ${light_white}${header}${reset}" + echo -e "${lighter_black}├┄ ${light_white}${header}${reset}" } tasking() { heading ${FUNCNAME[0]} total_tasks=$(cat $HOME/.todo | wc -l) - echo -e "${blue}│${reset}you have ${light_green}${total_tasks}${reset} task(s)" + echo -e "${lighter_black}│${reset}you have ${light_green}${total_tasks}${reset} task(s)" } # check nightly backups @@ -82,8 +82,8 @@ backups() { fi done [[ ${backup_success} -gt 0 ]] \ - && echo -e "${blue}│${reset}frak! ${failed}${red}failed${reset}" \ - || echo -e "${blue}│${reset}schway! backup ${light_green}successful${reset}" + && echo -e "${lighter_black}│${reset}frak! ${failed}${red}failed${reset}" \ + || echo -e "${lighter_black}│${reset}schway! backup ${light_green}successful${reset}" } # weather in current location @@ -91,7 +91,7 @@ weather() { heading ${FUNCNAME[0]} if [ -f /tmp/weather ] ; then wttr=$(cat /tmp/weather | awk -F\: '{print $2}' | cut -c 2-) - echo -e "${blue}│${reset}${wttr}" + echo -e "${lighter_black}│${reset}${wttr}" else $HOME/bin/weather fi @@ -104,8 +104,8 @@ mail() { local -r pyratebeard_mail=$(find "${mail_dir}"/pyratebeard/INBOX/new/ -type f | wc -l) local -r unread_mail=$(find "${mail_dir}"/pyratebeard/INBOX/cur/ -type f ! -name "*S" | wc -l) - echo -e "${blue}│${reset}you have ${light_green}${pyratebeard_mail}${reset} new mail(s)" - echo -e "${blue}│${reset}you have ${light_green}${unread_mail}${reset} unread mail(s)" + echo -e "${lighter_black}│${reset}you have ${light_green}${pyratebeard_mail}${reset} new mail(s)" + echo -e "${lighter_black}│${reset}you have ${light_green}${unread_mail}${reset} unread mail(s)" } # not currently used but keeping for future reference @@ -120,15 +120,15 @@ getnews() { rss() { heading ${FUNCNAME[0]} if [ -f ~/.newsboat/cache.db.lock ] ; then - echo -e "${blue}│${reset}${light_black}waiting for newsboat refresh...${reset}" + echo -e "${lighter_black}│${reset}${light_black}waiting for newsboat refresh...${reset}" sleep 10 fi local unread_count unread_count=$(sqlite3 ~/.newsboat/cache.db "select count(unread) from rss_item where unread = 1;") local queued_pods queued_pods=$(wc -l ~/.newsboat/queue | awk '{print $1}') - echo -e "${blue}│${reset}there are ${light_green}${unread_count}${reset} unread items" - echo -e "${blue}│${reset}you have ${light_green}${queued_pods}${reset} queued podcasts" + echo -e "${lighter_black}│${reset}there are ${light_green}${unread_count}${reset} unread items" + echo -e "${lighter_black}│${reset}you have ${light_green}${queued_pods}${reset} queued podcasts" } servers() { @@ -155,19 +155,27 @@ ${reset}" } main() { - echo -e "${blue}│${magenta} ┳━┓┳ ┳┏━┓┓ ┳ -${blue}│${magenta} ┃━┫┃━┫┃ ┃┗┏┛ -${blue}│${magenta} ┛ ┇┇ ┻┛━┛ ┇ -${blue}└──┄┄────┄┄───┐${yellow} - $(whoami) ${blue}│ -┌──┄┄────┄┄───┘${reset}" -# ██ ▄ █ ████▄ ▀▄ ▄ ▄ -# █ █ █ █ █ █ █ █ █ -# █▄▄█ ██▀▀█ █ █ ▀█ █ -# █ █ █ █ ▀████ █ █ -# █ █ ▄▀ -# █ ▀ ${yellow}$(whoami)${cyan} ▀ -# ▀ +# echo -e "${blue}│${magenta} ┳━┓┳ ┳┏━┓┓ ┳ +#${blue}│${magenta} ┃━┫┃━┫┃ ┃┗┏┛ +#${blue}│${magenta} ┛ ┇┇ ┻┛━┛ ┇ +#${blue}└──┄┄────┄┄───┐${yellow} +# $(whoami) ${blue}│ +#┌──┄┄────┄┄───┘${reset}" +#${lighter_black}┊ ${light_blue}██ ▄ █ ████▄ ▀▄ ▄ ▄ +#${lighter_black}┊ ${light_blue}█ █ █ █ █ █ █ █ █ +#${lighter_black}│ ${light_blue}▓▄▄█ ▓▓▀▀█ ▓ █ ▀█ █ +#${lighter_black}┊ ${light_blue}▓ ▒ ▓ ▓ ▀▓▓▒▒ ▓ ▒ +#${lighter_black}│ ${light_blue} ▒ ▒ ▄▀ +#${lighter_black}├───${light_blue}▒${lighter_black}────${light_blue}▀${lighter_black}┄┄ ${light_yellow}$(whoami)${light_blue} ▀ +#${lighter_black}│ ${light_blue} ▀${reset}" + echo -e " +${lighter_black}┊ ${light_blue} ██ █ █ ██ █ █ ${reset}${light_black} ▄█████▄ +${lighter_black}┊ ${light_blue} █ █ █ █ █ █ █ █ ${reset}${light_black} ▄███████▄ +${lighter_black}│ ${light_blue} ▓ █ ▓ █ ▓ █ ▓ █ ${reset}${light_black} ░██ ░█ ░██ +${lighter_black}┊ ${light_blue} ▓▓▓ ▓▓▓ ▓ ▓ ▓ ${reset}${light_black} ░░███████ +${lighter_black}│ ${light_blue} ▒ ▒ ▒ ▒ ▒▒▒ ▒ ${reset}${light_black} ░░█░█░█ +${lighter_black}├────${light_blue}▒${lighter_black}─${light_blue}▒${lighter_black}┄ ${light_yellow}$(whoami) ${reset}${light_black}░ ░ ░ +${lighter_black}│ ${light_blue}▒ ▒${reset}" # ┳━┓┳ ┳┏━┓┓ ┳ # ┃━┫┃━┫┃ ┃┗┏┛ # ┛ ┇┇ ┻┛━┛ ┇ @@ -182,15 +190,15 @@ ${blue}└──┄┄────┄┄───┐${yellow} #echo -e " greetings, ${white}\033[7m $(whoami) ${reset}\n" tasking - echo -e "${blue}│${reset}" + echo -e "${lighter_black}│${reset}" backups - echo -e "${blue}│${reset}" + echo -e "${lighter_black}│${reset}" weather - echo -e "${blue}│${reset}" + echo -e "${lighter_black}│${reset}" mail - echo -e "${blue}│${reset}" + echo -e "${lighter_black}│${reset}" rss - echo -e "${blue}└──┄┄────┄┄${reset}" + echo -e "${lighter_black}└──┄┄────┄┄${reset}" } if [ $# -eq 0 ] ; then diff --git a/bin/bin/sitrep b/bin/bin/sitrep @@ -20,12 +20,16 @@ OFFLINE="${Bla}${On_Red} offline ${RCol}" [ "${1}" == full ] && \ servers=( + "greyskull" + "nublar" "blacksun" "mainframe" "laundry" "mordhaus" ) || \ servers=( + "greyskull" + "nublar" "blacksun" "mainframe" ) diff --git a/bin/bin/skull b/bin/bin/skull @@ -47,5 +47,13 @@ ${COLOUR} ░░███████ ░░█░█░█ ░ ░ ░ + + + ▄▀▀▀▀▀▀▀▄ + █ █ + █ █ █ █ + █ █ + ▀█▄▄▄▄▄█▀ + ▀ ▀ ▀ ${reset} EOF diff --git a/cmus/.cmus/mutiny.theme b/cmus/.cmus/mutiny.theme @@ -8,7 +8,7 @@ set color_win_fg=15 set color_win_bg=default # Command line color. -set color_cmdline_bg=0 +set color_cmdline_bg=236 set color_cmdline_fg=7 # Color of error messages displayed on the command line. @@ -21,7 +21,7 @@ set color_info=3 set color_separator=4 # Color of window titles (topmost line of the screen). -set color_win_title_bg=0 +set color_win_title_bg=236 set color_win_title_fg=11 # Color of the album row shown in the track window @@ -36,12 +36,12 @@ set color_statusline_fg=7 set color_win_cur=10 # Color of the line displaying currently playing track. -set color_titleline_bg=0 +set color_titleline_bg=236 set color_titleline_fg=3 # Color of the selected row which is also the currently playing track in active window. set color_win_cur_sel_bg=5 -set color_win_cur_sel_fg=7 +set color_win_cur_sel_fg=3 # Color of the selected row which is also the currently playing track in inactive window. set color_win_inactive_cur_sel_bg=0 diff --git a/irssi/.irssi/mutiny2.theme b/irssi/.irssi/mutiny2.theme @@ -199,13 +199,13 @@ abstracts = { # used for anything. sbend = ""; - topicsbstart = "%Y┄─┄$*"; + topicsbstart = " %Wtopic %Y┄┄─┤$*"; topicsbend = "$*"; prompt = " %b└──┄┄%n "; # prompt = " %K└╼ "; - sb = " %n %W$*%c %n"; + sb = " %Y│%n %W$*%c %n"; sbmode = " %b[%y%y+%C$*%b]"; sbaway = " %g/* zZzZ */%n"; sbservertag = ":%g$0%n"; @@ -245,9 +245,9 @@ formats = { servertag = " %b│%n "; - join = "%Y join %b┄┄─┤ %n{channick $0} %b(%b{nickhost %b$1}%b)%W joined %w$2"; - part = "%Y part %b┄┄─┤ %n{channick $0} %b(%b{nickhost %b$1}%b)%W left %w$2 {reason %b$3}"; - quit = "%Y quit %b┄┄─┤ %Wsignoff: %n{channick $0}%b {reason %b$2}"; + join = "%Y join %b┄┄─┤ %n{channick $0} %W(%w{nickhost %w$1}%W) joined %w$2"; + part = "%Y part %b┄┄─┤ %n{channick $0} %W(%w{nickhost %w$1}%W) left %w$2 {reason %b$3}"; + quit = "%Y quit %b┄┄─┤ %Wsignoff: %n{channick $0} %W{reason %b$2%W}"; kick = "%r kick %b┄┄─┤ %n{channick $0} was kicked by $2 %W{reason %b$3}"; quit_once = "{channel $3} {channick $0} {chanhost $1} %kquit {reason %C$2}"; @@ -285,6 +285,7 @@ formats = { current_channel = " %b│ %Wcurrent channel {channel %Y$0}"; chanlist_header = " %b│ %Wyou are in the following channels"; chanlist_line = " %b│ %#{channel %G$[-10]0} %|%W+$1 %w$2"; + server_list = " %b│ %#{server %G$[-10]0} %|%W+$1 %w$2 %m$4"; }; "fe-common/irc" = { chanmode_change = "%Y mode %b┄┄─┤ %w{channick $1}%W by %w$2"; @@ -315,8 +316,8 @@ formats = { "Irssi::Script::adv_windowlist" = { awl_mouse = "no"; awl_display_key = "$H $N $C %8▓░$S"; - awl_display_key_active = "$H%9%6%9%k $N $C %8▓░$S"; - awl_display_header = ""; + awl_display_key_active = "$H%x0b%9%X7b $N $C %9%k%8▓░$S"; + awl_display_header = "%9%x7g%9%X7o $C %8%k▓░"; awl_separator = " "; awl_detach = "(status)"; }; diff --git a/mpd/.mpd/mpd.conf b/mpd/.mpd/mpd.conf @@ -3,7 +3,7 @@ # ░▀░▀░▀░░░▀▀░░░ # files -music_directory "~/lib/mus" +music_directory "~/lib/music" playlist_directory "~/.mpd/playlists" db_file "~/.mpd/database" log_file "~/.mpd/log" @@ -23,7 +23,7 @@ input { plugin "curl" } audio_output { - type "alsa" + type "pulse" name "audio" } audio_output { diff --git a/vim/.vim/colors/mutiny.vim b/vim/.vim/colors/mutiny.vim @@ -21,7 +21,7 @@ endif let g:colors_name="mutiny" hi ColorColumn term=NONE cterm=NONE ctermfg=NONE ctermbg=234 -hi Comment term=NONE cterm=NONE ctermfg=5 ctermbg=NONE +hi Comment term=NONE cterm=NONE ctermfg=239 ctermbg=NONE hi Constant term=NONE cterm=NONE ctermfg=3 ctermbg=NONE hi Conditional term=NONE cterm=NONE ctermfg=255 ctermbg=NONE hi Cursor term=NONE cterm=NONE ctermfg=242 ctermbg=NONE diff --git a/zsh/.zsh/aliases.zsh b/zsh/.zsh/aliases.zsh @@ -81,7 +81,7 @@ alias \ pac="sudo pacman" \ pacman="sudo pacman" \ - update="sudo paccache -r ; pacman -Syu" + update="sudo paccache -r ; pacman -S --noconfirm archlinux-keyring ; pacman -Syu" # ▓▓▒░ net @@ -148,6 +148,7 @@ mixer="alsamixer" \ news="newsboat" \ gifview="gifview -a" \ + mail="mutt -F ~/.mutt/muttrc-imap" \ \ headsetbatt="bluetooth_battery 34:DF:2A:5F:04:2C" \ headset="echo 'connect 34:DF:2A:5F:04:2C' | bluetoothctl" \ diff --git a/zsh/.zsh/history.zsh b/zsh/.zsh/history.zsh @@ -1,7 +1,7 @@ # HISTORY HISTFILE=~/.zhistory -setopt APPEND_HISTORY -HISTSIZE=1200 -SAVEHIST=1000 +setopt INC_APPEND_HISTORY +HISTSIZE=12000 +SAVEHIST=10000 setopt HIST_EXPIRE_DUPS_FIRST setopt EXTENDED_HISTORY