#-----------------------#
# Windows configuration #
# ----------------------#
    bindsym $mod+shift+g exec swaymsg gaps outer all set 0 && swaymsg gaps inner all set 5 
    bindsym $mod+g exec swaymsg gaps outer all set 0 && swaymsg gaps inner all set 0

    # No gaps when there is a single window
    #smart_gaps on

    # Activate smart borders (always)
    #smart_borders on

    default_border pixel 3
    default_floating_border pixel 3
    gaps inner 5
    gaps outer 5

#------------------------------#
# Always float certain windows #
#------------------------------#
    for_window [app_id="pop-up"]                     floating enable
    for_window [app_id="bubble"]                     floating enable 
    for_window [app_id="task_dialog"]                floating enable
    for_window [app_id="Preferences"]                floating enable
    for_window [app_id="dialog"]                     floating enable 
    for_window [app_id="menu"]                       floating enable
    for_window [app_id="Organizer"]                  floating enable
    for_window [app_id="About"]                      floating enable
    for_window [app_id="toolbox"]                    floating enable
    for_window [app_id="page-info"]                  floating enable	
    for_window [app_id="webconsole"]                 floating enable
    for_window [app_id="Authy"]                      floating enable
    for_window [app_id="termfloat"]                  floating enable
    for_window [app_id="termfloat"]                  resize set height 540
    for_window [app_id="termfloat"]                  resize set width 960
    for_window [app_id="mpv"]                        floating enable 
    for_window [app_id="mpv"]                        resize set height 540
    for_window [app_id="mpv"]                        resize set width 960

#-------------------------------------------------------#
# Sticky floating windows(sticky enable|disable|toggle) #
#-------------------------------------------------------#
    for_window [app_id="nwg-clipman"]                 floating enable
    for_window [app_id="nwg-clipman"]                 sticky enable 
    for_window [app_id="nwg-clipman"]                 resize set height 540
    for_window [app_id="nwg-clipman"]                 resize set width 960

#-----------------#
# Program Opacity #
#-----------------#
    for_window [app_id="telegram"]                    opacity 1.00

#------------------------------------------#
# Placing software in a specific workspace #
#------------------------------------------#
    assign [app_id="emacs"]: workspace number 1
    for_window [app_id="emacs"]: focus
    assign [app_id="firefox"]: workspace number 2
    for_window [app_id="firefox"] focus
    assign [app_id="telegram"]: workspace number 3
    for_window [app_id="telegram"] focus

#---------------------#
# Focus follows mouse #
#---------------------#
    focus_follows_mouse no
