Compare commits

...

2 Commits

Author SHA1 Message Date
Patrick Wadström
8c36e586dc
Add focus child using disabled stacking shortcut, try with borders 2024-09-22 20:12:06 +02:00
Patrick Wadström
a349c8c992
sway: add mark mod and restore colors 2024-09-22 09:47:55 +02:00

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 # You can "split" the current object of your focus with
# $mod+b or $mod+v, for horizontal and vertical splits # $mod+b or $mod+v, for horizontal and vertical splits
# respectively. # respectively.
bindsym $mod+s splith bindsym $mod+b splith
bindsym $mod+v splitv bindsym $mod+v splitv
# Switch the current container between different layout styles # Switch the current container between different layout styles
@ -127,10 +127,11 @@ bindsym $mod+Mod1+$down move workspace to output down
bindsym $mod+Shift+space floating toggle bindsym $mod+Shift+space floating toggle
# Swap focus between the tiling area and the floating area # 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 # Move focus to the parent container
bindsym $mod+a focus parent bindsym $mod+a focus parent
bindsym $mod+s focus child
# #
# Scratchpad: # Scratchpad:
# #
@ -168,6 +169,28 @@ mode "resize" {
} }
bindsym $mod+r 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: # Status Bar:
# #
@ -226,17 +249,17 @@ smart_gaps on
# Titlebars # Titlebars
# #
font pango:monospace 12px font pango:monospace 12px
default_border pixel 2 #default_border pixel 2
titlebar_border_thickness 2 titlebar_border_thickness 2
hide_edge_borders smart hide_edge_borders smart
# #
# Colors #93cee9 # Colors #93cee9
# #
# class border backgr. text indicator child_border # class border backgr. text indicator child_border
client.focused #5e81ac #2e3440 #d8dee9 #5e81ac #5e81ac # client.focused #5e81ac #2e3440 #d8dee9 #5e81ac #5e81ac
client.focused_inactive #3b4252 #3b4252 #d8dee9 #4c566a #4c566a # client.focused_inactive #3b4252 #3b4252 #d8dee9 #4c566a #4c566a
client.unfocused #434c5e #434c5e #d8dee9 #4c566a #4c566a # client.unfocused #434c5e #434c5e #d8dee9 #4c566a #4c566a
client.urgent #bf616a #bf616a #d8dee9 #d08770 #d08770 # client.urgent #bf616a #bf616a #d8dee9 #d08770 #d08770
# --------------------------------------------------- # # --------------------------------------------------- #
@ -290,6 +313,5 @@ exec_always {
# #
# App Specific Styling # App Specific Styling
for_window [app_id="termite"] border pixel #for_window [app_id="termite"] border pixel
for_window [app_id=pavucontrol] floating enable for_window [app_id=pavucontrol] floating enable
for_window [app_id=".*"] border pixel 4