From f4419b4a0f7f058c6821142e558d6a62961ada0d Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Tue, 10 Sep 2019 17:20:41 +0300 Subject: Migrate from dropbox to nextcloud --- .xsession##desktop.Linux.Lowe | 5 ++++- .zshrc | 6 +++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.xsession##desktop.Linux.Lowe b/.xsession##desktop.Linux.Lowe index 5ca1fa9..f6f1fd9 100755 --- a/.xsession##desktop.Linux.Lowe +++ b/.xsession##desktop.Linux.Lowe @@ -24,7 +24,7 @@ xsettingsd & redshift-gtk & # utilities -dropbox & +nextcloud & copyq & conky --daemonize -c ~/.config/conky/conky.conf & conky --daemonize -c ~/.config/conky/task.conf & @@ -32,3 +32,6 @@ unclutter --timeout 3 --jitter 3 -b & # keyboard with alt+shift us,tr switch, map escape to capslock setxkbmap -model pc105 -layout us,tr -option grp:alt_shift_toggle,caps:swapescape & + +# bind the local port to overseer +ssh -N -f -L 127.0.0.1:53589:yigitsever.bike:53589 overseer diff --git a/.zshrc b/.zshrc index e84e3cb..40cdc58 100644 --- a/.zshrc +++ b/.zshrc @@ -120,8 +120,8 @@ alias -g C='| xsel -b' # Copy to clipboard alias bc='bc -l' alias maas="expr $(cal | awk 'FNR>2{d+=NF}END{print d}') - $(date +%d)" alias gg="exit" -alias ledger="ledger -f ~/Dropbox/ledger.dat" -alias report="report -f ~/Dropbox/ledger.dat" +alias ledger="ledger -f ~/Nextcloud/ledger.dat" +alias report="report -f ~/Nextcloud/ledger.dat" RANGER_LOAD_DEFAULT_RC=FALSE; export RANGER_LOAD_DEFAULT_RC @@ -147,7 +147,7 @@ alias tick=tickle #think it over alias think='tickle +1d' -alias lim='nvim /home/yigit/Dropbox/ledger.dat' +alias lim='nvim /home/yigit/Nextcloud/ledger.dat' alias maybe='task due:someday list' alias music='mpv --no-vid' alias s="du -hs * | sort -rh | head -5" -- cgit v1.2.3-70-g09d2 From 33a3eaf404342588b5f9d2de4474b5d6ac6320a4 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Tue, 10 Sep 2019 17:22:55 +0300 Subject: Work uses special taskrc due to ports --- .taskrc##desktop.Linux.Lowe | 90 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 .taskrc##desktop.Linux.Lowe diff --git a/.taskrc##desktop.Linux.Lowe b/.taskrc##desktop.Linux.Lowe new file mode 100644 index 0000000..fee2a32 --- /dev/null +++ b/.taskrc##desktop.Linux.Lowe @@ -0,0 +1,90 @@ +# [Created by task 2.5.1 2/6/2017 17:29:09] +# Taskwarrior program configuration file. +# For more documentation, see http://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 + +# Use the command 'task show' to see all defaults and overrides + +# Files +#data.location=/home/yigit/Dropbox/.task + +# Color theme (uncomment one to use) +#include /usr/share/doc/task/rc/light-16.theme +#include /usr/share/doc/task/rc/light-256.theme +#include /usr/share/doc/task/rc/dark-16.theme +#include /usr/share/doc/task/rc/dark-256.theme +#include /usr/share/doc/task/rc/dark-red-256.theme +#include /usr/share/doc/task/rc/dark-green-256.theme +#include /usr/share/doc/task/rc/dark-blue-256.theme +#include /usr/share/doc/task/rc/dark-violets-256.theme +#include /usr/share/doc/task/rc/dark-yellow-green.theme +#include /usr/share/doc/task/rc/dark-gray-256.theme +#include /usr/share/doc/task/rc/dark-gray-blue-256.theme +include /usr/share/doc/task/rc/solarized-dark-256.theme +#include /usr/share/doc/task/rc/solarized-light-256.theme +#include /usr/share/doc/task/rc/no-color.theme + +###### GTD Configuration ###### +### 'in' Report Definition +report.in.columns = id,description +report.in.description = Inbox +report.in.filter = status:pending limit:page (+in) +report.in.labels = ID,Description + +### 'inConky' Report Definition +report.inConky.columns = description +report.inConky.description = Inbox for Conky +report.inConky.filter = status:pending limit:page (+in) +report.inConky.labels = Description +# +### 'todo' Report Definition +report.todo.columns = id,description,due +report.todo.labels = ID,Description,Due +report.todo.description = Tasks with due dates +report.todo.filter = status:pending and due.after:now and due.before:later +report.todo.sort = due+ +report.todo.dateformat = D/M, a @H:N + +### 'todo to Show in Conky' Report Definition +report.todoConky.columns = description,due +report.todoConky.labels = Description, Due +report.todoConky.description = Tasks to do +report.todoConky.sort = due+ +report.todoConky.filter = status:pending and due.after:now and due.before:later +report.todoConky.dateformat = D-M-y H:N (A) + +### report for focus script +report.custom_focus.columns = description +report.custom_focus.labels = Description +report.custom_focus.description = Task to feed to focus script +report.custom_focus.filter = status:pending and +ACTIVE + +### contexts +context.home = +@home or +@online +context.work = +@work or +@online + +### user defined attribute brainpower (difficulty of tasks) +uda.brainpower.type = string +uda.brainpower.label = Brainpower +uda.brainpower.values = H,M,L +uda.brainpower.default = M + +### overriding 'next' report +report.next.description = Most urgent tasks +report.next.columns = id,start.age,entry.age,urgency,depends,priority,project,tags,recur,scheduled.countdown,due.remaining,until.remaining,description,brainpower +report.next.filter = status:pending and due.none: and +next +report.next.labels = ID,Active,Age,Urgency,Deps,P,Project,Tag,Recur,S,Due,Until,Description,Brainpower +report.next.sort = brainpower-,priority-,urgency- + +calendar.details=full +taskd.certificate=\/home\/yigit\/.task\/yigit_sever.cert.pem +taskd.key=\/home\/yigit\/.task\/yigit_sever.key.pem +taskd.ca=\/home\/yigit\/.task\/ca.cert.pem +taskd.server=localhost:53589 +taskd.credentials=Public\/Yigit Sever\/d4682d9a-9895-4127-86af-8d2ffc6fffcd +taskd.trust=ignore hostname -- cgit v1.2.3-70-g09d2 From b9c87924fbc45c5bebd3f7b627afaa41708c4afc Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Tue, 10 Sep 2019 17:22:55 +0300 Subject: Work uses special taskrc due to ports --- .taskrc | 91 +-------------------------------------------- .taskrc##desktop.Linux.Lowe | 90 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 91 insertions(+), 90 deletions(-) mode change 100644 => 120000 .taskrc create mode 100644 .taskrc##desktop.Linux.Lowe diff --git a/.taskrc b/.taskrc deleted file mode 100644 index 375080c..0000000 --- a/.taskrc +++ /dev/null @@ -1,90 +0,0 @@ -# [Created by task 2.5.1 2/6/2017 17:29:09] -# Taskwarrior program configuration file. -# For more documentation, see http://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 - -# Use the command 'task show' to see all defaults and overrides - -# Files -#data.location=/home/yigit/Dropbox/.task - -# Color theme (uncomment one to use) -#include /usr/share/doc/task/rc/light-16.theme -#include /usr/share/doc/task/rc/light-256.theme -#include /usr/share/doc/task/rc/dark-16.theme -#include /usr/share/doc/task/rc/dark-256.theme -#include /usr/share/doc/task/rc/dark-red-256.theme -#include /usr/share/doc/task/rc/dark-green-256.theme -#include /usr/share/doc/task/rc/dark-blue-256.theme -#include /usr/share/doc/task/rc/dark-violets-256.theme -#include /usr/share/doc/task/rc/dark-yellow-green.theme -#include /usr/share/doc/task/rc/dark-gray-256.theme -#include /usr/share/doc/task/rc/dark-gray-blue-256.theme -include /usr/share/doc/task/rc/solarized-dark-256.theme -#include /usr/share/doc/task/rc/solarized-light-256.theme -#include /usr/share/doc/task/rc/no-color.theme - -###### GTD Configuration ###### -### 'in' Report Definition -report.in.columns = id,description -report.in.description = Inbox -report.in.filter = status:pending limit:page (+in) -report.in.labels = ID,Description - -### 'inConky' Report Definition -report.inConky.columns = description -report.inConky.description = Inbox for Conky -report.inConky.filter = status:pending limit:page (+in) -report.inConky.labels = Description -# -### 'todo' Report Definition -report.todo.columns = id,description,due -report.todo.labels = ID,Description,Due -report.todo.description = Tasks with due dates -report.todo.filter = status:pending and due.after:now and due.before:later -report.todo.sort = due+ -report.todo.dateformat = D/M, a @H:N - -### 'todo to Show in Conky' Report Definition -report.todoConky.columns = description,due -report.todoConky.labels = Description, Due -report.todoConky.description = Tasks to do -report.todoConky.sort = due+ -report.todoConky.filter = status:pending and due.after:now and due.before:later -report.todoConky.dateformat = D-M-y H:N (A) - -### report for focus script -report.custom_focus.columns = description -report.custom_focus.labels = Description -report.custom_focus.description = Task to feed to focus script -report.custom_focus.filter = status:pending and +ACTIVE - -### contexts -context.home = +@home or +@online -context.work = +@work or +@online - -### user defined attribute brainpower (difficulty of tasks) -uda.brainpower.type = string -uda.brainpower.label = Brainpower -uda.brainpower.values = H,M,L -uda.brainpower.default = M - -### overriding 'next' report -report.next.description = Most urgent tasks -report.next.columns = id,start.age,entry.age,urgency,depends,priority,project,tags,recur,scheduled.countdown,due.remaining,until.remaining,description,brainpower -report.next.filter = status:pending and due.none: and +next -report.next.labels = ID,Active,Age,Urgency,Deps,P,Project,Tag,Recur,S,Due,Until,Description,Brainpower -report.next.sort = brainpower-,priority-,urgency- - -calendar.details=full -taskd.certificate=\/home\/yigit\/.task\/yigit_sever.cert.pem -taskd.key=\/home\/yigit\/.task\/yigit_sever.key.pem -taskd.ca=\/home\/yigit\/.task\/ca.cert.pem -taskd.server=207.154.210.186:80 -taskd.credentials=Public\/Yigit Sever\/d4682d9a-9895-4127-86af-8d2ffc6fffcd -taskd.trust=ignore hostname diff --git a/.taskrc b/.taskrc new file mode 120000 index 0000000..6b0f257 --- /dev/null +++ b/.taskrc @@ -0,0 +1 @@ +/home/yigit/.taskrc##desktop.Linux.Lowe \ No newline at end of file diff --git a/.taskrc##desktop.Linux.Lowe b/.taskrc##desktop.Linux.Lowe new file mode 100644 index 0000000..fee2a32 --- /dev/null +++ b/.taskrc##desktop.Linux.Lowe @@ -0,0 +1,90 @@ +# [Created by task 2.5.1 2/6/2017 17:29:09] +# Taskwarrior program configuration file. +# For more documentation, see http://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 + +# Use the command 'task show' to see all defaults and overrides + +# Files +#data.location=/home/yigit/Dropbox/.task + +# Color theme (uncomment one to use) +#include /usr/share/doc/task/rc/light-16.theme +#include /usr/share/doc/task/rc/light-256.theme +#include /usr/share/doc/task/rc/dark-16.theme +#include /usr/share/doc/task/rc/dark-256.theme +#include /usr/share/doc/task/rc/dark-red-256.theme +#include /usr/share/doc/task/rc/dark-green-256.theme +#include /usr/share/doc/task/rc/dark-blue-256.theme +#include /usr/share/doc/task/rc/dark-violets-256.theme +#include /usr/share/doc/task/rc/dark-yellow-green.theme +#include /usr/share/doc/task/rc/dark-gray-256.theme +#include /usr/share/doc/task/rc/dark-gray-blue-256.theme +include /usr/share/doc/task/rc/solarized-dark-256.theme +#include /usr/share/doc/task/rc/solarized-light-256.theme +#include /usr/share/doc/task/rc/no-color.theme + +###### GTD Configuration ###### +### 'in' Report Definition +report.in.columns = id,description +report.in.description = Inbox +report.in.filter = status:pending limit:page (+in) +report.in.labels = ID,Description + +### 'inConky' Report Definition +report.inConky.columns = description +report.inConky.description = Inbox for Conky +report.inConky.filter = status:pending limit:page (+in) +report.inConky.labels = Description +# +### 'todo' Report Definition +report.todo.columns = id,description,due +report.todo.labels = ID,Description,Due +report.todo.description = Tasks with due dates +report.todo.filter = status:pending and due.after:now and due.before:later +report.todo.sort = due+ +report.todo.dateformat = D/M, a @H:N + +### 'todo to Show in Conky' Report Definition +report.todoConky.columns = description,due +report.todoConky.labels = Description, Due +report.todoConky.description = Tasks to do +report.todoConky.sort = due+ +report.todoConky.filter = status:pending and due.after:now and due.before:later +report.todoConky.dateformat = D-M-y H:N (A) + +### report for focus script +report.custom_focus.columns = description +report.custom_focus.labels = Description +report.custom_focus.description = Task to feed to focus script +report.custom_focus.filter = status:pending and +ACTIVE + +### contexts +context.home = +@home or +@online +context.work = +@work or +@online + +### user defined attribute brainpower (difficulty of tasks) +uda.brainpower.type = string +uda.brainpower.label = Brainpower +uda.brainpower.values = H,M,L +uda.brainpower.default = M + +### overriding 'next' report +report.next.description = Most urgent tasks +report.next.columns = id,start.age,entry.age,urgency,depends,priority,project,tags,recur,scheduled.countdown,due.remaining,until.remaining,description,brainpower +report.next.filter = status:pending and due.none: and +next +report.next.labels = ID,Active,Age,Urgency,Deps,P,Project,Tag,Recur,S,Due,Until,Description,Brainpower +report.next.sort = brainpower-,priority-,urgency- + +calendar.details=full +taskd.certificate=\/home\/yigit\/.task\/yigit_sever.cert.pem +taskd.key=\/home\/yigit\/.task\/yigit_sever.key.pem +taskd.ca=\/home\/yigit\/.task\/ca.cert.pem +taskd.server=localhost:53589 +taskd.credentials=Public\/Yigit Sever\/d4682d9a-9895-4127-86af-8d2ffc6fffcd +taskd.trust=ignore hostname -- cgit v1.2.3-70-g09d2