add change_desktop
Dana Jansens danakj@orodu.net
1 files changed,
4 insertions(+),
0 deletions(-)
jump to
M
scripts/builtins.py
→
scripts/builtins.py
@@ -124,6 +124,10 @@ d = d - 1
elif not no_wrap: d = n - 1 OBScreen_changeDesktop(screen, d) + +def change_desktop(data, num): + screen = Openbox_screen(openbox, data.screen()) + OBScreen_changeDesktop(screen, num) ######################################### ### Convenience functions for scripts ###