diff --git a/home/config/alacritty/calendar.yml b/home/config/alacritty/calendar.yml new file mode 100644 index 0000000..1c0e281 --- /dev/null +++ b/home/config/alacritty/calendar.yml @@ -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 \ No newline at end of file diff --git a/home/config/polybar/modules/date.ini b/home/config/polybar/modules/date.ini index f3f5c43..92d7718 100644 --- a/home/config/polybar/modules/date.ini +++ b/home/config/polybar/modules/date.ini @@ -4,4 +4,4 @@ format-padding = 3 date = "%a, %m/%d" time = "%k:%M" ; 点击用alacrity打开日历命令 -label = %{A1:alacritty --hold -e "cal":}%date% %time%%{A} \ No newline at end of file +label = %{A1:alacritty --config-file $HOME/.config/alacritty/calendar.yml --hold -e "cal":}%date% %time%%{A} \ No newline at end of file