polybar的日期点击打开日历优化
parent
a60e5b9139
commit
b1a4c70548
|
@ -4,4 +4,4 @@ format-padding = 3
|
|||
date = "%a, %m/%d"
|
||||
time = "%k:%M"
|
||||
; 点击用alacrity打开日历命令
|
||||
label = %{A1:alacritty --title Calendar --config-file $HOME/.config/alacritty/calendar.yml --hold -e "cal":}%date% %time%%{A}
|
||||
label = %{A1:alacritty --title Calendar --config-file $HOME/.config/alacritty/calendar.yml --hold -e ".local/bin/scripts/calendar.sh":}%date% %time%%{A}
|
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
# 隐藏光标
|
||||
tput civis
|
||||
|
||||
cal
|
Loading…
Reference in New Issue