summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2019-07-02 10:58:04 +0100
committerSean Whitton <spwhitton@spwhitton.name>2020-01-12 12:28:26 +0000
commitfcd4dceea34ae0bbdec75b80851c58049c2ac221 (patch)
tree2367f5b9dcf92349e653c091e9505cfb905bdde9
parent9dcfed1a0c430fdcb13c793ae13049e2adce1c90 (diff)
downloaddotfiles-fcd4dceea34ae0bbdec75b80851c58049c2ac221.tar.gz
i3-gaps config on zephyr
This requires the patched package from athenap:i3 installed, which is not in athena-apt.
-rw-r--r--.config/i3/config8
-rwxr-xr-xbin/debian-ftp-master1
2 files changed, 9 insertions, 0 deletions
diff --git a/.config/i3/config b/.config/i3/config
index 2799e699..69ec9158 100644
--- a/.config/i3/config
+++ b/.config/i3/config
@@ -355,3 +355,11 @@ bindsym $mod+n [class="^Xfce4-terminal$" title="^irssi$"] scratchpad show
# Org-mode agenda
bindsym $mod+Shift+u exec --no-startup-id ~/bin/i3-fresh-workspace, exec emacsclient -e '(spw--dedicated-org-agenda-window t)'
bindsym $mod+u [class="^Emacs$" title="^Org-mode agenda$"] focus, exec emacsclient -e '(spw--dedicated-org-agenda-window nil)'
+
+# gaps config on zephyr
+
+for_window [class="^.*"] border pixel 2
+gaps inner 20
+# smart_gaps off
+# workspace 10 gaps inner 0
+# workspace 10 gaps outer 0
diff --git a/bin/debian-ftp-master b/bin/debian-ftp-master
index 8f454fac..13e67671 100755
--- a/bin/debian-ftp-master
+++ b/bin/debian-ftp-master
@@ -35,6 +35,7 @@ if ! wmctrl -lx | grep -q "emacs.Emacs"; then
fi
i3-fresh-workspace
+i3-msg gaps inner current set 0, gaps outer current set 0
# first establish a control socket, so that the two interactive ssh
# connections don't race to do this and one of them disables multiplexing