X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=i3-sway%2Fcommon.conf;h=d7b7745178e7b6aec1489348c2a45ddac0841add;hb=3f6c5b1f2c72614ee8cb4d0e4325e7beddda9c04;hp=a47e6cfb7665ac90376bf7c4c47faf93ed72e3ca;hpb=d6def754cd241538c61456536b52ee51cbd85b42;p=distro-setup diff --git a/i3-sway/common.conf b/i3-sway/common.conf index a47e6cf..d7b7745 100644 --- a/i3-sway/common.conf +++ b/i3-sway/common.conf @@ -7,13 +7,18 @@ set $mod Mod4 bindsym $mod+2 exec "pavucontrol" -# ian: dunno why but i needed this version at some point, then -# it mysteriously stopped working, but works on the cli. 2022-12 -#bindsym $mod+3 exec "abroswer" -bindsym $mod+3 exec "abrowser -no-remote -P sfw" +# calling without -no-remote makes this to be the instance that links +# will open in from other applications. +bindsym $mod+3 exec "abrowser" +# calling just abrowser mysteriously stopped working, +# so I figured out this is how to get output, but then +# it suddenly started working again. +#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" @@ -32,8 +37,8 @@ bindsym $mod+e fullscreen toggle bindsym $mod+r exec "/a/bin/ds/xl" # todo, in newer i3, make this toggle split tabbed bindsym $mod+t layout toggle split -bindsym $mod+Shift+t move workspace to output up -#bindsym $mod+Shift+t move workspace to output right +#bindsym $mod+Shift+t move workspace to output up +bindsym $mod+Shift+t move workspace to output right bindsym $mod+g layout tabbed # Use Mouse+$mod to drag floating windows to their wanted position @@ -97,6 +102,7 @@ bindsym $mod+9 workspace 10 # random keybind, feel free to change bindsym $mod+Shift+m border toggle +# 65 = space. # toggle tiling / floating bindcode $mod+Shift+65 floating toggle @@ -131,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