minor fixes and improvements
[distro-setup] / i3-sway / common.conf
index d648272cf513d55a0907c428e5f1a6cbf521fece..a658f3b218695581f1f89f36985f191d5eb41fdd 100644 (file)
@@ -16,15 +16,17 @@ bindsym $mod+3 exec "abrowser"
 #bindsym $mod+3 exec "abrowser 2>&1 >/tmp/l"
 #bindsym $mod+3 exec "abrowser -no-remote -P sfw"
 bindsym $mod+4 exec "abrowser -no-remote -P firefox-main-profile"
-bindsym $mod+5 exec "/usr/local/bin/start-tor-browser"
-bindsym $mod+6 exec "/a/bin/redshift.sh"
+bindsym $mod+5 exec "/a/bin/ds/laptop-xrandr"
+bindsym $mod+6 exec "/usr/local/bin/start-tor-browser"
+#bindsym $mod+6 exec "/a/bin/redshift.sh"
 # bindsym $mod+equal exec "t s w; t in"
 # bindsym $mod+Home exec "t out"
 # #bindsym $mod+End exec "t s x; t in"
 # bindsym $mod+grave exec "t s lunch; t in; t out -a '45 minutes from now'"
 
 
-bindsym $mod+equal focus parent
+bindsym $mod+1 focus parent
+bindsym $mod+equal exec "dunstctl close-all"
 # move firefox to current workspace.
 # https://i3wm.org/docs/userguide.html#keybindings
 # get class with xprop, example output
@@ -97,10 +99,10 @@ bindsym $mod+8 workspace 9
 bindsym $mod+Shift+9 move container to workspace 10
 bindsym $mod+9 workspace 10
 
+b
+indsym $mod+Shift+m border toggle
 
-# random keybind, feel free to change
-bindsym $mod+Shift+m border toggle
-
+# 65 = space.
 # toggle tiling / floating
 bindcode $mod+Shift+65 floating toggle
 
@@ -135,3 +137,14 @@ bindsym $mod+End exec /a/opt/clipster/clipster -sp
 
 # file:///usr/share/doc/i3-wm/userguide.html#_border_style_for_new_windows
 new_window none
+
+# I dont see a way to make processing windows act like normal windows,
+# this does it.
+# https://unix.stackexchange.com/questions/450700/opening-a-programme-in-a-floating-window-in-i3
+#
+# This is the info for a processing window launched from the ide.
+# I'm not sure I want it like this, so commenting it out for now.
+#for_window [class="processing-core-PApplet" instance="processing-core-PApplet"] floating disable
+
+# this is the processing window for my app named focus.
+for_window [class="focus" instance="focus"] floating disable