aboutsummaryrefslogtreecommitdiffstats
path: root/modules/home.legacy/conf/alacritty/toml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modules/by-name/al/alacritty/theme.toml (renamed from modules/home.legacy/conf/alacritty/toml/colorscheme.toml)28
-rw-r--r--modules/by-name/fi/fish/config/01_show-task.fish (renamed from modules/home.legacy/conf/alacritty/toml/font.toml)21
-rw-r--r--modules/by-name/lf/lf/ctpv/prev/message/rfc822/rfc822.sh (renamed from modules/home.legacy/conf/alacritty/toml/window.toml)26
-rw-r--r--modules/by-name/lf/lf/wrappers/lm.fish (renamed from modules/home.legacy/conf/alacritty/toml/cursor.toml)21
-rw-r--r--modules/home.legacy/conf/alacritty/toml/bell.toml17
-rw-r--r--modules/home.legacy/conf/alacritty/toml/env.toml13
-rw-r--r--modules/home.legacy/conf/alacritty/toml/general.toml24
-rw-r--r--modules/home.legacy/conf/alacritty/toml/hints.toml35
-rw-r--r--modules/home.legacy/conf/alacritty/toml/keyboard_bindings.toml307
-rw-r--r--modules/home.legacy/conf/alacritty/toml/mouse.toml12
-rw-r--r--modules/home.legacy/conf/alacritty/toml/mouse_bindings.toml13
-rw-r--r--modules/home.legacy/conf/alacritty/toml/scrolling.toml13
-rw-r--r--modules/home.legacy/conf/alacritty/toml/selection.toml13
13 files changed, 42 insertions, 501 deletions
diff --git a/modules/home.legacy/conf/alacritty/toml/colorscheme.toml b/modules/by-name/al/alacritty/theme.toml
index 13c796c9..2b326e43 100644
--- a/modules/home.legacy/conf/alacritty/toml/colorscheme.toml
+++ b/modules/by-name/al/alacritty/theme.toml
@@ -12,45 +12,45 @@
## name: carbonfox
## upstream: https://github.com/edeneast/nightfox.nvim/raw/main/extra/carbonfox/alacritty.toml
-[colors.primary]
+[primary]
background = "#161616"
foreground = "#f2f4f8"
dim_foreground = "#b6b8bb"
bright_foreground = "#f9fbff"
-[colors.cursor]
+[cursor]
text = "#f2f4f8"
cursor = "#b6b8bb"
-[colors.vi_mode_cursor]
+[vi_mode_cursor]
text = "#f2f4f8"
cursor = "#33b1ff"
-[colors.search.matches]
+[search.matches]
foreground = "#f2f4f8"
background = "#525253"
-[colors.search.focused_match]
+[search.focused_match]
foreground = "#f2f4f8"
background = "#3ddbd9"
-[colors.footer_bar]
+[footer_bar]
foreground = "#f2f4f8"
background = "#353535"
-[colors.hints.start]
+[hints.start]
foreground = "#f2f4f8"
background = "#3ddbd9"
-[colors.hints.end]
+[hints.end]
foreground = "#f2f4f8"
background = "#353535"
-[colors.selection]
+[selection]
text = "#f2f4f8"
background = "#2a2a2a"
-[colors.normal]
+[normal]
black = "#282828"
red = "#ee5396"
green = "#25be6a"
@@ -60,7 +60,7 @@ magenta = "#be95ff"
cyan = "#33b1ff"
white = "#dfdfe0"
-[colors.bright]
+[bright]
black = "#484848"
red = "#f16da6"
green = "#46c880"
@@ -70,7 +70,7 @@ magenta = "#c8a5ff"
cyan = "#52bdff"
white = "#e4e4e5"
-[colors.dim]
+[dim]
black = "#222222"
red = "#ca4780"
green = "#1fa25a"
@@ -80,10 +80,10 @@ magenta = "#a27fd9"
cyan = "#2b96d9"
white = "#bebebe"
-[[colors.indexed_colors]]
+[[indexed_colors]]
index = 16
color = "#3ddbd9"
-[[colors.indexed_colors]]
+[[indexed_colors]]
index = 17
color = "#ff7eb6"
diff --git a/modules/home.legacy/conf/alacritty/toml/font.toml b/modules/by-name/fi/fish/config/01_show-task.fish
index fd8b0b94..21db1112 100644
--- a/modules/home.legacy/conf/alacritty/toml/font.toml
+++ b/modules/by-name/fi/fish/config/01_show-task.fish
@@ -1,3 +1,5 @@
+#!/usr/bin/env fish
+
# nixos-config - My current NixOS configuration
#
# Copyright (C) 2025 Benedikt Peetz <benedikt.peetz@b-peetz.de>
@@ -8,18 +10,11 @@
# You should have received a copy of the License along with this program.
# If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
-[font]
-builtin_box_drawing = true
-size = 12.0
-
-[font.glyph_offset]
-x = -1
-y = -1
+# Display current tasks
+test -z "$NVIM"; and task next
-[font.normal]
-family = "SauceCodePro Nerd Font Mono"
-style = "Regular"
+# Empty the default greeting
+set --global fish_greeting ""
-[font.offset]
-x = -1
-y = -1
+# Set a nice theme
+fish_config theme choose ayu
diff --git a/modules/home.legacy/conf/alacritty/toml/window.toml b/modules/by-name/lf/lf/ctpv/prev/message/rfc822/rfc822.sh
index edc9cf6e..228e01b7 100644
--- a/modules/home.legacy/conf/alacritty/toml/window.toml
+++ b/modules/by-name/lf/lf/ctpv/prev/message/rfc822/rfc822.sh
@@ -1,3 +1,5 @@
+#! /usr/bin/env dash
+
# nixos-config - My current NixOS configuration
#
# Copyright (C) 2025 Benedikt Peetz <benedikt.peetz@b-peetz.de>
@@ -8,21 +10,13 @@
# You should have received a copy of the License along with this program.
# If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
-[window]
-decorations = "none"
-decorations_theme_variant = "None"
-dynamic_title = true
-opacity = 0.9
-startup_mode = "Windowed"
-title = "Alacritty"
-[window.class]
-general = "Alacritty"
-instance = "Alacritty"
+# shellcheck disable=SC2269
+f="$f"
+# shellcheck disable=SC2269
+cache_f="$cache_f"
-[window.dimensions]
-columns = 0
-lines = 0
+# TODO: Actually use `meli`, currently it will just not produce output, because the script
+# never stops <2026-02-19>
+# hide_script_env meli --config /dev/null view "$f"
-[window.padding]
-x = 5
-y = 5
+cat "$f"
diff --git a/modules/home.legacy/conf/alacritty/toml/cursor.toml b/modules/by-name/lf/lf/wrappers/lm.fish
index 6e633b5a..b590c143 100644
--- a/modules/home.legacy/conf/alacritty/toml/cursor.toml
+++ b/modules/by-name/lf/lf/wrappers/lm.fish
@@ -1,3 +1,5 @@
+#!/usr/bin/env fish
+
# nixos-config - My current NixOS configuration
#
# Copyright (C) 2025 Benedikt Peetz <benedikt.peetz@b-peetz.de>
@@ -8,14 +10,11 @@
# You should have received a copy of the License along with this program.
# If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
-[cursor]
-blink_interval = 750
-blink_timeout = 5
-thickness = 0.15
-unfocused_hollow = true
-vi_mode_style = "None"
-
-# Cursor style
-[cursor.style]
-blinking = "On"
-shape = "Beam"
+begin
+ if test -f "$XDG_RUNTIME_DIR/ll/last_directory"
+ set last_dir "$(cat "$XDG_RUNTIME_DIR/ll/last_directory")"
+ cd "$last_dir"; or echo "$last_dir does not exist!"
+ else
+ echo "No last directory saved (try using ll instead)."
+ end
+end
diff --git a/modules/home.legacy/conf/alacritty/toml/bell.toml b/modules/home.legacy/conf/alacritty/toml/bell.toml
deleted file mode 100644
index 821306cc..00000000
--- a/modules/home.legacy/conf/alacritty/toml/bell.toml
+++ /dev/null
@@ -1,17 +0,0 @@
-# nixos-config - My current NixOS configuration
-#
-# Copyright (C) 2025 Benedikt Peetz <benedikt.peetz@b-peetz.de>
-# SPDX-License-Identifier: GPL-3.0-or-later
-#
-# This file is part of my nixos-config.
-#
-# You should have received a copy of the License along with this program.
-# If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
-
-# Bell
-#
-# The bell is rung every time the BEL control character is received.
-[bell]
-# Duration of the visual bell flash in milliseconds. A `duration` of `0` will
-# disable the visual bell animation.
-duration = 0
diff --git a/modules/home.legacy/conf/alacritty/toml/env.toml b/modules/home.legacy/conf/alacritty/toml/env.toml
deleted file mode 100644
index 307f1f1d..00000000
--- a/modules/home.legacy/conf/alacritty/toml/env.toml
+++ /dev/null
@@ -1,13 +0,0 @@
-# nixos-config - My current NixOS configuration
-#
-# Copyright (C) 2025 Benedikt Peetz <benedikt.peetz@b-peetz.de>
-# SPDX-License-Identifier: GPL-3.0-or-later
-#
-# This file is part of my nixos-config.
-#
-# You should have received a copy of the License along with this program.
-# If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
-
-[env]
-TERM = "alacritty"
-COLORTERM = "truecolor"
diff --git a/modules/home.legacy/conf/alacritty/toml/general.toml b/modules/home.legacy/conf/alacritty/toml/general.toml
deleted file mode 100644
index 588d8ea0..00000000
--- a/modules/home.legacy/conf/alacritty/toml/general.toml
+++ /dev/null
@@ -1,24 +0,0 @@
-# nixos-config - My current NixOS configuration
-#
-# Copyright (C) 2025 Benedikt Peetz <benedikt.peetz@b-peetz.de>
-# SPDX-License-Identifier: GPL-3.0-or-later
-#
-# This file is part of my nixos-config.
-#
-# You should have received a copy of the License along with this program.
-# If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
-
-# Configuration for Alacritty, the GPU enhanced terminal emulator.
-
-[general]
-# Live config reload (changes require restart)
-live_config_reload = true
-
-# Startup directory
-#
-# Directory the shell is started in. If this is unset, or `None`, the working
-# directory of the parent process will be used.
-#working_directory: None
-
-# Offer IPC using `alacritty msg` (unix only)
-ipc_socket = true
diff --git a/modules/home.legacy/conf/alacritty/toml/hints.toml b/modules/home.legacy/conf/alacritty/toml/hints.toml
deleted file mode 100644
index da18dc59..00000000
--- a/modules/home.legacy/conf/alacritty/toml/hints.toml
+++ /dev/null
@@ -1,35 +0,0 @@
-# nixos-config - My current NixOS configuration
-#
-# Copyright (C) 2025 Benedikt Peetz <benedikt.peetz@b-peetz.de>
-# SPDX-License-Identifier: GPL-3.0-or-later
-#
-# This file is part of my nixos-config.
-#
-# You should have received a copy of the License along with this program.
-# If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
-
-[hints]
-alphabet = "jfkdls;ahgurieowpq"
-
-[[hints.enabled]]
-command = "xdg-open" # On Linux/BSD
-hyperlinks = true
-post_processing = true
-persist = false
-mouse.enabled = true
-binding = { key = "U", mods = "Control|Shift" }
-regex = "(ipfs:|ipns:|magnet:|mailto:|gemini://|gopher://|https://|http://|news:|file:|git://|ssh:|ftp://)[^\u0000-\u001F\u007F-\u009F<>\"\\s{-}\\^⟨⟩`]+"
-
-
-[[hints.enabled]]
-action = "Paste"
-post_processing = false
-binding = { key = "T", mods = "Control|Shift" }
-regex = '''([^ '"`=:\[\(]*/)([^/: '"`\)\]]*)'''
-
-
-[[hints.enabled]]
-action = "Paste"
-post_processing = false
-binding = { key = "H", mods = "Control|Shift" }
-regex = '([a-z0-9]{7,40})\s'
diff --git a/modules/home.legacy/conf/alacritty/toml/keyboard_bindings.toml b/modules/home.legacy/conf/alacritty/toml/keyboard_bindings.toml
deleted file mode 100644
index f2a6eb55..00000000
--- a/modules/home.legacy/conf/alacritty/toml/keyboard_bindings.toml
+++ /dev/null
@@ -1,307 +0,0 @@
-# nixos-config - My current NixOS configuration
-#
-# Copyright (C) 2025 Benedikt Peetz <benedikt.peetz@b-peetz.de>
-# SPDX-License-Identifier: GPL-3.0-or-later
-#
-# This file is part of my nixos-config.
-#
-# You should have received a copy of the License along with this program.
-# If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
-
-[[keyboard.bindings]]
-action = "Paste"
-key = "P"
-mods = "Control"
-
-[[keyboard.bindings]]
-action = "Paste"
-key = "Insert"
-mods = "Shift"
-
-[[keyboard.bindings]]
-chars = "gc"
-key = "Slash"
-mods = "Control"
-
-[[keyboard.bindings]]
-action = "Copy"
-key = "Y"
-mods = "Control"
-
-[[keyboard.bindings]]
-action = "ResetFontSize"
-key = "Key0"
-mods = "Control"
-
-[[keyboard.bindings]]
-action = "IncreaseFontSize"
-key = "Equals"
-mods = "Control"
-
-[[keyboard.bindings]]
-action = "IncreaseFontSize"
-key = "Plus"
-mods = "Control"
-
-[[keyboard.bindings]]
-action = "DecreaseFontSize"
-key = "Minus"
-mods = "Control"
-
-[[keyboard.bindings]]
-action = "ToggleViMode"
-key = "Space"
-mods = "Control"
-
-[[keyboard.bindings]]
-action = "ScrollToBottom"
-key = "Space"
-mode = "Vi"
-mods = "Control"
-
-[[keyboard.bindings]]
-action = "ScrollToBottom"
-key = "I"
-mode = "Vi"
-
-[[keyboard.bindings]]
-action = "ToggleViMode"
-key = "I"
-mode = "Vi"
-
-[[keyboard.bindings]]
-action = "ScrollToBottom"
-key = "C"
-mode = "Vi"
-mods = "Control"
-
-[[keyboard.bindings]]
-action = "ToggleViMode"
-key = "C"
-mode = "Vi"
-mods = "Control"
-
-[[keyboard.bindings]]
-action = "ClearSelection"
-key = "Escape"
-mode = "Vi"
-
-[[keyboard.bindings]]
-action = "ScrollLineUp"
-key = "Y"
-mode = "Vi"
-mods = "Control"
-
-[[keyboard.bindings]]
-action = "ScrollLineDown"
-key = "E"
-mode = "Vi"
-mods = "Control"
-
-[[keyboard.bindings]]
-action = "ScrollToTop"
-key = "G"
-mode = "Vi"
-
-[[keyboard.bindings]]
-action = "ScrollToBottom"
-key = "G"
-mode = "Vi"
-mods = "Shift"
-
-[[keyboard.bindings]]
-action = "ScrollPageUp"
-key = "B"
-mode = "Vi"
-mods = "Control"
-
-[[keyboard.bindings]]
-action = "ScrollPageDown"
-key = "F"
-mode = "Vi"
-mods = "Control"
-
-[[keyboard.bindings]]
-action = "ScrollHalfPageUp"
-key = "U"
-mode = "Vi"
-mods = "Control"
-
-[[keyboard.bindings]]
-action = "ScrollHalfPageDown"
-key = "D"
-mode = "Vi"
-mods = "Control"
-
-[[keyboard.bindings]]
-action = "Copy"
-key = "Y"
-mode = "Vi"
-
-[[keyboard.bindings]]
-action = "ClearSelection"
-key = "Y"
-mode = "Vi"
-
-[[keyboard.bindings]]
-action = "ToggleNormalSelection"
-key = "V"
-mode = "Vi"
-
-[[keyboard.bindings]]
-action = "ToggleLineSelection"
-key = "V"
-mode = "Vi"
-mods = "Shift"
-
-[[keyboard.bindings]]
-action = "ToggleBlockSelection"
-key = "V"
-mode = "Vi"
-mods = "Control"
-
-[[keyboard.bindings]]
-action = "ToggleSemanticSelection"
-key = "V"
-mode = "Vi"
-mods = "Alt"
-
-[[keyboard.bindings]]
-action = "Open"
-key = "Return"
-mode = "Vi"
-
-[[keyboard.bindings]]
-action = "Up"
-key = "K"
-mode = "Vi"
-
-[[keyboard.bindings]]
-action = "Down"
-key = "J"
-mode = "Vi"
-
-[[keyboard.bindings]]
-action = "Left"
-key = "H"
-mode = "Vi"
-
-[[keyboard.bindings]]
-action = "Right"
-key = "L"
-mode = "Vi"
-
-[[keyboard.bindings]]
-action = "Up"
-key = "Up"
-mode = "Vi"
-
-[[keyboard.bindings]]
-action = "Down"
-key = "Down"
-mode = "Vi"
-
-[[keyboard.bindings]]
-action = "Left"
-key = "Left"
-mode = "Vi"
-
-[[keyboard.bindings]]
-action = "Right"
-key = "Right"
-mode = "Vi"
-
-[[keyboard.bindings]]
-action = "First"
-key = "Key0"
-mode = "Vi"
-
-[[keyboard.bindings]]
-action = "Last"
-key = "Key4"
-mode = "Vi"
-
-[[keyboard.bindings]]
-action = "FirstOccupied"
-key = "Key6"
-mode = "Vi"
-mods = "Shift"
-
-[[keyboard.bindings]]
-action = "High"
-key = "H"
-mode = "Vi"
-mods = "Shift"
-
-[[keyboard.bindings]]
-action = "Middle"
-key = "M"
-mode = "Vi"
-mods = "Shift"
-
-[[keyboard.bindings]]
-action = "Low"
-key = "L"
-mode = "Vi"
-mods = "Shift"
-
-[[keyboard.bindings]]
-action = "SemanticLeft"
-key = "B"
-mode = "Vi"
-
-[[keyboard.bindings]]
-action = "SemanticRight"
-key = "W"
-mode = "Vi"
-
-[[keyboard.bindings]]
-action = "SemanticRightEnd"
-key = "E"
-mode = "Vi"
-
-[[keyboard.bindings]]
-action = "WordLeft"
-key = "B"
-mode = "Vi"
-mods = "Shift"
-
-[[keyboard.bindings]]
-action = "WordRight"
-key = "W"
-mode = "Vi"
-mods = "Shift"
-
-[[keyboard.bindings]]
-action = "WordRightEnd"
-key = "E"
-mode = "Vi"
-mods = "Shift"
-
-[[keyboard.bindings]]
-action = "Bracket"
-key = "Key5"
-mode = "Vi"
-mods = "Shift"
-
-[[keyboard.bindings]]
-action = "SearchForward"
-key = "Slash"
-mode = "Vi"
-
-[[keyboard.bindings]]
-action = "SearchBackward"
-key = "Slash"
-mode = "Vi"
-mods = "Shift"
-
-[[keyboard.bindings]]
-action = "SearchNext"
-key = "N"
-mode = "Vi"
-
-[[keyboard.bindings]]
-action = "SearchPrevious"
-key = "N"
-mode = "Vi"
-mods = "Shift"
diff --git a/modules/home.legacy/conf/alacritty/toml/mouse.toml b/modules/home.legacy/conf/alacritty/toml/mouse.toml
deleted file mode 100644
index cbc9cd32..00000000
--- a/modules/home.legacy/conf/alacritty/toml/mouse.toml
+++ /dev/null
@@ -1,12 +0,0 @@
-# nixos-config - My current NixOS configuration
-#
-# Copyright (C) 2025 Benedikt Peetz <benedikt.peetz@b-peetz.de>
-# SPDX-License-Identifier: GPL-3.0-or-later
-#
-# This file is part of my nixos-config.
-#
-# You should have received a copy of the License along with this program.
-# If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
-
-[mouse]
-hide_when_typing = false
diff --git a/modules/home.legacy/conf/alacritty/toml/mouse_bindings.toml b/modules/home.legacy/conf/alacritty/toml/mouse_bindings.toml
deleted file mode 100644
index e566a452..00000000
--- a/modules/home.legacy/conf/alacritty/toml/mouse_bindings.toml
+++ /dev/null
@@ -1,13 +0,0 @@
-# nixos-config - My current NixOS configuration
-#
-# Copyright (C) 2025 Benedikt Peetz <benedikt.peetz@b-peetz.de>
-# SPDX-License-Identifier: GPL-3.0-or-later
-#
-# This file is part of my nixos-config.
-#
-# You should have received a copy of the License along with this program.
-# If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
-
-[[mouse.bindings]]
-action = "Copy"
-mouse = "Middle"
diff --git a/modules/home.legacy/conf/alacritty/toml/scrolling.toml b/modules/home.legacy/conf/alacritty/toml/scrolling.toml
deleted file mode 100644
index 09240872..00000000
--- a/modules/home.legacy/conf/alacritty/toml/scrolling.toml
+++ /dev/null
@@ -1,13 +0,0 @@
-# nixos-config - My current NixOS configuration
-#
-# Copyright (C) 2025 Benedikt Peetz <benedikt.peetz@b-peetz.de>
-# SPDX-License-Identifier: GPL-3.0-or-later
-#
-# This file is part of my nixos-config.
-#
-# You should have received a copy of the License along with this program.
-# If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
-
-[scrolling]
-history = 10000
-multiplier = 3
diff --git a/modules/home.legacy/conf/alacritty/toml/selection.toml b/modules/home.legacy/conf/alacritty/toml/selection.toml
deleted file mode 100644
index ebc8c849..00000000
--- a/modules/home.legacy/conf/alacritty/toml/selection.toml
+++ /dev/null
@@ -1,13 +0,0 @@
-# nixos-config - My current NixOS configuration
-#
-# Copyright (C) 2025 Benedikt Peetz <benedikt.peetz@b-peetz.de>
-# SPDX-License-Identifier: GPL-3.0-or-later
-#
-# This file is part of my nixos-config.
-#
-# You should have received a copy of the License along with this program.
-# If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
-
-[selection]
-save_to_clipboard = false
-semantic_escape_chars = ",│`|:\"' ()[]{}<>\t"