include "binds.kdl"

include "window-rule.kdl"
include "input.kdl" 
include "output-pc.kdl" 
include "spawn-at-startup.kdl"
include "animation.kdl"
include "layout.kdl"
overview {
    zoom 0.4
    backdrop-color "#07090b"
    workspace-shadow {
        off
    }
}
clipboard {
    disable-primary
}
cursor {
    xcursor-theme "Bibata-Modern-Ice"
    xcursor-size 20
    hide-when-typing
    hide-after-inactive-ms 500
}

hotkey-overlay {
     skip-at-startup
}
prefer-no-csd
screenshot-path "~/imgs/screenshots/screenshot-from-%Y-%m-%d %H-%M-%S.png"
// You can also set this to null to disable saving screenshots to disk.
// screenshot-path null
recent-windows {
    // off
    debounce-ms 750 
    open-delay-ms 100

    highlight {
        active-color "#eef7fd"
        urgent-color "#eef7fd"
        padding 20
        corner-radius 10
    }

    previews {
        max-height 480
        max-scale 0.4
    }

    binds {
        Mod+Tab         { next-window; }
        Mod+Shift+Tab   { previous-window; }
     //   Mod+grave       { next-window     filter="app-id"; }
        Mod+Shift+grave { previous-window filter="app-id"; }

        Alt+Tab         { next-window; }
        Alt+Shift+Tab   { previous-window; }
        Alt+grave       { next-window     filter="app-id"; }
        Alt+Shift+grave { previous-window filter="app-id"; }
    }
}
environment{
  XDG_CURRENT_DESKTOP "niri" 
  QT_QPA_PLATFORMTHEME "xdgdesktopportal"
  QT_QPA_PLATFORM "wayland"
  ELECTRON_OZONE_PLATFORM_HINT "wayland"
  //ЖQT_STYLE_OVERRIDE "adwaita"
  QT_STYLE_OVERRIDE "kvantum"
}
xwayland-satellite {
    // off
    path "xwayland-satellite"
}


include "dms/cursor.kdl"

include "dms/outputs.kdl"
