sway: add mark mod and restore colors

This commit is contained in:
Patrick Wadström 2024-09-22 09:47:55 +02:00
parent 22059e0e92
commit a349c8c992
No known key found for this signature in database
GPG Key ID: CC0281C09CD6713D

View File

@ -112,7 +112,7 @@ bindsym $mod+Mod1+$down move workspace to output down
# You can "split" the current object of your focus with
# $mod+b or $mod+v, for horizontal and vertical splits
# respectively.
bindsym $mod+s splith
bindsym $mod+b splith
bindsym $mod+v splitv
# Switch the current container between different layout styles
@ -127,7 +127,7 @@ bindsym $mod+Mod1+$down move workspace to output down
bindsym $mod+Shift+space floating toggle
# Swap focus between the tiling area and the floating area
#bindsym $mod+space focus mode_toggle
bindsym $mod+Mod1+space focus mode_toggle
# Move focus to the parent container
bindsym $mod+a focus parent
@ -168,6 +168,28 @@ mode "resize" {
}
bindsym $mod+r mode "resize"
mode "mark" {
# Retain moving focus
bindsym $mod+$left focus left
bindsym $mod+$down focus down
bindsym $mod+$up focus up
bindsym $mod+$right focus right
# Numbers now mark
bindsym $mod+1 mark one
bindsym $mod+2 mark two
bindsym $mod+3 mark three
# Shift numbers now swap current focus with marked window
bindsym $mod+Shift+1 swap container with mark one
bindsym $mod+Shift+2 swap container with mark two
bindsym $mod+Shift+3 swap container with mark three
# Return to default mode
bindsym Return mode "default"
bindsym Escape mode "default"
}
bindsym $mod+m mode "mark"
#
# Status Bar:
#
@ -233,10 +255,10 @@ hide_edge_borders smart
# Colors #93cee9
#
# class border backgr. text indicator child_border
client.focused #5e81ac #2e3440 #d8dee9 #5e81ac #5e81ac
client.focused_inactive #3b4252 #3b4252 #d8dee9 #4c566a #4c566a
client.unfocused #434c5e #434c5e #d8dee9 #4c566a #4c566a
client.urgent #bf616a #bf616a #d8dee9 #d08770 #d08770
# client.focused #5e81ac #2e3440 #d8dee9 #5e81ac #5e81ac
# client.focused_inactive #3b4252 #3b4252 #d8dee9 #4c566a #4c566a
# client.unfocused #434c5e #434c5e #d8dee9 #4c566a #4c566a
# client.urgent #bf616a #bf616a #d8dee9 #d08770 #d08770
# --------------------------------------------------- #