File: ExampleConfig.plist

package info (click to toggle)
wlmaker 0.7-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 6,884 kB
  • sloc: ansic: 54,832; xml: 1,424; python: 1,400; yacc: 118; lex: 70; sh: 16; makefile: 8
file content (128 lines) | stat: -rw-r--r-- 4,115 bytes parent folder | download | duplicates (2)
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
{
    //! [Keyboard]
    Keyboard = {
        XkbRMLVO = {
            Rules = "evdev";
            Model = "pc105";
            Layout = "us";
            Variant = "intl";
            Options = "";
        };
        Repeat = {
            // Delay before initiating repeats, in milliseconds.
            Delay = 300;
            // Repeats per second.
            Rate = 25;
        };
    };
    //! [Keyboard]

    //! [Decoration]
    // Configuration for XDG decoration protocol: Server or client-side?
    Decoration = {
        Mode = SuggestServer;
    };
    //! [Decoration]

    //! [KeyBindings]
    KeyBindings = {
        "Ctrl+Alt+Logo+Q" = Quit;
        "Ctrl+Alt+Logo+L" = LockScreen;
        "Ctrl+Alt+Logo+T" = LaunchTerminal;

        "Ctrl+Alt+Logo+Left" = WorkspacePrevious;
        "Ctrl+Alt+Logo+Right" = WorkspaceNext;

        "Ctrl+Alt+Logo+Escape" = TaskNext;
        "Shift+Ctrl+Alt+Logo+Escape" = TaskPrevious;

        "Alt+Logo+Up" = WindowRaise;
        "Alt+Logo+Down" = WindowLower;
        "Ctrl+Alt+Logo+F" = WindowToggleFullscreen;
        "Ctrl+Alt+Logo+M" = WindowToggleMaximized;

        // TODO(kaeser@gubbe.ch): Swap with F12, to match Window Maker's behaviour.
        "Ctrl+Alt+Logo+R" = RootMenu;

        // TODO(kaeser@gubbe.ch): xkbcommon emits XF86Switch_VT_n for Fn only with
        // Ctrl+Alt presset. Means: Here, it should not need the modifiers to be
        // listed. Should determine how to handle that w/o modifiers.
        "Ctrl+Alt+XF86Switch_VT_1" = SwitchToVT1;
        "Ctrl+Alt+XF86Switch_VT_2" = SwitchToVT2;
        "Ctrl+Alt+XF86Switch_VT_3" = SwitchToVT3;
        "Ctrl+Alt+XF86Switch_VT_4" = SwitchToVT4;
        "Ctrl+Alt+XF86Switch_VT_5" = SwitchToVT5;
        "Ctrl+Alt+XF86Switch_VT_6" = SwitchToVT6;
        "Ctrl+Alt+XF86Switch_VT_7" = SwitchToVT7;
        "Ctrl+Alt+XF86Switch_VT_8" = SwitchToVT8;
        "Ctrl+Alt+XF86Switch_VT_9" = SwitchToVT9;
        "Ctrl+Alt+XF86Switch_VT_10" = SwitchToVT10;
        "Ctrl+Alt+XF86Switch_VT_11" = SwitchToVT11;
        "Ctrl+Alt+XF86Switch_VT_12" = SwitchToVT12;
    };
    //! [KeyBindings]

    //! [HotCorner]
    HotCorner = {
        // Delay for the pointer occupying a corner before triggering 'Enter'.
        TriggerDelay = 500;
        // For each corner 'TopLeft', 'TopRight', 'BottomLeft' and 'BottomRight'
        // there are 'Enter' and 'Leave' events that can be bound to an action.
        TopLeftEnter = LockScreen;
        TopLeftLeave = None;
        TopRightEnter = InhibitLockBegin;
        TopRightLeave = InhibitLockEnd;
        BottomLeftEnter = None;
        BottomLeftLeave = None;
        BottomRightEnter = None;
        BottomRightLeave = None;
    };
    //! [HotCorner]

    //! [ScreenLock]
    ScreenLock = {
        IdleSeconds = 300;
        Command = "/usr/bin/swaylock";
    };
    //! [ScreenLock]

    //! [Autostart]
    // Optional array: Commands to start once wlmaker is running.
    Autostart = (
        "/usr/bin/foot"
    );
    //! [Autostart]

    //! [Outputs]
    Outputs = (
        // The "Eizo EV2785" monitor on the DisplayPort connection: Configure
        // for a resolution of 1920x1080 (at any supported refresh rate), scale
        // with a factor of 2.0, and place it's top-left corner at (0, 0).
        {
            Manufacturer = "Eizo*";
            Model = "EV2785";
            Name = "DP-*";
            Position = "0,0";
            // Note: Mode applies before scaling: The effective resolution
            // visible to clients becomes 1920x1080.
            Mode = "3840x2160@59.997";
            Scale = 2.0;
            Transformation = Normal;
        },
        // Any output at HDMI will also be placed at 0,0; mirroring the "Eizo".
        {
            Name = "HDMI-*";
            Position = "0,0";
            Scale = 1.0;
            Transformation = Normal;
        },
        // Any further monitor will be automatically placed; to the right of
        // above setup.
        {
            Name = "*";
            Scale = 1.0;
            Transformation = Normal;
        },
    );
    //! [Outputs]
}