This commit is contained in:
2026-03-12 02:05:30 +01:00
parent c5af037f52
commit 1ded2e792c
9 changed files with 700 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
[Desktop Entry]
Version=1.0
Type=Application
Name=TODO List Menu
Comment=TODO List Dynamic Menu
Keywords=
StartupNotify=false
Icon=task-due
Exec=TODOlist
Categories=Accesories;
#NoDisplay=true

View File

@@ -0,0 +1 @@
TODO List,TODOlist
1 TODO List TODOlist

View File

@@ -0,0 +1,74 @@
conky.config = {
-- WINDOW
own_window = true,
own_window_type = 'desktop',
own_window_transparent = false,
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
own_window_colour = '#142c2c',
own_window_class = 'Conky',
own_window_title = 'Conky',
alignment = 'middle_left',
gap_x = 30,
gap_y = 0,
minimum_width = 200,
-- FONTS
use_xft = true,
font = 'Droid Sans:size=11',
xftalpha = 1,
override_utf8_locale = true,
-- COLORS
draw_shades = true,
default_shade_color = '#000000',
draw_outline = false,
default_outline_color = '#222222',
default_color = '#F8F8FF',
color0 = '#accdc7',
color1 = '#309552',
color2 = '#E8CB2D',
-- BORDERS
draw_borders = true,
-- Stippled borders?
stippled_borders = 0,
-- border margins
border_inner_margin = 15,
border_outer_margin = 1,
-- border width
border_width = 2,
-- MISC
-- Boolean value, if true, Conky will be forked to background when started.
background = true,
-- Adds spaces around certain objects to stop them from moving other things
-- around, this only helps if you are using a mono font
-- Options: right, left or none
use_spacer = 'none',
-- Subtract (file system) buffers from used memory?
no_buffers = true,
-- Imlib2 image cache size, in bytes. Default 4MiB Increase this value if you use
-- $image lots. Set to 0 to disable the image cache.
imlib_cache_size = 0,
-- Use the Xdbe extension? (eliminates flicker)
-- It is highly recommended to use own window with this one
-- so double buffer won't be so big.
double_buffer = true,
update_interval = 1,
};
conky.text = [[
#${execpi 30 todo.sh -d ~/.config/todo/config-conky ls}
${execpi 3 mabox-todo.sh}
#${image ~/.config/conky/images/test.png -p 0,0}
#${image ~/.config/conky/images/test.png -p 400,0}
]];

View File

@@ -0,0 +1,96 @@
# === EDIT FILE LOCATIONS BELOW ===
# Your todo.txt directory (this should be an absolute path)
#export TODO_DIR="/Users/gina/Documents/todo"
export TODO_DIR=~/.todo
# Your todo/done/report.txt locations
### export TODO_FILE="$TODO_DIR/todo.txt"
### export DONE_FILE="$TODO_DIR/done.txt"
### export REPORT_FILE="$TODO_DIR/report.txt"
# Mabox's modification - allows multiple todo files
: ${TODO_FILE:-"$TODO_DIR/todo.txt"}; export TODO_FILE
: ${DONE_FILE:-"$TODO_DIR/done.txt"}; export DONE_FILE
: ${REPORT_FILE:-"$TODO_DIR/report.txt"}; export REPORT_FILE
# You can customize your actions directory location
#export TODO_ACTIONS_DIR="$HOME/.todo.actions.d"
# == EDIT FILE LOCATIONS ABOVE ===
# === COLOR MAP ===
## Text coloring and formatting is done by inserting ANSI escape codes.
## If you have re-mapped your color codes, or use the todo.txt
## output in another output system (like Conky), you may need to
## over-ride by uncommenting and editing these defaults.
## If you change any of these here, you also need to uncomment
## the defaults in the COLORS section below. Otherwise, todo.txt
## will still use the defaults!
export BLACK='\\033[0;30m'
export RED='\\033[0;31m'
export GREEN='\\033[0;32m'
export BROWN='\\033[0;33m'
export BLUE='\\033[0;34m'
export PURPLE='\\033[0;35m'
export CYAN='\\033[0;36m'
export LIGHT_GREY='\\033[0;37m'
export DARK_GREY='\\033[1;30m'
export LIGHT_RED='\\033[1;31m'
export LIGHT_GREEN='\\033[1;32m'
export YELLOW='\\033[1;33m'
export LIGHT_BLUE='\\033[1;34m'
export LIGHT_PURPLE='\\033[1;35m'
export LIGHT_CYAN='\\033[1;36m'
export WHITE='\\033[1;37m'
export DEFAULT='\\033[0m'
# === COLORS ===
## Uncomment and edit to override these defaults.
## Reference the constants from the color map above,
## or use $NONE to disable highlighting.
#
# Priorities can be any upper-case letter.
# A,B,C are highlighted; you can add coloring for more.
#
export PRI_A=$YELLOW # color for A priority
export PRI_B=$GREEN # color for B priority
export PRI_C=$LIGHT_BLUE # color for C priority
# export PRI_D=... # define your own
export PRI_X=$WHITE # color unless explicitly defined
# There is highlighting for tasks that have been done,
# but haven't been archived yet.
#
export COLOR_DONE=$LIGHT_GREY
# There is highlighting for projects, contexts, dates, and item numbers.
#
export COLOR_PROJECT=$RED
export COLOR_CONTEXT=$GREEN
export COLOR_DATE=$BLUE
export COLOR_NUMBER=$LIGHT_GREY
# There is highlighting for metadata key:value pairs e.g.
# DUE:2006-08-01 or note:MYNOTE
#
export COLOR_META=$CYAN
# === BEHAVIOR ===
## customize list output
#
# TODOTXT_SORT_COMMAND will filter after line numbers are
# inserted, but before colorization, and before hiding of
# priority, context, and project.
#
# export TODOTXT_SORT_COMMAND='env LC_COLLATE=C sort -f -k2'
# TODOTXT_FINAL_FILTER will filter list output after colorization,
# priority hiding, context hiding, and project hiding. That is,
# just before the list output is displayed.
#
# export TODOTXT_FINAL_FILTER='cat'

