installs zen

This commit is contained in:
Dennis Schoepf 2025-12-11 23:23:58 +01:00
parent 6f88941d0f
commit 1b32c28609
3 changed files with 58 additions and 2 deletions

56
modules/ghostty/linux.nix Normal file
View file

@ -0,0 +1,56 @@
{
programs.ghostty = {
enable = true;
enableFishIntegration = true;
settings = {
font-size = 18;
font-family = "VictorMono Nerd Font";
font-style = "SemiBold";
background-opacity = 0.945;
window-padding-x = 0;
window-padding-y = 0;
window-padding-balance = true;
window-inherit-working-directory = true;
window-theme = "ghostty";
shell-integration-features = true;
scrollback-limit = 100000;
link-url = true;
link-previews = true;
title = " ";
background = "#0f0b15";
foreground = "#ffffff";
cursor-color = "#d369af";
selection-foreground = "#af85ea";
selection-background = "#572454";
palette = [
"0=#0f0b15"
"1=#f47359"
"2=#29a444"
"3=#b58a52"
"4=#3f95f6"
"5=#d369af"
"6=#4fbaef"
"7=#b8c6d5"
"8=#807c9f"
"9=#ff6a7a"
"10=#00a392"
"11=#df9080"
"12=#029fff"
"13=#af85ea"
"14=#35afbf"
"15=#ffffff"
];
keybind = [
"ctrl+plus=increase_font_size:2"
"ctrl+minus=decrease_font_size:2"
"ctrl+0=reset_font_size"
"ctrl+shift+a=select_all"
"ctrl+shift+c=copy_to_clipboard"
"ctrl+shift+v=paste_from_clipboard"
"cmd+c=copy_to_clipboard"
"cmd+v=paste_from_clipboard"
"global:cmd+semicolon=toggle_quick_terminal"
];
};
};
}

View file

@ -304,7 +304,7 @@ binds {
// Suggested binds for running programs: terminal, app launcher, screen locker.
Mod+T hotkey-overlay-title="Open a terminal" { spawn "ghostty"; }
Mod+Space hotkey-overlay-title="Launcher" { spawn "fuzzel"; }
Mod+B hotkey-overlay-title="Browser" { spawn "firefox"; }
Mod+B hotkey-overlay-title="Browser" { spawn "zen-beta"; }
Mod+M hotkey-overlay-title="System Monitor" { spawn-sh "ghostty -e btop"; }
Mod+N hotkey-overlay-title="File Manager" { spawn "nautilus"; }
Mod+V hotkey-overlay-title="Clipboard" { spawn-sh "~/.config/fuzzel/bin/fuzzel-cliphist.sh"; }