adapt work pc

This commit is contained in:
afoucaultc 2026-08-07 22:46:05 +02:00
parent 4898f5cc5f
commit dca271648e
54 changed files with 126 additions and 847 deletions

View file

@ -4,7 +4,7 @@
enable = true;
slowdown = 1.0;
workspace-switch.spring = {
workspace-switch.kind.spring = {
damping-ratio = 1.0;
stiffness = 1000;
epsilon = 0.0001;
@ -24,25 +24,25 @@
};
};
horizontal-view-movement.spring = {
horizontal-view-movement.kind.spring = {
damping-ratio = 1.0;
stiffness = 800;
epsilon = 0.0001;
};
window-movement.spring = {
window-movement.kind.spring = {
damping-ratio = 1.0;
stiffness = 800;
epsilon = 0.0001;
};
window-resize.spring = {
window-resize.kind.spring = {
damping-ratio = 1.0;
stiffness = 800;
epsilon = 0.0001;
};
config-notification-open-close.spring = {
config-notification-open-close.kind.spring = {
damping-ratio = 0.6;
stiffness = 1000;
epsilon = 0.001;
@ -54,7 +54,7 @@
curve = "ease-out-quad";
};
};
overview-open-close.spring = {
overview-open-close.kind.spring = {
damping-ratio = 1.0;
stiffness = 800;
epsilon = 0.0001;

View file

@ -1,19 +1,21 @@
{ ... }:
{
programs.niri.settings.input = {
mod-key = "Alt";
keyboard = {
xkb = {
layout = "fr";
variant = "";
model = "";
rules = "";
options = "caps:escape";
#options = "caps:escape";
};
repeat-delay = 600;
repeat-rate = 25;
track-layout = "global";
numlock = true;
};
touchpad = {
enable = false;
tap = true;
@ -41,7 +43,6 @@
focus-follows-mouse = {
enable = true;
# max-scroll-amount = "0%";
};
};

View file

@ -3,13 +3,29 @@
programs.niri.settings.binds = {
# open programs
"ALT+Q".action.spawn = "kitty";
"ALT+W".action.spawn = "fuzzel";
"ALT+D".action.spawn = "dolphin";
"ALT+W".action.spawn = [
"rofi"
"-show"
"drun"
];
"ALT+X".action.spawn = [
"rofi"
"-show"
"window"
];
"ALT+C".action.spawn = [
"rofi"
"-show"
"filebrowser"
];
"ALT+D".action.spawn = "nautilus";
"ALT+N".action.spawn = [
"kitty"
"-e"
"nvim"
];
"Alt+F".action.spawn = [ "zen-beta" ];
"Alt+Z".action.spawn = [ "zotero" ];
"Alt+T".action.spawn = [ "thunderbird" ];
@ -17,34 +33,29 @@
# other actions
"ALT+F4".action.close-window = { };
"ALT+V".action.toggle-window-floating = { };
"Ctrl+M".action.maximize-column = { };
"Ctrl+F".action.fullscreen-window = { };
"CTRL+M".action.maximize-column = { };
"CTRL+F".action.fullscreen-window = { };
"ALT+H".action.focus-column-left = { };
"ALT+L".action.focus-column-right = { };
"ALT+K".action.focus-window-up = { };
"ALT+J".action.focus-window-down = { };
"ALT+K".action.focus-workspace-up = { };
"ALT+J".action.focus-workspace-down = { };
"Ctrl+Super+H".action.move-column-left = { };
"Ctrl+Super+L".action.move-column-right = { };
"Ctrl+Super+K".action.move-window-up = { };
"Ctrl+Super+J".action.move-window-down = { };
"Super+L".action.focus-workspace-down = { };
"Super+H".action.focus-workspace-up = { };
"Super+K".action.move-column-to-workspace-down = { };
"Super+J".action.move-column-to-workspace-up = { };
"Super+H".action.move-column-left = { };
"Super+L".action.move-column-right = { };
"Super+K".action.move-column-to-workspace-up = { };
"Super+J".action.move-column-to-workspace-down = { };
"Alt+A".action.focus-monitor-left = { };
"Alt+B".action.focus-monitor-right = { };
"Ctrl+Super+A".action.move-column-to-monitor-left = { };
"Ctrl+Super+B".action.move-column-to-monitor-right = { };
"Super+A".action.move-column-to-monitor-left = { };
"Super+B".action.move-column-to-monitor-right = { };
"Alt+R".action.switch-preset-column-width = { };
"Ctrl+H".action.set-column-width = [ "-10%" ];
"Ctrl+L".action.set-column-width = [ "+10%" ];
"Ctrl+K".action.set-window-height = "-10%";
"Ctrl+J".action.set-window-height = "+10%";
"Ctrl+Alt+H".action.set-column-width = [ "-10%" ];
"Ctrl+Alt+L".action.set-column-width = [ "+10%" ];
"Ctrl+Alt+J".action.set-window-height = "-10%";
"Ctrl+Alt+K".action.set-window-height = "+10%";
"Print".action.screenshot = { };
"Ctrl+Print".action.screenshot-screen = { };
@ -111,7 +122,7 @@
};
# Verrouillage d'écran
"Ctrl+Alt+L" = {
"Ctrl+Alt+Delete" = {
action.spawn = [ "swaylock" ];
allow-when-locked = true;
};

View file

@ -1,9 +1,9 @@
{ ... }:
{
programs.niri.settings.layout = {
gaps = 16;
gaps = 8;
center-focused-column = "never"; # never, always, on-overflow
always-center-single-column = false;
always-center-single-column = true;
preset-column-widths = [
{ proportion = 0.33333; }
@ -21,7 +21,7 @@
focus-ring = {
enable = true;
width = 4;
width = 2;
# active.color = "#7fc8ff";
# inactive.color = "#505050";
# urgent.color = "#9b0000";
@ -29,7 +29,7 @@
border = {
enable = false;
width = 4;
width = 2;
# active.color = "#ffc87f";
# inactive.color = "#505050";
# urgent.color = "#9b0000";
@ -43,8 +43,6 @@
x = 0;
y = 5;
};
# color = "#0007";
# inactive-color = null;
};
tab-indicator = {
@ -70,8 +68,8 @@
struts = {
left = 0;
right = 0;
top = 0;
bottom = 0;
top = 10;
bottom = 10;
};
# background-color = "transparent";

View file

@ -17,6 +17,7 @@
QT_QPA_PLATFORM = "wayland";
MOZ_ENABLE_WAYLAND = "1";
};
cursor = {
theme = "Bibata-Modern-Ice";
size = 24;
@ -28,6 +29,7 @@
enable = true;
path = "xwayland-satellite";
};
clipboard.disable-primary = false;
hotkey-overlay.skip-at-startup = false;
overview.zoom = 0.5;

View file

@ -2,7 +2,7 @@
{
programs.niri.settings.window-rules = [
{
matches = [ { app-id = "^firefox$"; } ];
matches = [ { app-id = "^zen-beta$"; } ];
default-column-width = {
proportion = 0.66667;
};
@ -23,12 +23,6 @@
{
matches = [ { app-id = "^kitty$"; } ];
opacity = 0.95;
geometry-corner-radius = {
top-left = 8.0;
top-right = 8.0;
bottom-left = 8.0;
bottom-right = 8.0;
};
clip-to-geometry = true;
}
];

View file

@ -5,10 +5,10 @@
./settings.nix
];
home.packages = with pkgs; [
fuzzel
rofi
kitty
swaylock
wireplumber # fournit wpctl
wireplumber
brightnessctl
];
}

View file

@ -26,18 +26,8 @@
]
))
gnuplot
# --- Gestion de fichiers KDE ---
kdePackages.dolphin
kdePackages.dolphin-plugins
kdePackages.kio-extras
kdePackages.qtsvg
kdePackages.ark
kdePackages.kdegraphics-thumbnailers
kdePackages.ffmpegthumbs
kdePackages.kio
kdePackages.kservice
kdePackages.kconfig
# --- Fichiers
nautilus
# --- Others
hyfetch
ncpamixer