Created
February 22, 2021 04:59
-
-
Save NNBnh/5f6e601a6a82a6ed43b1959698758141 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
font = "Bmono 12" | |
geometry = "0x0-62-62" | |
separator_height = 2 | |
padding = 2 | |
horizontal_padding = 2 | |
frame_width = 2 | |
markup = full | |
format = "<b>%s</b>\n%b" | |
icon_path = "" | |
icon_position = left | |
max_icon_size = 64 | |
show_indicators = false | |
separator_color = frame | |
lf = #D8D8D8 | |
nf = #D8D8D8 | |
cf = #D8D8D8 | |
lb = #181818E5 | |
nb = #181818E5 | |
cb = #181818E5 | |
lfr = #585858 | |
nfr = #585858 | |
cfr = #AB4642 | |
lto = 1 | |
nto = 3 | |
cto = 5 | |
mouse_left_click = do_action | |
mouse_right_click = close_current | |
mouse_middle_click = close_current |
Awesome work! I wonder how to display calendar in dunst?
Here is the script that i use, just ignore the path where i involve a Sway command (swaymsg
):
#!/bin/sh
# Start
[ "$(dunstify --replace '999999999' --action 'cal,more' "$(date +'%I:%M %p')" "$(swaymsg --raw --type get_workspaces | jq --raw-output '.[] | "\(.focused)\(.name)\(.focused)"' | sed -e 's/^false//g' -e 's/false$//g' -e 's/^true/<u>/g' -e 's/true$/<\/u>/g' | tr '\n' ' ')")" = 'cal' ] && {
DAY=$(date +'%e')
dunstify 'Calendar' "$(cal | sed -e "s/$DAY\b/<u>$DAY<\/u>/g")"
}
exit 0
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here is a screenshot of the entire desktop:
BTW, check out my
Đotfiles
!!!