mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-19 19:27:31 -08:00
somewhat working taskwarrior
This commit is contained in:
parent
598d2fd742
commit
26f4b18b7a
2
.bashrc
2
.bashrc
@ -15,3 +15,5 @@ export PATH
|
|||||||
export NVM_DIR="$HOME/.nvm"
|
export NVM_DIR="$HOME/.nvm"
|
||||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
||||||
|
|
||||||
|
export PATH="$HOME/.nimble/bin:$PATH"
|
||||||
|
File diff suppressed because one or more lines are too long
28
.taskopenrc
Normal file
28
.taskopenrc
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
[General]
|
||||||
|
taskbin=task
|
||||||
|
taskargs
|
||||||
|
no_annotation_hook=""
|
||||||
|
task_attributes="priority,project,tags,description"
|
||||||
|
--sort:"urgency-,annot"
|
||||||
|
--active-tasks:"+PENDING"
|
||||||
|
EDITOR=/usr/bin/nano
|
||||||
|
path_ext=/usr/share/taskopen/scripts
|
||||||
|
|
||||||
|
[Actions]
|
||||||
|
files.target=annotations
|
||||||
|
files.labelregex=".*"
|
||||||
|
files.regex="^[\\.\\/~]+.*\\.(.*)"
|
||||||
|
files.command="xdg-open $FILE"
|
||||||
|
files.modes="batch,any,normal"
|
||||||
|
|
||||||
|
notes.target=annotations
|
||||||
|
notes.labelregex=".*"
|
||||||
|
notes.regex="fleeting"
|
||||||
|
notes.command="nvim ~/documents/warrior/fleeting/$UUID.md"
|
||||||
|
notes.modes="batch,any,normal"
|
||||||
|
|
||||||
|
url.target=annotations
|
||||||
|
url.labelregex=".*"
|
||||||
|
url.regex="((?:www|http).*)"
|
||||||
|
url.command="xdg-open $LAST_MATCH"
|
||||||
|
url.modes="batch,any,normal"
|
37
.taskrc
Normal file
37
.taskrc
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
# [Created by task 2.6.2 12/3/2022 20:07:19]
|
||||||
|
# Taskwarrior program configuration file.
|
||||||
|
# For more documentation, see https://taskwarrior.org or try 'man task', 'man task-color',
|
||||||
|
# 'man task-sync' or 'man taskrc'
|
||||||
|
|
||||||
|
# Here is an example of entries that use the default, override and blank values
|
||||||
|
# variable=foo -- By specifying a value, this overrides the default
|
||||||
|
# variable= -- By specifying no value, this means no default
|
||||||
|
# #variable=foo -- By commenting out the line, or deleting it, this uses the default
|
||||||
|
|
||||||
|
# You can also refence environment variables:
|
||||||
|
# variable=$HOME/task
|
||||||
|
# variable=$VALUE
|
||||||
|
|
||||||
|
# Use the command 'task show' to see all defaults and overrides
|
||||||
|
|
||||||
|
# Files
|
||||||
|
|
||||||
|
verbose=blank,footnote,label,new-id,affected,edit,special,project,sync,unwait
|
||||||
|
|
||||||
|
# Color theme (uncomment one to use)
|
||||||
|
#include light-16.theme
|
||||||
|
#include light-256.theme
|
||||||
|
#include dark-16.theme
|
||||||
|
#include dark-256.theme
|
||||||
|
#include dark-red-256.theme
|
||||||
|
#include dark-green-256.theme
|
||||||
|
#include dark-blue-256.theme
|
||||||
|
#include dark-violets-256.theme
|
||||||
|
#include dark-yellow-green.theme
|
||||||
|
#include dark-gray-256.theme
|
||||||
|
#include dark-gray-blue-256.theme
|
||||||
|
#include solarized-dark-256.theme
|
||||||
|
#include solarized-light-256.theme
|
||||||
|
#include no-color.theme
|
||||||
|
|
||||||
|
news.version=2.6.0
|
@ -57,3 +57,14 @@ sudo mkdir -p /mnt/engi
|
|||||||
# Add following line to fstab
|
# Add following line to fstab
|
||||||
//<server-ip>/engi /mnt/engi cifs uid=1000,credentials=/home/tstarr/.smb,iocharset=utf8,noauto,x-systemd.automount 0 0
|
//<server-ip>/engi /mnt/engi cifs uid=1000,credentials=/home/tstarr/.smb,iocharset=utf8,noauto,x-systemd.automount 0 0
|
||||||
```
|
```
|
||||||
|
## taskopen for taskwarrior
|
||||||
|
|
||||||
|
taskopen needs is easier to install manually at this point since the fedora package is very old.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
curl https://nim-lang.org/choosenim/init.sh -sSf | sh # install nim for compile
|
||||||
|
git clone https://github.com/jschlatow/taskopen.git
|
||||||
|
cd taskopen
|
||||||
|
make PREFIX=/usr
|
||||||
|
sudo make PREFIX=/usr install
|
||||||
|
```
|
||||||
|
10
bin/tof
Executable file
10
bin/tof
Executable file
@ -0,0 +1,10 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [[ $(task "$1" +fleeting 2>&1) == "No matches." ]];
|
||||||
|
then
|
||||||
|
task "$1" modify +fleeting
|
||||||
|
task "$1" annotate fleeting
|
||||||
|
taskopen $1
|
||||||
|
else
|
||||||
|
taskopen $1
|
||||||
|
fi
|
@ -18,4 +18,4 @@
|
|||||||
name:
|
name:
|
||||||
- com.github.tchx84.Flatseal # Manage Flatpak permissions
|
- com.github.tchx84.Flatseal # Manage Flatpak permissions
|
||||||
state: present
|
state: present
|
||||||
become: true
|
become: true
|
||||||
|
@ -4,5 +4,7 @@
|
|||||||
- stow # Symlink dots with a GNU
|
- stow # Symlink dots with a GNU
|
||||||
- vifm # File manager with curses interface
|
- vifm # File manager with curses interface
|
||||||
- neovim # Vim-fork focused on extensibility and agility
|
- neovim # Vim-fork focused on extensibility and agility
|
||||||
|
- task
|
||||||
|
- timew
|
||||||
state: present
|
state: present
|
||||||
become: true
|
become: true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user