#$mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -B 'Yes, exit sway' 'swaymsg exit'
#
# Window focus and movement:
#
$mod+$left focus left
$mod+$down focus down
$mod+$up focus up
$mod+$right focus right
$mod+Shift+$left move left
$mod+Shift+$down move down
$mod+Shift+$up move up
$mod+Shift+$right move right
#
# Workspaces:
#
$mod+1 workspace 1:α
$mod+2 workspace 2:β
$mod+3 workspace 3:γ
$mod+4 workspace 4:δ
$mod+5 workspace 5:ε
$mod+6 workspace 6:ζ
$mod+Shift+1 move container to workspace 1:α
$mod+Shift+2 move container to workspace 2:β
$mod+Shift+3 move container to workspace 3:γ
$mod+Shift+4 move container to workspace 4:δ
$mod+Shift+5 move container to workspace 5:ε
$mod+Shift+6 move container to workspace 6:ζ
#
# Layout stuff:
#
#$mod+b splith
#$mod+v splitv
# Switch the current container between different layout styles
$mod+s layout stacking
$mod+w layout tabbed
$mod+e layout toggle split
# Make the current focus fullscreen
$mod+f fullscreen
# Toggle the current focus between tiling and floating mode
$mod+Shift+space floating toggle
# Swap focus between the tiling area and the floating area
#$mod+Shift+space focus mode_toggle
# Move focus to the parent container
$mod+a focus parent
#
# Scratchpad:
#
$mod+Shift+minus move scratchpad
$mod+minus scratchpad show
#
# Modes
#
$mod+r mode "resize"
}
#
# Resizing containers:
#
mode "resize" {
# left will shrink the containers width
# right will grow the containers width
# up will shrink the containers height
# down will grow the containers height
bindsym {
$left resize shrink width 10px
$down resize grow height 10px
$up resize shrink height 10px
$right resize grow width 10px
# Return to default mode
Return mode "default"
Escape mode "default"
}
}
#
# Output configuration
#
output {
* {
bg #000000 solid_color
}
}
#
# Idle
#
exec swayidle -w \
timeout 300 $lock \
timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
before-sleep $lock
#
# Status Bar:
#
bar {
position top
strip_workspace_numbers yes
status_command while date +'%a %d/%m %T'; do sleep 1; done