From 5f2b01db3fc7fc78d42aa07080b551f71d73ee6a Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Fri, 28 Jul 2023 19:21:33 -0700 Subject: switching back to alacritty + tmux kitty is not clicking for me. I still prefer tmux. --- home/profiles/sway.nix | 2 +- home/profiles/tmux.nix | 20 ++++++++++++++++++++ home/profiles/workstation.nix | 17 ++--------------- 3 files changed, 23 insertions(+), 16 deletions(-) create mode 100644 home/profiles/tmux.nix (limited to 'home') diff --git a/home/profiles/sway.nix b/home/profiles/sway.nix index d3629a0..e86ff48 100644 --- a/home/profiles/sway.nix +++ b/home/profiles/sway.nix @@ -67,7 +67,7 @@ in config = { inherit fonts modifier; # FIXME: this should be a variable - terminal = "kitty"; + terminal = "alacritty"; menu = ''${pkgs.wofi}/bin/wofi -S drun -p "app:" -L 10''; bars = [ ]; keybindings = lib.mkOptionDefault { diff --git a/home/profiles/tmux.nix b/home/profiles/tmux.nix new file mode 100644 index 0000000..22f8683 --- /dev/null +++ b/home/profiles/tmux.nix @@ -0,0 +1,20 @@ +{ ... }: +{ + programs.tmux = { + enable = true; + + terminal = "xterm-256color"; + escapeTime = 0; + aggressiveResize = true; + baseIndex = 1; + shortcut = "z"; + clock24 = true; + historyLimit = 50000; # Bigger buffer + + extraConfig = '' + setw -g mouse on + + set-option -g renumber-windows on + ''; + }; +} diff --git a/home/profiles/workstation.nix b/home/profiles/workstation.nix index cb895c6..f036f31 100644 --- a/home/profiles/workstation.nix +++ b/home/profiles/workstation.nix @@ -33,6 +33,8 @@ in imports = [ ./dev.nix ./emacs.nix + ./alacritty.nix + ./tmux.nix ./firefox.nix ./yubikey.nix ./ytdlp.nix @@ -69,21 +71,6 @@ in # masked-emails ]; - programs.kitty = { - enable = true; - font = { - name = "Source Code Proro"; - size = 13; - }; - theme = "Modus Operandi"; - settings = { - tab_bar_edge = "bottom"; - tab_bar_background = "none"; - tab_bar_style = "powerline"; - active_tab_font_style = "bold-italic"; - }; - }; - programs.feh.enable = true; programs.mpv = { enable = true; -- cgit 1.4.1