This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

alacritty: use toml config

+27 -28
+25 -26
2configs/alacritty.nix
··· 1 1 { config, lib, pkgs, ... }: let 2 2 3 - alacritty-cfg = extrVals: builtins.toJSON ({ 3 + alacritty-cfg = extrVals: pkgs.writers.writeTOML "alacritty.toml" ({ 4 4 font = let 5 5 family = "Iosevka Term SS15"; 6 6 in { ··· 28 28 lines = 20; 29 29 }; 30 30 env.WINIT_X11_SCALE_FACTOR = "1.0"; 31 - # window.opacity = 0; 32 31 hints.enabled = [ 33 32 { 34 33 regex = ''(mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:)[^\u0000-\u001F\u007F-\u009F<>"\s{-}\^⟨⟩`]+''; ··· 47 46 name = "alacritty"; 48 47 paths = [ 49 48 (pkgs.writeDashBin "alacritty" '' 50 - # ${pkgs.alacritty}/bin/alacritty --config-file /var/theme/config/alacritty.yaml msg create-window "$@" || 51 - ${pkgs.alacritty}/bin/alacritty --config-file /var/theme/config/alacritty.yaml "$@" 49 + # ${pkgs.alacritty}/bin/alacritty --config-file /var/theme/config/alacritty.toml msg create-window "$@" || 50 + ${pkgs.alacritty}/bin/alacritty --config-file /var/theme/config/alacritty.toml "$@" 52 51 '') 53 52 pkgs.alacritty 54 53 ]; ··· 56 55 57 56 in { 58 57 environment.etc = { 59 - "themes/light/alacritty.yaml".text = alacritty-cfg { 58 + "themes/light/alacritty.toml".source = alacritty-cfg { 60 59 colors = { 61 60 # Default colors 62 61 primary = { ··· 92 91 }; 93 92 }; 94 93 }; 95 - "themes/dark/alacritty.yaml".text = alacritty-cfg { 94 + "themes/dark/alacritty.toml".source = alacritty-cfg { 96 95 colors = { 97 96 # Default colors 98 97 primary = { 99 - background = "0x000000"; 100 - foreground = "0xffffff"; 98 + background = "#000000"; 99 + foreground = "#ffffff"; 101 100 }; 102 101 cursor = { 103 - text = "0xF81CE5"; 104 - cursor = "0xffffff"; 102 + text = "#F81CE5"; 103 + cursor = "#ffffff"; 105 104 }; 106 105 107 106 # Normal colors 108 107 normal = { 109 - black = "0x000000"; 110 - red = "0xfe0100"; 111 - green = "0x33ff00"; 112 - yellow = "0xfeff00"; 113 - blue = "0x0066ff"; 114 - magenta = "0xcc00ff"; 115 - cyan = "0x00ffff"; 116 - white = "0xd0d0d0"; 108 + black = "#000000"; 109 + red = "#fe0100"; 110 + green = "#33ff00"; 111 + yellow = "#feff00"; 112 + blue = "#0066ff"; 113 + magenta = "#cc00ff"; 114 + cyan = "#00ffff"; 115 + white = "#d0d0d0"; 117 116 }; 118 117 119 118 # Bright colors 120 119 bright = { 121 - black = "0x808080"; 122 - red = "0xfe0100"; 123 - green = "0x33ff00"; 124 - yellow = "0xfeff00"; 125 - blue = "0x0066ff"; 126 - magenta = "0xcc00ff"; 127 - cyan = "0x00ffff"; 128 - white = "0xFFFFFF"; 120 + black = "#808080"; 121 + red = "#fe0100"; 122 + green = "#33ff00"; 123 + yellow = "#feff00"; 124 + blue = "#0066ff"; 125 + magenta = "#cc00ff"; 126 + cyan = "#00ffff"; 127 + white = "#FFFFFF"; 129 128 }; 130 129 }; 131 130 };
+2 -2
2configs/xdg-open.nix
··· 34 34 special/mailaddress) 35 35 alacritty --execute vim "$FILE" ;; 36 36 text/html) 37 - firefox "$FILE" ;; 37 + firefox-devedition "$FILE" ;; 38 38 text/xml) 39 - firefox "$FILE" ;; 39 + firefox-devedition "$FILE" ;; 40 40 text/*) 41 41 alacritty --execute vim "$FILE" ;; 42 42 image/*)