summaryrefslogtreecommitdiff
path: root/bin/debian-ftp-master
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2019-07-10 22:27:03 +0100
committerSean Whitton <spwhitton@spwhitton.name>2019-07-10 22:27:03 +0100
commit8011cb55da8b5803b363868eb3547b0981c6a86f (patch)
treee6a035e7c8b11c537c79b430970eec6a4ebb876e /bin/debian-ftp-master
parent42806c7ac55c60b268e3ddb93e404a355c370dd2 (diff)
downloaddotfiles-8011cb55da8b5803b363868eb3547b0981c6a86f.tar.gz
TODO
Diffstat (limited to 'bin/debian-ftp-master')
-rwxr-xr-xbin/debian-ftp-master7
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/debian-ftp-master b/bin/debian-ftp-master
index 5b4b5cf9..1dded79e 100755
--- a/bin/debian-ftp-master
+++ b/bin/debian-ftp-master
@@ -72,6 +72,13 @@ done
emacsclient -c -a '' -n -e '(progn (switch-to-buffer "*NEW notes*") (text-mode))'
sleep 0.3 # should be very fast to open emacsclient
+# # TODO If none already, get a Firefox window opened on this workspace
+# current_desktop="$(xprop -notype -root _NET_CURRENT_DESKTOP | awk '{print $3}')"
+# if ! xdotool search --all --onlyvisible \
+# --desktop "$current_desktop" --limit 1 --class Firefox; then
+# firefox -new-window https://ftp-master.debian.org/new.html
+# fi
+
# Now we've the windows opened, arrange them. For some reason, in
# order to have the resize commands take effect, there has to be a
# pause before each resize command is issued, i.e. separate i3-msg