summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2016-02-12 23:56:59 +0000
committerUrbain Vaes <urbain@vaes.uk>2016-02-12 23:56:59 +0000
commitf9683d4ed9c48748378ca9a93e11eddb28b6ff3f (patch)
treed0b297ad068391aa6eb9412b108cfcb9f6943817 /bin
parentc7cde0bf5b20dd39a274752ef4cb766272cdcade (diff)
parent142628de91fb3620a08101da1abe17c12c7f0c32 (diff)
Merge branch 'master' of urbainvaes.com:git/dotfiles
Diffstat (limited to 'bin')
-rwxr-xr-xbin/facebook7
1 files changed, 0 insertions, 7 deletions
diff --git a/bin/facebook b/bin/facebook
deleted file mode 100755
index 00ecdcc..0000000
--- a/bin/facebook
+++ /dev/null
@@ -1,7 +0,0 @@
-#! /bin/bash
-line="127.0.0.1 www.facebook.com"
-if grep -q "www.facebook.com" /etc/hosts; then
- zenity --password | sudo -S bash -c "sed -i '/www.facebook.com/d' /etc/hosts"
-else
- zenity --password | sudo -S bash -c "echo ${line} >> /etc/hosts"
-fi