Show More
| @@ -3,24 +3,31 bypass_surface_visibility = false | |||
|
|
3 | 3 | log_level = "error" -- "silent", "error", "info", "debug" |
|
|
4 | 4 | |
|
|
5 | 5 | appearance = { |
|
|
6 | border_px = 2, | |
|
|
7 | gaps = 10, -- 0 = no gaps. simple as. | |
|
|
6 | -- inner border | |
|
|
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 | 18 | smart_gaps = false, |
|
|
9 | ||
|
|
19 | -- rootcol | |
|
|
10 | 20 | root_color = 0x222222ff, |
|
|
11 | border_color = 0x00000000, | |
|
|
12 | focus_color = 0xe8e8e8ff, | |
|
|
13 | urgent_color = 0xff0000ff, | |
|
|
14 | ||
|
|
15 | 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 | 28 | input = { |
|
|
22 | 29 | repeat_rate = 50, |
|
|
23 |
repeat_delay = |
|
|
|
30 | repeat_delay = 225, | |
|
|
24 | 31 | tap_to_click = true, |
|
|
25 | 32 | tap_and_drag = true, |
|
|
26 | 33 | drag_lock = true, |
| @@ -32,7 +39,6 input = { | |||
|
|
32 | 39 | click_method = "button_areas", -- "button_areas", "clickfinger" |
|
|
33 | 40 | accel_profile = "adaptive", -- "adaptive", "flat" |
|
|
34 | 41 | accel_speed = 0.0, |
|
|
35 | ||
|
|
36 | 42 |
layout = "us", |
|
|
37 | 43 |
|
|
|
38 | 44 |
|
| @@ -45,8 +51,8 rules = { | |||
|
|
45 | 51 | |
|
|
46 | 52 | monitors = { |
|
|
47 | 53 | -- catch-all rule; name = nil means match anything |
|
|
48 | { name = nil, mfact = 0.55, nmaster = 1, scale = 1.0, | |
|
|
49 | layout = "dwindle", x = -1, y = -1 }, | |
|
|
54 | -- { name = nil, mfact = 0.55, nmaster = 1, scale = 1.0, | |
|
|
55 | -- layout = "dwindle", x = -1, y = -1 }, | |
|
|
50 | 56 | |
|
|
51 | 57 | -- HiDPI laptop example: |
|
|
52 | 58 | -- { name = "eDP-1", mfact = 0.5, nmaster = 1, scale = 2.0, |
| @@ -55,14 +61,15 monitors = { | |||
|
|
55 | 61 | |
|
|
56 | 62 | -- autostart: it starts stuff in sequence |
|
|
57 | 63 | autostart = { |
|
|
58 |
|
|
|
|
59 | "systemctl --user import-environment WAYLAND_DISPLAY XDG_SESSION_TYPE XDG_CURRENT_DESKTOP", | |
|
|
60 | "waybar", | |
|
|
64 | -- "dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_SESSION_TYPE XDG_CURRENT_DESKTOP", | |
|
|
65 | -- "swaybg -i ~/.config/swindle/walls/1.jpg", | |
|
|
66 | -- "pgrep -x pipewire || pipewire", | |
|
|
67 | -- "pgrep -x dunst || dunst", | |
|
|
61 | 68 | } |
|
|
62 | 69 | |
|
|
63 | 70 | |
|
|
64 | 71 | keybinds = { |
|
|
65 |
{ mods = {"logo"}, key = "q", action = "spawn", args = {" |
|
|
|
72 | { mods = {"logo"}, key = "q", action = "spawn", args = {"foot"} }, | |
|
|
66 | 73 | { mods = {"logo"}, key = "space", action = "spawn", args = {"wofi", "--show", "drun"} }, |
|
|
67 | 74 | { mods = {"logo"}, key = "w", action = "killclient" }, |
|
|
68 | 75 | { mods = {"logo"}, key = "v", action = "togglefloating" }, |
| @@ -99,3 +106,4 buttons = { | |||
|
|
99 | 106 | { mods = {"logo"}, button = "middle", action = "togglefloating" }, |
|
|
100 | 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
