Skip to content

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
...
  • 3 commits
  • 3 files changed
  • 0 commit comments
  • 1 contributor
Showing with 476 additions and 1 deletion.
  1. +472 −0 _config/openbox/rc.xml
  2. 0 _pentadactylrc
  3. +4 −1 install.sh
View
472 _config/openbox/rc.xml
@@ -0,0 +1,472 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<openbox_config xmlns="http://openbox.org/3.4/rc">
+
+<focus>
+ <focusNew>yes</focusNew>
+ <followMouse>no</followMouse>
+ <focusLast>yes</focusLast>
+ <underMouse>no</underMouse>
+</focus>
+
+<placement>
+ <policy>Smart</policy>
+ <center>yes</center>
+ <monitor>Any</monitor>
+</placement>
+
+<theme>
+ <name>Onyx</name>
+ <titleLayout>NLIDC</titleLayout>
+ <keepBorder>yes</keepBorder>
+ <animateIconify>yes</animateIconify>
+ <font place="ActiveWindow">
+ <name>sans</name>
+ <size>10</size>
+ <weight>bold</weight>
+ <slant>normal</slant>
+ </font>
+ <font place="InactiveWindow">
+ <name>sans</name>
+ <size>10</size>
+ <weight>bold</weight>
+ <slant>normal</slant>
+ </font>
+ <font place="MenuHeader">
+ <name>sans</name>
+ <size>10</size>
+ <weight>normal</weight>
+ <slant>normal</slant>
+ </font>
+ <font place="MenuItem">
+ <name>sans</name>
+ <size>10</size>
+ <weight>normal</weight>
+ <slant>normal</slant>
+ </font>
+ <font place="OnScreenDisplay">
+ <name>sans</name>
+ <size>10</size>
+ <weight>bold</weight>
+ <slant>normal</slant>
+ </font>
+</theme>
+
+<desktops>
+ <number>4</number>
+ <firstdesk>1</firstdesk>
+ <names>
+ <name>Main</name>
+ <name>Browser</name>
+ <name>Misc 1</name>
+ <name>Misc 2</name>
+ </names>
+ <popupTime>875</popupTime>
+</desktops>
+
+<resize>
+ <drawContents>yes</drawContents>
+ <popupShow>Nonpixel</popupShow>
+ <popupPosition>Center</popupPosition>
+</resize>
+
+<margins>
+ <top>0</top>
+ <bottom>0</bottom>
+ <left>0</left>
+ <right>0</right>
+</margins>
+
+<keyboard>
+ <chainQuitKey>C-g</chainQuitKey>
+
+ <!-- Keybindings for desktop switching -->
+ <keybind key="C-A-Left">
+ <action name="DesktopLeft"><wrap>no</wrap></action>
+ </keybind>
+ <keybind key="C-A-Right">
+ <action name="DesktopRight"><wrap>no</wrap></action>
+ </keybind>
+ <keybind key="C-A-Up">
+ <action name="DesktopUp"><wrap>no</wrap></action>
+ </keybind>
+ <keybind key="C-A-Down">
+ <action name="DesktopDown"><wrap>no</wrap></action>
+ </keybind>
+ <keybind key="S-C-Left">
+ <action name="SendToDesktopLeft"><wrap>no</wrap></action>
+ </keybind>
+ <keybind key="S-C-Right">
+ <action name="SendToDesktopRight"><wrap>no</wrap></action>
+ </keybind>
+ <keybind key="S-C-Up">
+ <action name="SendToDesktopUp"><wrap>no</wrap></action>
+ </keybind>
+ <keybind key="S-C-Down">
+ <action name="SendToDesktopDown"><wrap>no</wrap></action>
+ </keybind>
+
+ <!-- Keybindings for windows -->
+ <keybind key="A-F4">
+ <action name="Close"/>
+ </keybind>
+ <keybind key="A-Escape">
+ <action name="Lower"/>
+ <action name="FocusToBottom"/>
+ <action name="Unfocus"/>
+ </keybind>
+
+ <!-- Keybindings for window switching -->
+ <keybind key="A-Tab">
+ <action name="NextWindow"/>
+ </keybind>
+
+ <!-- Keybindings for running applications -->
+ <keybind key="W-e">
+ <action name="Execute">
+ <startupnotify>
+ <enabled>true</enabled>
+ <name>PCManFM</name>
+ </startupnotify>
+ <command>pcmanfm</command>
+ </action>
+ </keybind>
+
+ <!-- dmenu -->
+ <keybind key="A-F1">
+ <action name="Execute">
+ <command>dmenu_run</command>
+ </action>
+ </keybind>
+
+ <!-- window behavior -->
+ <keybind key="A-F11">
+ <action name="ToggleFullscreen"/>
+ </keybind>
+
+ <!-- Launch Task Manager with Ctrl+Alt+Del -->
+ <keybind key="A-C-Delete">
+ <action name="Execute">
+ <command>lxtask</command>
+ </action>
+ </keybind>
+</keyboard>
+
+<mouse>
+ <dragThreshold>8</dragThreshold>
+ <doubleClickTime>200</doubleClickTime>
+ <screenEdgeWarpTime>0</screenEdgeWarpTime>
+
+ <context name="Frame">
+ <mousebind button="A-Left" action="Press">
+ <action name="Focus"/>
+ <action name="Raise"/>
+ </mousebind>
+ <mousebind button="A-Left" action="Click">
+ <action name="Unshade"/>
+ </mousebind>
+ <mousebind button="A-Left" action="Drag">
+ <action name="Move"/>
+ </mousebind>
+
+ <mousebind button="A-Right" action="Press">
+ <action name="Focus"/>
+ <action name="Raise"/>
+ <action name="Unshade"/>
+ </mousebind>
+ <mousebind button="A-Right" action="Drag">
+ <action name="Resize"/>
+ </mousebind>
+
+ <mousebind button="A-Middle" action="Press">
+ <action name="Lower"/>
+ <action name="FocusToBottom"/>
+ <action name="Unfocus"/>
+ </mousebind>
+ </context>
+
+ <context name="Titlebar">
+ <mousebind button="Left" action="Press">
+ <action name="Focus"/>
+ <action name="Raise"/>
+ </mousebind>
+ <mousebind button="Left" action="Drag">
+ <action name="Move"/>
+ </mousebind>
+ <mousebind button="Left" action="DoubleClick">
+ <action name="ToggleMaximizeFull"/>
+ </mousebind>
+
+ <mousebind button="Middle" action="Press">
+ <action name="Lower"/>
+ <action name="FocusToBottom"/>
+ <action name="Unfocus"/>
+ </mousebind>
+
+ <mousebind button="Up" action="Click">
+ <action name="Shade"/>
+ <action name="FocusToBottom"/>
+ <action name="Unfocus"/>
+ <action name="Lower"/>
+ </mousebind>
+ <mousebind button="Down" action="Click">
+ <action name="Unshade"/>
+ <action name="Raise"/>
+ </mousebind>
+
+ <mousebind button="Right" action="Press">
+ <action name="Focus"/>
+ <action name="Raise"/>
+ <action name="ShowMenu"><menu>client-menu</menu></action>
+ </mousebind>
+ </context>
+
+ <context name="Top">
+ <mousebind button="Left" action="Press">
+ <action name="Focus"/>
+ <action name="Raise"/>
+ <action name="Unshade"/>
+ </mousebind>
+ <mousebind button="Left" action="Drag">
+ <action name="Resize"><edge>top</edge></action>
+ </mousebind>
+ </context>
+
+ <context name="Left">
+ <mousebind button="Left" action="Press">
+ <action name="Focus"/>
+ <action name="Raise"/>
+ </mousebind>
+ <mousebind button="Left" action="Drag">
+ <action name="Resize"><edge>left</edge></action>
+ </mousebind>
+ </context>
+
+ <context name="Right">
+ <mousebind button="Left" action="Press">
+ <action name="Focus"/>
+ <action name="Raise"/>
+ </mousebind>
+ <mousebind button="Left" action="Drag">
+ <action name="Resize"><edge>right</edge></action>
+ </mousebind>
+ </context>
+
+ <context name="Bottom">
+ <mousebind button="Left" action="Press">
+ <action name="Focus"/>
+ <action name="Raise"/>
+ </mousebind>
+ <mousebind button="Left" action="Drag">
+ <action name="Resize"><edge>bottom</edge></action>
+ </mousebind>
+
+ <mousebind button="Middle" action="Press">
+ <action name="Lower"/>
+ <action name="FocusToBottom"/>
+ <action name="Unfocus"/>
+ </mousebind>
+
+ <mousebind button="Right" action="Press">
+ <action name="Focus"/>
+ <action name="Raise"/>
+ <action name="ShowMenu"><menu>client-menu</menu></action>
+ </mousebind>
+ </context>
+
+ <context name="BLCorner">
+ <mousebind button="Left" action="Press">
+ <action name="Focus"/>
+ <action name="Raise"/>
+ </mousebind>
+ <mousebind button="Left" action="Drag">
+ <action name="Resize"/>
+ </mousebind>
+ </context>
+
+ <context name="BRCorner">
+ <mousebind button="Left" action="Press">
+ <action name="Focus"/>
+ <action name="Raise"/>
+ </mousebind>
+ <mousebind button="Left" action="Drag">
+ <action name="Resize"/>
+ </mousebind>
+ </context>
+
+ <context name="TLCorner">
+ <mousebind button="Left" action="Press">
+ <action name="Focus"/>
+ <action name="Raise"/>
+ <action name="Unshade"/>
+ </mousebind>
+ <mousebind button="Left" action="Drag">
+ <action name="Resize"/>
+ </mousebind>
+ </context>
+
+ <context name="TRCorner">
+ <mousebind button="Left" action="Press">
+ <action name="Focus"/>
+ <action name="Raise"/>
+ <action name="Unshade"/>
+ </mousebind>
+ <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="Icon">
+ <mousebind button="Left" action="Press">
+ <action name="Focus"/>
+ <action name="Raise"/>
+ <action name="Unshade"/>
+ <action name="ShowMenu"><menu>client-menu</menu></action>
+ </mousebind>
+ <mousebind button="Right" action="Press">
+ <action name="Focus"/>
+ <action name="Raise"/>
+ <action name="ShowMenu"><menu>client-menu</menu></action>
+ </mousebind>
+ </context>
+
+ <context name="AllDesktops">
+ <mousebind button="Left" action="Press">
+ <action name="Focus"/>
+ <action name="Raise"/>
+ <action name="Unshade"/>
+ </mousebind>
+ <mousebind button="Left" action="Click">
+ <action name="ToggleOmnipresent"/>
+ </mousebind>
+ </context>
+
+ <context name="Shade">
+ <mousebind button="Left" action="Press">
+ <action name="Focus"/>
+ <action name="Raise"/>
+ </mousebind>
+ <mousebind button="Left" action="Click">
+ <action name="ToggleShade"/>
+ </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"/>
+ <action name="Unshade"/>
+ </mousebind>
+ <mousebind button="Middle" action="Press">
+ <action name="Focus"/>
+ <action name="Raise"/>
+ <action name="Unshade"/>
+ </mousebind>
+ <mousebind button="Right" action="Press">
+ <action name="Focus"/>
+ <action name="Raise"/>
+ <action name="Unshade"/>
+ </mousebind>
+ <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="Press">
+ <action name="Focus"/>
+ <action name="Raise"/>
+ <action name="Unshade"/>
+ </mousebind>
+ <mousebind button="Left" action="Click">
+ <action name="Close"/>
+ </mousebind>
+ </context>
+
+ <context name="Desktop">
+ <mousebind button="Left" action="Press">
+ <action name="Focus"/>
+ <action name="Raise"/>
+ </mousebind>
+ <mousebind button="Right" action="Press">
+ <action name="Focus"/>
+ <action name="Raise"/>
+ </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>
+
+ <context name="MoveResize">
+ <mousebind button="Up" action="Click">
+ <action name="DesktopPrevious"/>
+ </mousebind>
+ <mousebind button="Down" action="Click">
+ <action name="DesktopNext"/>
+ </mousebind>
+ <mousebind button="A-Up" action="Click">
+ <action name="DesktopPrevious"/>
+ </mousebind>
+ <mousebind button="A-Down" action="Click">
+ <action name="DesktopNext"/>
+ </mousebind>
+ </context>
+</mouse>
+
+<menu>
+ <file>/usr/share/lxde/openbox/menu.xml</file>
+ <hideDelay>200</hideDelay>
+ <middle>no</middle>
+ <submenuShowDelay>100</submenuShowDelay>
+ <applicationIcons>yes</applicationIcons>
+ <manageDesktops>yes</manageDesktops>
+ <!-- show the manage desktops section in the client-list-(combined-)menu -->
+</menu>
+
+<applications>
+ <application role="browser">
+ <desktop>2</desktop>
+ <maximized>yes</maximized>
+ </application>
+ <application name="Pidgin">
+ <desktop>1</desktop>
+ </application>
+</applications>
+
+</openbox_config>
View
0 _pentadactylrc 100755 → 100644
File mode changed.
View
5 install.sh
@@ -1,9 +1,12 @@
#!/bin/bash
-for file in _*
+find -regex "./_.*" -type f -print0 | while read -d $'\0' file
do
dotfile=${file/_/.}
echo Installing $dotfile
+ if [ ! -e $(dirname ~/$dotfile) ]; then
+ mkdir -p $(dirname ~/$dotfile)
+ fi
ln -fs $(pwd)/$file ~/$dotfile
done

No commit comments for this range

Something went wrong with that request. Please try again.