well niri work please
This commit is contained in:
parent
949f2ca150
commit
4898f5cc5f
7 changed files with 38 additions and 39 deletions
|
|
@ -11,13 +11,17 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
window-open = {
|
window-open = {
|
||||||
duration-ms = 150;
|
kind.easing = {
|
||||||
curve = "ease-out-expo";
|
duration-ms = 150;
|
||||||
|
curve = "ease-out-expo";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
window-close = {
|
window-close = {
|
||||||
duration-ms = 150;
|
kind.easing = {
|
||||||
curve = "ease-out-quad";
|
duration-ms = 150;
|
||||||
|
curve = "ease-out-quad";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
horizontal-view-movement.spring = {
|
horizontal-view-movement.spring = {
|
||||||
|
|
@ -44,8 +48,12 @@
|
||||||
epsilon = 0.001;
|
epsilon = 0.001;
|
||||||
};
|
};
|
||||||
|
|
||||||
screenshot-ui-open.duration-ms = 200;
|
screenshot-ui-open = {
|
||||||
|
kind.easing = {
|
||||||
|
duration-ms = 200;
|
||||||
|
curve = "ease-out-quad";
|
||||||
|
};
|
||||||
|
};
|
||||||
overview-open-close.spring = {
|
overview-open-close.spring = {
|
||||||
damping-ratio = 1.0;
|
damping-ratio = 1.0;
|
||||||
stiffness = 800;
|
stiffness = 800;
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@
|
||||||
numlock = true;
|
numlock = true;
|
||||||
};
|
};
|
||||||
touchpad = {
|
touchpad = {
|
||||||
off = true;
|
enable = false;
|
||||||
tap = true;
|
tap = true;
|
||||||
dwt = true;
|
dwt = true;
|
||||||
dwtp = true;
|
dwtp = true;
|
||||||
|
|
@ -39,9 +39,6 @@
|
||||||
scroll-method = null;
|
scroll-method = null;
|
||||||
};
|
};
|
||||||
|
|
||||||
mouse-scroll-factor = 1.0;
|
|
||||||
touchpad-scroll-factor = 1.0;
|
|
||||||
|
|
||||||
focus-follows-mouse = {
|
focus-follows-mouse = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# max-scroll-amount = "0%";
|
# max-scroll-amount = "0%";
|
||||||
|
|
|
||||||
|
|
@ -10,15 +10,15 @@
|
||||||
"-e"
|
"-e"
|
||||||
"nvim"
|
"nvim"
|
||||||
];
|
];
|
||||||
"Alt+F".spawn = [ "zen-beta" ];
|
"Alt+F".action.spawn = [ "zen-beta" ];
|
||||||
"Alt+Z".spawn = [ "zotero" ];
|
"Alt+Z".action.spawn = [ "zotero" ];
|
||||||
"Alt+T".spawn = [ "thunderbird" ];
|
"Alt+T".action.spawn = [ "thunderbird" ];
|
||||||
|
|
||||||
# other actions
|
# other actions
|
||||||
"ALT+F4".action.close-window = { };
|
"ALT+F4".action.close-window = { };
|
||||||
"ALT+V".action.toggle-window-floating = { };
|
"ALT+V".action.toggle-window-floating = { };
|
||||||
"ALT+M".action.maximize-column = { };
|
"Ctrl+M".action.maximize-column = { };
|
||||||
"ALT+F".action.fullscreen-window = { };
|
"Ctrl+F".action.fullscreen-window = { };
|
||||||
|
|
||||||
"ALT+H".action.focus-column-left = { };
|
"ALT+H".action.focus-column-left = { };
|
||||||
"ALT+L".action.focus-column-right = { };
|
"ALT+L".action.focus-column-right = { };
|
||||||
|
|
@ -52,8 +52,8 @@
|
||||||
|
|
||||||
# multimédia / luminosité
|
# multimédia / luminosité
|
||||||
"XF86MonBrightnessUp" = {
|
"XF86MonBrightnessUp" = {
|
||||||
_props.allow-when-locked = true;
|
allow-when-locked = true;
|
||||||
spawn = [
|
action.spawn = [
|
||||||
"brightnessctl"
|
"brightnessctl"
|
||||||
"-e4"
|
"-e4"
|
||||||
"-n2"
|
"-n2"
|
||||||
|
|
@ -62,8 +62,8 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
"XF86MonBrightnessDown" = {
|
"XF86MonBrightnessDown" = {
|
||||||
_props.allow-when-locked = true;
|
allow-when-locked = true;
|
||||||
spawn = [
|
action.spawn = [
|
||||||
"brightnessctl"
|
"brightnessctl"
|
||||||
"-e4"
|
"-e4"
|
||||||
"-n2"
|
"-n2"
|
||||||
|
|
@ -72,8 +72,8 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
"XF86AudioRaiseVolume" = {
|
"XF86AudioRaiseVolume" = {
|
||||||
_props.allow-when-locked = true;
|
allow-when-locked = true;
|
||||||
spawn = [
|
action.spawn = [
|
||||||
"wpctl"
|
"wpctl"
|
||||||
"set-volume"
|
"set-volume"
|
||||||
"-l"
|
"-l"
|
||||||
|
|
@ -83,8 +83,8 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
"XF86AudioLowerVolume" = {
|
"XF86AudioLowerVolume" = {
|
||||||
_props.allow-when-locked = true;
|
allow-when-locked = true;
|
||||||
spawn = [
|
action.spawn = [
|
||||||
"wpctl"
|
"wpctl"
|
||||||
"set-volume"
|
"set-volume"
|
||||||
"@DEFAULT_AUDIO_SINK@"
|
"@DEFAULT_AUDIO_SINK@"
|
||||||
|
|
@ -92,8 +92,8 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
"XF86AudioMute" = {
|
"XF86AudioMute" = {
|
||||||
_props.allow-when-locked = true;
|
allow-when-locked = true;
|
||||||
spawn = [
|
action.spawn = [
|
||||||
"wpctl"
|
"wpctl"
|
||||||
"set-mute"
|
"set-mute"
|
||||||
"@DEFAULT_AUDIO_SINK@"
|
"@DEFAULT_AUDIO_SINK@"
|
||||||
|
|
@ -101,8 +101,8 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
"XF86AudioMicMute" = {
|
"XF86AudioMicMute" = {
|
||||||
_props.allow-when-locked = true;
|
allow-when-locked = true;
|
||||||
spawn = [
|
action.spawn = [
|
||||||
"wpctl"
|
"wpctl"
|
||||||
"set-mute"
|
"set-mute"
|
||||||
"@DEFAULT_AUDIO_SOURCE@"
|
"@DEFAULT_AUDIO_SOURCE@"
|
||||||
|
|
@ -111,11 +111,10 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
# Verrouillage d'écran
|
# Verrouillage d'écran
|
||||||
"Ctrl+Alt+L".action = {
|
"Ctrl+Alt+L" = {
|
||||||
spawn = [ "swaylock" ];
|
action.spawn = [ "swaylock" ];
|
||||||
allow-when-locked = true;
|
allow-when-locked = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Aperçu global (overview)
|
# Aperçu global (overview)
|
||||||
"Alt+Tab".action.toggle-overview = { };
|
"Alt+Tab".action.toggle-overview = { };
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -18,8 +18,8 @@
|
||||||
MOZ_ENABLE_WAYLAND = "1";
|
MOZ_ENABLE_WAYLAND = "1";
|
||||||
};
|
};
|
||||||
cursor = {
|
cursor = {
|
||||||
xcursor-theme = "Bibata-Modern-Ice";
|
theme = "Bibata-Modern-Ice";
|
||||||
xcursor-size = 24;
|
size = 24;
|
||||||
hide-when-typing = true;
|
hide-when-typing = true;
|
||||||
hide-after-inactive-ms = null;
|
hide-after-inactive-ms = null;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
height = 1080;
|
height = 1080;
|
||||||
refresh = 120.0;
|
refresh = 120.0;
|
||||||
};
|
};
|
||||||
variable-refresh-rate = null; # true, false, on-demand
|
variable-refresh-rate = true; # true, false, on-demand
|
||||||
# background-color = "#000000";
|
# background-color = "#000000";
|
||||||
};
|
};
|
||||||
# 2nd screen
|
# 2nd screen
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,6 @@
|
||||||
open-floating = true;
|
open-floating = true;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
# Exemple : bordure/opacité par app
|
|
||||||
matches = [ { app-id = "^kitty$"; } ];
|
matches = [ { app-id = "^kitty$"; } ];
|
||||||
opacity = 0.95;
|
opacity = 0.95;
|
||||||
geometry-corner-radius = {
|
geometry-corner-radius = {
|
||||||
|
|
@ -32,10 +31,5 @@
|
||||||
};
|
};
|
||||||
clip-to-geometry = true;
|
clip-to-geometry = true;
|
||||||
}
|
}
|
||||||
{
|
|
||||||
exclude-from-window-list = false;
|
|
||||||
matches = [ { is-active = false; } ];
|
|
||||||
opacity = 1.0;
|
|
||||||
}
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
|
programs.niri.package = pkgs.niri;
|
||||||
imports = [
|
imports = [
|
||||||
./settings.nix
|
./settings.nix
|
||||||
];
|
];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue