summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEsteban Carnevale <alfplayer@mailoo.org>2014-12-27 13:32:01 -0300
committerEsteban Carnevale <alfplayer@mailoo.org>2014-12-27 13:32:01 -0300
commit57a82d1c4a905877b65a6b27472ff47d942e938e (patch)
tree802be0b0528f0493ee6d319d12dc89f3ea3e4bf3
parentd5db189e2467de68740d15d7e40a098b928dcc89 (diff)
paraboladocs: Minor edit
-rw-r--r--paraboladocs10
1 files changed, 6 insertions, 4 deletions
diff --git a/paraboladocs b/paraboladocs
index f00d52e..3ee0b8d 100644
--- a/paraboladocs
+++ b/paraboladocs
@@ -58,8 +58,12 @@ clipboard_save() {
cat "$title" | xsel
}
-compare() {
+kill_browser() {
pkill -f 'iceweasel -P bigscreenparalelo'
+}
+
+compare() {
+ kill_browser
iceweasel -P bigscreenparalelo -new-instance 2> /dev/null &
i3-msg workspace 14 > /dev/null
sleep 0.7
@@ -73,11 +77,9 @@ compare() {
}
edit() {
- iceweasel "https://wiki.parabola.nu/index.php?title=$title&action=edit"
+ iceweasel "https://wiki.parabola.nu/index.php?title=$title&action=edit" 2> /dev/null
}
-#. /usr/local/bin/paraboladocs-get
-
_get() {
if [[ $1 == parabola ]] ; then
wiki="ParabolaWiki"