repos/scripts

Simple scripts that I made for my personal computer to map keys, make bluetooth work, brightness keys, etc.
Commits Files Refs README LICENSE
statusbar/sb-date (13 lines)
   1 #!/bin/sh
   2 
   3 #case $BLOCK_BUTTON in
   4 #    1) notify-send "This Month" "$(cal --color=always | sed "s/..7m/<b><span color=\"red\">/;s/..27m/<\/span><\/b>/")" && notify-send "Appointments" "$(calcurse -d3)" ;;
   5 #    2) setsid -f "$TERMINAL" -e calcurse ;;
   6 #    3) 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\`
   7 #- Middle click opens calcurse if installed" ;;
   8 #    6) "$TERMINAL" -e "$EDITOR" "$0" ;;
   9 #esac
  10 
  11 #date "+ %a %b %d %Y $icon: %I:%M%p"
  12 # date "+📅 %a %d/%m/%Y  $icon %R"
  13 date "+📅 %a %d %b %Y"