set $mod Mod1

# Terminal
bindsym $mod+Return exec xterm

# Restart i3 inplace (preserves layout/session)
bindsym $mod+Shift+r restart

# Close active window
bindsym $mod+Shift+q kill

# Workspace switching (workspaces 1 to 4)
bindsym $mod+1 workspace 1
bindsym $mod+2 workspace 2
bindsym $mod+3 workspace 3

# Move focused container to workspace
bindsym $mod+Shift+1 move container to workspace 1
bindsym $mod+Shift+2 move container to workspace 2
bindsym $mod+Shift+3 move container to workspace 3

focus_follows_mouse no

# Set default layout tabbed
workspace_layout tabbed

exec /entrypoint.sh

bar {
    position top
    status_command i3status
}