diff options
author | Krzysztof Pawlik <nelchael@gentoo.org> | 2006-02-11 12:54:53 +0000 |
---|---|---|
committer | Krzysztof Pawlik <nelchael@gentoo.org> | 2006-02-11 12:54:53 +0000 |
commit | f1412644bf7986ae0a647158a6ce09a5b30d3f6d (patch) | |
tree | 82dcd56f528244881c546f089e3bca80bdfca13b /x11-misc/devilspie/files | |
parent | Stable on hppa. (diff) | |
download | gentoo-2-f1412644bf7986ae0a647158a6ce09a5b30d3f6d.tar.gz gentoo-2-f1412644bf7986ae0a647158a6ce09a5b30d3f6d.tar.bz2 gentoo-2-f1412644bf7986ae0a647158a6ce09a5b30d3f6d.zip |
Version bump, see bug #111983.
(Portage version: 2.1_pre4-r1)
Diffstat (limited to 'x11-misc/devilspie/files')
-rw-r--r-- | x11-misc/devilspie/files/SYNTAX-0.16 | 98 | ||||
-rw-r--r-- | x11-misc/devilspie/files/devilspie-0.16-README.patch | 13 | ||||
-rw-r--r-- | x11-misc/devilspie/files/digest-devilspie-0.16 | 3 |
3 files changed, 114 insertions, 0 deletions
diff --git a/x11-misc/devilspie/files/SYNTAX-0.16 b/x11-misc/devilspie/files/SYNTAX-0.16 new file mode 100644 index 000000000000..f7ec7f7d2710 --- /dev/null +++ b/x11-misc/devilspie/files/SYNTAX-0.16 @@ -0,0 +1,98 @@ +Built-ins +========= + +Types: + - "string": A string. + - 1, 2, 3: Integers + - #t, #f: Booleans. + +Boolean operations: + - (and bool*) -> bool: perform a boolean AND of boolean values + - (or bool*) -> bool: perform a boolean OR of boolean values + +Addition, substraction: + - (+ int*) -> int: add integers + - (+ string*) -> string: concat strings + - (- int int*) -> int: subtract integers from the first + +Types casting: + - (cast-int string|int|bool) -> int: cast to an integer value + - (cast-string string|int|bool) -> string: cast to an string value + +Comparison operators: + - (<|>|= int int) -> bool: compare two integers + - (<|>|= string string) -> bool: compare two strings + +Function flow: + - (if bool func) -> type: execute a function if the condition holds + - (if bool func func) -> type: choose what function to execute depending on the + condition + - (begin func func*) -> type: execute a sequence of functions, and return the + result of the last one + + +Logical operations +================== + +This are predicates you can use to test strings, for instance in "if" +conditions. + + - (is string string) -> bool: return #t if the two strings are the same + Example: (if (is (application_name) "XMMS") ...) + - (contains string string) -> bool: return #t if the second string is a + substring of the first one. + Example: (if (contains (application_name) "term") ...) + - (matches string string) -> bool: return #t if the second string is a regular + expression matching the first one. + Example: (if (matches (window_name) "^Character.+") ...) + + +Matchers +======== + +Matchers are functions which return informations about windows. You can for +instance use them in "if" condition to match some particular windows. + + - (window_name) -> string: return the title of the current window + - (application_name) -> string: return the application name of the current + window, as determined by libwnck + - (window_role) -> string: return the role of the current window, as determined + by the WM_WINDOW_ROLE hint + - (window_class) -> string: return the class of the current window + + +Actions +======= + +Actions are the functions you can use to change some window properties. +All actions return booleans (TRUE on success, FALSE on failure). + + - (debug): debugging function - print informations about current window + - (print args*): print all arguments + - (geometry string): set size and/or position of a window. Examples: + (if ... (geometry "600x600")) + (if ... (geometry "+200+200")) + (if ... (geometry "600x600+200+200")) + - (fullscreen): make the current window fullscreen + - (focus): focus the current window + - (center): center position of current window + - (maximize): maximize the current window + - (maximize_vertically): maximize the current window vertically + - (maximize_horizontally): maximize the current window horizontally + - (minimize): minimize the current window + - (shade): shade ("roll up") the current window + - (unshade): unshade ("roll down") the current window + - (close): close the current window + - (pin): pin the current window to all workspaces + - (unpin): unpin the current window from all workspaces + - (set_workspace int): move the window to a specific workspace number, + counting from 1 + - (skip_pager): remove the current window from the pager + - (skip_tasklist): remove the current window from the window list + - (above): set the current window to be above all normal windows + - (below): set the current window to be below all normal windows + - (undecorate): remove the window manager decorations from the current window + - (wintype string): set the window type of the current window. Accepted values + are: "normal", "dialog", "menu", "toolbar", "splashscreen", "utility", + "dock" and "desktop". + diff --git a/x11-misc/devilspie/files/devilspie-0.16-README.patch b/x11-misc/devilspie/files/devilspie-0.16-README.patch new file mode 100644 index 000000000000..b20d4fb9f7d1 --- /dev/null +++ b/x11-misc/devilspie/files/devilspie-0.16-README.patch @@ -0,0 +1,13 @@ +--- README.orig 2005-11-11 14:37:49.880121000 +0100 ++++ README 2005-11-11 14:40:09.350121000 +0100 +@@ -76,8 +76,8 @@ + s-expression puts the window on workspace 2, maximised, if the window name + begins with "Character" and has more characters in (note .+ rather than .*). + +-I will write more documentation in the future but for now you'll have to look at +-the "symbols" array in src/parser.c to see what functions are available. ++For a complete syntax reference of s-expressions, see the SYNTAX file in the ++documentation directory. + + + Running diff --git a/x11-misc/devilspie/files/digest-devilspie-0.16 b/x11-misc/devilspie/files/digest-devilspie-0.16 new file mode 100644 index 000000000000..83cafb017fea --- /dev/null +++ b/x11-misc/devilspie/files/digest-devilspie-0.16 @@ -0,0 +1,3 @@ +MD5 293ca1363043c168d00a4d1291c97c74 devilspie-0.16.tar.gz 146898 +RMD160 ed061d7ced7f9fa9f0c547f5bfbbea10041c6d23 devilspie-0.16.tar.gz 146898 +SHA256 3199e56cb6d496e5cf9ff28a1d7313b5565290e2b106b5f5c70aa2fc97710083 devilspie-0.16.tar.gz 146898 |