All pastes #34428 Raw Edit

Stuff

public text v1 · immutable
#34428 ·published 2005-12-21 04:11 UTC
rendered paste body
        }
    }
}

// Move window one workspace up
key_grab
{
    key             "Up"
    modifier        control
    modifier        shift
    modifier        "Alt_L"
    ignore_modifier "Num_Lock"
    ignore_modifier "Caps_Lock"

    actions
    {
        slide_window_to_desktop
        {
            window     active
            horizontal +0 no_wraparound
            vertical   -1 no_wraparound
        }
        slide_to_desktop
        {
            horizontal +0 no_wraparound
            vertical   -1 no_wraparound
        }
    }
}

// Move window one workspace down
key_grab
{
    key             "Down"
    modifier        control
    modifier        shift
    modifier        "Alt_L"
    ignore_modifier "Num_Lock"
    ignore_modifier "Caps_Lock"

    actions
    {
        slide_window_to_desktop
        {
            window     active
            horizontal +0 no_wraparound
            vertical   +1 no_wraparound
        }
        slide_to_desktop
        {
            horizontal +0 no_wraparound
            vertical   +1 no_wraparound
        }
    }
}

// Hide all windows and focus desktop
key_grab
{
    key             "d"
    modifier        control
    modifier        "Alt_L"
    ignore_modifier "Num_Lock"
    ignore_modifier "Caps_Lock"

    actions
    {
        show_desktop
        {
            mode toggle
        }
    }
}

// Switch to workspace on the left
key_grab
{
    key             "Left"
    modifier        control
    modifier        "Alt_L"
    ignore_modifier "Num_Lock"
    ignore_modifier "Caps_Lock"

    actions
    {
        slide_to_desktop
        {
            horizontal -1 no_wraparound
            vertical   +0 no_wraparound
        }
    }
}

// Switch to workspace on the right
key_grab
{
    key             "Right"
    modifier        control
    modifier        "Alt_L"
    ignore_modifier "Num_Lock"
    ignore_modifier "Caps_Lock"

    actions
    {
        slide_to_desktop
        {
            horizontal +1 no_wraparound
            vertical   +0 no_wraparound
        }
    }
}

// Switch to workspace above this one
key_grab
{
    key             "Up"
    modifier        control
    modifier        "Alt_L"
    ignore_modifier "Num_Lock"
    ignore_modifier "Caps_Lock"

    actions
    {
        slide_to_desktop
        {
            horizontal +0 no_wraparound
            vertical   -1 no_wraparound
        }
    }
}

// Switch to workspace below this one
key_grab
{
    key             "Down"
    modifier        control
    modifier        "Alt_L"
    ignore_modifier "Num_Lock"
    ignore_modifier "Caps_Lock"

    actions
    {
        slide_to_desktop
        {
            horizontal +0 no_wraparound
            vertical   +1 no_wraparound
        }
    }
}