summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorQue Quotion2018-06-06 02:52:25 +0900
committerQue Quotion2018-06-06 02:52:25 +0900
commite2ae3725656931d3035ed2e5fc03dc6ac0f9df09 (patch)
treea2d970a7e89165cf68fc606ea720e25719e4aa91
parenta57de89056ab63361dd0e6c9d93912ad5e005451 (diff)
downloadaur-e2ae3725656931d3035ed2e5fc03dc6ac0f9df09.tar.gz
Add openbox config files
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD7
-rw-r--r--menu.xml19
-rw-r--r--rc.xml (renamed from openbox-qq-rc.xml)29
4 files changed, 48 insertions, 17 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 00cef4af685e..f932b8d50567 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = pantheon-lite
pkgdesc = Pantheon Lite Session (replaces Gala with Openbox & Compton)
pkgver = 3
- pkgrel = 8
+ pkgrel = 10
url = https://bbs.archlinux.org/viewtopic.php?pid=1402016#p1402016
arch = i686
arch = x86_64
@@ -23,14 +23,16 @@ pkgbase = pantheon-lite
source = compton-inverter
source = obsession
source = obsession.desktop
- source = openbox-qq-rc.xml
+ source = rc.xml
+ source = menu.xml
sha512sums = 6cb25616a1fd238040f81eb8ed2c26f35fa9d9648c2b551df7e3bc2d56726d41d8bf08445b36cbb5b5f5412a4d2c06e09132d6cddcdba0d877d53a9fe97febab
- sha512sums = 05bcc93aa3018c1031563f2754ebfb1c0f6b62d3694d024fe1e17d8c4fdaa196d3228e9befe72043869a0fbbb5e78d8ee5affee0ff3f26f78c4a8bc3d8670177
+ sha512sums = b1b7d5e18795a727e4dc7430a1c7b3d417617cdd6dc0dc244ae27d8b358c5c8e1ab077a20b94743cfe0b6e1cec2f98f9fe69fcaee6776519cbc57dc1b80edfec
sha512sums = 0917b70b9811e8f4a61a5f962f9103c378385d58f2b5b62c770ed0d3f75874aa0678be468270c370248f5e24279208c38fabbff704da1ed9b67c07d8cb0becc2
sha512sums = 8696b95b4f6b37c9edddcdbef95300d0651d56b12cf1238204874aa625a37c84a30b324b08bdfbe67735785eea2c448e09ad3e2028c0f6058b02b7d4cf665e7c
sha512sums = 2efa62a0e56a966648b4394d36d10b616ec6e70d06af76f94ea0a2c106257988dcbbad03a7a1a00015d216ef15c084e2ee4b9c0c3d81b4deceeee8e9a29e7dac
sha512sums = c70588c4d844c8916a97c61fae40dab2a38527fa0d31c7261700766f2e784d642edccb1a64544b9dfdc0655dd5a6b872e9bf323029091656ae45b0924d15ea0e
- sha512sums = 581ebce75d6b7915d586ae0b34fd4ed4620c3f3dd0ab5d3e8516f03d286a09d0b66141193a8178845c853dbb86d986de906555598133210ba946e4dd54eba60e
+ sha512sums = d9f87bc4d988186f6428c3f1632f4c7722bae703090c4ede1bca0c2620abb75622594132edad0fee06225019d11a76e4075ea3bb3e022795efa66cd9e69b887b
+ sha512sums = 500a6aea4fa1015cfffc37b8b2ec71c89e5be170197532848132e981dba6be8126f1e661e5be3ed9a19858a7af737c3ea989c0be605b0fbf3fe1d415b2e7042b
pkgname = pantheon-lite
diff --git a/PKGBUILD b/PKGBUILD
index 5454021f401a..dd86e6e86a45 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=pantheon-lite
pkgver=3
-pkgrel=9
+pkgrel=10
pkgdesc='Pantheon Lite Session (replaces Gala with Openbox & Compton)'
arch=('i686' 'x86_64')
url='https://bbs.archlinux.org/viewtopic.php?pid=1402016#p1402016'
@@ -20,14 +20,15 @@ conflicts=()
source=(pantheon-openbox.{desktop,session}
compton-{dbus.desktop,inverter}
obsession{,.desktop}
- openbox-qq-rc.xml)
+ {rc,menu}.xml)
sha512sums=('6cb25616a1fd238040f81eb8ed2c26f35fa9d9648c2b551df7e3bc2d56726d41d8bf08445b36cbb5b5f5412a4d2c06e09132d6cddcdba0d877d53a9fe97febab'
'b1b7d5e18795a727e4dc7430a1c7b3d417617cdd6dc0dc244ae27d8b358c5c8e1ab077a20b94743cfe0b6e1cec2f98f9fe69fcaee6776519cbc57dc1b80edfec'
'0917b70b9811e8f4a61a5f962f9103c378385d58f2b5b62c770ed0d3f75874aa0678be468270c370248f5e24279208c38fabbff704da1ed9b67c07d8cb0becc2'
'8696b95b4f6b37c9edddcdbef95300d0651d56b12cf1238204874aa625a37c84a30b324b08bdfbe67735785eea2c448e09ad3e2028c0f6058b02b7d4cf665e7c'
'2efa62a0e56a966648b4394d36d10b616ec6e70d06af76f94ea0a2c106257988dcbbad03a7a1a00015d216ef15c084e2ee4b9c0c3d81b4deceeee8e9a29e7dac'
'c70588c4d844c8916a97c61fae40dab2a38527fa0d31c7261700766f2e784d642edccb1a64544b9dfdc0655dd5a6b872e9bf323029091656ae45b0924d15ea0e'
- '581ebce75d6b7915d586ae0b34fd4ed4620c3f3dd0ab5d3e8516f03d286a09d0b66141193a8178845c853dbb86d986de906555598133210ba946e4dd54eba60e')
+ 'd9f87bc4d988186f6428c3f1632f4c7722bae703090c4ede1bca0c2620abb75622594132edad0fee06225019d11a76e4075ea3bb3e022795efa66cd9e69b887b'
+ '500a6aea4fa1015cfffc37b8b2ec71c89e5be170197532848132e981dba6be8126f1e661e5be3ed9a19858a7af737c3ea989c0be605b0fbf3fe1d415b2e7042b')
package() {
install -Dm644 {,"${pkgdir}"/usr/share/xsessions/}pantheon-openbox.desktop
diff --git a/menu.xml b/menu.xml
new file mode 100644
index 000000000000..277a5974753c
--- /dev/null
+++ b/menu.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<openbox_menu xmlns="http://openbox.org/3.4/menu">
+
+<menu id="root-menu" label="Openbox 3">
+ <menu id="applications" label="Applications" execute="xdg_menu --format openbox3-pipe --root-menu /etc/xdg/menus/arch-applications.menu" />
+ <separator />
+ <item label="Reconfigure Openbox">
+ <action name="Reconfigure" />
+ </item>
+ <separator />
+ <item label="Log Out">
+ <action name="Exit">
+ <prompt>yes</prompt>
+ </action>
+ </item>
+</menu>
+
+</openbox_menu>
diff --git a/openbox-qq-rc.xml b/rc.xml
index d4e0619f6025..7c1509b11f8c 100644
--- a/openbox-qq-rc.xml
+++ b/rc.xml
@@ -24,7 +24,7 @@
</focus>
<placement>
<policy>Smart</policy>
- <!-- 'Smart' or 'UnderMouse' -->
+ <!-- 'Smart' or 'UnderMouse' -->
<center>yes</center>
<!-- whether to place windows in the center of the free area found or
the top left corner -->
@@ -40,8 +40,8 @@
'Active' - where the active window is -->
</placement>
<theme>
- <name>elementary-os-openbox</name>
- <titleLayout>CLM</titleLayout>
+ <name>Adwaita-Dark-openbox</name>
+ <titleLayout>LC</titleLayout>
<!--
available characters are NDSLIMC, each can occur at most once.
N: window icon
@@ -126,7 +126,7 @@
<name>Back</name>
<name>Left</name>
</names>
- <popupTime>600</popupTime>
+ <popupTime>250</popupTime>
<!-- The number of milliseconds to show the popup for when switching
desktops. Set this to 0 to disable the popup. -->
</desktops>
@@ -294,18 +294,18 @@
</startupnotify>
</action>
</keybind>
- <keybind key="A-W-n">
+ <keybind key="W-n">
<action name="Execute">
- <command>compton-inverter.sh focused</command>
+ <command>compton-inverter focused</command>
</action>
</keybind>
</keyboard>
<mouse>
<dragThreshold>1</dragThreshold>
<!-- number of pixels the mouse must move before a drag begins -->
- <doubleClickTime>500</doubleClickTime>
+ <doubleClickTime>100</doubleClickTime>
<!-- in milliseconds (1000 = 1 second) -->
- <screenEdgeWarpTime>400</screenEdgeWarpTime>
+ <screenEdgeWarpTime>250</screenEdgeWarpTime>
<!-- Time before changing desktops when the pointer touches the edge of the
screen while moving a window, in milliseconds (1000 = 1 second).
Set this to 0 to disable warping -->
@@ -629,7 +629,7 @@
entry.
if this is a negative value, then the delay is infinite and the
submenu will not be shown until it is clicked on -->
- <submenuHideDelay>400</submenuHideDelay>
+ <submenuHideDelay>250</submenuHideDelay>
<!-- time to delay before hiding a submenu when selecting another
entry in parent menu
if this is a negative value, then the delay is infinite and the
@@ -643,15 +643,21 @@
<application name="super-wingpanel">
<desktop>all</desktop>
</application>
+ <application name="wingpanel">
+ <desktop>all</desktop>
+ </application>
<application class="Gnome-control-center">
<decor>no</decor>
</application>
- <application class="Pantheon-*">
+ <application class="Terminal">
<decor>no</decor>
</application>
<application class="Audience">
<decor>no</decor>
</application>
+ <application class="Totem">
+ <decor>no</decor>
+ </application>
<application class="Gedit">
<decor>no</decor>
</application>
@@ -676,6 +682,9 @@
<application class="Files">
<decor>no</decor>
</application>
+ <application class="Epiphany">
+ <decor>no</decor>
+ </application>
<!--
# this is an example with comments through out. use these to make your
# own rules, but without the comments of course.