95 lines
2.2 KiB
Nix
95 lines
2.2 KiB
Nix
_: let
|
|
pointer = "Bibata-Modern-Classic";
|
|
in {
|
|
environment = {
|
|
CLUTTER_BACKEND = "wayland";
|
|
DISPLAY = null;
|
|
MOZ_ENABLE_WAYLAND = "1";
|
|
NIXOS_OZONE_WL = "1";
|
|
QT_QPA_PLATFORM = "wayland;xcb";
|
|
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
|
|
SDL_VIDEODRIVER = "wayland";
|
|
WLR_RENDERER = "vulkan";
|
|
WLR_NO_HARDWARE_CURSORS = "1";
|
|
QT_QPA_PLATFORMTHEME = "qt6ct";
|
|
GTK_IM_MODULE = "simple";
|
|
XDG_CURRENT_DESKTOP = "Niri";
|
|
XDG_SESSION_TYPE = "wayland";
|
|
};
|
|
|
|
spawn-at-startup = [
|
|
["wl-paste" "--watch" "cliphist" "store"]
|
|
["wl-paste" "--type" "text" "--watch" "cliphist" "store"]
|
|
["dunst"]
|
|
["ashell"]
|
|
["elephant"]
|
|
["copyq"]
|
|
["swww-daemon"]
|
|
["swww" "img" "/etc/nixos/background.jpg" "--transition-type" "grow" "--transition-pos" "center" "--transition-duration" "3"]
|
|
];
|
|
|
|
input = {
|
|
keyboard.xkb.layout = "us";
|
|
touchpad = {
|
|
click-method = "button-areas";
|
|
dwt = {};
|
|
dwtp = {};
|
|
#natural-scroll = {};
|
|
scroll-method = "two-finger";
|
|
tap = {};
|
|
tap-button-map = "left-right-middle";
|
|
middle-emulation = {};
|
|
accel-profile = "adaptive";
|
|
};
|
|
focus-follows-mouse._props = {max-scroll-amount = "90%";};
|
|
warp-mouse-to-focus = {};
|
|
workspace-auto-back-and-forth = {};
|
|
};
|
|
|
|
screenshot-path = "~/Pictures/Screenshots/Screenshot-from-%Y-%m-%d-%H-%M-%S.png";
|
|
|
|
overview = {
|
|
workspace-shadow.off = {};
|
|
backdrop-color = "transparent";
|
|
};
|
|
|
|
gestures.hot-corners = {};
|
|
|
|
cursor = {
|
|
xcursor-size = 20;
|
|
xcursor-theme = pointer;
|
|
};
|
|
|
|
layout = {
|
|
background-color = "transparent";
|
|
focus-ring.off = {};
|
|
border = {
|
|
width = 1;
|
|
};
|
|
shadow.off = {};
|
|
preset-column-widths.proportion = [0.25 0.5 0.75 1.0];
|
|
default-column-width.proportion = 0.5;
|
|
always-center-single-column = {};
|
|
gaps = 6;
|
|
struts = {
|
|
left = 0;
|
|
right = 0;
|
|
top = 0;
|
|
bottom = 0;
|
|
};
|
|
tab-indicator = {
|
|
hide-when-single-tab = {};
|
|
place-within-column = {};
|
|
position = "left";
|
|
corner-radius = 20.0;
|
|
gap = -12.0;
|
|
gaps-between-tabs = 10.0;
|
|
width = 4.0;
|
|
length._props = {total-proportion = 0.1;};
|
|
};
|
|
};
|
|
|
|
prefer-no-csd = {};
|
|
hotkey-overlay.skip-at-startup = {};
|
|
}
|