Compare commits
No commits in common. "e32ad10feac01668ed524247abb09545f4d42edf" and "5272ad66cc116ad4c268ca72f0615c0922d07ef0" have entirely different histories.
e32ad10fea
...
5272ad66cc
2 changed files with 5 additions and 95 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ config, pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [ ../common/home.nix ];
|
imports = [ ../common/home.nix ];
|
||||||
|
@ -49,7 +49,6 @@
|
||||||
settings = {
|
settings = {
|
||||||
input = {
|
input = {
|
||||||
keyboard.xkb.layout = "fr";
|
keyboard.xkb.layout = "fr";
|
||||||
keyboard.xkb.options = "compose:rctrl";
|
|
||||||
touchpad = {
|
touchpad = {
|
||||||
tap = true;
|
tap = true;
|
||||||
natural-scroll = true;
|
natural-scroll = true;
|
||||||
|
@ -64,70 +63,14 @@
|
||||||
gaps = 10;
|
gaps = 10;
|
||||||
focus-ring = {
|
focus-ring = {
|
||||||
width = 4;
|
width = 4;
|
||||||
active.color = "#35f835e5";
|
active.color = "#10f810bb";
|
||||||
inactive.color = "#80808080";
|
inactive.color = "#80808080";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
prefer-no-csd = true;
|
prefer-no-csd = true;
|
||||||
screenshot-path = "~/screenshots/%Y%m%d%H%m%N.png";
|
screenshot-path = "~/screenshots/%Y%m%d%H%m%N.png";
|
||||||
# window-rules = [{
|
binds = {
|
||||||
# geometry-corner-radius = 10;
|
|
||||||
# clip-to-geometry = true;
|
|
||||||
# }];
|
|
||||||
binds = with config.lib.niri.actions; {
|
|
||||||
"Mod+Space".action = spawn "alacritty";
|
|
||||||
"Mod+F1".action = spawn "anyrun";
|
|
||||||
"Mod+L".action = spawn "hyprlock";
|
|
||||||
"XF86AudioRaiseVolume" = {
|
|
||||||
allow-when-locked = true;
|
|
||||||
action = spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.1+";
|
|
||||||
};
|
|
||||||
"XF86AudioLowerVolume" = {
|
|
||||||
allow-when-locked = true;
|
|
||||||
action = spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.1-";
|
|
||||||
};
|
|
||||||
"XF86AudioMute" = {
|
|
||||||
allow-when-locked = true;
|
|
||||||
action = spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SINK@" "toggle";
|
|
||||||
};
|
|
||||||
"Mod+Shift+Q".action = close-window;
|
|
||||||
"Mod+A".action = focus-column-left;
|
|
||||||
"Mod+Z".action = focus-window-or-workspace-up;
|
|
||||||
"Mod+S".action = focus-window-or-workspace-down;
|
|
||||||
"Mod+D".action = focus-column-right;
|
|
||||||
"Mod+Shift+A".action = move-column-left;
|
|
||||||
"Mod+Shift+Z".action = move-window-up;
|
|
||||||
"Mod+Shift+S".action = move-window-down;
|
|
||||||
"Mod+Shift+D".action = move-column-right;
|
|
||||||
"Mod+Page_Up".action = focus-workspace-up;
|
|
||||||
"Mod+Page_Down".action = focus-workspace-down;
|
|
||||||
"Mod+Shift+Page_Up".action = move-column-to-workspace-up;
|
|
||||||
"Mod+Shift+Page_Down".action = move-column-to-workspace-down;
|
|
||||||
"Mod+WheelScrollDown".action = focus-column-right;
|
|
||||||
"Mod+WheelScrollUp".action = focus-column-left;
|
|
||||||
"Mod+Shift+WheelScrollDown".action = move-column-right;
|
|
||||||
"Mod+Shift+WheelScrollUp".action = move-column-left;
|
|
||||||
"Alt+TouchpadScrollDown".action = spawn "brightnessctl" "set" "10-";
|
|
||||||
"Alt+TouchpadScrollUp".action = spawn "brightnessctl" "set" "+10";
|
|
||||||
"Mod+ampersand".action = focus-workspace 1;
|
|
||||||
"Mod+eacute".action = focus-workspace 2;
|
|
||||||
"Mod+quotedbl".action = focus-workspace 3;
|
|
||||||
"Mod+apostrophe".action = focus-workspace 4;
|
|
||||||
"Mod+Shift+ampersand".action = move-column-to-workspace 1;
|
|
||||||
"Mod+Shift+eacute".action = move-column-to-workspace 2;
|
|
||||||
"Mod+Shift+quotedbl".action = move-column-to-workspace 3;
|
|
||||||
"Mod+Shift+apostrophe".action = move-column-to-workspace 4;
|
|
||||||
"Mod+Tab".action = focus-workspace-previous;
|
|
||||||
"Mod+F".action = maximize-column;
|
|
||||||
"Mod+W".action = set-column-width "-10%";
|
|
||||||
"Mod+X".action = set-column-width "+10%";
|
|
||||||
"Mod+Shift+W".action = set-window-height "-10%";
|
|
||||||
"Mod+Shift+X".action = set-window-height "+10%";
|
|
||||||
"Print".action = screenshot-screen;
|
|
||||||
"Shift+Print".action = screenshot;
|
|
||||||
"Alt+Print".action = screenshot-window;
|
|
||||||
"Mod+Shift+Backspace".action = quit;
|
|
||||||
"XF86Display".action = power-off-monitors;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -425,40 +425,7 @@
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.alacritty = {
|
programs.alacritty.enable = true;
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
window = {
|
|
||||||
dimensions = {
|
|
||||||
columns = 0;
|
|
||||||
lines = 0;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
colors.bright = {
|
|
||||||
blue = "0xb399ff";
|
|
||||||
cyan = "0x99e6ff";
|
|
||||||
green = "0x89f5a4";
|
|
||||||
magenta = "0xe699ff";
|
|
||||||
red = "0xff809f";
|
|
||||||
white = "0xffffff";
|
|
||||||
yellow = "0xffffb3";
|
|
||||||
};
|
|
||||||
colors.normal = {
|
|
||||||
black = "0x000000";
|
|
||||||
blue = "0x794dff";
|
|
||||||
cyan = "0x33ccff";
|
|
||||||
green = "0x13ec49";
|
|
||||||
magenta = "0xcc33ff";
|
|
||||||
red = "0xff0040";
|
|
||||||
white = "0xffffff";
|
|
||||||
yellow = "0xffff4d";
|
|
||||||
};
|
|
||||||
colors.primary = {
|
|
||||||
background = "0x000000";
|
|
||||||
foreground = "0xffffff";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
services.mako = {
|
services.mako = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Loading…
Reference in a new issue