PPaste!

Valz' Tyrannical config

Home - All the pastes - Authored by Thooms

Raw version

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
tyrannical = require("tyrannical")

-- {{{ Tags
tyrannical.tags = {
    {
        name      = "www",
        init      = "true",
        exclusive = "true",
        screen    = screen.count()>1 and 2 or 1,
        layout    = awful.layout.suit.max,
        class     = {"Firefox"}
    },
    {
        name      = "term",
        layout    = awful.layout.suit.fair,
        init      = true,
        exclusive = true,
        screen    = {1,2},
        class     = {"urxvt","XTerm","terminator"}
    },
    {
        -- Tag created where thunar was called. Destroyed on the fly
        name      = "fs",
        volatile  = true,
        layout    = awful.layout.suit.max,
        exclusive = true,
        exec_once = {"thunar"},
        class     = {"Thunar"}
    },
    {
        -- TODO : Check if vim is acceptable in class
        name      = "dev",
        volatile  = true,
        layout    = awful.layout.suit.tile,
        screen    = {1,2},
        exclusive = true,
        class     = {"subl3", "vim", "gvim"}
    },
    {
        name      = "media",
        init      = true,
        layout    = awful.layout.suit.max,
        exclusive = true,
        exec_once = "spotify",
        volatile  = true,
        screen    = screen.count()>1 and 1 or 2,
        class     = {"vlc", "spotify", "ncmpcpp"}
    },
    {
        name      = "IM",
        init      = true,
        layout    = awful.layout.suit.tile,
        exec_once = "rambox",
        screen    = 1,
        volatile  = true,
        exclusive = true,
        class     = {"rambox", "thunderbird"}
        -- and a scratchpad with a more common term (xterm)
    }
}

tyrannical.properties.intrusive = {
    "shutter", "feh"
}

tyrannical.properties.floating = {
    "feh", "shutter"
}

tyrannical.properties.ontop = {
    "shutter"
}

tyrannical.properties.centered = {
    -- TODO : Add scratchpad
}

tyrannical.settings.block_children_focus_stealing = true
tyrannical.settings.group_children = true

-- }}}