定制日历专用alacritty配置

master
yutent 2023-07-06 02:59:00 +00:00
parent 37b99abacf
commit 31a640da71
2 changed files with 64 additions and 1 deletions

View File

@ -0,0 +1,63 @@
# 专为日历调整的alacritty窗口
env:
TERM: alacritty
WINIT_X11_SCALE_FACTOR: '1.125'
window:
dimensions:
columns: 78
lines: 26
padding:
x: 6
y: 6
opacity: 0.85
font:
normal:
family: Menlo
bold:
family: Menlo
italic:
family: Menlo
size: 10.0
colors:
primary:
background: '0x57606f'
foreground: '0xf2f5fc'
selection:
text: 'CellForeground'
background: '#96CCF8'
normal:
black: '0x323F4D'
red: '0xF33E22'
green: '0x19BC9C'
yellow: '0xF5BD07'
blue: '0x62aeef'
magenta: '0x9595D0'
cyan: '0x05979A'
white: '0xCED6E0'
bright:
black: '0x86909B'
red: '0xFC7661'
green: '0x41D3B7'
yellow: '0xFFD341'
blue: '0x64B5F6'
magenta: '0xA6A6D1'
cyan: '0x34E2E2'
white: '0xDAE1E9'
draw_bold_text_with_bright_colors: true
transparent_background_colors: true

View File

@ -4,4 +4,4 @@ format-padding = 3
date = "%a, %m/%d"
time = "%k:%M"
; 点击用alacrity打开日历命令
label = %{A1:alacritty --hold -e "cal":}%date% %time%%{A}
label = %{A1:alacritty --config-file $HOME/.config/alacritty/calendar.yml --hold -e "cal":}%date% %time%%{A}