diff --git a/dotfiles/lib/bash.sh b/dotfiles/lib/bash.sh deleted file mode 100644 index 70b89eaa..00000000 --- a/dotfiles/lib/bash.sh +++ /dev/null @@ -1,3 +0,0 @@ -for filename in ~/.lib/bash/*; do - source $filename -done diff --git a/dotfiles/lib/completions/_invoke b/dotfiles/lib/completions/_invoke deleted file mode 100644 index e0d1be88..00000000 --- a/dotfiles/lib/completions/_invoke +++ /dev/null @@ -1,68 +0,0 @@ -#compdef inv invoke - -typeset -A opt_args -local context state line - -function _invoke_subcommands { - LISTINGS=( $(invoke -l | tail -n+2 | sed 's/^ *//g' | while read line ; do _remove_docstrings "$line"; done;) ) - for subcommand_listing in $LISTINGS - do - local comma_separated="$(echo $subcommand_listing | tr -d ')\n' | tr '(' ',')" - local names="$(_echo_split $comma_separated ',')" - echo $names | tr '\n' ' ' - done -} - -function _remove_docstrings { - local delimiter_character=' ' - if echo $1 | grep ')' > /dev/null - then - delimiter_character=')' - fi - echo $1 | cut -d "$delimiter_character" -f 1 -} - -function _echo_split { - local IFS - IFS="$2" read -rA -- arr <1 time.]" \ - "(-e --echo)"{-e,--echo}"[Echo executed commands before running.]" \ - "(-h --help)"{-h,--help}"[Show core or per-task help and exit.]:command:_invoke_subcommand" \ - "(-H --hide)"{-H,--hide}"[Set default value of run()'s 'hide' kwarg.]:command:_invoke_subcommand" \ - "(-l --list)"{-l,--list}"[List available tasks.]" \ - "(-p --pty)"{-p,--pty}"[Use a pty when executing shell commands.]" \ - "(-r --root)"{-r,--root}"[Change root directory used for finding task modules.]:directory:_directories" \ - "(-V --version)"{-V,--version}"[Show version and exit.]:" \ - "(-w --warn-only)"{-w,--warn-only}"[Warn, instead of failing, when shell commands fail.]" \ - "*:invoke command:_complete_invoke_subcommand" diff --git a/dotfiles/lib/completions/_testify b/dotfiles/lib/completions/_testify deleted file mode 100644 index 6faa1daa..00000000 --- a/dotfiles/lib/completions/_testify +++ /dev/null @@ -1,73 +0,0 @@ -#compdef testify - -_testify() { - typeset -A opt_args - local context state line - - BASE_TEST_PATH='yelp.tests' - _arguments "1:testify_file:->file" "2:testify_:->test_case" - - case $state in - (file) - _find_test_files - ;; - (test_case) - _find_test_methods - ;; - esac - - return 0 -} - -(( $+functions[_print_test_methods] )) || -_print_test_methods() { - python - "$@" < /dev/null` ) - for COMPLETION in $TEST_COMPLETIONS - do - compadd $COMPLETION - done - return 0 -} - -(( $+functions[_find_test_files] )) || -_find_test_files() { - local SEARCH_PATH - if [[ "$PREFIX" == "$BASE_TEST_PATH"* ]] - then - SEARCH_PATH="${PREFIX%.*}" - else - compadd $BASE_TEST_PATH - compadd $BASE_TEST_PATH'.' - return 0 - fi - SEARCH_PATH=$(echo "$SEARCH_PATH" | tr . /) - DIRECTORIES=( "$SEARCH_PATH"/*(/) ) - PY_FILES=( "$SEARCH_PATH"/*.py ) - for DIRECTORY in $DIRECTORIES - do - compadd `echo "${DIRECTORY}" | tr / .` - compadd `echo "${DIRECTORY}" | tr / .`'.' - done - - for PY_FILE in $PY_FILES - do - compadd `echo "${PY_FILE%.py}" | tr / .` - done - return 0 -} diff --git a/dotfiles/lib/mu4e_sync.sh b/dotfiles/lib/mu4e_sync.sh deleted file mode 100755 index 2764429d..00000000 --- a/dotfiles/lib/mu4e_sync.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/env zsh -refresh_config -mu4e_sync_command diff --git a/dotfiles/lib/nix_login.sh b/dotfiles/lib/nix_login.sh deleted file mode 100644 index ccf4f046..00000000 --- a/dotfiles/lib/nix_login.sh +++ /dev/null @@ -1,4 +0,0 @@ -source "$HOME/.lib/shellpath.sh" - -command_exists python && setup_unless_environment_variable_exists NIX_PATH_SETUP_DONE _setup_path - diff --git a/dotfiles/lib/resources/exe-icon.png b/dotfiles/lib/resources/exe-icon.png deleted file mode 100644 index 7738da84..00000000 Binary files a/dotfiles/lib/resources/exe-icon.png and /dev/null differ diff --git a/dotfiles/lib/resources/gmail.png b/dotfiles/lib/resources/gmail.png deleted file mode 100644 index 20533e70..00000000 Binary files a/dotfiles/lib/resources/gmail.png and /dev/null differ diff --git a/dotfiles/lib/resources/kodi.png b/dotfiles/lib/resources/kodi.png deleted file mode 100644 index f7fd4d3d..00000000 Binary files a/dotfiles/lib/resources/kodi.png and /dev/null differ diff --git a/dotfiles/lib/resources/urxvt.png b/dotfiles/lib/resources/urxvt.png deleted file mode 100644 index c698f7cf..00000000 Binary files a/dotfiles/lib/resources/urxvt.png and /dev/null differ diff --git a/dotfiles/lib/resources/window_class_to_fontawesome.json b/dotfiles/lib/resources/window_class_to_fontawesome.json deleted file mode 100755 index 5b42f3d3..00000000 --- a/dotfiles/lib/resources/window_class_to_fontawesome.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "keepassxc": "", - "Emacs": "", - "Chrome": "", - "Spotify": "", - "Hangouts": "", - "Firefox": "", - "URxvt": "", - "Steam": "", - "Transmission": "", - "Vlc": "" -} diff --git a/dotfiles/lib/shellenv/wallpaper.sh b/dotfiles/lib/shellenv/wallpaper.sh deleted file mode 100644 index 64099d93..00000000 --- a/dotfiles/lib/shellenv/wallpaper.sh +++ /dev/null @@ -1,16 +0,0 @@ -WALLPAPER_DIR="$HOME/Pictures/wallpaper/" - -random_paper() { - find "$WALLPAPER_DIR"use -type f -or -type l | shuf -n1 -} - -wallpaper() { - local target_paper=${1:-"$(random_paper)"} - feh --bg-center $target_paper --bg-center $target_paper -} - -wallpaper_timer() { - while true; do - sleep 10m - done -}