##// END OF EJS Templates
Update config.lua
Tsuki -
r7:43e30f718f3e tip default
parent child Browse files
Show More
@@ -3,24 +3,31 bypass_surface_visibility = false
3 log_level = "error" -- "silent", "error", "info", "debug"
3 log_level = "error" -- "silent", "error", "info", "debug"
4
4
5 appearance = {
5 appearance = {
6 border_px = 2,
6 -- inner border
7 gaps = 10, -- 0 = no gaps. simple as.
7 inner_border_px = 3,
8 inner_border_color = 0x76532Bff,
9 inner_focus_color = 0xfde9caff,
10 inner_urgent_color = 0xff0000ff,
11 -- outer border
12 outer_border_px = 3,
13 outer_border_color = 0x44270aff,
14 outer_focus_color = 0x44270aff,
15 outer_urgent_color = 0x44270aff,
16 -- gaps
17 gaps = 10,
8 smart_gaps = false,
18 smart_gaps = false,
9
19 -- rootcol
10 root_color = 0x222222ff,
20 root_color = 0x222222ff,
11 border_color = 0x00000000,
12 focus_color = 0xe8e8e8ff,
13 urgent_color = 0xff0000ff,
14
15 fullscreen_bg = 0x000000ff,
21 fullscreen_bg = 0x000000ff,
22 -- opacity
23 inactive_opacity = 1.0,
24 active_opacity = 1.0,
16 }
25 }
17
26
18
27
19 -- Note: the entire input section requires you to restart
20 -- the compositor once changed
21 input = {
28 input = {
22 repeat_rate = 50,
29 repeat_rate = 50,
23 repeat_delay = 150,
30 repeat_delay = 225,
24 tap_to_click = true,
31 tap_to_click = true,
25 tap_and_drag = true,
32 tap_and_drag = true,
26 drag_lock = true,
33 drag_lock = true,
@@ -28,14 +35,13 input = {
28 disable_while_typing = true,
35 disable_while_typing = true,
29 left_handed = false,
36 left_handed = false,
30 middle_button_emulation = false,
37 middle_button_emulation = false,
31 scroll_method = "2fg", -- "2fg", "edge", "button"
38 scroll_method = "2fg", -- "2fg", "edge", "button"
32 click_method = "button_areas", -- "button_areas", "clickfinger"
39 click_method = "button_areas", -- "button_areas", "clickfinger"
33 accel_profile = "adaptive", -- "adaptive", "flat"
40 accel_profile = "adaptive", -- "adaptive", "flat"
34 accel_speed = 0.0,
41 accel_speed = 0.0,
35
42 layout = "us", -- "us", "de", "de,us", ...
36 layout = "us", -- "us", "de", "de,us", ...
43 -- variant = "nodeadkeys",
37 -- variant = "nodeadkeys",
44 -- options = "grp:alt_shift_toggle",
38 -- options = "grp:alt_shift_toggle",
39 }
45 }
40
46
41 rules = {
47 rules = {
@@ -45,8 +51,8 rules = {
45
51
46 monitors = {
52 monitors = {
47 -- catch-all rule; name = nil means match anything
53 -- catch-all rule; name = nil means match anything
48 { name = nil, mfact = 0.55, nmaster = 1, scale = 1.0,
54 -- { name = nil, mfact = 0.55, nmaster = 1, scale = 1.0,
49 layout = "dwindle", x = -1, y = -1 },
55 -- layout = "dwindle", x = -1, y = -1 },
50
56
51 -- HiDPI laptop example:
57 -- HiDPI laptop example:
52 -- { name = "eDP-1", mfact = 0.5, nmaster = 1, scale = 2.0,
58 -- { name = "eDP-1", mfact = 0.5, nmaster = 1, scale = 2.0,
@@ -55,14 +61,15 monitors = {
55
61
56 -- autostart: it starts stuff in sequence
62 -- autostart: it starts stuff in sequence
57 autostart = {
63 autostart = {
58 "dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_SESSION_TYPE XDG_CURRENT_DESKTOP",
64 -- "dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_SESSION_TYPE XDG_CURRENT_DESKTOP",
59 "systemctl --user import-environment WAYLAND_DISPLAY XDG_SESSION_TYPE XDG_CURRENT_DESKTOP",
65 -- "swaybg -i ~/.config/swindle/walls/1.jpg",
60 "waybar",
66 -- "pgrep -x pipewire || pipewire",
67 -- "pgrep -x dunst || dunst",
61 }
68 }
62
69
63
70
64 keybinds = {
71 keybinds = {
65 { mods = {"logo"}, key = "q", action = "spawn", args = {"alacritty"} },
72 { mods = {"logo"}, key = "q", action = "spawn", args = {"foot"} },
66 { mods = {"logo"}, key = "space", action = "spawn", args = {"wofi", "--show", "drun"} },
73 { mods = {"logo"}, key = "space", action = "spawn", args = {"wofi", "--show", "drun"} },
67 { mods = {"logo"}, key = "w", action = "killclient" },
74 { mods = {"logo"}, key = "w", action = "killclient" },
68 { mods = {"logo"}, key = "v", action = "togglefloating" },
75 { mods = {"logo"}, key = "v", action = "togglefloating" },
@@ -99,3 +106,4 buttons = {
99 { mods = {"logo"}, button = "middle", action = "togglefloating" },
106 { mods = {"logo"}, button = "middle", action = "togglefloating" },
100 { mods = {"logo"}, button = "right", action = "moveresize", args = {"resize"} },
107 { mods = {"logo"}, button = "right", action = "moveresize", args = {"resize"} },
101 }
108 }
109
General Comments 0
You need to be logged in to leave comments. Login now