calcurse automatically xdg compliant now

This commit is contained in:
Luke Smith 2020-03-28 14:12:53 -04:00
parent 9365b3db7d
commit b340d3dc83
No known key found for this signature in database
GPG key ID: 4C50B54A911F6252
3 changed files with 3 additions and 3 deletions

View file

@ -81,7 +81,7 @@ bindsym $mod+Shift+r exec --no-startup-id winresize
bindsym $mod+t split toggle bindsym $mod+t split toggle
bindsym $mod+Shift+t gaps inner current set $inner_gaps; gaps outer current set $outer_gaps bindsym $mod+Shift+t gaps inner current set $inner_gaps; gaps outer current set $outer_gaps
bindsym $mod+y exec $term -e calcurse -D ~/.config/calcurse bindsym $mod+y exec $term -e calcurse
bindsym $mod+Shift+y exec --no-startup-id i3resize left bindsym $mod+Shift+y exec --no-startup-id i3resize left
bindsym $mod+u exec --no-startup-id ddspawn tmuxdd bindsym $mod+u exec --no-startup-id ddspawn tmuxdd

View file

@ -21,7 +21,7 @@ super + m
super + n super + n
$TERMINAL -e newsboat $TERMINAL -e newsboat
super + c super + c
$TERMINAL -e calcurse -D ~/.config/calcurse $TERMINAL -e calcurse
super + v super + v
$TERMINAL -e nvim -c VimwikiIndex $TERMINAL -e nvim -c VimwikiIndex
super + shift + a super + shift + a

View file

@ -3,7 +3,7 @@
date '+%Y %b %d (%a) %I:%M%p' date '+%Y %b %d (%a) %I:%M%p'
case $BLOCK_BUTTON in case $BLOCK_BUTTON in
1) pgrep -x dunst >/dev/null && notify-send "This Month" "$(cal --color=always | sed "s/..7m/<b><span color=\"red\">/;s/..27m/<\/span><\/b>/")" && notify-send "Appointments" "$(calcurse -D ~/.config/calcurse -d3)" ;; 1) pgrep -x dunst >/dev/null && notify-send "This Month" "$(cal --color=always | sed "s/..7m/<b><span color=\"red\">/;s/..27m/<\/span><\/b>/")" && notify-send "Appointments" "$(calcurse)" ;;
2) $TERMINAL -e calcurse -D ~/.config/calcurse ;; 2) $TERMINAL -e calcurse -D ~/.config/calcurse ;;
3) pgrep -x dunst >/dev/null && notify-send "📅 Time/date module" "\- Left click to show upcoming appointments for the next three days via \`calcurse -d3\` and show the month via \`cal\` 3) pgrep -x dunst >/dev/null && notify-send "📅 Time/date module" "\- Left click to show upcoming appointments for the next three days via \`calcurse -d3\` and show the month via \`cal\`
- Middle click opens calcurse if installed" ;; - Middle click opens calcurse if installed" ;;