File: Config.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 (103 lines) | stat: -rw-r--r-- 3,528 bytes parent folder | download
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
//! @page etc_config_plist etc/Config.plist
//! Compiled-in default configuration. See @ref config_file for details.
//! @include etc/Config.plist
// Base configuration for wlmaker: Keyboard and autostarted applications.
{
    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;
        };
    };
    // Configuration for XDG decoration protocol: Server or client-side?
    Decoration = {
        Mode = SuggestServer;
    };
    KeyBindings = {
        "Ctrl+Alt+Backspace" = Quit;

        "Ctrl+Alt+L" = LockScreen;
        "Logo+L" = LockScreen;

        "Ctrl+Alt+T" = LaunchTerminal;
        "Logo+Return" = LaunchTerminal;

        "Alt+Tab" = TaskNext;
        "Shift+Alt+ISO_Left_Tab" = TaskPrevious;

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

        "Alt+Up" = WindowRaise;
        "Alt+Down" = WindowLower;
        "Alt+F10" = WindowToggleMaximized;
        "Ctrl+Shift+M" = WindowToggleMaximized;
        "Alt+F11" = WindowToggleFullscreen;
        "Ctrl+Shift+F" = WindowToggleFullscreen;
        "Alt+F4" = WindowClose;
        "Ctrl+Alt+Shift+Right" = WindowToNextWorkspace;
        "Ctrl+Alt+Shift+Left" = WindowToPreviousWorkspace;

        "F12" = RootMenu;
        "Ctrl+Escape" = RootMenu;

        // TODO(kaeser@gubbe.ch): Swap to Plus, Minus, once finding a way to
        // exclude the Shift-modifier well.
        "Ctrl+Shift+Page_Up" = OutputMagnify;
        "Ctrl+Shift+Page_Down" = OutputReduce;

        // 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;
    };
    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;
    };
    ScreenLock = {
        IdleSeconds = 300;
        Command = "/usr/bin/swaylock";
    };
    // Optional array: Commands to start once wlmaker is running.
    Autostart = (
        "/usr/bin/foot"
    );
    Outputs = (
        {
            Name = "*";
            Transformation = Normal;
            Scale = 1.0;
        },
    );
}