dotfiles/.config/openbox/rc.xml

504 lines
12 KiB
XML
Raw Normal View History

2024-05-18 03:22:54 -04:00
<?xml version="1.0" encoding="UTF-8"?>
<openbox_config xmlns="http://openbox.org/3.4/rc" xmlns:xi="http://www.w3.org/2001/XInclude">
<focus>
<focusNew>yes</focusNew>
<followMouse>no</followMouse>
<focusLast>yes</focusLast>
<focusDelay>0</focusDelay>
<raiseOnFocus>no</raiseOnFocus>
<underMouse>no</underMouse>
</focus>
<placement>
<policy>Smart</policy>
<center>yes</center>
<monitor>Active</monitor>
<primaryMonitor>1</primaryMonitor>
</placement>
<theme>
<name>frostalicious</name>
<titleLayout>CDIML</titleLayout>
<keepBorder>yes</keepBorder>
<animateIconify>no</animateIconify>
<font place="ActiveWindow">
<name>Sans</name>
<size>8</size>
<weight>bold</weight>
<slant>normal</slant>
</font>
<font place="InactiveWindow">
<name>Sans</name>
<size>8</size>
<weight>bold</weight>
<slant>normal</slant>
</font>
<font place="MenuHeader">
<name>Sans</name>
<size>8</size>
<weight>bold</weight>
<slant>normal</slant>
</font>
<font place="MenuItem">
<name>Sans</name>
<size>8</size>
<weight>normal</weight>
<slant>normal</slant>
</font>
<font place="ActiveOnScreenDisplay">
<name>sans</name>
<size>9</size>
<weight>bold</weight>
<slant>normal</slant>
</font>
<font place="InactiveOnScreenDisplay">
<name>Sans</name>
<size>9</size>
<weight>normal</weight>
<slant>normal</slant>
</font>
</theme>
<desktops>
<number>4</number>
<firstdesk>1</firstdesk>
<popupTime>475</popupTime>
<names>
<name>1</name>
<name>2</name>
<name>3</name>
<name>4</name>
</names>
</desktops>
<resize>
<drawContents>yes</drawContents>
<popupShow>Never</popupShow>
</resize>
<keyboard>
<chainQuitKey>Escape</chainQuitKey>
<keybind key="W-1">
<action name="GoToDesktop">
<to>1</to>
</action>
</keybind>
<keybind key="W-2">
<action name="GoToDesktop">
<to>2</to>
</action>
</keybind>
<keybind key="W-3">
<action name="GoToDesktop">
<to>3</to>
</action>
</keybind>
<keybind key="W-4">
<action name="GoToDesktop">
<to>4</to>
</action>
</keybind>
<keybind key="W-y">
<action name="GoToDesktop">
<to>left</to>
</action>
</keybind>
<keybind key="W-u">
<action name="GoToDesktop">
<to>right</to>
</action>
</keybind>
<keybind key="W-d">
<action name="ToggleShowDesktop"/>
</keybind>
<keybind key="W-S-1">
<action name="SendToDesktop">
<to>1</to>
<follow>false</follow>
</action>
</keybind>
<keybind key="W-S-2">
<action name="SendToDesktop">
<to>2</to>
<follow>false</follow>
</action>
</keybind>
<keybind key="W-S-3">
<action name="SendToDesktop">
<to>3</to>
<follow>false</follow>
</action>
</keybind>
<keybind key="W-S-4">
<action name="SendToDesktop">
<to>4</to>
<follow>false</follow>
</action>
</keybind>
<keybind key="W-C-h">
<action name="Unmaximize"/>
<action name="MoveResizeTo">
<x>0</x>
<y>0</y>
<width>50%</width>
<height>50%</height>
</action>
</keybind>
<keybind key="W-C-j">
<action name="Unmaximize"/>
<action name="MoveResizeTo">
<x>0</x>
<y>-0</y>
<width>50%</width>
<height>50%</height>
</action>
</keybind>
<keybind key="W-C-k">
<action name="Unmaximize"/>
<action name="MoveResizeTo">
<x>-0</x>
<y>-0</y>
<width>50%</width>
<height>50%</height>
</action>
</keybind>
<keybind key="W-C-l">
<action name="Unmaximize"/>
<action name="MoveResizeTo">
<x>-0</x>
<y>0</y>
<width>50%</width>
<height>50%</height>
</action>
</keybind>
<keybind key="W-S-h">
<action name="Unmaximize"/>
<action name="MoveResizeTo">
<x>0</x>
<y>0</y>
<width>50%</width>
<height>100%</height>
</action>
</keybind>
<keybind key="W-S-l">
<action name="Unmaximize"/>
<action name="MoveResizeTo">
<x>-0</x>
<y>0</y>
<width>50%</width>
<height>100%</height>
</action>
</keybind>
<keybind key="W-S-k">
<action name="Unmaximize"/>
<action name="MoveResizeTo">
<x>0</x>
<y>0</y>
<width>100%</width>
<height>50%</height>
</action>
</keybind>
<keybind key="W-S-j">
<action name="Unmaximize"/>
<action name="MoveResizeTo">
<x>-0</x>
<y>-0</y>
<width>100%</width>
<height>50%</height>
</action>
</keybind>
<keybind key="W-S-comma">
<action name="Unmaximize"/>
<action name="MoveResizeTo">
<monitor>prev</monitor>
</action>
</keybind>
<keybind key="W-S-period">
<action name="Unmaximize"/>
<action name="MoveResizeTo">
<monitor>next</monitor>
</action>
</keybind>
<keybind key="W-S-c">
<action name="Close"/>
</keybind>
<keybind key="W-S-s">
<action name="ToggleOmnipresent"/>
</keybind>
<keybind key="W-S-space">
<action name="ToggleMaximize"/>
</keybind>
<keybind key="W-S-f">
<action name="ToggleFullscreen"/>
</keybind>
<keybind key="W-S-t">
<action name="ToggleAlwaysOnTop"/>
</keybind>
<keybind key="W-S-w">
<action name="Iconify"/>
</keybind>
<keybind key="A-Tab">
<action name="NextWindow">
<finalactions>
<action name="Focus"/>
<action name="Raise"/>
</finalactions>
</action>
</keybind>
<keybind key="A-S-Tab">
<action name="PreviousWindow">
<finalactions>
<action name="Focus"/>
<action name="Raise"/>
</finalactions>
</action>
</keybind>
<keybind key="W-j">
<action name="NextWindow">
<dialog>none</dialog>
<bar>no</bar>
<raise>yes</raise>
<linear>yes</linear>
<interactive>no</interactive>
<finalactions>
<action name="Focus"/>
<action name="Raise"/>
</finalactions>
</action>
</keybind>
<keybind key="W-k">
<action name="PreviousWindow">
<dialog>none</dialog>
<bar>no</bar>
<raise>yes</raise>
<linear>yes</linear>
<interactive>no</interactive>
<finalactions>
<action name="Focus"/>
<action name="Raise"/>
</finalactions>
</action>
</keybind>
<keybind key="W-x">
<action name="ShowMenu">
<menu>root-menu</menu>
</action>
</keybind>
<keybind key="W-Delete">
<action name="Reconfigure"/>
</keybind>
<keybind key="W-S-Delete">
<action name="Exit">
<prompt>yes</prompt>
</action>
</keybind>
</keyboard>
<mouse>
<dragThreshold>1</dragThreshold>
<doubleClickTime>400</doubleClickTime>
<screenEdgeWarpTime>300</screenEdgeWarpTime>
<screenEdgeWarpMouse>false</screenEdgeWarpMouse>
<context name="Frame">
<mousebind button="W-Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind button="W-Left" action="Drag">
<action name="Unmaximize"/>
<action name="Move"/>
</mousebind>
<mousebind button="W-S-Left" action="Drag">
<action name="Move"/>
</mousebind>
<mousebind button="W-Right" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind button="W-Right" action="Drag">
<action name="Resize">
<edge>bottomright</edge>
</action>
</mousebind>
<mousebind button="W-Middle" action="Press">
<action name="Focus"/>
<action name="Raise"/>
<action name="ToggleMaximize"/>
</mousebind>
<mousebind button="W-S-Up" action="Click">
<action name="SendToDesktop">
<to>previous</to>
</action>
</mousebind>
<mousebind button="W-S-Down" action="Click">
<action name="SendToDesktop">
<to>next</to>
</action>
</mousebind>
</context>
<context name="Titlebar">
<mousebind button="Left" action="Drag">
<action name="Move"/>
<action name="Unmaximize"/>
</mousebind>
<mousebind button="Left" action="DoubleClick">
<action name="ToggleMaximize"/>
</mousebind>
<mousebind button="Middle" action="Press">
<action name="Focus"/>
<action name="Raise"/>
<action name="ToggleMaximize"/>
</mousebind>
</context>
<context name="Titlebar Top Right Bottom Left TLCorner TRCorner BRCorner BLCorner">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind button="Right" action="Press">
<action name="Focus"/>
<action name="Raise"/>
<action name="ShowMenu">
<menu>client-send-to-menu</menu>
</action>
</mousebind>
</context>
<context name="Top">
<mousebind button="Left" action="Drag">
<action name="Resize">
<edge>top</edge>
</action>
</mousebind>
</context>
<context name="Left">
<mousebind button="Left" action="Drag">
<action name="Resize">
<edge>left</edge>
</action>
</mousebind>
</context>
<context name="Right">
<mousebind button="Left" action="Drag">
<action name="Resize">
<edge>right</edge>
</action>
</mousebind>
</context>
<context name="Bottom">
<mousebind button="Left" action="Drag">
<action name="Resize">
<edge>bottom</edge>
</action>
</mousebind>
</context>
<context name="TRCorner BRCorner TLCorner BLCorner">
<mousebind button="Left" action="Drag">
<action name="Resize"/>
</mousebind>
</context>
<context name="Client">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind button="Middle" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind button="Right" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
</context>
<context name="Close">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind button="Left" action="Click">
<action name="Close"/>
</mousebind>
</context>
<context name="AllDesktops">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind button="Left" action="Click">
<action name="ToggleOmnipresent"/>
</mousebind>
</context>
<context name="Iconify">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind button="Left" action="Click">
<action name="Iconify"/>
</mousebind>
</context>
<context name="Maximize">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind button="Left" action="Click">
<action name="ToggleMaximize"/>
</mousebind>
</context>
<context name="Root">
<mousebind button="Middle" action="Press">
<action name="ShowMenu">
<menu>client-list-combined-menu</menu>
</action>
</mousebind>
<mousebind button="Right" action="Press">
<action name="ShowMenu">
<menu>root-menu</menu>
</action>
</mousebind>
</context>
</mouse>
<menu>
<file>menu.xml</file>
<hideDelay>200</hideDelay>
<middle>no</middle>
<submenuShowDelay>100</submenuShowDelay>
<submenuHideDelay>400</submenuHideDelay>
<showIcons>yes</showIcons>
<manageDesktops>no</manageDesktops>
</menu>
<applications>
<application type="normal">
<position>
<x>center</x>
<y>center</y>
</position>
</application>
</applications>
</openbox_config>