add bat config, unify niri column width to 4 digit precision
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
# This is `bat`s configuration file. Each line either contains a comment or
|
||||
# a command-line option that you want to pass to `bat` by default. You can
|
||||
# run `bat --help` to get a list of all possible configuration options.
|
||||
|
||||
# Specify desired highlighting theme (e.g. "TwoDark"). Run `bat --list-themes`
|
||||
# for a list of all available themes
|
||||
#--theme="TwoDark"
|
||||
#--theme="OneHalfDark"
|
||||
--theme="Catppuccin Mocha"
|
||||
|
||||
# Enable this to use italic text on the terminal. This is not supported on all
|
||||
# terminal emulators (like tmux, by default):
|
||||
#--italic-text=always
|
||||
|
||||
# Uncomment the following line to disable automatic paging:
|
||||
#--paging=never
|
||||
|
||||
# Uncomment the following line if you are using less version >= 551 and want to
|
||||
# enable mouse scrolling support in `bat` when running inside tmux. This might
|
||||
# disable text selection, unless you press shift.
|
||||
#--pager="less --RAW-CONTROL-CHARS --quit-if-one-screen --mouse"
|
||||
|
||||
# Syntax mappings: map a certain filename pattern to a language.
|
||||
# Example 1: use the C++ syntax for Arduino .ino files
|
||||
# Example 2: Use ".gitignore"-style highlighting for ".ignore" files
|
||||
#--map-syntax "*.ino:C++"
|
||||
#--map-syntax ".ignore:Git Ignore"
|
||||
@@ -121,9 +121,9 @@ layout {
|
||||
// For example, you can perfectly fit four windows sized "proportion 0.25" on an output.
|
||||
// The default preset widths are 1/3, 1/2 and 2/3 of the output.
|
||||
// proportion 0.25
|
||||
proportion 0.33333
|
||||
proportion 0.3333
|
||||
proportion 0.5
|
||||
proportion 0.66667
|
||||
proportion 0.6667
|
||||
|
||||
// Fixed sets the width in logical pixels exactly.
|
||||
// fixed 1920
|
||||
|
||||
@@ -56,7 +56,7 @@ window-rule {
|
||||
// terminal doesn't need to be big
|
||||
window-rule {
|
||||
match app-id="^Alacritty$"
|
||||
default-column-width { proportion 0.333; }
|
||||
default-column-width { proportion 0.3333; }
|
||||
}
|
||||
window-rule {
|
||||
match app-id="^Thunderbird$"
|
||||
|
||||
Reference in New Issue
Block a user