1
0
Fork 0
mirror of https://git.sr.ht/~roxwize/.dotfiles synced 2025-01-31 07:03:36 +00:00
.dotfiles/configs/openbox/rc.xml
2024-12-30 00:44:28 -05:00

173 lines
5.4 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<openbox_config xmlns="http://openbox.org/3.4/rc" xmlns:xi="http://www.w3.org/2001/XInclude">
<resistance>
<strength>40</strength>
<screen_edge_strength>80</screen_edge_strength>
</resistance>
<theme>
<name>neralie</name>
<titleLayout>LIMC</titleLayout>
<font place="ActiveWindow">
<name>GohuFont</name>
<size>14</size>
</font>
<font place="InactiveWindow">
<name>GohuFont</name>
<size>14</size>
</font>
<font place="MenuHeader">
<name>GohuFont</name>
<size>14</size>
</font>
<font place="MenuItem">
<name>GohuFont</name>
<size>14</size>
</font>
<font place="OnScreenDisplay">
<name>GohuFont</name>
<size>14</size>
</font>
</theme>
<desktops>
<!-- just use 4 until the need for more arises -->
<number>4</number>
<firstdesk>1</firstdesk>
<popupTime>0</popupTime>
<names>
<name>1</name>
<name>2</name>
<name>3</name>
<name>4</name>
</names>
</desktops>
<keyboard>
<keybind key="A-d">
<action name="Execute">
<command>rofi -show combi -modes combi -combi-modes "window,drun,run"</command>
</action>
</keybind>
<keybind key="A-c">
<action name="ShowMenu">
<menu>client-menu</menu>
</action>
</keybind>
<keybind key="A-Left">
<action name="GoToDesktop">
<to>previous</to>
</action>
</keybind>
<keybind key="A-Right">
<action name="GoToDesktop">
<to>next</to>
</action>
</keybind>
<keybind key="A-1">
<action name="GoToDesktop">
<to>1</to>
</action>
</keybind>
<keybind key="A-2">
<action name="GoToDesktop">
<to>2</to>
</action>
</keybind>
<keybind key="A-3">
<action name="GoToDesktop">
<to>3</to>
</action>
</keybind>
<keybind key="A-4">
<action name="GoToDesktop">
<to>4</to>
</action>
</keybind>
</keyboard>
<mouse>
<context name="Frame">
<mousebind button="A-Left" action="Press">
<action name="Focus"/>
</mousebind>
<mousebind button="A-Left" action="Click">
<action name="Raise"/>
</mousebind>
<mousebind button="A-Left" action="Drag">
<action name="Move"/>
</mousebind>
<mousebind button="A-Right" action="Click">
<action name="ShowMenu">
<menu>root</menu>
</action>
</mousebind>
<mousebind button="A-Right" action="Drag">
<action name="Resize"/>
</mousebind>
</context>
<context name="Titlebar">
<mousebind button="Left" action="Press">
<action name="Focus"/>
</mousebind>
<mousebind button="Left" action="Click">
<action name="Raise"/>
</mousebind>
<mousebind button="Left" action="DoubleClick">
<action name="ToggleMaximizeFull"/>
</mousebind>
<mousebind button="Left" action="Drag">
<action name="Move"/>
</mousebind>
<mousebind button="Right" action="Drag">
<action name="Resize"/>
</mousebind>
<mousebind button="A-Left" action="Press">
<action name="Focus"/>
</mousebind>
<mousebind button="A-Left" action="Click">
<action name="Raise"/>
</mousebind>
<mousebind button="A-Left" action="Drag">
<action name="Move"/>
</mousebind>
<mousebind button="A-Right" action="Drag">
<action name="Resize"/>
</mousebind>
<mousebind button="C-Right" action="Click">
<action name="ShowMenu">
<menu>client-menu</menu>
</action>
</mousebind>
</context>
<context name="Iconify">
<mousebind button="Left" action="Click">
<action name="Iconify"/>
</mousebind>
</context>
<context name="Maximize">
<mousebind button="Left" action="Click">
<action name="ToggleMaximizeFull"/>
</mousebind>
<mousebind button="Middle" action="Click">
<action name="ToggleMaximizeVert"/>
</mousebind>
<mousebind button="Right" action="Click">
<action name="ToggleMaximizeHorz"/>
</mousebind>
</context>
<context name="Close">
<mousebind button="Left" action="Click">
<action name="Close"/>
</mousebind>
</context>
<context name="Root">
<mousebind button="Right" action="Click">
<action name="ShowMenu">
<menu>root</menu>
</action>
</mousebind>
</context>
</mouse>
</openbox_config>