summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"