-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.ron
114 lines (113 loc) · 7.07 KB
/
config.ron
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
// _ ___ ___ _
// | | / __)_ / __|_)
// | | ____| |__| |_ _ _ _ ____ ____ ___ ____ | |__ _ ____ ____ ___ ____
// | |/ _ ) __) _) | | | \ / ___) _ \| _ \| __) |/ _ | / ___) _ \| _ \
// | ( (/ /| | | |_| | | | | | | ( (__| |_| | | | | | | ( ( | |_| | | |_| | | | |
// |_|\____)_| \___)____|_|_|_| \____)___/|_| |_|_| |_|\_|| (_)_| \___/|_| |_|
// A WindowManager for Adventurers (____/
// For info about configuration please visit https://github.com/leftwm/leftwm/wiki
#![enable(implicit_some)]
(
modkey: "Mod4",
mousekey: "Mod4",
workspaces: [],
tags: [
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8",
"9",
],
max_window_width: None,
layouts: [
MainAndVertStack,
MainAndHorizontalStack,
MainAndDeck,
GridHorizontal,
EvenHorizontal,
EvenVertical,
Fibonacci,
CenterMain,
CenterMainBalanced,
Monocle,
RightWiderLeftStack,
LeftWiderRightStack,
],
layout_mode: Workspace,
insert_behavior: Bottom,
scratchpad: [(name: "Alacritty", value: "alacritty",x: 860, y: 390, height: 300, width: 200 )],
window_rules: [(WM_CLASS:"albert",x: 860, y: 390, height: 300, width: 200 )],
disable_current_tag_swap: true,
disable_tile_drag: false,
disable_window_snap: false,
focus_behaviour: Sloppy,
focus_new_windows: true,
sloppy_mouse_follows_focus: true,
keybind: [
(command: Execute, value: "xfce4-terminal --drop-down", modifier: [], key: "F12"),
(command: Execute, value: "killall conky", modifier: ["modkey"], key: "c"),
(command: Execute, value: "archlinux-logout", modifier: ["modkey"], key: "x"),
(command: Execute, value: "thunar", modifier: ["modkey", "Shift"], key: "Return"),
(command: Execute, value: "leftwm-command ToggleFullScreen", modifier: ["modkey"], key: "f"),
(command: Execute, value: "urxvt", modifier: ["modkey"], key: "t"),
(command: Execute, value: "alacritty", modifier: ["Control", "Alt"], key: "t"),
(command: Execute, value: "alacritty", modifier: ["Control", "Alt"], key: "Return"),
(command: Execute, value: "alacritty", modifier: ["modkey"], key: "Return"),
(command: CloseWindow, value: "", modifier: ["modkey", "Shift"], key: "q"),
(command: CloseWindow, value: "", modifier: ["modkey"], key: "q"),
(command: SoftReload, value: "", modifier: ["modkey", "Shift"], key: "r"),
(command: MoveToLastWorkspace, value: "", modifier: ["modkey", "Shift"], key: "w"),
(command: SwapTags, value: "", modifier: ["modkey"], key: "w"),
(command: MoveWindowUp, value: "", modifier: ["modkey", "Shift"], key: "k"),
(command: MoveWindowDown, value: "", modifier: ["modkey", "Shift"], key: "j"),
(command: MoveWindowUp, value: "", modifier: ["modkey", "Shift"], key: "Up"),
(command: MoveWindowDown, value: "", modifier: ["modkey", "Shift"], key: "Down"),
(command: FocusWindowUp, value: "", modifier: ["modkey"], key: "k"),
(command: FocusWindowDown, value: "", modifier: ["modkey"], key: "j"),
(command: NextLayout, value: "", modifier: ["modkey"], key: "space"),
(command: PreviousLayout, value: "", modifier: ["modkey", "Shift"], key: "space"),
(command: FocusWorkspaceNext, value: "", modifier: ["modkey"], key: "l"),
(command: FocusWorkspacePrevious, value: "", modifier: ["modkey"], key: "h"),
(command: NextLayout, value: "", modifier: ["modkey", "Control"], key: "Up"),
(command: PreviousLayout, value: "", modifier: ["modkey", "Control"], key: "Down"),
(command: FocusNextTag, value: "", modifier: ["modkey"], key: "Down"),
(command: FocusPreviousTag, value: "", modifier: ["modkey"], key: "Up"),
(command: Execute, value: "leftwm-command SwapScreens", modifier: ["modkey"], key: "Left"),
(command: Execute, value: "leftwm-command SwapScreens", modifier: ["modkey"], key: "Right"),
(command: MoveWindowToNextWorkspace, value: "", modifier: ["modkey", "Shift"], key: "Left"),
(command: MoveWindowToNextWorkspace, value: "", modifier: ["modkey", "Shift"], key: "Right"),
(command: FocusPreviousTag, value: "", modifier: ["Control", "Alt"], key: "Left"),
(command: FocusNextTag, value: "", modifier: ["Control", "Alt"], key: "Right"),
(command: FocusPreviousTag, value: "", modifier: ["Control", "Alt"], key: "Up"),
(command: FocusNextTag, value: "", modifier: ["Control", "Alt"], key: "Down"),
(command: FocusNextTag, value: "", modifier: ["modkey"], key: "Tab"),
(command: FocusPreviousTag, value: "", modifier: ["modkey", "Shift"], key: "Tab"),
(command: FocusNextTag, value: "", modifier: ["Alt"], key: "Tab"),
(command: FocusPreviousTag, value: "", modifier: ["Alt", "Shift"], key: "Tab"),
(command: IncreaseMainWidth, value: "1", modifier: ["modkey", "Shift"], key: "l"),
(command: DecreaseMainWidth, value: "1", modifier: ["modkey", "Shift"], key: "h"),
(command: GotoTag, value: "1", modifier: ["modkey"], key: "1"),
(command: GotoTag, value: "2", modifier: ["modkey"], key: "2"),
(command: GotoTag, value: "3", modifier: ["modkey"], key: "3"),
(command: GotoTag, value: "4", modifier: ["modkey"], key: "4"),
(command: GotoTag, value: "5", modifier: ["modkey"], key: "5"),
(command: GotoTag, value: "6", modifier: ["modkey"], key: "6"),
(command: GotoTag, value: "7", modifier: ["modkey"], key: "7"),
(command: GotoTag, value: "8", modifier: ["modkey"], key: "8"),
(command: GotoTag, value: "9", modifier: ["modkey"], key: "9"),
(command: Execute, value: "leftwm-command \"SendWindowToTag 1\" \"SendWorkspaceToTag 0 0\"", modifier: ["modkey", "Shift"], key: "1"),
(command: Execute, value: "leftwm-command \"SendWindowToTag 2\" \"SendWorkspaceToTag 0 1\"", modifier: ["modkey", "Shift"], key: "2"),
(command: Execute, value: "leftwm-command \"SendWindowToTag 3\" \"SendWorkspaceToTag 0 2\"", modifier: ["modkey", "Shift"], key: "3"),
(command: Execute, value: "leftwm-command \"SendWindowToTag 4\" \"SendWorkspaceToTag 0 3\"", modifier: ["modkey", "Shift"], key: "4"),
(command: Execute, value: "leftwm-command \"SendWindowToTag 5\" \"SendWorkspaceToTag 0 4\"", modifier: ["modkey", "Shift"], key: "5"),
(command: Execute, value: "leftwm-command \"SendWindowToTag 6\" \"SendWorkspaceToTag 0 5\"", modifier: ["modkey", "Shift"], key: "6"),
(command: Execute, value: "leftwm-command \"SendWindowToTag 7\" \"SendWorkspaceToTag 0 6\"", modifier: ["modkey", "Shift"], key: "7"),
(command: Execute, value: "leftwm-command \"SendWindowToTag 8\" \"SendWorkspaceToTag 0 7\"", modifier: ["modkey", "Shift"], key: "8"),
(command: Execute, value: "leftwm-command \"SendWindowToTag 9\" \"SendWorkspaceToTag 0 8\"", modifier: ["modkey", "Shift"], key: "9"),
],
state_path: None,
)