From: James Bunton Date: Sun, 14 Oct 2018 12:20:24 +0000 (+1100) Subject: Remove unused files X-Git-Url: https://code.delx.au/dotfiles/commitdiff_plain/578fabf7837f415d89acfc8a84be2e4cc18c3086 Remove unused files --- diff --git a/.rtorrent.rc b/.rtorrent.rc deleted file mode 100644 index 563bb1c..0000000 --- a/.rtorrent.rc +++ /dev/null @@ -1,60 +0,0 @@ -# vim: set ft=sh: - -# Default directory to save the downloaded torrents. -directory = ~/downloads - -# Default session directory. Make sure you don't run multiple instance -# of rtorrent using the same session directory. Perhaps using a -# relative path? -session = ~/session - -# Global upload and download rate in KiB. "0" for unlimited. -download_rate = 1000 -upload_rate = 0 - -# The ip address reported to the tracker. -ip = A.B.C.D -###schedule = ip_tick,0,1800,ip=something.example.com - -# Port range to use for listening. -port_range = 7100-7100 - -# Start opening ports at a random position within the port range. -port_random = yes - -# Try to use encryption -encryption = allow_incoming,try_outgoing,enable_retry - -# Check hash for finished torrents. Might be usefull until the bug is -# fixed that causes lack of diskspace not to be properly reported. -check_hash = yes - -# Set whetever the client should try to connect to UDP trackers. -use_udp_trackers = yes - -# Watch a directory for new torrents, and stop those that have been deleted. -schedule = watch_directory,5,5,load_start=~/watch/*.torrent -schedule = tied_directory,5,5,start_tied= -schedule = untied_directory,5,5,close_untied= - -# Close torrents when diskspace is low. -schedule = low_diskspace,5,60,close_low_diskspace=100M - -# Link when finished -###system.method.set_key = event.download.finished,move_complete,"execute=cp,-Rl,$d.get_base_path=,~/unsorted/" - -# Stop torrents when reaching upload ratio in percent, when also reaching total -# upload in bytes, or when reaching final upload ratio in percent. -###ratio.enable= -###ratio.min.set=100 -###ratio.max.set=300 -###ratio.upload.set=20M -###system.method.set = group.seeding.ratio.command, d.close=, d.erase= -###schedule = ratio,60,60,"stop_on_ratio=200,200M" - -# Severe throttling during peak period -###schedule = peak_throttle1,12:00:00,24:00:00,"upload_rate=6" -###schedule = peak_throttle1,12:00:00,24:00:00,"download_rate=32" -###schedule = offpeak_throttle1,02:00:00,24:00:00,"upload_rate=16" -###schedule = offpeak_throttle2,02:00:00,24:00:00,"download_rate=128" - diff --git a/.tern-config b/.tern-config deleted file mode 100644 index 1577c7f..0000000 --- a/.tern-config +++ /dev/null @@ -1,10 +0,0 @@ -{ - "plugins": { - "commonjs": {}, - "doc_comment": {}, - "es_modules": {}, - "modules": {}, - "node": {}, - "node_resolve": {} - } -} diff --git a/xmonad-xfce4-session.sh b/xmonad-xfce4-session.sh deleted file mode 100755 index b0d2734..0000000 --- a/xmonad-xfce4-session.sh +++ /dev/null @@ -1,46 +0,0 @@ -#!/bin/bash - -function wait_for_xprop_root { - local prop="$1" - - echo "Waiting for: ${prop}" - for i in $(seq 150); do - xprop -root -notype | grep -q "^${prop}\>" && return - sleep 0.1 - done - - echo "Timeout waiting for: ${prop}" -} - -function restart_applet { - local applet="$1" - - if ! pgrep "$applet"; then - return - fi - - while pgrep "$applet"; do - pkill "$applet" || true - sleep 0.1 - done - - "$applet" & -} - -xmonad & -xfdesktop --disable-wm-check & - -# settings are not loaded on startup for some reason -wait_for_xprop_root "XFCE_DESKTOP_WINDOW" -xfdesktop --reload - -# ensure the window manager is painted over xfdesktop -wait_for_xprop_root "XFDESKTOP_IMAGE_FILE_0" -xmonad --restart - -# restart some applets to fix font settings -wait_for_xprop_root "RESOURCE_MANAGER" -restart_applet blueman-applet -restart_applet nm-applet - -disown