misc: various small tweaks
This commit is contained in:
		
							parent
							
								
									b1284ab5d0
								
							
						
					
					
						commit
						b59ad9f485
					
				|  | @ -230,10 +230,10 @@ | ||||||
| 
 | 
 | ||||||
|     # task warrior |     # task warrior | ||||||
|     # TODO: make blocked a context? |     # TODO: make blocked a context? | ||||||
|     t = "task -BLOCKED -idea -backlog"; # Adding these to the next task makes modify things hard |     t = "task -BLOCKED -idea -backlog";  | ||||||
|     tt = "taskwarrior-tui -r list"; |     tt = "taskwarrior-tui -r list"; | ||||||
|     ti = "task +idea"; |     ti = "task +idea"; | ||||||
|     tb = "task list +backlog"; |     tb = "task +backlog list"; | ||||||
|     ttb = "taskwarrior-tui -r backlog"; |     ttb = "taskwarrior-tui -r backlog"; | ||||||
|     tr = "task newest limit:page"; |     tr = "task newest limit:page"; | ||||||
|     tw = "task +wait"; |     tw = "task +wait"; | ||||||
|  |  | ||||||
|  | @ -5,15 +5,16 @@ let | ||||||
|   # Note this will fail if index.wiki is open in vim while this runs |   # Note this will fail if index.wiki is open in vim while this runs | ||||||
|   mkStartScript = name: pkgs.writeShellScript "${name}.sh" '' |   mkStartScript = name: pkgs.writeShellScript "${name}.sh" '' | ||||||
|     # set -euo pipefail # Sometimes vimwiki is open and that causes `vimwiki tags rebuild` to fail, we still want to push to git in those cases |     # set -euo pipefail # Sometimes vimwiki is open and that causes `vimwiki tags rebuild` to fail, we still want to push to git in those cases | ||||||
|     PATH=/run/current-system/sw/bin:/etc/profiles/per-user/anish/bin: |     PATH=/run/current-system/sw/bin:/etc/profiles/per-user/anish/bin:$PATH | ||||||
|     cd /home/anish/kitaab |     cd /home/anish/kitaab/vimwiki | ||||||
|     vimwiki tags rebuild |     vimwiki tags rebuild | ||||||
|     # python3 poonam/main.py generateindexs |     cd .. | ||||||
|     # python3 poonam/main.py generatebacklinks |  | ||||||
|     pushd kalpana/ |     pushd kalpana/ | ||||||
|     fennel main.fnl |     ${pkgs.luaPackages.fennel}/bin/fennel main.fnl build | ||||||
|  |     popd | ||||||
|  |     pushd vimwiki/ | ||||||
|  |     git add -A . | ||||||
|     popd |     popd | ||||||
|     git add -A ./vimwiki/** |  | ||||||
|     git diff-index --quiet HEAD || git commit -m 'syncing kitaab' # if nothing, don't exit 1 |     git diff-index --quiet HEAD || git commit -m 'syncing kitaab' # if nothing, don't exit 1 | ||||||
|     git push |     git push | ||||||
|     exit 0 |     exit 0 | ||||||
|  | @ -23,6 +24,7 @@ in | ||||||
|   systemd.user.services.kitaab-sync = { |   systemd.user.services.kitaab-sync = { | ||||||
|     Service = { |     Service = { | ||||||
|       ExecStart = "${mkStartScript name}"; |       ExecStart = "${mkStartScript name}"; | ||||||
|  |       Path = [ pkgs.luaPackages.fennel ]; | ||||||
|     }; |     }; | ||||||
|   }; |   }; | ||||||
|   systemd.user.timers.kitaab-sync = { |   systemd.user.timers.kitaab-sync = { | ||||||
|  |  | ||||||
|  | @ -72,7 +72,8 @@ report.unblocked.labels=ID,Deps,Proj,Tags,Due,Active,Description | ||||||
| report.unblocked.columns=id,depends,project,tags,due,start.active,description | report.unblocked.columns=id,depends,project,tags,due,start.active,description | ||||||
| 
 | 
 | ||||||
| # Next  | # Next  | ||||||
| report.next.filter=(status:pending -idea -backlog limit:0) # pro.not:ideas  | # It's not a good idea to filter this view, since modify depends on the next view | ||||||
|  | report.next.filter=(status:pending limit:0) # pro.not:ideas -idea -backlog  | ||||||
| report.next.labels=ID,Active,Deps,P,Project,Tag,Recur,S,Due,Until,Description | report.next.labels=ID,Active,Deps,P,Project,Tag,Recur,S,Due,Until,Description | ||||||
| report.next.columns=id,start.age,depends,priority,project,tags,recur,scheduled.countdown,due.relative,until.remaining,description | report.next.columns=id,start.age,depends,priority,project,tags,recur,scheduled.countdown,due.relative,until.remaining,description | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue