X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=i3-sway%2Fcommon.conf;h=738cd0ddd7ba8ed48190c3c3a8f902c618f65378;hb=7ed3b98c4d3678d982c33741f1f42727144e66ce;hp=fc3236be81cf7af0215fb5d3c5267759389889ec;hpb=dab96f8fa4c701db13ba734fa0c07b5d12fc8fae;p=distro-setup diff --git a/i3-sway/common.conf b/i3-sway/common.conf index fc3236b..738cd0d 100644 --- a/i3-sway/common.conf +++ b/i3-sway/common.conf @@ -9,6 +9,7 @@ # todo: think whether this is useful: https://github.com/tmfink/i3-wk-switch # todo: see comment by Jakstern551 here for tip about jumping to windows +# https://old.reddit.com/r/i3wm/comments/k8m4k4/share_your_i3_tips_and_tricks_that_you_have/ # https://i3wm.org/docs/userguide.html#keybindings #To get the current mapping of your keys, use xmodmap -pke. To @@ -43,8 +44,12 @@ bindsym $mod+7 $ex "/a/bin/ds/laptop-xrandr" bindsym $mod+1 focus parent bindsym $mod+shift+1 focus child -# undo split: https://github.com/i3/i3/issues/3808 -bindsym $mod+grave floating toggle; floating toggle + +# note, i used to have a key: "floating toggle; floating toggle" to +# as undo split, as suggested here https://github.com/i3/i3/issues/3808 +# but something +# +bindsym $mod+grave floating toggle bindsym $mod+equal $ex "i3-set-layout splith" # move firefox to current workspace. # https://i3wm.org/docs/userguide.html#keybindings @@ -62,14 +67,6 @@ bindsym $mod+t $ex "i3-set-layout splitv" #bindsym $mod+Shift+t move workspace to output up bindsym $mod+Shift+t move workspace to output right -# todo: consider a command that moves a window, and erases any single -# container window left behind. - -# todo: consider a command which alters things as if the current window -# had been created into a single window split. For horizontal split, -# this would be like: focus left, split vertical, focus right, move -# left. With that, we could totally eliminate single window containers. - bindsym $mod+g $ex "i3-set-layout tabbed" @@ -114,7 +111,7 @@ bindsym $mod+Shift+x move container to workspace 6 bindsym $mod+x workspace 6 -# todo, in newer i3, make this split toggle +# todo, in newer i3, consider split toggle bindsym $mod+v split vertical bindsym $mod+Shift+v split horizontal # @@ -166,8 +163,6 @@ bindcode $mod+65 $ex obs-auto-scene-switch-toggle; floating toggle; sticky enabl # change focus between tiling / floating windows bindcode $mod+shift+65 focus mode_toggle -# Use Mouse+$mod to drag floating windows to their wanted position -floating_modifier $mod bindsym $mod+shift+h $ex /b/ds/stream-clip hc bindsym $mod+j $ex "i3-split-maybe"; exec emacsclient -c @@ -199,9 +194,11 @@ bindsym $mod+End $ex "/b/ds/toggle-mute" # title bars but no borders. i tried this out a bit #default_border normal 0 -default_border pixel 4 + +# default border is like 2 pixels +default_border pixel # for debugging -default_border normal 10 +#default_border normal 10 # I dont see a way to make processing windows act like normal windows, # this does it. @@ -214,6 +211,6 @@ default_border normal 10 # this is the processing window for my app named focus. for_window [class="focus" instance="focus"] floating disable -# client.focused #4c7899 #285577 #ffffff #2e9ef4 #ff4400 -# client.focused_inactive #333333 #5f676a #ffffff #484e50 #DBEEF4 -# client.unfocused #333333 #222222 #888888 #292d2e #B8C8CD +client.focused #4c7899 #285577 #ffffff #2e9ef4 #ff4400 +client.focused_inactive #333333 #5f676a #ffffff #484e50 #DBEEF4 +client.unfocused #333333 #222222 #888888 #292d2e #B8C8CD