diff --git a/dot_leetcode/star-prompt.json b/dot_leetcode/star-prompt.json index a44bfeb..0dc9580 100644 --- a/dot_leetcode/star-prompt.json +++ b/dot_leetcode/star-prompt.json @@ -1,10 +1,10 @@ { - "totalAccepted": 27, + "totalAccepted": 28, "shownMilestones": [ 10, 20 ], - "submissionsSinceLastPrompt": 10, + "submissionsSinceLastPrompt": 11, "windowStartedAt": 1790356839288, "lastShownAt": 1790359187702, "dismissed": true diff --git a/television/cable/alias.toml b/television/cable/alias.toml index 68be046..62862cb 100644 --- a/television/cable/alias.toml +++ b/television/cable/alias.toml @@ -11,4 +11,7 @@ output = "{split:=:0}" command = "$SHELL -ic 'alias' | grep -E '^(alias )?{split:=:0}='" [ui.preview_panel] +border_type = "none" +scrollbar = false +padding = { left = 2, right = 1, top = 0, bottom = 0 } size = 30 diff --git a/television/cable/cargo-commands.toml b/television/cable/cargo-commands.toml index a1ce78a..fde3b8d 100644 --- a/television/cable/cargo-commands.toml +++ b/television/cable/cargo-commands.toml @@ -11,7 +11,7 @@ command = "cargo {} --help 2>/dev/null | head -50" [ui] layout = "portrait" -preview_panel = { size = 60 } +preview_panel = { size = 60, border_type = "none", scrollbar = false, padding = { left = 2, right = 1, top = 0, bottom = 0 } } [keybindings] enter = "actions:run" diff --git a/television/cable/channels.toml b/television/cable/channels.toml index 9c8b922..6ad4c69 100644 --- a/television/cable/channels.toml +++ b/television/cable/channels.toml @@ -15,5 +15,5 @@ enter = "actions:channel-enter" [actions.channel-enter] description = "Enter a television channel" -command = "tv {}" +command = "tv {} --inline" mode = "execute" diff --git a/television/cable/crontab.toml b/television/cable/crontab.toml index c30f989..0d3c4d4 100644 --- a/television/cable/crontab.toml +++ b/television/cable/crontab.toml @@ -12,7 +12,7 @@ command = '''echo 'Schedule: {split: :..5}' && echo '' && echo 'Command:' && ech [ui] layout = "portrait" -preview_panel = { size = 30 } +preview_panel = { size = 30, border_type = "none", scrollbar = false, padding = { left = 2, right = 1, top = 0, bottom = 0 } } [actions.edit] description = "Open crontab for editing" diff --git a/television/cable/dirs.toml b/television/cable/dirs.toml index 4dcc5a7..515d000 100644 --- a/television/cable/dirs.toml +++ b/television/cable/dirs.toml @@ -22,5 +22,5 @@ mode = "execute" [actions.goto_parent_dir] description = "Re-opens tv in the parent directory" -command = "tv dirs .." +command = "tv dirs .. --inline" mode = "execute" diff --git a/television/cable/env.toml b/television/cable/env.toml index 190144b..c654b2f 100644 --- a/television/cable/env.toml +++ b/television/cable/env.toml @@ -11,7 +11,7 @@ command = "echo '{split:=:1..}'" [ui] layout = "portrait" -preview_panel = { size = 20, header = "{split:=:0}" } +preview_panel = { size = 20, header = "{split:=:0}", border_type = "none", scrollbar = false, padding = { left = 2, right = 1, top = 0, bottom = 0 } } [keybindings] shortcut = "f3" diff --git a/television/cable/files.toml b/television/cable/files.toml index b82b502..35c0d27 100644 --- a/television/cable/files.toml +++ b/television/cable/files.toml @@ -29,5 +29,5 @@ mode = "execute" [actions.goto_parent_dir] description = "Re-opens tv in the parent directory" -command = "tv files .." +command = "tv files .. --inline" mode = "execute" diff --git a/television/cable/fonts.toml b/television/cable/fonts.toml index 5eec6e8..561c91d 100644 --- a/television/cable/fonts.toml +++ b/television/cable/fonts.toml @@ -10,4 +10,7 @@ command = "fc-list --format='%{family}\n' | sort -uf" command = "fc-list '{}' --format='%{file}\n%{style}\n%{family}\n' | head -20" [ui.preview_panel] +border_type = "none" +scrollbar = false +padding = { left = 2, right = 1, top = 0, bottom = 0 } size = 70 diff --git a/television/cable/gh-issues.toml b/television/cable/gh-issues.toml index 07df877..cae57f6 100644 --- a/television/cable/gh-issues.toml +++ b/television/cable/gh-issues.toml @@ -11,7 +11,7 @@ output = "{strip_ansi|split:#:1|split: :0}" [ui] layout = "portrait" -preview_panel = { header = '{strip_ansi|split:#:1|split: :0}' } +preview_panel = { header = '{strip_ansi|split:#:1|split: :0}', border_type = "none", scrollbar = false, padding = { left = 2, right = 1, top = 0, bottom = 0 } } [preview] command = '''gh issue view '{strip_ansi|split:#:1|split: :0}' --json number,title,body,state,author,createdAt,updatedAt,labels,assignees | jq -r ' diff --git a/television/cable/journal.toml b/television/cable/journal.toml index 5ef0ed8..5161d0b 100644 --- a/television/cable/journal.toml +++ b/television/cable/journal.toml @@ -11,7 +11,7 @@ command = "journalctl -b --no-pager -o short-iso -n 50 SYSLOG_IDENTIFIER='{}' 2> [ui] layout = "portrait" -preview_panel = { size = 70 } +preview_panel = { size = 70, border_type = "none", scrollbar = false, padding = { left = 2, right = 1, top = 0, bottom = 0 } } [actions.logs] description = "Follow live logs for the selected identifier" diff --git a/television/cable/man-pages.toml b/television/cable/man-pages.toml index ede3aba..6a20097 100644 --- a/television/cable/man-pages.toml +++ b/television/cable/man-pages.toml @@ -22,4 +22,4 @@ mode = "execute" [ui] layout = "portrait" -preview_panel = { header = "{0}" } +preview_panel = { header = "{0}", border_type = "none", scrollbar = false, padding = { left = 2, right = 1, top = 0, bottom = 0 } } diff --git a/television/cable/npm-scripts.toml b/television/cable/npm-scripts.toml index 8c966c2..ab80f6d 100644 --- a/television/cable/npm-scripts.toml +++ b/television/cable/npm-scripts.toml @@ -11,6 +11,9 @@ display = "{split:\\t:0}" command = "jq -r '.scripts[\"{split:\\t:0}\"]' package.json" [ui.preview_panel] +border_type = "none" +scrollbar = false +padding = { left = 2, right = 1, top = 0, bottom = 0 } size = 30 [keybindings] diff --git a/television/cable/opencode-sessions.toml b/television/cable/opencode-sessions.toml index d8324a4..30fe3f2 100644 --- a/television/cable/opencode-sessions.toml +++ b/television/cable/opencode-sessions.toml @@ -18,7 +18,9 @@ layout = "landscape" [ui.preview_panel] size = 60 header = "Session: {split:\t:1}" -border_type = "rounded" +border_type = "none" +scrollbar = false +padding = { left = 2, right = 1, top = 0, bottom = 0 } [keybindings] shortcut = "f4" diff --git a/television/cable/pj.toml b/television/cable/pj.toml index 754947e..c11c654 100644 --- a/television/cable/pj.toml +++ b/television/cable/pj.toml @@ -19,9 +19,6 @@ display = "{split:\\t:0}" command = "pj --preview '{split:\\t:1}' '{split:\\t:2}' '{split:\\t:3}' '{split:\\t:5}'" shell = "bash" -[ui.preview_panel] -size = 40 - [keybindings] enter = "actions:run" diff --git a/television/cable/ports.toml b/television/cable/ports.toml index 9bd7333..33d2e75 100644 --- a/television/cable/ports.toml +++ b/television/cable/ports.toml @@ -11,6 +11,9 @@ display = "{split: :0} ({split: :2})" command = "ss -tlnp 2>/dev/null | grep ':{split: :0} ' | head -20" [ui.preview_panel] +border_type = "none" +scrollbar = false +padding = { left = 2, right = 1, top = 0, bottom = 0 } size = 40 [actions.kill] diff --git a/television/cable/tea-issues.toml b/television/cable/tea-issues.toml index 5918de4..fa78a2e 100644 --- a/television/cable/tea-issues.toml +++ b/television/cable/tea-issues.toml @@ -11,7 +11,7 @@ output = "{strip_ansi|split:#:1|split:\t:0}" [ui] layout = "portrait" -preview_panel = { header = '{strip_ansi|split:\t:1}' } +preview_panel = { header = '{strip_ansi|split:\t:1}', border_type = "none", scrollbar = false, padding = { left = 2, right = 1, top = 0, bottom = 0 } } [preview] command = '''tea issues --output json {strip_ansi|split:#:1|split:\t:0} " if not specified) -prompt = ">" +prompt = "❯" # header = "{}" -# padding = {"left": 0, "right": 0, "top": 0, "bottom": 0} -border_type = "rounded" # https://docs.rs/ratatui/latest/ratatui/widgets/block/enum.BorderType.html#variants +border_type = "none" +# a blank row between the query and the results +padding = { left = 1, right = 1, top = 0, bottom = 1 } [ui.status_bar] -# Status bar separators (bubble): -#separator_open = "" -#separator_close = "" -# Status bar separators (box): separator_open = "" separator_close = "" -hidden = false +# f12 toggles it back +hidden = true [ui.results_panel] -border_type = "rounded" -# padding = {"left": 0, "right": 0, "top": 0, "bottom": 0} +border_type = "none" +padding = { left = 1, right = 1, top = 0, bottom = 0 } [ui.preview_panel] # Preview panel size (percentage of screen width/height) size = 50 #header = "" #footer = "" -scrollbar = true -border_type = "rounded" -# padding = {"left": 0, "right": 0, "top": 0, "bottom": 0} +scrollbar = false +border_type = "none" +padding = { left = 2, right = 1, top = 0, bottom = 0 } hidden = false [ui.help_panel]