Skip to content

Instantly share code, notes, and snippets.

@atomize
Created October 22, 2017 21:16
Show Gist options
  • Save atomize/756c58ab57b7577f4b7bb71eba5c8d12 to your computer and use it in GitHub Desktop.
Save atomize/756c58ab57b7577f4b7bb71eba5c8d12 to your computer and use it in GitHub Desktop.
Rules for enabling floating on specific applications in i3wm
#### RULES FOR SPECIFIC APPLICATIONS ####
# from: http://www.linuxlusers.com/2012/12/24/i3-window-manager-tip-making-specific-applications-and-child-windows-open-in-floating-mode-or-with-other-custom-settings/
# by APPLICATION (WM_CLASS)
# Note: class is typically useful for applying custom settings to
# to entire applications, including child windows. If this
# isn't want you want see the ROLE section, below.
# Tip: To find out what these values might be run:
# xprop | grep -i 'class'
for_window [class="File-roller"] floating enable, border normal
for_window [class="Speedcrunch"] floating enable, border normal
for_window [class="Gloobus-preview"] floating enable, border none
for_window [class="Pavucontrol"] floating enable, border normal
# by ROLE (WM_WINDOW_ROLE)
# Note: window_role is Typically useful for effecting child windows
# such as instant messaging converstations, email composition
# windows, etc.
# Tip: To find out what these values might be run:
# xprop | grep -i 'role'#
for_window [window_role="conversation"] floating enable, border normal
for_window [window_role="Msgcompose"] floating enable, border normal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment