This commit is contained in:
Matt Nish-Lapidus 2025-02-07 18:15:39 -05:00
parent 2c58c6936d
commit e515a20d08
10 changed files with 91 additions and 51 deletions

View file

@ -64,6 +64,11 @@
variable-refresh-rate = true;
};
"HDMI-A-1" = {
background-color = "#000000";
scale = 1;
};
"PNP(BNQ) BenQ PD2725U N2N00414019" = {
mode = {
width = 3840;
@ -114,7 +119,7 @@
active.gradient = {
from = "#d8bfffdd";
to = "#BD93FF99";
angle = 0;
angle = 180;
in' = "srgb-linear";
};
width = 2;
@ -170,9 +175,6 @@
open-floating = true; }
];
# TODO write scripts to manage lid/sleep states using the output from loginctl session
switch-events = with config.lib.niri.actions; {
lid-close.action = spawn "niri msg output eDP-1 off && shikanectl switch desk-clam";
lid-open.action = spawn "niri msg output eDP-1 on";
@ -327,8 +329,8 @@
"Mod+Shift+Equal".action = set-window-height "+10%";
"Mod+Ctrl+X".action = toggle-window-floating;
"Mod+Alt+X".action = switch-focus-between-floating-and-tiling;
"Mod+X".action = focus-workspace "scratchpad";
"Mod+X".action = switch-focus-between-floating-and-tiling;
"Mod+S".action = focus-workspace "scratchpad";
"Print".action = screenshot;
"Ctrl+Print".action = screenshot-screen;

View file

@ -125,6 +125,43 @@
thefuck = {
enable = true;
};
ghostty = {
enable = true;
enableFishIntegration = true;
installBatSyntax = true;
settings = {
command = "/home/emenel/.nix-profile/bin/fish --login --interactive";
theme = "Adventure";
font-family = "JetBrains Mono";
font-size = 12;
background = 111111;
selection-foreground = "ffffff";
selection-background = 444444;
bold-is-bright = true;
cursor-style = "bar";
adjust-cursor-thickness = 2;
resize-overlay = "never";
cursor-click-to-move = true;
clipboard-paste-protection = true;
keybind = [
"ctrl+t=new_tab"
"ctrl+w=close_surface"
"ctrl+enter=new_split:down"
"ctrl+shift+enter=new_split:right"
"ctrl+alt+enter=equalize_splits"
"ctrl+alt+z=toggle_split_zoom"
"ctrl+alt+left=previous_tab"
"ctrl+alt+right=next_tab"
"ctrl+alt+up=goto_split:left"
"ctrl+alt+down=goto_split:right"
"ctrl+backspace=text:\x1b\x7f"
];
};
};
# zellij = {
# enable = true;
# };
wezterm = {
enable = true;
package = inputs.wezterm.packages.${pkgs.system}.default;