diff options
| author | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2024-09-25 23:51:51 +0530 |
|---|---|---|
| committer | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2024-09-25 23:51:51 +0530 |
| commit | 86aaaabfd153a1710b6773f17925d2e5191bf522 (patch) | |
| tree | db9baa777a98f6b66c1483ba9664bc62fc8bd007 /modules/tools/viewer/bat | |
| parent | 478081af928e1557b325f4a4cbd5b67f079660d2 (diff) | |
| download | home-manager-config-86aaaabfd153a1710b6773f17925d2e5191bf522.tar.gz home-manager-config-86aaaabfd153a1710b6773f17925d2e5191bf522.zip | |
Changed polybar bspwm workspace tab config.
Diffstat (limited to 'modules/tools/viewer/bat')
| -rw-r--r-- | modules/tools/viewer/bat/default.nix | 10 | ||||
| -rw-r--r-- | modules/tools/viewer/bat/theme.mustache.tmTheme (renamed from modules/tools/viewer/bat/theme.tmTheme.mustache) | 0 |
2 files changed, 7 insertions, 3 deletions
diff --git a/modules/tools/viewer/bat/default.nix b/modules/tools/viewer/bat/default.nix index 73bdefd..ec68eb7 100644 --- a/modules/tools/viewer/bat/default.nix +++ b/modules/tools/viewer/bat/default.nix @@ -7,12 +7,16 @@ config = lib.mkIf config.tools.viewer.bat.enable { programs.bat.enable = true; - programs.bat.config.theme = "custom-theme"; - shell.alias."cbat" = "${pkgs.bat}/bin/bat -pp"; + programs.bat.config = { + tabs = "4"; + theme = "custom-theme"; + }; + shell.alias."bc" = "${pkgs.bat}/bin/bat -pp"; + shell.alias."bp" = "${pkgs.bat}/bin/bat --paging always"; home.sessionVariables."PAGER" = "${pkgs.bat}/bin/bat --paging always"; xdg.configFile."bat/themes/custom-theme.tmTheme".source = config.scheme { - template = builtins.readFile ./theme.tmTheme.mustache; + template = builtins.readFile ./theme.mustache.tmTheme; }; }; } diff --git a/modules/tools/viewer/bat/theme.tmTheme.mustache b/modules/tools/viewer/bat/theme.mustache.tmTheme index 844b80d..844b80d 100644 --- a/modules/tools/viewer/bat/theme.tmTheme.mustache +++ b/modules/tools/viewer/bat/theme.mustache.tmTheme |
