Commit 0c455d943910c631cd4c8a6be4042b1a1f40e3de

Authored by Ian Foster
Exists in master

Merge branch 'master' of github.com:lanrat/dotfiles

Showing 2 changed files Inline Diff

openbox/openbox/rc.xml View file @ 0c455d9
<?xml version="1.0" encoding="UTF-8"?> 1 1 <?xml version="1.0" encoding="UTF-8"?>
<openbox_config xmlns="http://openbox.org/3.4/rc" xmlns:xi="http://www.w3.org/2001/XInclude"> 2 2 <openbox_config xmlns="http://openbox.org/3.4/rc" xmlns:xi="http://www.w3.org/2001/XInclude">
<resistance> 3 3 <resistance>
<strength>10</strength> 4 4 <strength>10</strength>
<screen_edge_strength>20</screen_edge_strength> 5 5 <screen_edge_strength>20</screen_edge_strength>
</resistance> 6 6 </resistance>
<focus> 7 7 <focus>
<focusNew>yes</focusNew> 8 8 <focusNew>yes</focusNew>
<!-- always try to focus new windows when they appear. other rules do 9 9 <!-- always try to focus new windows when they appear. other rules do
apply --> 10 10 apply -->
<followMouse>yes</followMouse> 11 11 <followMouse>yes</followMouse>
<!-- move focus to a window when you move the mouse into it --> 12 12 <!-- move focus to a window when you move the mouse into it -->
<focusLast>yes</focusLast> 13 13 <focusLast>yes</focusLast>
<!-- focus the last used window when changing desktops, instead of the one 14 14 <!-- focus the last used window when changing desktops, instead of the one
under the mouse pointer. when followMouse is enabled --> 15 15 under the mouse pointer. when followMouse is enabled -->
<underMouse>no</underMouse> 16 16 <underMouse>no</underMouse>
<!-- move focus under the mouse, even when the mouse is not moving --> 17 17 <!-- move focus under the mouse, even when the mouse is not moving -->
<focusDelay>200</focusDelay> 18 18 <focusDelay>200</focusDelay>
<!-- when followMouse is enabled, the mouse must be inside the window for 19 19 <!-- when followMouse is enabled, the mouse must be inside the window for
this many milliseconds (1000 = 1 sec) before moving focus to it --> 20 20 this many milliseconds (1000 = 1 sec) before moving focus to it -->
<raiseOnFocus>no</raiseOnFocus> 21 21 <raiseOnFocus>no</raiseOnFocus>
<!-- when followMouse is enabled, and a window is given focus by moving the 22 22 <!-- when followMouse is enabled, and a window is given focus by moving the
mouse into it, also raise the window --> 23 23 mouse into it, also raise the window -->
</focus> 24 24 </focus>
<placement> 25 25 <placement>
<policy>Smart</policy> 26 26 <policy>Smart</policy>
<!-- 'Smart' or 'UnderMouse' --> 27 27 <!-- 'Smart' or 'UnderMouse' -->
<center>yes</center> 28 28 <center>yes</center>
<!-- whether to place windows in the center of the free area found or 29 29 <!-- whether to place windows in the center of the free area found or
the top left corner --> 30 30 the top left corner -->
<monitor>Mouse</monitor> 31 31 <monitor>Mouse</monitor>
<!-- with Smart placement on a multi-monitor system, try to place new windows 32 32 <!-- with Smart placement on a multi-monitor system, try to place new windows
on: 'Any' - any monitor, 'Mouse' - where the mouse is, 'Active' - where 33 33 on: 'Any' - any monitor, 'Mouse' - where the mouse is, 'Active' - where
the active window is, 'Primary' - only on the primary monitor --> 34 34 the active window is, 'Primary' - only on the primary monitor -->
<primaryMonitor>Mouse</primaryMonitor> 35 35 <primaryMonitor>Mouse</primaryMonitor>
<!-- The monitor where Openbox should place popup dialogs such as the 36 36 <!-- The monitor where Openbox should place popup dialogs such as the
focus cycling popup, or the desktop switch popup. It can be an index 37 37 focus cycling popup, or the desktop switch popup. It can be an index
from 1, specifying a particular monitor. Or it can be one of the 38 38 from 1, specifying a particular monitor. Or it can be one of the
following: 'Mouse' - where the mouse is, or 39 39 following: 'Mouse' - where the mouse is, or
'Active' - where the active window is --> 40 40 'Active' - where the active window is -->
</placement> 41 41 </placement>
<theme> 42 42 <theme>
<name>waldorf</name> 43 43 <name>waldorf</name>
<titleLayout>DSLIMC</titleLayout> 44 44 <titleLayout>DSLIMC</titleLayout>
<!-- 45 45 <!--
avaible characters are NDSLIMC, each can occur at most once. 46 46 avaible characters are NDSLIMC, each can occur at most once.
N: window icon 47 47 N: window icon
L: window label (AKA title). 48 48 L: window label (AKA title).
I: iconify 49 49 I: iconify
M: maximize 50 50 M: maximize
C: close 51 51 C: close
S: shade (roll up/down) 52 52 S: shade (roll up/down)
D: omnipresent (on all desktops). 53 53 D: omnipresent (on all desktops).
--> 54 54 -->
<keepBorder>yes</keepBorder> 55 55 <keepBorder>yes</keepBorder>
<animateIconify>no</animateIconify> 56 56 <animateIconify>no</animateIconify>
<font place="ActiveWindow"> 57 57 <font place="ActiveWindow">
<name>Liberation Sans</name> 58 58 <name>Liberation Sans</name>
<size>10</size> 59 59 <size>10</size>
<!-- font size in points --> 60 60 <!-- font size in points -->
<weight>Bold</weight> 61 61 <weight>Bold</weight>
<!-- 'bold' or 'normal' --> 62 62 <!-- 'bold' or 'normal' -->
<slant>Normal</slant> 63 63 <slant>Normal</slant>
<!-- 'italic' or 'normal' --> 64 64 <!-- 'italic' or 'normal' -->
</font> 65 65 </font>
<font place="InactiveWindow"> 66 66 <font place="InactiveWindow">
<name>Liberation Sans</name> 67 67 <name>Liberation Sans</name>
<size>10</size> 68 68 <size>10</size>
<!-- font size in points --> 69 69 <!-- font size in points -->
<weight>Normal</weight> 70 70 <weight>Normal</weight>
<!-- 'bold' or 'normal' --> 71 71 <!-- 'bold' or 'normal' -->
<slant>Normal</slant> 72 72 <slant>Normal</slant>
<!-- 'italic' or 'normal' --> 73 73 <!-- 'italic' or 'normal' -->
</font> 74 74 </font>
<font place="MenuHeader"> 75 75 <font place="MenuHeader">
<name>Liberation Sans</name> 76 76 <name>Liberation Sans</name>
<size>10</size> 77 77 <size>10</size>
<!-- font size in points --> 78 78 <!-- font size in points -->
<weight>Normal</weight> 79 79 <weight>Normal</weight>
<!-- 'bold' or 'normal' --> 80 80 <!-- 'bold' or 'normal' -->
<slant>Normal</slant> 81 81 <slant>Normal</slant>
<!-- 'italic' or 'normal' --> 82 82 <!-- 'italic' or 'normal' -->
</font> 83 83 </font>
<font place="MenuItem"> 84 84 <font place="MenuItem">
<name>Liberation Sans</name> 85 85 <name>Liberation Sans</name>
<size>10</size> 86 86 <size>10</size>
<!-- font size in points --> 87 87 <!-- font size in points -->
<weight>Normal</weight> 88 88 <weight>Normal</weight>
<!-- 'bold' or 'normal' --> 89 89 <!-- 'bold' or 'normal' -->
<slant>Normal</slant> 90 90 <slant>Normal</slant>
<!-- 'italic' or 'normal' --> 91 91 <!-- 'italic' or 'normal' -->
</font> 92 92 </font>
<font place="ActiveOnScreenDisplay"> 93 93 <font place="ActiveOnScreenDisplay">
<name>Liberation Sans</name> 94 94 <name>Liberation Sans</name>
<size>10</size> 95 95 <size>10</size>
<!-- font size in points --> 96 96 <!-- font size in points -->
<weight>Normal</weight> 97 97 <weight>Normal</weight>
<!-- 'bold' or 'normal' --> 98 98 <!-- 'bold' or 'normal' -->
<slant>normal</slant> 99 99 <slant>normal</slant>
<!-- 'italic' or 'normal' --> 100 100 <!-- 'italic' or 'normal' -->
</font> 101 101 </font>
<font place="InactiveOnScreenDisplay"> 102 102 <font place="InactiveOnScreenDisplay">
<name>Liberation Sans</name> 103 103 <name>Liberation Sans</name>
<size>10</size> 104 104 <size>10</size>
<!-- font size in points --> 105 105 <!-- font size in points -->
<weight>Normal</weight> 106 106 <weight>Normal</weight>
<!-- 'bold' or 'normal' --> 107 107 <!-- 'bold' or 'normal' -->
<slant>normal</slant> 108 108 <slant>normal</slant>
<!-- 'italic' or 'normal' --> 109 109 <!-- 'italic' or 'normal' -->
</font> 110 110 </font>
</theme> 111 111 </theme>
<desktops> 112 112 <desktops>
<!-- this stuff is only used at startup, pagers allow you to change them 113 113 <!-- this stuff is only used at startup, pagers allow you to change them
during a session 114 114 during a session
115 115
these are default values to use when other ones are not already set 116 116 these are default values to use when other ones are not already set
by other applications, or saved in your session 117 117 by other applications, or saved in your session
118 118
use obconf if you want to change these without having to log out 119 119 use obconf if you want to change these without having to log out
and back in --> 120 120 and back in -->
<number>4</number> 121 121 <number>4</number>
<firstdesk>1</firstdesk> 122 122 <firstdesk>1</firstdesk>
<names> 123 123 <names>
<!-- set names up here if you want to, like this: 124 124 <!-- set names up here if you want to, like this:
<name>desktop 1</name> 125 125 <name>desktop 1</name>
<name>desktop 2</name> 126 126 <name>desktop 2</name>
--> 127 127 -->
<name>1</name> 128 128 <name>1</name>
<name>2</name> 129 129 <name>2</name>
<name>3</name> 130 130 <name>3</name>
<name>4</name> 131 131 <name>4</name>
</names> 132 132 </names>
<popupTime>875</popupTime> 133 133 <popupTime>875</popupTime>
<!-- The number of milliseconds to show the popup for when switching 134 134 <!-- The number of milliseconds to show the popup for when switching
desktops. Set this to 0 to disable the popup. --> 135 135 desktops. Set this to 0 to disable the popup. -->
</desktops> 136 136 </desktops>
<resize> 137 137 <resize>
<drawContents>yes</drawContents> 138 138 <drawContents>yes</drawContents>
<popupShow>Nonpixel</popupShow> 139 139 <popupShow>Nonpixel</popupShow>
<!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) --> 140 140 <!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) -->
<popupPosition>Center</popupPosition> 141 141 <popupPosition>Center</popupPosition>
<!-- 'Center' or 'Top' --> 142 142 <!-- 'Center' or 'Top' -->
<popupFixedPosition> 143 143 <popupFixedPosition>
<!-- these are used if popupPosition is set to 'Fixed' --> 144 144 <!-- these are used if popupPosition is set to 'Fixed' -->
<x>10</x> 145 145 <x>10</x>
<!-- positive number for distance from left edge, negative number for 146 146 <!-- positive number for distance from left edge, negative number for
distance from right edge, or 'Center' --> 147 147 distance from right edge, or 'Center' -->
<y>10</y> 148 148 <y>10</y>
<!-- positive number for distance from top edge, negative number for 149 149 <!-- positive number for distance from top edge, negative number for
distance from bottom edge, or 'Center' --> 150 150 distance from bottom edge, or 'Center' -->
</popupFixedPosition> 151 151 </popupFixedPosition>
</resize> 152 152 </resize>
<!-- You can reserve a portion of your screen where windows will not cover when 153 153 <!-- You can reserve a portion of your screen where windows will not cover when
they are maximized, or when they are initially placed. 154 154 they are maximized, or when they are initially placed.
Many programs reserve space automatically, but you can use this in other 155 155 Many programs reserve space automatically, but you can use this in other
cases. --> 156 156 cases. -->
<margins> 157 157 <margins>
<top>1</top> 158 158 <top>1</top>
<bottom>0</bottom> 159 159 <bottom>0</bottom>
<left>0</left> 160 160 <left>0</left>
<right>0</right> 161 161 <right>0</right>
</margins> 162 162 </margins>
<dock> 163 163 <dock>
<position>TopLeft</position> 164 164 <position>TopLeft</position>
<!-- (Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating --> 165 165 <!-- (Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating -->
<floatingX>0</floatingX> 166 166 <floatingX>0</floatingX>
<floatingY>0</floatingY> 167 167 <floatingY>0</floatingY>
<noStrut>no</noStrut> 168 168 <noStrut>no</noStrut>
<stacking>Above</stacking> 169 169 <stacking>Above</stacking>
<!-- 'Above', 'Normal', or 'Below' --> 170 170 <!-- 'Above', 'Normal', or 'Below' -->
<direction>Vertical</direction> 171 171 <direction>Vertical</direction>
<!-- 'Vertical' or 'Horizontal' --> 172 172 <!-- 'Vertical' or 'Horizontal' -->
<autoHide>no</autoHide> 173 173 <autoHide>no</autoHide>
<hideDelay>300</hideDelay> 174 174 <hideDelay>300</hideDelay>
<!-- in milliseconds (1000 = 1 second) --> 175 175 <!-- in milliseconds (1000 = 1 second) -->
<showDelay>300</showDelay> 176 176 <showDelay>300</showDelay>
<!-- in milliseconds (1000 = 1 second) --> 177 177 <!-- in milliseconds (1000 = 1 second) -->
<moveButton>Middle</moveButton> 178 178 <moveButton>Middle</moveButton>
<!-- 'Left', 'Middle', 'Right' --> 179 179 <!-- 'Left', 'Middle', 'Right' -->
</dock> 180 180 </dock>
<keyboard> 181 181 <keyboard>
<chainQuitKey>C-g</chainQuitKey> 182 182 <chainQuitKey>C-g</chainQuitKey>
<!-- Keybindings for desktop switching --> 183 183 <!-- Keybindings for desktop switching -->
<keybind key="C-A-Left"> 184 184 <keybind key="C-A-Left">
<action name="GoToDesktop"> 185 185 <action name="GoToDesktop">
<to>left</to> 186 186 <to>left</to>
<wrap>no</wrap> 187 187 <wrap>no</wrap>
</action> 188 188 </action>
</keybind> 189 189 </keybind>
<keybind key="C-A-Right"> 190 190 <keybind key="C-A-Right">
<action name="GoToDesktop"> 191 191 <action name="GoToDesktop">
<to>right</to> 192 192 <to>right</to>
<wrap>no</wrap> 193 193 <wrap>no</wrap>
</action> 194 194 </action>
</keybind> 195 195 </keybind>
<keybind key="C-A-Up"> 196 196 <keybind key="C-A-Up">
<action name="GoToDesktop"> 197 197 <action name="GoToDesktop">
<to>up</to> 198 198 <to>up</to>
<wrap>no</wrap> 199 199 <wrap>no</wrap>
</action> 200 200 </action>
</keybind> 201 201 </keybind>
<keybind key="C-A-Down"> 202 202 <keybind key="C-A-Down">
<action name="GoToDesktop"> 203 203 <action name="GoToDesktop">
<to>down</to> 204 204 <to>down</to>
<wrap>no</wrap> 205 205 <wrap>no</wrap>
</action> 206 206 </action>
</keybind> 207 207 </keybind>
<keybind key="S-A-Left"> 208 208 <keybind key="S-A-Left">
<action name="SendToDesktop"> 209 209 <action name="SendToDesktop">
<to>left</to> 210 210 <to>left</to>
<wrap>no</wrap> 211 211 <wrap>no</wrap>
</action> 212 212 </action>
</keybind> 213 213 </keybind>
<keybind key="S-A-Right"> 214 214 <keybind key="S-A-Right">
<action name="SendToDesktop"> 215 215 <action name="SendToDesktop">
<to>right</to> 216 216 <to>right</to>
<wrap>no</wrap> 217 217 <wrap>no</wrap>
</action> 218 218 </action>
</keybind> 219 219 </keybind>
<keybind key="S-A-Up"> 220 220 <keybind key="S-A-Up">
<action name="SendToDesktop"> 221 221 <action name="SendToDesktop">
<to>up</to> 222 222 <to>up</to>
<wrap>no</wrap> 223 223 <wrap>no</wrap>
</action> 224 224 </action>
</keybind> 225 225 </keybind>
<keybind key="S-A-Down"> 226 226 <keybind key="S-A-Down">
<action name="SendToDesktop"> 227 227 <action name="SendToDesktop">
<to>down</to> 228 228 <to>down</to>
<wrap>no</wrap> 229 229 <wrap>no</wrap>
</action> 230 230 </action>
</keybind> 231 231 </keybind>
<keybind key="W-F1"> 232 232 <keybind key="W-F1">
<action name="GoToDesktop"> 233 233 <action name="GoToDesktop">
<to>1</to> 234 234 <to>1</to>
</action> 235 235 </action>
</keybind> 236 236 </keybind>
<keybind key="W-F2"> 237 237 <keybind key="W-F2">
<action name="GoToDesktop"> 238 238 <action name="GoToDesktop">
<to>2</to> 239 239 <to>2</to>
</action> 240 240 </action>
</keybind> 241 241 </keybind>
<keybind key="W-F3"> 242 242 <keybind key="W-F3">
<action name="GoToDesktop"> 243 243 <action name="GoToDesktop">
<to>3</to> 244 244 <to>3</to>
</action> 245 245 </action>
</keybind> 246 246 </keybind>
<keybind key="W-F4"> 247 247 <keybind key="W-F4">
<action name="GoToDesktop"> 248 248 <action name="GoToDesktop">
<to>4</to> 249 249 <to>4</to>
</action> 250 250 </action>
</keybind> 251 251 </keybind>
<keybind key="W-d"> 252 252 <keybind key="W-d">
<action name="ToggleShowDesktop"/> 253 253 <action name="ToggleShowDesktop"/>
</keybind> 254 254 </keybind>
<!-- Keybindings for windows --> 255 255 <!-- Keybindings for windows -->
<keybind key="A-F4"> 256 256 <keybind key="A-F4">
<action name="Close"/> 257 257 <action name="Close"/>
</keybind> 258 258 </keybind>
<keybind key="A-Escape"> 259 259 <keybind key="A-Escape">
<action name="Lower"/> 260 260 <action name="Lower"/>
<action name="FocusToBottom"/> 261 261 <action name="FocusToBottom"/>
<action name="Unfocus"/> 262 262 <action name="Unfocus"/>
</keybind> 263 263 </keybind>
<keybind key="A-space"> 264 264 <keybind key="A-space">
<action name="ShowMenu"> 265 265 <action name="ShowMenu">
<menu>client-menu</menu> 266 266 <menu>client-menu</menu>
</action> 267 267 </action>
</keybind> 268 268 </keybind>
<keybind key="Print"> 269 269 <keybind key="Print">
<action name="Execute"> 270 270 <action name="Execute">
<command>xfce4-screenshooter</command> 271 271 <command>xfce4-screenshooter</command>
</action> 272 272 </action>
</keybind> 273 273 </keybind>
<keybind key="A-Print"> 274 274 <keybind key="A-Print">
<action name="Execute"> 275 275 <action name="Execute">
<command>scrot '%Y-%m-%d--%s_$wx$h_scrot.png' -e 'mv $f ~/images/ &amp; viewnior ~/images/$f'</command> 276 276 <command>scrot '%Y-%m-%d--%s_$wx$h_scrot.png' -e 'mv $f ~/images/ &amp; viewnior ~/images/$f'</command>
</action> 277 277 </action>
</keybind> 278 278 </keybind>
<!-- Keybindings for window switching --> 279 279 <!-- Keybindings for window switching -->
<keybind key="A-Tab"> 280 280 <keybind key="A-Tab">
<action name="NextWindow"> 281 281 <action name="NextWindow">
<finalactions> 282 282 <finalactions>
<action name="Focus"/> 283 283 <action name="Focus"/>
<action name="Raise"/> 284 284 <action name="Raise"/>
<action name="Unshade"/> 285 285 <action name="Unshade"/>
</finalactions> 286 286 </finalactions>
</action> 287 287 </action>
</keybind> 288 288 </keybind>
<keybind key="A-S-Tab"> 289 289 <keybind key="A-S-Tab">
<action name="PreviousWindow"> 290 290 <action name="PreviousWindow">
<finalactions> 291 291 <finalactions>
<action name="Focus"/> 292 292 <action name="Focus"/>
<action name="Raise"/> 293 293 <action name="Raise"/>
<action name="Unshade"/> 294 294 <action name="Unshade"/>
</finalactions> 295 295 </finalactions>
</action> 296 296 </action>
</keybind> 297 297 </keybind>
<keybind key="C-A-Tab"> 298 298 <keybind key="C-A-Tab">
<action name="NextWindow"> 299 299 <action name="NextWindow">
<panels>yes</panels> 300 300 <panels>yes</panels>
<desktop>yes</desktop> 301 301 <desktop>yes</desktop>
<finalactions> 302 302 <finalactions>
<action name="Focus"/> 303 303 <action name="Focus"/>
<action name="Raise"/> 304 304 <action name="Raise"/>
<action name="Unshade"/> 305 305 <action name="Unshade"/>
</finalactions> 306 306 </finalactions>
</action> 307 307 </action>
</keybind> 308 308 </keybind>
<!-- Keybindings for window switching with the arrow keys --> 309 309 <!-- Keybindings for window switching with the arrow keys -->
<keybind key="W-S-Right"> 310 310 <keybind key="W-S-Right">
<action name="DirectionalCycleWindows"> 311 311 <action name="DirectionalCycleWindows">
<direction>right</direction> 312 312 <direction>right</direction>
</action> 313 313 </action>
</keybind> 314 314 </keybind>
<keybind key="W-S-Left"> 315 315 <keybind key="W-S-Left">
<action name="DirectionalCycleWindows"> 316 316 <action name="DirectionalCycleWindows">
<direction>left</direction> 317 317 <direction>left</direction>
</action> 318 318 </action>
</keybind> 319 319 </keybind>
<keybind key="W-S-Up"> 320 320 <keybind key="W-S-Up">
<action name="DirectionalCycleWindows"> 321 321 <action name="DirectionalCycleWindows">
<direction>up</direction> 322 322 <direction>up</direction>
</action> 323 323 </action>
</keybind> 324 324 </keybind>
<keybind key="W-S-Down"> 325 325 <keybind key="W-S-Down">
<action name="DirectionalCycleWindows"> 326 326 <action name="DirectionalCycleWindows">
<direction>down</direction> 327 327 <direction>down</direction>
</action> 328 328 </action>
</keybind> 329 329 </keybind>
<!-- Keybindings for running applications --> 330 330 <!-- Keybindings for running applications -->
<!--<keybind key="A-F2">--> 331 331 <!--<keybind key="A-F2">-->
<keybind key="W-space"> 332 332 <keybind key="W-r">
<action name="Execute"> 333 333 <action name="Execute">
<startupnotify> 334 334 <startupnotify>
<enabled>true</enabled> 335 335 <enabled>true</enabled>
<name>Run Program</name> 336 336 <name>Run Program</name>
</startupnotify> 337 337 </startupnotify>
<command>gmrun</command> 338 338 <command>gmrun</command>
</action> 339 339 </action>
</keybind> 340 340 </keybind>
<keybind key="A-F3"> 341 341 <keybind key="A-F3">
<action name="Execute"> 342 342 <action name="Execute">
<startupnotify> 343 343 <startupnotify>
<enabled>true</enabled> 344 344 <enabled>true</enabled>
<name>dmenu-bind</name> 345 345 <name>dmenu-bind</name>
</startupnotify> 346 346 </startupnotify>
<command>~/.config/dmenu/dmenu-bind.sh</command> 347 347 <command>~/.config/dmenu/dmenu-bind.sh</command>
</action> 348 348 </action>
</keybind> 349 349 </keybind>
<keybind key="W-f"> 350 350 <keybind key="W-f">
<action name="Execute"> 351 351 <action name="Execute">
<startupnotify> 352 352 <startupnotify>
<enabled>true</enabled> 353 353 <enabled>true</enabled>
<name>thunar</name> 354 354 <name>thunar</name>
</startupnotify> 355 355 </startupnotify>
<command>thunar</command> 356 356 <command>thunar</command>
</action> 357 357 </action>
</keybind> 358 358 </keybind>
<keybind key="W-t"> 359 359 <keybind key="W-t">
<action name="Execute"> 360 360 <action name="Execute">
<startupnotify> 361 361 <startupnotify>
<enabled>true</enabled> 362 362 <enabled>true</enabled>
<name>Terminal</name> 363 363 <name>Terminal</name>
</startupnotify> 364 364 </startupnotify>
<command>terminator</command> 365 365 <command>terminator</command>
</action> 366 366 </action>
</keybind> 367 367 </keybind>
<keybind key="W-w"> 368 368 <keybind key="W-w">
<action name="Execute"> 369 369 <action name="Execute">
<startupnotify> 370 370 <startupnotify>
<enabled>true</enabled> 371 371 <enabled>true</enabled>
<name>Web Browser</name> 372 372 <name>Web Browser</name>
</startupnotify> 373 373 </startupnotify>
<command>x-www-browser</command> 374 374 <command>x-www-browser</command>
</action> 375 375 </action>
</keybind> 376 376 </keybind>
<keybind key="W-l"> 377 377 <keybind key="W-l">
<action name="Execute"> 378 378 <action name="Execute">
<startupnotify> 379 379 <startupnotify>
<enabled>true</enabled> 380 380 <enabled>true</enabled>
<name>Lock screen</name> 381 381 <name>Lock screen</name>
</startupnotify> 382 382 </startupnotify>
<command>cb-lock</command> 383 383 <command>cb-lock</command>
</action> 384 384 </action>
</keybind> 385 385 </keybind>
<keybind key="W-e"> 386 386 <keybind key="W-e">
<action name="Execute"> 387 387 <action name="Execute">
<startupnotify> 388 388 <startupnotify>
<enabled>true</enabled> 389 389 <enabled>true</enabled>
<name>Editor</name> 390 390 <name>Editor</name>
</startupnotify> 391 391 </startupnotify>
<command>geany</command> 392 392 <command>geany</command>
</action> 393 393 </action>
</keybind> 394 394 </keybind>
<keybind key="W-m"> 395 395 <keybind key="W-m">
<action name="Execute"> 396 396 <action name="Execute">
<startupnotify> 397 397 <startupnotify>
<enabled>true</enabled> 398 398 <enabled>true</enabled>
<name>Mediaplayer</name> 399 399 <name>Mediaplayer</name>
</startupnotify> 400 400 </startupnotify>
<command>vlc</command> 401 401 <command>vlc</command>
</action> 402 402 </action>
</keybind> 403 403 </keybind>
<keybind key="W-h"> 404 404 <keybind key="W-h">
<action name="Execute"> 405 405 <action name="Execute">
<startupnotify> 406 406 <startupnotify>
<enabled>true</enabled> 407 407 <enabled>true</enabled>
<name>htop</name> 408 408 <name>htop</name>
</startupnotify> 409 409 </startupnotify>
<command>terminator --command="htop"</command> 410 410 <command>terminator --command="htop"</command>
</action> 411 411 </action>
</keybind> 412 412 </keybind>
<keybind key="W-v"> 413 413 <keybind key="W-v">
<action name="Execute"> 414 414 <action name="Execute">
<startupwnotify> 415 415 <startupwnotify>
<command>pavucontrol</command> 416 416 <command>pavucontrol</command>
</startupwnotify> 417 417 </startupwnotify>
</action> 418 418 </action>
</keybind> 419 419 </keybind>
<keybind key="W-x"> 420 420 <keybind key="W-x">
<action name="Execute"> 421 421 <action name="Execute">
<startupnotify> 422 422 <startupnotify>
<enabled>true</enabled> 423 423 <enabled>true</enabled>
<name>Logout</name> 424 424 <name>Logout</name>
</startupnotify> 425 425 </startupnotify>
<command>cb-exit</command> 426 426 <command>cb-exit</command>
</action> 427 427 </action>
</keybind> 428 428 </keybind>
<keybind key="W-Tab"> 429 429 <keybind key="W-Tab">
<action name="ShowMenu"> 430 430 <action name="ShowMenu">
<menu>client-list-combined-menu</menu> 431 431 <menu>client-list-combined-menu</menu>
</action> 432 432 </action>
</keybind> 433 433 </keybind>
<keybind key="A-C-q"> 434 434 <keybind key="A-C-q">
<action name="ShowMenu"> 435 435 <action name="ShowMenu">
<menu>root-menu</menu> 436 436 <menu>root-menu</menu>
</action> 437 437 </action>
</keybind> 438 438 </keybind>
<!-- A bit of tiling --> 439 439 <!-- A bit of tiling -->
<keybind key="W-Right"> 440 440 <keybind key="W-Right">
<action name="GrowToEdgeEast"/> 441 441 <action name="GrowToEdgeEast"/>
</keybind> 442 442 </keybind>
<keybind key="W-Left"> 443 443 <keybind key="W-Left">
<action name="GrowToEdgeWest"/> 444 444 <action name="GrowToEdgeWest"/>
</keybind> 445 445 </keybind>
<keybind key="W-Down"> 446 446 <keybind key="W-Down">
<action name="GrowToEdgeSouth"/> 447 447 <action name="GrowToEdgeSouth"/>
</keybind> 448 448 </keybind>
<keybind key="W-Up"> 449 449 <keybind key="W-Up">
<action name="GrowToEdgeNorth"/> 450 450 <action name="GrowToEdgeNorth"/>
</keybind> 451 451 </keybind>
<keybind key="W-A-Left"> 452 452 <keybind key="W-A-Left">
<action name="Execute"> 453 453 <action name="Execute">
<command>cb-aerosnap --left</command> 454 454 <command>cb-aerosnap --left</command>
</action> 455 455 </action>
</keybind> 456 456 </keybind>
<keybind key="W-A-Right"> 457 457 <keybind key="W-A-Right">
<action name="Execute"> 458 458 <action name="Execute">
<command>cb-aerosnap --right</command> 459 459 <command>cb-aerosnap --right</command>
</action> 460 460 </action>
</keybind> 461 461 </keybind>
</keyboard> 462 462 </keyboard>
<mouse> 463 463 <mouse>
<dragThreshold>8</dragThreshold> 464 464 <dragThreshold>8</dragThreshold>
<!-- number of pixels the mouse must move before a drag begins --> 465 465 <!-- number of pixels the mouse must move before a drag begins -->
<doubleClickTime>200</doubleClickTime> 466 466 <doubleClickTime>200</doubleClickTime>
<!-- in milliseconds (1000 = 1 second) --> 467 467 <!-- in milliseconds (1000 = 1 second) -->
<screenEdgeWarpTime>400</screenEdgeWarpTime> 468 468 <screenEdgeWarpTime>400</screenEdgeWarpTime>
<!-- Time before changing desktops when the pointer touches the edge of the 469 469 <!-- Time before changing desktops when the pointer touches the edge of the
screen while moving a window, in milliseconds (1000 = 1 second). 470 470 screen while moving a window, in milliseconds (1000 = 1 second).
Set this to 0 to disable warping --> 471 471 Set this to 0 to disable warping -->
<screenEdgeWarpMouse>false</screenEdgeWarpMouse> 472 472 <screenEdgeWarpMouse>false</screenEdgeWarpMouse>
<!-- Set this to TRUE to move the mouse pointer across the desktop when 473 473 <!-- Set this to TRUE to move the mouse pointer across the desktop when
switching due to hitting the edge of the screen --> 474 474 switching due to hitting the edge of the screen -->
<context name="Frame"> 475 475 <context name="Frame">
<mousebind button="A-Left" action="Press"> 476 476 <mousebind button="A-Left" action="Press">
<action name="Focus"/> 477 477 <action name="Focus"/>
<action name="Raise"/> 478 478 <action name="Raise"/>
</mousebind> 479 479 </mousebind>
<mousebind button="A-Left" action="Click"> 480 480 <mousebind button="A-Left" action="Click">
<action name="Unshade"/> 481 481 <action name="Unshade"/>
</mousebind> 482 482 </mousebind>
<mousebind button="A-Left" action="Drag"> 483 483 <mousebind button="A-Left" action="Drag">
<action name="Move"/> 484 484 <action name="Move"/>
</mousebind> 485 485 </mousebind>
<mousebind button="A-Right" action="Press"> 486 486 <mousebind button="A-Right" action="Press">
<action name="Focus"/> 487 487 <action name="Focus"/>
<action name="Raise"/> 488 488 <action name="Raise"/>
<action name="Unshade"/> 489 489 <action name="Unshade"/>
</mousebind> 490 490 </mousebind>
<mousebind button="A-Right" action="Drag"> 491 491 <mousebind button="A-Right" action="Drag">
<action name="Resize"/> 492 492 <action name="Resize"/>
</mousebind> 493 493 </mousebind>
<mousebind button="A-Middle" action="Press"> 494 494 <mousebind button="A-Middle" action="Press">
<action name="Lower"/> 495 495 <action name="Lower"/>
<action name="FocusToBottom"/> 496 496 <action name="FocusToBottom"/>
<action name="Unfocus"/> 497 497 <action name="Unfocus"/>
</mousebind> 498 498 </mousebind>
<mousebind button="A-Up" action="Click"> 499 499 <mousebind button="A-Up" action="Click">
<action name="GoToDesktop"> 500 500 <action name="GoToDesktop">
<to>previous</to> 501 501 <to>previous</to>
</action> 502 502 </action>
</mousebind> 503 503 </mousebind>
<mousebind button="A-Down" action="Click"> 504 504 <mousebind button="A-Down" action="Click">
<action name="GoToDesktop"> 505 505 <action name="GoToDesktop">
<to>next</to> 506 506 <to>next</to>
</action> 507 507 </action>
</mousebind> 508 508 </mousebind>
<mousebind button="C-A-Up" action="Click"> 509 509 <mousebind button="C-A-Up" action="Click">
<action name="GoToDesktop"> 510 510 <action name="GoToDesktop">
<to>previous</to> 511 511 <to>previous</to>
</action> 512 512 </action>
</mousebind> 513 513 </mousebind>
<mousebind button="C-A-Down" action="Click"> 514 514 <mousebind button="C-A-Down" action="Click">
<action name="GoToDesktop"> 515 515 <action name="GoToDesktop">
<to>next</to> 516 516 <to>next</to>
</action> 517 517 </action>
</mousebind> 518 518 </mousebind>
<mousebind button="A-S-Up" action="Click"> 519 519 <mousebind button="A-S-Up" action="Click">
<action name="SendToDesktop"> 520 520 <action name="SendToDesktop">
<to>previous</to> 521 521 <to>previous</to>
</action> 522 522 </action>
</mousebind> 523 523 </mousebind>
<mousebind button="A-S-Down" action="Click"> 524 524 <mousebind button="A-S-Down" action="Click">
<action name="SendToDesktop"> 525 525 <action name="SendToDesktop">
<to>next</to> 526 526 <to>next</to>
</action> 527 527 </action>
</mousebind> 528 528 </mousebind>
</context> 529 529 </context>
<context name="Titlebar"> 530 530 <context name="Titlebar">
<mousebind button="Left" action="Press"> 531 531 <mousebind button="Left" action="Press">
<action name="Focus"/> 532 532 <action name="Focus"/>
<action name="Raise"/> 533 533 <action name="Raise"/>
</mousebind> 534 534 </mousebind>
<mousebind button="Left" action="Drag"> 535 535 <mousebind button="Left" action="Drag">
<action name="Move"/> 536 536 <action name="Move"/>
</mousebind> 537 537 </mousebind>
<mousebind button="Left" action="DoubleClick"> 538 538 <mousebind button="Left" action="DoubleClick">
<action name="ToggleMaximize"/> 539 539 <action name="ToggleMaximize"/>
</mousebind> 540 540 </mousebind>
<mousebind button="Middle" action="Press"> 541 541 <mousebind button="Middle" action="Press">
<action name="Lower"/> 542 542 <action name="Lower"/>
<action name="FocusToBottom"/> 543 543 <action name="FocusToBottom"/>
<action name="Unfocus"/> 544 544 <action name="Unfocus"/>
</mousebind> 545 545 </mousebind>
<mousebind button="Up" action="Click"> 546 546 <mousebind button="Up" action="Click">
<action name="if"> 547 547 <action name="if">
<shaded>no</shaded> 548 548 <shaded>no</shaded>
<then> 549 549 <then>
<action name="Shade"/> 550 550 <action name="Shade"/>
<action name="FocusToBottom"/> 551 551 <action name="FocusToBottom"/>
<action name="Unfocus"/> 552 552 <action name="Unfocus"/>
<action name="Lower"/> 553 553 <action name="Lower"/>
</then> 554 554 </then>
</action> 555 555 </action>
</mousebind> 556 556 </mousebind>
<mousebind button="Down" action="Click"> 557 557 <mousebind button="Down" action="Click">
<action name="if"> 558 558 <action name="if">
<shaded>yes</shaded> 559 559 <shaded>yes</shaded>
<then> 560 560 <then>
<action name="Unshade"/> 561 561 <action name="Unshade"/>
<action name="Raise"/> 562 562 <action name="Raise"/>
</then> 563 563 </then>
</action> 564 564 </action>
</mousebind> 565 565 </mousebind>
<mousebind button="Right" action="Press"> 566 566 <mousebind button="Right" action="Press">
<action name="Focus"/> 567 567 <action name="Focus"/>
<action name="Raise"/> 568 568 <action name="Raise"/>
<action name="ShowMenu"> 569 569 <action name="ShowMenu">
<menu>client-menu</menu> 570 570 <menu>client-menu</menu>
</action> 571 571 </action>
</mousebind> 572 572 </mousebind>
</context> 573 573 </context>
<context name="Titlebar Top Right Bottom Left TLCorner TRCorner BRCorner BLCorner"> 574 574 <context name="Titlebar Top Right Bottom Left TLCorner TRCorner BRCorner BLCorner">
<mousebind button="Left" action="Press"> 575 575 <mousebind button="Left" action="Press">
<action name="Focus"/> 576 576 <action name="Focus"/>
<action name="Raise"/> 577 577 <action name="Raise"/>
<action name="Unshade"/> 578 578 <action name="Unshade"/>
</mousebind> 579 579 </mousebind>
<mousebind button="Middle" action="Press"> 580 580 <mousebind button="Middle" action="Press">
<action name="Lower"/> 581 581 <action name="Lower"/>
<action name="FocusToBottom"/> 582 582 <action name="FocusToBottom"/>
<action name="Unfocus"/> 583 583 <action name="Unfocus"/>
</mousebind> 584 584 </mousebind>
<mousebind button="Right" action="Press"> 585 585 <mousebind button="Right" action="Press">
<action name="Focus"/> 586 586 <action name="Focus"/>
<action name="Raise"/> 587 587 <action name="Raise"/>
<action name="ShowMenu"> 588 588 <action name="ShowMenu">
<menu>client-menu</menu> 589 589 <menu>client-menu</menu>
</action> 590 590 </action>
</mousebind> 591 591 </mousebind>
</context> 592 592 </context>
<context name="Top"> 593 593 <context name="Top">
<mousebind button="Left" action="Press"> 594 594 <mousebind button="Left" action="Press">
<action name="Focus"/> 595 595 <action name="Focus"/>
<action name="Raise"/> 596 596 <action name="Raise"/>
<action name="Unshade"/> 597 597 <action name="Unshade"/>
</mousebind> 598 598 </mousebind>
<mousebind button="Left" action="Drag"> 599 599 <mousebind button="Left" action="Drag">
<action name="Resize"> 600 600 <action name="Resize">
<edge>top</edge> 601 601 <edge>top</edge>
</action> 602 602 </action>
</mousebind> 603 603 </mousebind>
</context> 604 604 </context>
<context name="Left"> 605 605 <context name="Left">
<mousebind button="Left" action="Press"> 606 606 <mousebind button="Left" action="Press">
<action name="Focus"/> 607 607 <action name="Focus"/>
<action name="Raise"/> 608 608 <action name="Raise"/>
</mousebind> 609 609 </mousebind>
<mousebind button="Left" action="Drag"> 610 610 <mousebind button="Left" action="Drag">
<action name="Resize"> 611 611 <action name="Resize">
<edge>left</edge> 612 612 <edge>left</edge>
</action> 613 613 </action>
</mousebind> 614 614 </mousebind>
</context> 615 615 </context>
<context name="Right"> 616 616 <context name="Right">
<mousebind button="Left" action="Press"> 617 617 <mousebind button="Left" action="Press">
<action name="Focus"/> 618 618 <action name="Focus"/>
<action name="Raise"/> 619 619 <action name="Raise"/>
</mousebind> 620 620 </mousebind>
<mousebind button="Left" action="Drag"> 621 621 <mousebind button="Left" action="Drag">
<action name="Resize"> 622 622 <action name="Resize">
<edge>right</edge> 623 623 <edge>right</edge>
</action> 624 624 </action>
</mousebind> 625 625 </mousebind>
</context> 626 626 </context>
<context name="Bottom"> 627 627 <context name="Bottom">
<mousebind button="Left" action="Press"> 628 628 <mousebind button="Left" action="Press">
<action name="Focus"/> 629 629 <action name="Focus"/>
<action name="Raise"/> 630 630 <action name="Raise"/>
</mousebind> 631 631 </mousebind>
<mousebind button="Left" action="Drag"> 632 632 <mousebind button="Left" action="Drag">
<action name="Resize"> 633 633 <action name="Resize">
<edge>bottom</edge> 634 634 <edge>bottom</edge>
</action> 635 635 </action>
</mousebind> 636 636 </mousebind>
<mousebind button="Middle" action="Press"> 637 637 <mousebind button="Middle" action="Press">
<action name="Lower"/> 638 638 <action name="Lower"/>
<action name="FocusToBottom"/> 639 639 <action name="FocusToBottom"/>
<action name="Unfocus"/> 640 640 <action name="Unfocus"/>
</mousebind> 641 641 </mousebind>
<mousebind button="Right" action="Press"> 642 642 <mousebind button="Right" action="Press">
<action name="Focus"/> 643 643 <action name="Focus"/>
<action name="Raise"/> 644 644 <action name="Raise"/>
<action name="ShowMenu"> 645 645 <action name="ShowMenu">
<menu>client-menu</menu> 646 646 <menu>client-menu</menu>
</action> 647 647 </action>
</mousebind> 648 648 </mousebind>
</context> 649 649 </context>
<context name="TRCorner BRCorner TLCorner BLCorner"> 650 650 <context name="TRCorner BRCorner TLCorner BLCorner">
<mousebind button="Left" action="Press"> 651 651 <mousebind button="Left" action="Press">
<action name="Focus"/> 652 652 <action name="Focus"/>
<action name="Raise"/> 653 653 <action name="Raise"/>
<action name="Unshade"/> 654 654 <action name="Unshade"/>
</mousebind> 655 655 </mousebind>
<mousebind button="Left" action="Drag"> 656 656 <mousebind button="Left" action="Drag">
<action name="Resize"/> 657 657 <action name="Resize"/>
</mousebind> 658 658 </mousebind>
</context> 659 659 </context>
<context name="Client"> 660 660 <context name="Client">
<mousebind button="Left" action="Press"> 661 661 <mousebind button="Left" action="Press">
<action name="Focus"/> 662 662 <action name="Focus"/>
<action name="Raise"/> 663 663 <action name="Raise"/>
</mousebind> 664 664 </mousebind>
<mousebind button="Middle" action="Press"> 665 665 <mousebind button="Middle" action="Press">
<action name="Focus"/> 666 666 <action name="Focus"/>
<action name="Raise"/> 667 667 <action name="Raise"/>
</mousebind> 668 668 </mousebind>
<mousebind button="Right" action="Press"> 669 669 <mousebind button="Right" action="Press">
<action name="Focus"/> 670 670 <action name="Focus"/>
<action name="Raise"/> 671 671 <action name="Raise"/>
</mousebind> 672 672 </mousebind>
</context> 673 673 </context>
<context name="Icon"> 674 674 <context name="Icon">
<mousebind button="Left" action="Press"> 675 675 <mousebind button="Left" action="Press">
<action name="Focus"/> 676 676 <action name="Focus"/>
<action name="Raise"/> 677 677 <action name="Raise"/>
<action name="Unshade"/> 678 678 <action name="Unshade"/>
<action name="ShowMenu"> 679 679 <action name="ShowMenu">
<menu>client-menu</menu> 680 680 <menu>client-menu</menu>
</action> 681 681 </action>
</mousebind> 682 682 </mousebind>
<mousebind button="Right" action="Press"> 683 683 <mousebind button="Right" action="Press">
<action name="Focus"/> 684 684 <action name="Focus"/>
<action name="Raise"/> 685 685 <action name="Raise"/>
<action name="ShowMenu"> 686 686 <action name="ShowMenu">
<menu>client-menu</menu> 687 687 <menu>client-menu</menu>
</action> 688 688 </action>
</mousebind> 689 689 </mousebind>
</context> 690 690 </context>
<context name="AllDesktops"> 691 691 <context name="AllDesktops">
<mousebind button="Left" action="Press"> 692 692 <mousebind button="Left" action="Press">
<action name="Focus"/> 693 693 <action name="Focus"/>
<action name="Raise"/> 694 694 <action name="Raise"/>
<action name="Unshade"/> 695 695 <action name="Unshade"/>
</mousebind> 696 696 </mousebind>
<mousebind button="Left" action="Click"> 697 697 <mousebind button="Left" action="Click">
<action name="ToggleOmnipresent"/> 698 698 <action name="ToggleOmnipresent"/>
</mousebind> 699 699 </mousebind>
</context> 700 700 </context>
<context name="Shade"> 701 701 <context name="Shade">
<mousebind button="Left" action="Press"> 702 702 <mousebind button="Left" action="Press">
<action name="Focus"/> 703 703 <action name="Focus"/>
<action name="Raise"/> 704 704 <action name="Raise"/>
</mousebind> 705 705 </mousebind>
<mousebind button="Left" action="Click"> 706 706 <mousebind button="Left" action="Click">
<action name="ToggleShade"/> 707 707 <action name="ToggleShade"/>
</mousebind> 708 708 </mousebind>
</context> 709 709 </context>
<context name="Iconify"> 710 710 <context name="Iconify">
<mousebind button="Left" action="Press"> 711 711 <mousebind button="Left" action="Press">
<action name="Focus"/> 712 712 <action name="Focus"/>
<action name="Raise"/> 713 713 <action name="Raise"/>
</mousebind> 714 714 </mousebind>
<mousebind button="Left" action="Click"> 715 715 <mousebind button="Left" action="Click">
<action name="Iconify"/> 716 716 <action name="Iconify"/>
</mousebind> 717 717 </mousebind>
</context> 718 718 </context>
<context name="Maximize"> 719 719 <context name="Maximize">
<mousebind button="Left" action="Press"> 720 720 <mousebind button="Left" action="Press">
<action name="Focus"/> 721 721 <action name="Focus"/>
<action name="Raise"/> 722 722 <action name="Raise"/>
<action name="Unshade"/> 723 723 <action name="Unshade"/>
</mousebind> 724 724 </mousebind>
<mousebind button="Middle" action="Press"> 725 725 <mousebind button="Middle" action="Press">
<action name="Focus"/> 726 726 <action name="Focus"/>
<action name="Raise"/> 727 727 <action name="Raise"/>
<action name="Unshade"/> 728 728 <action name="Unshade"/>
</mousebind> 729 729 </mousebind>
<mousebind button="Right" action="Press"> 730 730 <mousebind button="Right" action="Press">
<action name="Focus"/> 731 731 <action name="Focus"/>
<action name="Raise"/> 732 732 <action name="Raise"/>
<action name="Unshade"/> 733 733 <action name="Unshade"/>
</mousebind> 734 734 </mousebind>
<mousebind button="Left" action="Click"> 735 735 <mousebind button="Left" action="Click">
<action name="ToggleMaximize"/> 736 736 <action name="ToggleMaximize"/>
</mousebind> 737 737 </mousebind>
<mousebind button="Middle" action="Click"> 738 738 <mousebind button="Middle" action="Click">
<action name="ToggleMaximize"> 739 739 <action name="ToggleMaximize">
<direction>vertical</direction> 740 740 <direction>vertical</direction>
</action> 741 741 </action>
</mousebind> 742 742 </mousebind>
<mousebind button="Right" action="Click"> 743 743 <mousebind button="Right" action="Click">
<action name="ToggleMaximize"> 744 744 <action name="ToggleMaximize">
<direction>horizontal</direction> 745 745 <direction>horizontal</direction>
</action> 746 746 </action>
</mousebind> 747 747 </mousebind>
</context> 748 748 </context>
<context name="Close"> 749 749 <context name="Close">
<mousebind button="Left" action="Press"> 750 750 <mousebind button="Left" action="Press">
<action name="Focus"/> 751 751 <action name="Focus"/>
<action name="Raise"/> 752 752 <action name="Raise"/>
<action name="Unshade"/> 753 753 <action name="Unshade"/>
</mousebind> 754 754 </mousebind>
<mousebind button="Left" action="Click"> 755 755 <mousebind button="Left" action="Click">
<action name="Close"/> 756 756 <action name="Close"/>
</mousebind> 757 757 </mousebind>
</context> 758 758 </context>
<context name="Desktop"> 759 759 <context name="Desktop">
<mousebind button="Up" action="Click"> 760 760 <mousebind button="Up" action="Click">
<action name="GoToDesktop"> 761 761 <action name="GoToDesktop">
<to>previous</to> 762 762 <to>previous</to>
</action> 763 763 </action>
</mousebind> 764 764 </mousebind>
<mousebind button="Down" action="Click"> 765 765 <mousebind button="Down" action="Click">
<action name="GoToDesktop"> 766 766 <action name="GoToDesktop">
<to>next</to> 767 767 <to>next</to>
</action> 768 768 </action>
</mousebind> 769 769 </mousebind>
<mousebind button="A-Up" action="Click"> 770 770 <mousebind button="A-Up" action="Click">
<action name="GoToDesktop"> 771 771 <action name="GoToDesktop">
<to>previous</to> 772 772 <to>previous</to>
</action> 773 773 </action>
</mousebind> 774 774 </mousebind>
<mousebind button="A-Down" action="Click"> 775 775 <mousebind button="A-Down" action="Click">
<action name="GoToDesktop"> 776 776 <action name="GoToDesktop">
<to>next</to> 777 777 <to>next</to>
</action> 778 778 </action>
</mousebind> 779 779 </mousebind>
<mousebind button="C-A-Up" action="Click"> 780 780 <mousebind button="C-A-Up" action="Click">
<action name="GoToDesktop"> 781 781 <action name="GoToDesktop">
<to>previous</to> 782 782 <to>previous</to>
</action> 783 783 </action>
</mousebind> 784 784 </mousebind>
<mousebind button="C-A-Down" action="Click"> 785 785 <mousebind button="C-A-Down" action="Click">
<action name="GoToDesktop"> 786 786 <action name="GoToDesktop">
<to>next</to> 787 787 <to>next</to>
</action> 788 788 </action>
</mousebind> 789 789 </mousebind>
<mousebind button="Left" action="Press"> 790 790 <mousebind button="Left" action="Press">
<action name="Focus"/> 791 791 <action name="Focus"/>
<action name="Raise"/> 792 792 <action name="Raise"/>
</mousebind> 793 793 </mousebind>
</context> 794 794 </context>
<context name="Root"> 795 795 <context name="Root">
<!-- Menus --> 796 796 <!-- Menus -->
<mousebind button="Middle" action="Press"> 797 797 <mousebind button="Middle" action="Press">
<action name="ShowMenu"> 798 798 <action name="ShowMenu">
<menu>client-list-combined-menu</menu> 799 799 <menu>client-list-combined-menu</menu>
</action> 800 800 </action>
</mousebind> 801 801 </mousebind>
<mousebind button="Right" action="Press"> 802 802 <mousebind button="Right" action="Press">
<action name="ShowMenu"> 803 803 <action name="ShowMenu">
<menu>root-menu</menu> 804 804 <menu>root-menu</menu>
</action> 805 805 </action>
</mousebind> 806 806 </mousebind>
</context> 807 807 </context>
<context name="MoveResize"> 808 808 <context name="MoveResize">
<mousebind button="Up" action="Click"> 809 809 <mousebind button="Up" action="Click">
<action name="GoToDesktop"> 810 810 <action name="GoToDesktop">
<to>previous</to> 811 811 <to>previous</to>
</action> 812 812 </action>
</mousebind> 813 813 </mousebind>
<mousebind button="Down" action="Click"> 814 814 <mousebind button="Down" action="Click">
<action name="GoToDesktop"> 815 815 <action name="GoToDesktop">
<to>next</to> 816 816 <to>next</to>
</action> 817 817 </action>
</mousebind> 818 818 </mousebind>
<mousebind button="A-Up" action="Click"> 819 819 <mousebind button="A-Up" action="Click">
<action name="GoToDesktop"> 820 820 <action name="GoToDesktop">
<to>previous</to> 821 821 <to>previous</to>
</action> 822 822 </action>
</mousebind> 823 823 </mousebind>
<mousebind button="A-Down" action="Click"> 824 824 <mousebind button="A-Down" action="Click">
<action name="GoToDesktop"> 825 825 <action name="GoToDesktop">
<to>next</to> 826 826 <to>next</to>
</action> 827 827 </action>
</mousebind> 828 828 </mousebind>
</context> 829 829 </context>
</mouse> 830 830 </mouse>
<menu> 831 831 <menu>
<!-- You can specify more than one menu file in here and they are all loaded, 832 832 <!-- You can specify more than one menu file in here and they are all loaded,
just don't make menu ids clash or, well, it'll be kind of pointless --> 833 833 just don't make menu ids clash or, well, it'll be kind of pointless -->
<!-- default menu file (or custom one in $HOME/.config/openbox/) --> 834 834 <!-- default menu file (or custom one in $HOME/.config/openbox/) -->
<!-- system menu files on Debian systems 835 835 <!-- system menu files on Debian systems
<file>/var/lib/openbox/debian-menu.xml</file> 836 836 <file>/var/lib/openbox/debian-menu.xml</file>
<file>debian-menu.xml</file> --> 837 837 <file>debian-menu.xml</file> -->
<file>menu.xml</file> 838 838 <file>menu.xml</file>
<hideDelay>200</hideDelay> 839 839 <hideDelay>200</hideDelay>
<!-- if a press-release lasts longer than this setting (in milliseconds), the 840 840 <!-- if a press-release lasts longer than this setting (in milliseconds), the
menu is hidden again --> 841 841 menu is hidden again -->
<middle>no</middle> 842 842 <middle>no</middle>
<!-- center submenus vertically about the parent entry --> 843 843 <!-- center submenus vertically about the parent entry -->
<submenuShowDelay>100</submenuShowDelay> 844 844 <submenuShowDelay>100</submenuShowDelay>
<!-- time to delay before showing a submenu after hovering over the parent 845 845 <!-- time to delay before showing a submenu after hovering over the parent
entry. 846 846 entry.
if this is a negative value, then the delay is infinite and the 847 847 if this is a negative value, then the delay is infinite and the
submenu will not be shown until it is clicked on --> 848 848 submenu will not be shown until it is clicked on -->
<submenuHideDelay>400</submenuHideDelay> 849 849 <submenuHideDelay>400</submenuHideDelay>
<!-- time to delay before hiding a submenu when selecting another 850 850 <!-- time to delay before hiding a submenu when selecting another
entry in parent menu 851 851 entry in parent menu
if this is a negative value, then the delay is infinite and the 852 852 if this is a negative value, then the delay is infinite and the
submenu will not be hidden until a different submenu is opened --> 853 853 submenu will not be hidden until a different submenu is opened -->
<applicationIcons>yes</applicationIcons> 854 854 <applicationIcons>yes</applicationIcons>
<!-- controls if icons appear in the client-list-(combined-)menu --> 855 855 <!-- controls if icons appear in the client-list-(combined-)menu -->
<manageDesktops>yes</manageDesktops> 856 856 <manageDesktops>yes</manageDesktops>
<!-- show the manage desktops section in the client-list-(combined-)menu --> 857 857 <!-- show the manage desktops section in the client-list-(combined-)menu -->
</menu> 858 858 </menu>
<applications> 859 859 <applications>
<!-- 860 860 <!--
# this is an example with comments through out. use these to make your 861 861 # this is an example with comments through out. use these to make your
# own rules, but without the comments of course. 862 862 # own rules, but without the comments of course.
# you may use one or more of the name/class/role/title/type rules to specify 863 863 # you may use one or more of the name/class/role/title/type rules to specify
# windows to match 864 864 # windows to match
865 865
<application name="the window's _OB_APP_NAME property (see obxprop)" 866 866 <application name="the window's _OB_APP_NAME property (see obxprop)"
class="the window's _OB_APP_CLASS property (see obxprop)" 867 867 class="the window's _OB_APP_CLASS property (see obxprop)"
role="the window's _OB_APP_ROLE property (see obxprop)" 868 868 role="the window's _OB_APP_ROLE property (see obxprop)"
title="the window's _OB_APP_TITLE property (see obxprop)" 869 869 title="the window's _OB_APP_TITLE property (see obxprop)"
type="the window's _OB_APP_TYPE property (see obxprob).. 870 870 type="the window's _OB_APP_TYPE property (see obxprob)..
(if unspecified, then it is 'dialog' for child windows)"> 871 871 (if unspecified, then it is 'dialog' for child windows)">
# you may set only one of name/class/role/title/type, or you may use more 872 872 # you may set only one of name/class/role/title/type, or you may use more
# than one together to restrict your matches. 873 873 # than one together to restrict your matches.
874 874
# the name, class, role, and title use simple wildcard matching such as those 875 875 # the name, class, role, and title use simple wildcard matching such as those
# used by a shell. you can use * to match any characters and ? to match 876 876 # used by a shell. you can use * to match any characters and ? to match
# any single character. 877 877 # any single character.
878 878
# the type is one of: normal, dialog, splash, utility, menu, toolbar, dock, 879 879 # the type is one of: normal, dialog, splash, utility, menu, toolbar, dock,
# or desktop 880 880 # or desktop
881 881
# when multiple rules match a window, they will all be applied, in the 882 882 # when multiple rules match a window, they will all be applied, in the
# order that they appear in this list 883 883 # order that they appear in this list
884 884
885 885
# each rule element can be left out or set to 'default' to specify to not 886 886 # each rule element can be left out or set to 'default' to specify to not
# change that attribute of the window 887 887 # change that attribute of the window
888 888
<decor>yes</decor> 889 889 <decor>yes</decor>
# enable or disable window decorations 890 890 # enable or disable window decorations
891 891
<shade>no</shade> 892 892 <shade>no</shade>
# make the window shaded when it appears, or not 893 893 # make the window shaded when it appears, or not
894 894
<position force="no"> 895 895 <position force="no">
# the position is only used if both an x and y coordinate are provided 896 896 # the position is only used if both an x and y coordinate are provided
# (and not set to 'default') 897 897 # (and not set to 'default')
# when force is "yes", then the window will be placed here even if it 898 898 # when force is "yes", then the window will be placed here even if it
# says you want it placed elsewhere. this is to override buggy 899 899 # says you want it placed elsewhere. this is to override buggy
# applications who refuse to behave 900 900 # applications who refuse to behave
<x>center</x> 901 901 <x>center</x>
# a number like 50, or 'center' to center on screen. use a negative number 902 902 # a number like 50, or 'center' to center on screen. use a negative number
# to start from the right (or bottom for <y>), ie -50 is 50 pixels from the 903 903 # to start from the right (or bottom for <y>), ie -50 is 50 pixels from the
# right edge (or bottom). 904 904 # right edge (or bottom).
<y>200</y> 905 905 <y>200</y>
<monitor>1</monitor> 906 906 <monitor>1</monitor>
# specifies the monitor in a xinerama setup. 907 907 # specifies the monitor in a xinerama setup.
# 1 is the first head, or 'mouse' for wherever the mouse is 908 908 # 1 is the first head, or 'mouse' for wherever the mouse is
</position> 909 909 </position>
910 910
<focus>yes</focus> 911 911 <focus>yes</focus>
# if the window should try be given focus when it appears. if this is set 912 912 # if the window should try be given focus when it appears. if this is set
# to yes it doesn't guarantee the window will be given focus. some 913 913 # to yes it doesn't guarantee the window will be given focus. some
# restrictions may apply, but Openbox will try to 914 914 # restrictions may apply, but Openbox will try to
915 915
<desktop>1</desktop> 916 916 <desktop>1</desktop>
# 1 is the first desktop, 'all' for all desktops 917 917 # 1 is the first desktop, 'all' for all desktops
918 918
<layer>normal</layer> 919 919 <layer>normal</layer>
# 'above', 'normal', or 'below' 920 920 # 'above', 'normal', or 'below'
921 921
<iconic>no</iconic> 922 922 <iconic>no</iconic>
# make the window iconified when it appears, or not 923 923 # make the window iconified when it appears, or not
924 924
<skip_pager>no</skip_pager> 925 925 <skip_pager>no</skip_pager>
# asks to not be shown in pagers 926 926 # asks to not be shown in pagers
927 927
<skip_taskbar>no</skip_taskbar> 928 928 <skip_taskbar>no</skip_taskbar>
# asks to not be shown in taskbars. window cycling actions will also 929 929 # asks to not be shown in taskbars. window cycling actions will also
# skip past such windows 930 930 # skip past such windows
931 931
<fullscreen>yes</fullscreen> 932 932 <fullscreen>yes</fullscreen>
# make the window in fullscreen mode when it appears 933 933 # make the window in fullscreen mode when it appears
934 934
<maximized>true</maximized> 935 935 <maximized>true</maximized>
# 'Horizontal', 'Vertical' or boolean (yes/no) 936 936 # 'Horizontal', 'Vertical' or boolean (yes/no)
</application> 937 937 </application>
938 938
# end of the example 939 939 # end of the example
--> 940 940 -->
<application name="gmessage"> 941 941 <application name="gmessage">
<decor>no</decor> 942 942 <decor>no</decor>
<shade>no</shade> 943 943 <shade>no</shade>
<skip_pager>yes</skip_pager> 944 944 <skip_pager>yes</skip_pager>
<skip_taskbar>yes</skip_taskbar> 945 945 <skip_taskbar>yes</skip_taskbar>
<fullscreen>no</fullscreen> 946 946 <fullscreen>no</fullscreen>
<maximized>no</maximized> 947 947 <maximized>no</maximized>
</application> 948 948 </application>
<application class="Gimp" name="gimp" role="gimp-toolbox" type="utility"> 949 949 <application class="Gimp" name="gimp" role="gimp-toolbox" type="utility">
<maximized>vertical</maximized> 950 950 <maximized>vertical</maximized>
</application> 951 951 </application>
<application class="Gimp" name="gimp" role="gimp-dock" type="utility"> 952 952 <application class="Gimp" name="gimp" role="gimp-dock" type="utility">
<maximized>vertical</maximized> 953 953 <maximized>vertical</maximized>
</application> 954 954 </application>
<application class="Gimp" name="gimp" role="gimp-image-window" type="normal"> 955 955 <application class="Gimp" name="gimp" role="gimp-image-window" type="normal">
scripts/matrixish.sh View file @ 0c455d9
File was created 1 #!/bin/bash
2 #
3 # matrix: matrix-ish display for Bash terminal
4 # Author: Brett Terpstra 2012 <http://brettterpstra.com>
5 # Contributors: Lauri Ranta and Carl <http://blog.carlsensei.com/>
6 #
7 # A morning project. Could have been better, but I'm learning when to stop.
8
9 ### Customization:
10 blue="\033[0;34m"
11 brightblue="\033[1;34m"
12 cyan="\033[0;36m"
13 brightcyan="\033[1;36m"
14 green="\033[0;32m"
15 brightgreen="\033[1;32m"
16 red="\033[0;31m"
17 brightred="\033[1;31m"
18 white="\033[1;37m"
19 black="\033[0;30m"
20 grey="\033[0;37m"
21 darkgrey="\033[1;30m"
22 # Choose the colors that will be used from the above list
23 # space-separated list
24 # e.g. `colors=($green $brightgreen $darkgrey $white)`
25 colors=($green $brightgreen)
26 ### End customization
27
28 ### Do not edit below this line
29 spacing=${1:-100} # the likelihood of a character being left in place
30 scroll=${2:-0} # 0 for static, positive integer determines scroll speed
31 screenlines=$(expr `tput lines` - 1 + $scroll)
32 screencols=$(expr `tput cols` / 2 - 1)
33
34 # chars=(a b c d e f g h i j k l m n o p q r s t u v w x y z A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 0 1 2 3 4 5 6 7 8 9 ^)
35 # charset via Carl:
36 chars=(ア イ ウ エ オ カ キ ク ケ コ サ シ ス セ ソ タ チ ツ テ ト ナ ニ ヌ ネ ノ ハ ヒ フ ヘ ホ マ ミ ム メ モ ヤ ユ ヨ ラ リ ル レ ロ ワ ン)
37
38 count=${#chars[@]}
39 colorcount=${#colors[@]}
40
41 trap "tput sgr0; clear; exit" SIGTERM SIGINT
42
43 if [[ $1 =~ '-h' ]]; then
44 echo "Display a Matrix(ish) screen in the terminal"
45 echo "Usage: matrix [SPACING [SCROLL]]"
46 echo "Example: matrix 100 0"
47 exit 0
48 fi
49
50
51 clear
52 tput cup 0 0
53 while :
54 do for i in $(eval echo {1..$screenlines})
55 do for i in $(eval echo {1..$screencols})
56 do rand=$(($RANDOM%$spacing))
57 case $rand in
58 0)
59 printf "${colors[$RANDOM%$colorcount]}${chars[$RANDOM%$count]} "
60 ;;
61 1)
62 printf " "
63 ;;
64 *)
65 printf "\033[2C"