View File

@@ -0,0 +1,53 @@
export TODO_DIR=~/.todo
# Your todo/done/report.txt locations
### export TODO_FILE="$TODO_DIR/todo.txt"
### export DONE_FILE="$TODO_DIR/done.txt"
### export REPORT_FILE="$TODO_DIR/report.txt"
# Mabox's modification - allows multiple todo files
: ${TODO_FILE:-"$TODO_DIR/todo.txt"}; export TODO_FILE
: ${DONE_FILE:-"$TODO_DIR/done.txt"}; export DONE_FILE
: ${REPORT_FILE:-"$TODO_DIR/report.txt"}; export REPORT_FILE
# todo.txt configuration for Conky highlighting.
export BLACK='${color black}'
export RED='${color red}'
export GREEN='${color green}'
export BROWN='${color brown}'
export BLUE='${color blue}'
export PURPLE='${color purple}'
export CYAN='${color cyan}'
export LIGHT_GREY='${color LightGrey}'
export DARK_GREY='${color DarkGrey}'
export LIGHT_RED='${color LightRed}'
export LIGHT_GREEN='${color LightGreen}'
export YELLOW='${color yellow}'
export LIGHT_BLUE='${color LightBlue}'
export LIGHT_PURPLE='${color LightPurple}'
export LIGHT_CYAN='${color LightCyan}'
export WHITE='${color white}'
export DEFAULT='${color0}'
export PRI_A=$YELLOW # color for A priority
export PRI_B=$GREEN # color for B priority
export PRI_C=$LIGHT_BLUE # color for C priority
# export PRI_D=... # define your own
export PRI_X=$WHITE # color unless explicitly defined
# There is highlighting for tasks that have been done,
# but haven't been archived yet.
#
export COLOR_DONE=$LIGHT_GREY
# There is highlighting for projects, contexts, dates, and item numbers.
#
export COLOR_PROJECT=$RED
export COLOR_CONTEXT=$CYAN
export COLOR_DATE=$LIGHT_BLUE
export COLOR_NUMBER=$LIGHT_GREY
# There is highlighting for metadata key:value pairs e.g.
# DUE:2006-08-01 or note:MYNOTE
#
export COLOR_META=$LIGHT_RED

View File

@@ -0,0 +1,53 @@
export TODO_DIR=~/.todo
# Your todo/done/report.txt locations
### export TODO_FILE="$TODO_DIR/todo.txt"
### export DONE_FILE="$TODO_DIR/done.txt"
### export REPORT_FILE="$TODO_DIR/report.txt"
# Mabox's modification - allows multiple todo files
: ${TODO_FILE:-"$TODO_DIR/todo.txt"}; export TODO_FILE
: ${DONE_FILE:-"$TODO_DIR/done.txt"}; export DONE_FILE
: ${REPORT_FILE:-"$TODO_DIR/report.txt"}; export REPORT_FILE
# todo.txt configuration for Jgmenu highlighting.
export BLACK='${color black}'
export RED='${color red}'
export GREEN='${color green}'
export BROWN='${color brown}'
export BLUE='${color blue}'
export PURPLE='${color purple}'
export CYAN='${color cyan}'
export LIGHT_GREY='${color LightGrey}'
export DARK_GREY='${color DarkGrey}'
export LIGHT_RED='${color LightRed}'
export LIGHT_GREEN='${color LightGreen}'
export YELLOW='${color yellow}'
export LIGHT_BLUE='${color LightBlue}'
export LIGHT_PURPLE='${color LightPurple}'
export LIGHT_CYAN='${color LightCyan}'
export WHITE='${color white}'
export DEFAULT=" </span>"
export PRI_A='' # color for A priority
export PRI_B='' # color for B priority
export PRI_C='' # color for C priority
#export PRI_D=... # define your own
export PRI_X='' # color unless explicitly defined
# There is highlighting for tasks that have been done,
# but haven't been archived yet.
#
export COLOR_DONE=''
# There is highlighting for projects, contexts, dates, and item numbers.
#
export COLOR_PROJECT="<span bgcolor='#CCCCCC' fgcolor='red'> "
export COLOR_CONTEXT="<span fgcolor='green' bgcolor='#EEEEEE'> "
export COLOR_DATE="<span fgcolor='grey' size='small'>"
export COLOR_NUMBER="<span fgcolor='grey' size='small'>"
# There is highlighting for metadata key:value pairs e.g.
# DUE:2006-08-01 or note:MYNOTE
#
export COLOR_META="<span fgcolor='gray' style='italic'>"

Binary file not shown.