diff --git a/example/config.lua b/example/config.lua --- a/example/config.lua +++ b/example/config.lua @@ -3,24 +3,31 @@ bypass_surface_visibility = false log_level = "error" -- "silent", "error", "info", "debug" appearance = { - border_px = 2, - gaps = 10, -- 0 = no gaps. simple as. + -- inner border + inner_border_px = 3, + inner_border_color = 0x76532Bff, + inner_focus_color = 0xfde9caff, + inner_urgent_color = 0xff0000ff, + -- outer border + outer_border_px = 3, + outer_border_color = 0x44270aff, + outer_focus_color = 0x44270aff, + outer_urgent_color = 0x44270aff, + -- gaps + gaps = 10, smart_gaps = false, - + -- rootcol root_color = 0x222222ff, - border_color = 0x00000000, - focus_color = 0xe8e8e8ff, - urgent_color = 0xff0000ff, - fullscreen_bg = 0x000000ff, + -- opacity + inactive_opacity = 1.0, + active_opacity = 1.0, } --- Note: the entire input section requires you to restart --- the compositor once changed input = { repeat_rate = 50, - repeat_delay = 150, + repeat_delay = 225, tap_to_click = true, tap_and_drag = true, drag_lock = true, @@ -28,14 +35,13 @@ input = { disable_while_typing = true, left_handed = false, middle_button_emulation = false, - scroll_method = "2fg", -- "2fg", "edge", "button" + scroll_method = "2fg", -- "2fg", "edge", "button" click_method = "button_areas", -- "button_areas", "clickfinger" accel_profile = "adaptive", -- "adaptive", "flat" accel_speed = 0.0, - - layout = "us", -- "us", "de", "de,us", ... - -- variant = "nodeadkeys", - -- options = "grp:alt_shift_toggle", + layout = "us", -- "us", "de", "de,us", ... + -- variant = "nodeadkeys", + -- options = "grp:alt_shift_toggle", } rules = { @@ -45,8 +51,8 @@ rules = { monitors = { -- catch-all rule; name = nil means match anything - { name = nil, mfact = 0.55, nmaster = 1, scale = 1.0, - layout = "dwindle", x = -1, y = -1 }, + -- { name = nil, mfact = 0.55, nmaster = 1, scale = 1.0, + -- layout = "dwindle", x = -1, y = -1 }, -- HiDPI laptop example: -- { name = "eDP-1", mfact = 0.5, nmaster = 1, scale = 2.0, @@ -55,14 +61,15 @@ monitors = { -- autostart: it starts stuff in sequence autostart = { - "dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_SESSION_TYPE XDG_CURRENT_DESKTOP", - "systemctl --user import-environment WAYLAND_DISPLAY XDG_SESSION_TYPE XDG_CURRENT_DESKTOP", - "waybar", +-- "dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_SESSION_TYPE XDG_CURRENT_DESKTOP", +-- "swaybg -i ~/.config/swindle/walls/1.jpg", +-- "pgrep -x pipewire || pipewire", +-- "pgrep -x dunst || dunst", } keybinds = { - { mods = {"logo"}, key = "q", action = "spawn", args = {"alacritty"} }, + { mods = {"logo"}, key = "q", action = "spawn", args = {"foot"} }, { mods = {"logo"}, key = "space", action = "spawn", args = {"wofi", "--show", "drun"} }, { mods = {"logo"}, key = "w", action = "killclient" }, { mods = {"logo"}, key = "v", action = "togglefloating" }, @@ -99,3 +106,4 @@ buttons = { { mods = {"logo"}, button = "middle", action = "togglefloating" }, { mods = {"logo"}, button = "right", action = "moveresize", args = {"resize"} }, } +