summaryrefslogtreecommitdiff
path: root/nix/programs
diff options
context:
space:
mode:
Diffstat (limited to 'nix/programs')
-rw-r--r--nix/programs/bash.nix2
-rw-r--r--nix/programs/kitty.nix9
-rw-r--r--nix/programs/nvim.nix2
3 files changed, 9 insertions, 4 deletions
diff --git a/nix/programs/bash.nix b/nix/programs/bash.nix
index ca6b7d9..4fb9cd3 100644
--- a/nix/programs/bash.nix
+++ b/nix/programs/bash.nix
@@ -9,7 +9,7 @@
programs.bash = {
enable = true;
shellAliases = {
- cp = "rsync -avz";
+ cp = "rsync -av";
top = "htop";
bc = "bc -l";
pgrep = "pgrep -f";
diff --git a/nix/programs/kitty.nix b/nix/programs/kitty.nix
index c070871..74b6c6a 100644
--- a/nix/programs/kitty.nix
+++ b/nix/programs/kitty.nix
@@ -17,7 +17,6 @@ in {
mode = "enabled";
enableBashIntegration = true;
};
- # @TODO: https://sw.kovidgoyal.net/kitty/conf/#opt-kitty.active_tab_title_template
extraConfig = ''
shell ${pkgs.bashInteractive}/bin/bash --login
update_check_interval 0
@@ -41,6 +40,7 @@ in {
cursor_trail_decay 0.075 0.425
cursor_trail_start_threshold 3
cursor #${colo.foreground}
+ #cursor none
cursor_text_color background
foreground #${colo.foreground}
background #${colo.background}
@@ -72,6 +72,11 @@ in {
active_border_color #${colo.color4}
bell_border_color #${colo.color1}
inactive_border_color #${colo.color3}
+ active_tab_foreground #${colo.background}
+ active_tab_background #${colo.color5}
+ active_tab_font_style bold-italic
+ inactive_tab_foreground #${colo.background}
+ inactive_tab_background #${colo.color4}
url_color #${colo.color5}
enabled_layouts splits,stack
'';
@@ -79,12 +84,12 @@ in {
home.file.".config/kitty/quick-access-terminal.conf".text = ''
lines 18
background_opacity 0.925
+ output_name ${loc.monitors.monitor1}
kitty_override startup_session=quick-access-session.conf
kitty_override placement_strategy=bottom-right
kitty_override window_padding_width=0 12 8 0
'';
home.file.".config/kitty/quick-access-session.conf".text = ''
- output_name ${loc.monitors.monitor1}
layout splits
launch --var window=main
launch --location=vsplit --bias=17.1 /home/andrew/dl/tmp/clock/a.out
diff --git a/nix/programs/nvim.nix b/nix/programs/nvim.nix
index 5c70f35..b12ad52 100644
--- a/nix/programs/nvim.nix
+++ b/nix/programs/nvim.nix
@@ -185,7 +185,7 @@ in {
footer_offset = ${toString s.footer-offset},
picture = {
path = '${s.picture}',
- kitty = true,
+ kitty = os.getenv('TERM') == 'xterm-kitty',
width = ${toString s.width},
position = '${s.position}',
padding = {