commit b9305eddbd443db1fa43a74f404440945f4a555a
parent bee2da6f59d9de0bcda1e548c9368548e7d4c2fc
Author: linus <mail@linus-behrens.de>
Date: Tue, 8 Jul 2025 23:33:00 +0200
taskell themed
Diffstat:
7 files changed, 76 insertions(+), 16 deletions(-)
diff --git a/.config/bash/.bashrc b/.config/bash/.bashrc
@@ -53,6 +53,7 @@ alias n='nvim'
alias v='vim'
alias y='yazi'
alias ne='neofetch'
+alias t="taskell"
########## PATH ##########
diff --git a/.config/btop/btop.conf b/.config/btop/btop.conf
@@ -1,4 +1,4 @@
-#? Config file for btop v. 1.4.3
+#? Config file for btop v. 1.4.4
#* Name of a btop++/bpytop/bashtop formatted ".theme" file, "Default" and "TTY" for builtin themes.
#* Themes should be placed in "../share/btop/themes" relative to binary or "$HOME/.config/btop/themes"
@@ -47,14 +47,14 @@ graph_symbol_net = "default"
graph_symbol_proc = "default"
#* Manually set which boxes to show. Available values are "cpu mem net proc" and "gpu0" through "gpu5", separate values with whitespace.
-shown_boxes = "cpu mem net proc"
+shown_boxes = "cpu proc net"
#* Update time in milliseconds, recommended 2000 ms or above for better sample times for graphs.
update_ms = 2000
#* Processes sorting, "pid" "program" "arguments" "threads" "user" "memory" "cpu lazy" "cpu direct",
#* "cpu lazy" sorts top process over time (easier to follow), "cpu direct" updates top process directly.
-proc_sorting = "cpu lazy"
+proc_sorting = "pid"
#* Reverse sorting order, True or False.
proc_reversed = False
@@ -144,7 +144,7 @@ background_update = True
custom_cpu_name = ""
#* Optional filter for shown disks, should be full path of a mountpoint, separate multiple values with whitespace " ".
-#* Begin line with "exclude=" to change to exclude filter, otherwise defaults to "most include" filter. Example: disks_filter="exclude=/boot /home/user".
+#* Only disks matching the filter will be shown. Prepend exclude= to only show disks not matching the filter. Examples: disk_filter="/boot /home/user", disks_filter="exclude=/boot /home/user"
disks_filter = ""
#* Show graphs instead of meters for memory values.
diff --git a/.config/nvim/lua/linus/extensions/agenda.chat.lua b/.config/nvim/lua/linus/extensions/agenda.chat.lua
@@ -0,0 +1,48 @@
+-- a chatGPT generated agenda extension
+
+local telescope_ok, telescope = pcall(require, "telescope")
+if not telescope_ok then
+ vim.notify("telescope.nvim not available", vim.log.levels.ERROR)
+ return
+end
+
+local pickers, finders, conf = require(telescope.pickers), require(telescope.finders), require(telescope.config).values
+local Path, scandir = require(plenary.path), require(plenary.scandir)
+
+-- yyyy-mm-dd converter to time
+local function to_secs(date)
+ local y, m, d = date:match "(%d+)%-(%d+)%-(%d+)"
+ return os.time {year = y, month = m, day = d, hour = 0}
+end
+
+-- filter yaml
+
+local function parse_yaml(path)
+ local meta, in_yaml = {}, false
+ for _, line in ipairs(Path:new(path):head(40)) do
+ if line == "---" then
+ if in_yaml then break end
+ in_yaml = true
+ elseif in_yaml then
+ local k, v = line:match "^(%w+):%s*(.+)$"
+ if k and v then meta[k] = vim.trim(v) end
+ end
+ end
+ return meta
+end
+
+local function include(meta, today)
+ local scheduled = meta.scheduled and to_secs(meta.scheduled)
+ local deadline = meta.deadline and to_secs(meta.deadline)
+ if not scheduled then return false end
+
+ local tomorrow = today + 24 * 60 * 60
+
+ if scheduled == tomorrow then return true end
+
+ if scheduled and deadline
+
+end
+
+
+
diff --git a/.config/taskell/bindings.ini b/.config/taskell/bindings.ini
@@ -7,10 +7,10 @@ help = ?
due = !
# navigation
-previous = k
-next = j
-left = h
-right = l
+previous = <Up>
+next = <Down>
+left = <Left>
+right = <Right>
bottom = G
top = g
@@ -29,16 +29,16 @@ dueDate = @
clearDate = <Backspace>
# moving tasks
-moveUp = K
-moveDown = J
+moveUp = R
+moveDown = N
# move to top of previous list
moveLeftTop = ˙
# move to top of next list
moveRightTop = ¬
# move to bottom of previous list
-moveLeftBottom = H
+moveLeftBottom = B
# move to bottom of next list
-moveRightBottom = L
+moveRightBottom = S
# move to bottom of last list
complete = <Space>
# move to top of last list
diff --git a/.config/taskell/config.ini b/.config/taskell/config.ini
@@ -6,7 +6,7 @@ padding = 1
column_width = 30
column_padding = 3
description_indicator = "≡"
-statusbar = true
+statusbar = false
[markdown]
title = "##"
diff --git a/.config/taskell/taskell.md b/.config/taskell/taskell.md
@@ -0,0 +1,11 @@
+## To Do
+
+- eee
+- kkk
+- eeeei
+
+## Doing
+
+
+## Done
+
diff --git a/.config/taskell/theme.ini b/.config/taskell/theme.ini
@@ -1,17 +1,17 @@
[other]
; list title
-title.fg = green
+title.fg = white
; status bar
statusBar.bg = blue
statusBar.fg = black
; current list title
-titleCurrent.fg = blue
+titleCurrent.fg = cyan
; current task
-taskCurrent.fg = magenta
+taskCurrent.fg = blue
; subtasks
; selected