summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2016-09-10 22:51:03 +0100
committerUrbain Vaes <urbain@vaes.uk>2016-09-10 22:51:03 +0100
commit8cd9e65747d0d7b956d0fe46708cdb64a8c265de (patch)
tree55c47a8334610260ddb5bb5b18569ffcc2eb5051 /bin
parenta306594af82b16c0fd319ff3c3b2df94c9d07fc7 (diff)
Delete unused scripts
Diffstat (limited to 'bin')
-rwxr-xr-xbin/bin/dot48
-rwxr-xr-xbin/bin/dyndns5
-rwxr-xr-xbin/bin/swap16
3 files changed, 0 insertions, 69 deletions
diff --git a/bin/bin/dot b/bin/bin/dot
deleted file mode 100755
index acb0e64..0000000
--- a/bin/bin/dot
+++ /dev/null
@@ -1,48 +0,0 @@
-#!/usr/bin/env bash
-
-get_links()
-{
- find $HOME -not -path "$HOME/dotfiles/*" -type l | while read line; do
- if [[ "$(realpath -q $line)" == "${HOME}/dotfiles/"* ]]; then
- echo $line
- fi
- done
-}
-
-clean()
-{
- get_links | while read link; do
- rm -v ${link}
- done
-}
-
-down()
-{
- source $HOME/dotfiles/.dotmap
- for link in "${!dotmap[@]}"; do
- echo "Removing ${link}."
- rm -rf $link
- done
-}
-
-up()
-{
- source $HOME/dotfiles/.dotmap
- for link in "${!dotmap[@]}"; do
- target=${dotmap[$link]}
- mkdir -p $(dirname ${link})
- echo "Linking $target."
- rm -rf $link && ln -s $target $link
- done
-}
-
-save()
-{
- echo "declare -A dotmap" > .dotmap
- get_links | while read link; do
- echo "dotmap[$link]=$(readlink -f -q $link)" | sed "s#$HOME#"'$HOME#g' >> .dotmap
- done
- sort .dotmap -o .dotmap
-}
-
-$1
diff --git a/bin/bin/dyndns b/bin/bin/dyndns
deleted file mode 100755
index 8d1f553..0000000
--- a/bin/bin/dyndns
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/usr/bin/env bash
-
-PASSWORD=$(pass show email/urbain@vaes.uk)
-
-curl -4 -X PUT --user "urbain@vaes.uk:$PASSWORD" https://box.bknguyen.org/admin/dns/custom/urbainvaes.com
diff --git a/bin/bin/swap b/bin/bin/swap
deleted file mode 100755
index 4c17dc7..0000000
--- a/bin/bin/swap
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/usr/bin/python
-
-import i3
-outputs = i3.get_outputs()
-print(outputs[0])
-
-# set current workspace to output 0
-i3.workspace(outputs[0]['current_workspace'])
-
-# ..and move it to the other output.
-# outputs wrap, so the right of the right is left ;)
-i3.command('move', 'workspace to output right')
-
-# rinse and repeat
-i3.workspace(outputs[1]['current_workspace'])
-i3.command('move', 'workspace to output right')