Skip to content

Instantly share code, notes, and snippets.

@NNBnh
Created February 22, 2021 04:59
Show Gist options
  • Save NNBnh/5f6e601a6a82a6ed43b1959698758141 to your computer and use it in GitHub Desktop.
Save NNBnh/5f6e601a6a82a6ed43b1959698758141 to your computer and use it in GitHub Desktop.
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
@NNBnh
Copy link
Author

NNBnh commented Feb 28, 2021

Here is a screenshot of the entire desktop:

screeny_2021-02-22_11-48-35

BTW, check out my Đotfiles !!!

Đotfiles

@mangkoran
Copy link

Awesome work! I wonder how to display calendar in dunst?

@NNBnh
Copy link
Author

NNBnh commented May 8, 2021

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

@lwertzui
Copy link

lwertzui commented Aug 1, 2024

I dont see how to change the location of the notification, is it possible, just asking because the giant spotify popup to cover the top corner of my screen, also how do you survive that big of a gap in i3? i personally cant stand anything over 5px

@NNBnh
Copy link
Author

NNBnh commented Aug 2, 2024

Hello,

I dont see how to change the location of the notification

You can set this:

(From the doc)

origin (default: top-right)
The origin of the notification window on the screen. It can then be moved with offset. Origin can be one of: top-left top-center top-right bottom-left bottom-center bottom-right left-center center right-center

also how do you survive that big of a gap

The screenshot that you see on top is more for the aesthetic than how it's actually represent my workflow or how I use the wm day by day. I only use gap on the terminal workspace (as the name implies, the workspace that only contain terminal windows) because it's cool and that much gap doesn't make the shell or the editor that clamp anyway. Most of the time I maximize a single window (with no gap). Later I even realize tiling is actually bloat and I don't need gap nor tiling features XD (check out the explanation in my blog).

@lwertzui
Copy link

lwertzui commented Aug 2, 2024

Yeah i got the wrong config somehow, fixed that a few minutes after writing that comment, forgot to update sorry

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment