From a2fd8fc82949e323436c1973b3a792c59fca29f9 Mon Sep 17 00:00:00 2001 From: Vincent Jousse Date: Tue, 10 Jun 2025 14:24:32 +0200 Subject: [PATCH 01/10] chore: remove unused configs --- Xresources | 16 ---------------- tigrc | 13 ------------- xinitrc | 40 ---------------------------------------- 3 files changed, 69 deletions(-) delete mode 100644 Xresources delete mode 100644 tigrc delete mode 100644 xinitrc diff --git a/Xresources b/Xresources deleted file mode 100644 index 49e4369..0000000 --- a/Xresources +++ /dev/null @@ -1,16 +0,0 @@ -! Cursor theme -!Xcursor.theme: Adwaita - -! Colors -!#include "/home/vjousse/.xcolors/dracula.xcolors" - -! Fonts {{{ -Xft.antialias: true -Xft.hinting: true -Xft.rgba: rgb -Xft.hintstyle: hintfull -!Xft.dpi: 180 -Xft.dpi: 192 -!Xft.dpi: 96 -! }}} -xterm*faceName: xft:monospace:pixelsize=35 diff --git a/tigrc b/tigrc deleted file mode 100644 index 34f29bf..0000000 --- a/tigrc +++ /dev/null @@ -1,13 +0,0 @@ -set line-graphics = yes - -set blame-view = date:relative author:full file-name:auto id:yes,color line-number:no,interval=5 text -set grep-view = file-name:no line-number:yes,interval=1 text -set main-view = line-number:no,interval=5 id:no date:relative author:full commit-title:yes,graph,refs,overflow=no -set refs-view = date:default author:full ref commit-title -set stash-view = line-number:no,interval=5 id:no date:relative author:full commit-title -set status-view = line-number:no,interval=5 status:short file-name -set tree-view = line-number:no,interval=5 mode author:full file-size date:relative id:no file-name -# bépo -bind generic s move-up -bind generic t move-down -bind generic v view-tree diff --git a/xinitrc b/xinitrc deleted file mode 100644 index a81613d..0000000 --- a/xinitrc +++ /dev/null @@ -1,40 +0,0 @@ -#!/bin/sh -#$HOME/dotfiles/scripts/external-screen - -# Activate default xinitrc scripts -if [ -d /etc/X11/xinit/xinitrc.d ] ; then - for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do - [ -x "$f" ] && . "$f" - done - unset f -fi -/usr/bin/start-pulseaudio-x11 - -setxkbmap fr bepo - -# Kill X with C-A-BS -setxkbmap -option terminate:ctrl_alt_bksp - -xrdb -merge ~/.Xresources -xset s 300 300 # set monitor to sleep -xset -b # Disable system bell -xset r rate 280 50 # Repeat keys way faster please -xrandr --dpi 192 - -# Check if my TypeMatrix keyboard is connected -# If not, modify default bindings for the macbook air keyboard -$HOME/dotfiles/scripts/check-typematrix.zsh - -export XDG_SESSION_TYPE=x11 -export GDK_BACKEND=x11 - -#exec gnome-session - -exec i3 -#exec gnome-session -#exec startxfce4 -#export XDG_CURRENT_DESKTOP=Budgie:GNOME -#exec budgie-desktop - -#exec gnome-session -#exec mate-session From f5ae532b2433bc4804ce2e1c650a9ce8ae30877c Mon Sep 17 00:00:00 2001 From: Vincent Jousse Date: Tue, 10 Jun 2025 14:24:42 +0200 Subject: [PATCH 02/10] chore: move wallpapers --- sway/config | 2 +- .../arch_01_3840x2160.png | Bin .../cafe-at-night_00_3840x2160.png | Bin 3 files changed, 1 insertion(+), 1 deletion(-) rename arch_01_3840x2160.png => wallpapers/arch_01_3840x2160.png (100%) rename cafe-at-night_00_3840x2160.png => wallpapers/cafe-at-night_00_3840x2160.png (100%) diff --git a/sway/config b/sway/config index 19254fa..94bc313 100644 --- a/sway/config +++ b/sway/config @@ -117,6 +117,6 @@ input "type:keyboard" { #} -output "*" bg /home/vjousse/dotfiles/arch_01_3840x2160.png fill +output "*" bg /home/vjousse/dotfiles/wallpapers/arch_01_3840x2160.png fill include /etc/sway/config.d/* diff --git a/arch_01_3840x2160.png b/wallpapers/arch_01_3840x2160.png similarity index 100% rename from arch_01_3840x2160.png rename to wallpapers/arch_01_3840x2160.png diff --git a/cafe-at-night_00_3840x2160.png b/wallpapers/cafe-at-night_00_3840x2160.png similarity index 100% rename from cafe-at-night_00_3840x2160.png rename to wallpapers/cafe-at-night_00_3840x2160.png From 39bb20b3fc8269abcc47231cc30f215fd69a9353 Mon Sep 17 00:00:00 2001 From: Vincent Jousse Date: Wed, 12 Nov 2025 14:20:48 +0100 Subject: [PATCH 03/10] chore: adapt music script to pipewire --- scripts/music | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/music b/scripts/music index a853ee0..739dd24 100755 --- a/scripts/music +++ b/scripts/music @@ -1,8 +1,8 @@ #!/usr/bin/zsh case $1 in - "down") for i in $(pacmd list-sinks | grep index | sed 's/[^0-9]//g'); do pactl set-sink-volume "$i" -5%; done;; - "up") for i in $(pacmd list-sinks | grep index | sed 's/[^0-9]//g'); do pactl set-sink-volume "$i" +5%; done;; - "toggle") for i in $(pacmd list-sinks | grep index | sed 's/[^0-9]//g'); do pactl set-sink-mute "$i" toggle; done;; + "down") pactl set-sink-volume @DEFAULT_SINK@ -5%;; + "up") pactl set-sink-volume @DEFAULT_SINK@ +5%;; + "toggle") pactl set-sink-mute @DEFAULT_SINK@ toggle;; *) esac From d0360cec0df4b3f0069ce0e682d8c7392ea49f90 Mon Sep 17 00:00:00 2001 From: Vincent Jousse Date: Wed, 12 Nov 2025 14:21:01 +0100 Subject: [PATCH 04/10] feat: add record screen script --- scripts/record-screen | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 scripts/record-screen diff --git a/scripts/record-screen b/scripts/record-screen new file mode 100755 index 0000000..27d3114 --- /dev/null +++ b/scripts/record-screen @@ -0,0 +1,10 @@ +#!/bin/bash +if ! pkill -INT -P "$(pgrep -xo record-screen)" wf-recorder 2>/dev/null; then + geometry="$(slurp -d)" + if [ -n "$geometry" ]; then + pkill -USR1 -x record-screend + mkdir -p ~/Videos/Recordings + wf-recorder -f ~/Videos/Recordings/"screen-record-$(date +%Y-%m-%d-%H-%M-%S).mp4" -g "$geometry" + pkill -USR2 -x record-screend + fi +fi From a5224bfed9f39ae6c5ed9746c70db115d3082ba6 Mon Sep 17 00:00:00 2001 From: Vincent Jousse Date: Wed, 12 Nov 2025 14:21:11 +0100 Subject: [PATCH 05/10] chore: use kitty for rofi --- rofi/config.rasi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rofi/config.rasi b/rofi/config.rasi index 83a4245..6ff1674 100644 --- a/rofi/config.rasi +++ b/rofi/config.rasi @@ -1,6 +1,6 @@ configuration { font: "JetBrainsMono Nerd Font 10"; - terminal: "foot"; + terminal: "kitty"; drun-match-fields: "name"; sidebar-mode: true; dpi: 192; From c580aa035f520562bc6c4034d1fbcaf4cfdbd2dc Mon Sep 17 00:00:00 2001 From: Vincent Jousse Date: Wed, 12 Nov 2025 14:21:45 +0100 Subject: [PATCH 06/10] chore(nvim): disable relative lines for code reviews --- nvim-lazy/lua/core/options.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nvim-lazy/lua/core/options.lua b/nvim-lazy/lua/core/options.lua index 859416e..3b52bde 100644 --- a/nvim-lazy/lua/core/options.lua +++ b/nvim-lazy/lua/core/options.lua @@ -1,7 +1,7 @@ local opt = vim.opt -- for conciseness -- line numbers -opt.relativenumber = true -- show relative line numbers +-- opt.relativenumber = true -- show relative line numbers opt.number = true -- shows absolute line number on cursor line (when relative number is on) -- tabs & indentation From a5207f18b3e6dae9fbd426fba661d71aac9fade1 Mon Sep 17 00:00:00 2001 From: Vincent Jousse Date: Wed, 12 Nov 2025 14:22:14 +0100 Subject: [PATCH 07/10] fix(nvim): fix python indentation --- nvim-lazy/lua/plugins/lsp/lspconfig.lua | 10 +++++----- nvim-lazy/lua/plugins/treesitter.lua | 3 ++- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/nvim-lazy/lua/plugins/lsp/lspconfig.lua b/nvim-lazy/lua/plugins/lsp/lspconfig.lua index 5633a9c..f62df01 100644 --- a/nvim-lazy/lua/plugins/lsp/lspconfig.lua +++ b/nvim-lazy/lua/plugins/lsp/lspconfig.lua @@ -56,7 +56,7 @@ return { pylsp = { plugins = { -- formatter options - black = { enabled = true }, + black = { enabled = false }, autopep8 = { enabled = false }, yapf = { enabled = false }, -- linter options @@ -66,14 +66,14 @@ return { ignore = { "E501" }, }, -- type checker - pylsp_mypy = { enabled = true }, + pylsp_mypy = { enabled = false }, -- auto-completion options - jedi_completion = { fuzzy = true }, + jedi_completion = { fuzzy = false }, -- import sorting pylsp_isort = { enabled = true }, - rope_completion = { enabled = true }, + rope_completion = { enabled = false }, rope_autoimport = { - enabled = true, + enabled = false, }, }, }, diff --git a/nvim-lazy/lua/plugins/treesitter.lua b/nvim-lazy/lua/plugins/treesitter.lua index 9f3e84c..c50c904 100644 --- a/nvim-lazy/lua/plugins/treesitter.lua +++ b/nvim-lazy/lua/plugins/treesitter.lua @@ -22,7 +22,7 @@ return { ignore_install = {}, -- enable indentation - indent = { enable = true }, + indent = { enable = false }, autopairs = { enable = true, @@ -33,6 +33,7 @@ return { "dockerfile", "gitignore", "graphql", + "gren", "haskell", "html", "javascript", From bbb7ec43a903dacf238fd6402f049d7689b6671a Mon Sep 17 00:00:00 2001 From: Vincent Jousse Date: Wed, 12 Nov 2025 14:23:29 +0100 Subject: [PATCH 08/10] chore: update lazy deps --- nvim-lazy/lazy-lock.json | 64 +++++++++++++++++++--------------------- 1 file changed, 31 insertions(+), 33 deletions(-) diff --git a/nvim-lazy/lazy-lock.json b/nvim-lazy/lazy-lock.json index 4c28e62..48b832d 100644 --- a/nvim-lazy/lazy-lock.json +++ b/nvim-lazy/lazy-lock.json @@ -1,55 +1,53 @@ { "Comment.nvim": { "branch": "master", "commit": "e30b7f2008e52442154b66f7c519bfd2f1e32acb" }, - "LuaSnip": { "branch": "master", "commit": "458560534a73f7f8d7a11a146c801db00b081df0" }, + "LuaSnip": { "branch": "master", "commit": "5a1e39223db9a0498024a77b8441169d260c8c25" }, "bufferline.nvim": { "branch": "main", "commit": "655133c3b4c3e5e05ec549b9f8cc2894ac6f51b3" }, "cmp-buffer": { "branch": "main", "commit": "b74fab3656eea9de20a9b8116afa3cfc4ec09657" }, "cmp-cmdline": { "branch": "main", "commit": "d126061b624e0af6c3a556428712dd4d4194ec6d" }, "cmp-emoji": { "branch": "main", "commit": "e8398e2adf512a03bb4e1728ca017ffeac670a9f" }, - "cmp-nvim-lsp": { "branch": "main", "commit": "a8912b88ce488f411177fc8aed358b04dc246d7b" }, + "cmp-nvim-lsp": { "branch": "main", "commit": "bd5a7d6db125d4654b50eeae9f5217f24bb22fd3" }, "cmp-nvim-lsp-document-symbol": { "branch": "main", "commit": "f94f7ba948e32cd302caba1c2ca3f7c697fb4fcf" }, "cmp-nvim-lsp-signature-help": { "branch": "main", "commit": "031e6ba70b0ad5eee49fd2120ff7a2e325b17fa7" }, - "cmp-path": { "branch": "main", "commit": "c6635aae33a50d6010bf1aa756ac2398a2d54c32" }, + "cmp-path": { "branch": "main", "commit": "c642487086dbd9a93160e1679a1327be111cbc25" }, "cmp_luasnip": { "branch": "master", "commit": "98d9cb5c2c38532bd9bdb481067b20fea8f32e90" }, - "conform.nvim": { "branch": "master", "commit": "0e93e0d12d2f7ebdea9e3e444dfaff0050cefbe6" }, + "conform.nvim": { "branch": "master", "commit": "cde4da5c1083d3527776fee69536107d98dae6c9" }, "diffview.nvim": { "branch": "main", "commit": "4516612fe98ff56ae0415a259ff6361a89419b0a" }, "dressing.nvim": { "branch": "master", "commit": "2d7c2db2507fa3c4956142ee607431ddb2828639" }, - "firenvim": { "branch": "master", "commit": "c4ab7d2aeb145cd93db8660cb134f771722f2b5e" }, "friendly-snippets": { "branch": "main", "commit": "572f5660cf05f8cd8834e096d7b4c921ba18e175" }, - "gitsigns.nvim": { "branch": "main", "commit": "d0f90ef51d4be86b824b012ec52ed715b5622e51" }, - "hardtime.nvim": { "branch": "main", "commit": "145b930954a3146cfb5b8a73cdcad42eb7d2740c" }, + "gitsigns.nvim": { "branch": "main", "commit": "20ad4419564d6e22b189f6738116b38871082332" }, "himalaya-vim": { "branch": "master", "commit": "bb8d0ebbe82b1ba1d487354fab86d81f12a82c4d" }, "indent-blankline.nvim": { "branch": "master", "commit": "005b56001b2cb30bfa61b7986bc50657816ba4ba" }, - "kitty-scrollback.nvim": { "branch": "main", "commit": "6c24f1979afe4c6b0310117b76d59d672224afd7" }, - "lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" }, - "lazydev.nvim": { "branch": "main", "commit": "2367a6c0a01eb9edb0464731cc0fb61ed9ab9d2c" }, - "lazygit.nvim": { "branch": "main", "commit": "b9eae3badab982e71abab96d3ee1d258f0c07961" }, - "lspkind.nvim": { "branch": "master", "commit": "d79a1c3299ad0ef94e255d045bed9fa26025dab6" }, - "lualine.nvim": { "branch": "master", "commit": "a94fc68960665e54408fe37dcf573193c4ce82c9" }, + "kitty-scrollback.nvim": { "branch": "main", "commit": "36d19dc85c0a1d0193e7c52d41129c4aa28b72e8" }, + "lazy.nvim": { "branch": "main", "commit": "85c7ff3711b730b4030d03144f6db6375044ae82" }, + "lazydev.nvim": { "branch": "main", "commit": "5231c62aa83c2f8dc8e7ba957aa77098cda1257d" }, + "lazygit.nvim": { "branch": "main", "commit": "2305deed25bc61b866d5d39189e9105a45cf1cfb" }, + "lspkind.nvim": { "branch": "master", "commit": "3ddd1b4edefa425fda5a9f95a4f25578727c0bb3" }, + "lualine.nvim": { "branch": "master", "commit": "3946f0122255bc377d14a59b27b609fb3ab25768" }, "luarocks.nvim": { "branch": "main", "commit": "1db9093915eb16ba2473cfb8d343ace5ee04130a" }, - "mason-lspconfig.nvim": { "branch": "main", "commit": "bef29b653ba71d442816bf56286c2a686210be04" }, - "mason.nvim": { "branch": "main", "commit": "8024d64e1330b86044fed4c8494ef3dcd483a67c" }, - "noice.nvim": { "branch": "main", "commit": "0427460c2d7f673ad60eb02b35f5e9926cf67c59" }, + "mason-lspconfig.nvim": { "branch": "main", "commit": "b1d9a914b02ba5660f1e272a03314b31d4576fe2" }, + "mason.nvim": { "branch": "main", "commit": "ad7146aa61dcaeb54fa900144d768f040090bff0" }, + "noice.nvim": { "branch": "main", "commit": "7bfd942445fb63089b59f97ca487d605e715f155" }, "nui.nvim": { "branch": "main", "commit": "de740991c12411b663994b2860f1a4fd0937c130" }, - "nvim-autopairs": { "branch": "master", "commit": "4d74e75913832866aa7de35e4202463ddf6efd1b" }, - "nvim-cmp": { "branch": "main", "commit": "b5311ab3ed9c846b585c0c15b7559be131ec4be9" }, - "nvim-colorizer.lua": { "branch": "master", "commit": "517df88cf2afb36652830df2c655df2da416a0ae" }, - "nvim-lint": { "branch": "master", "commit": "cc26ae6a620298bb3f33b0e0681f99a10ae57781" }, + "nvim-autopairs": { "branch": "master", "commit": "7a2c97cccd60abc559344042fefb1d5a85b3e33b" }, + "nvim-cmp": { "branch": "main", "commit": "106c4bcc053a5da783bf4a9d907b6f22485c2ea0" }, + "nvim-colorizer.lua": { "branch": "master", "commit": "81e676d3203c9eb6e4c0ccf1eba1679296ef923f" }, + "nvim-lint": { "branch": "master", "commit": "8b349e822a36e9480aed96c6dd2f757f80524a35" }, "nvim-lsp-file-operations": { "branch": "master", "commit": "9744b738183a5adca0f916527922078a965515ed" }, - "nvim-lspconfig": { "branch": "master", "commit": "a182334ba933e58240c2c45e6ae2d9c7ae313e00" }, - "nvim-notify": { "branch": "master", "commit": "b5825cf9ee881dd8e43309c93374ed5b87b7a896" }, - "nvim-tree.lua": { "branch": "master", "commit": "1c733e8c1957dc67f47580fe9c458a13b5612d5b" }, + "nvim-lspconfig": { "branch": "master", "commit": "c8503e63c6afab3ed34b49865a4a4edbb1ebf4a8" }, + "nvim-notify": { "branch": "master", "commit": "8701bece920b38ea289b457f902e2ad184131a5d" }, + "nvim-tree.lua": { "branch": "master", "commit": "1eda2569394f866360e61f590f1796877388cb8a" }, "nvim-treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" }, - "nvim-treesitter-textobjects": { "branch": "master", "commit": "0f051e9813a36481f48ca1f833897210dbcfffde" }, + "nvim-treesitter-textobjects": { "branch": "master", "commit": "5ca4aaa6efdcc59be46b95a3e876300cfead05ef" }, "nvim-ts-context-commentstring": { "branch": "main", "commit": "1b212c2eee76d787bbea6aa5e92a2b534e7b4f8f" }, - "nvim-web-devicons": { "branch": "master", "commit": "1fb58cca9aebbc4fd32b086cb413548ce132c127" }, - "outline.nvim": { "branch": "main", "commit": "321f89ef79f168a78685f70d70c52d0e7b563abb" }, - "plenary.nvim": { "branch": "master", "commit": "857c5ac632080dba10aae49dba902ce3abf91b35" }, - "rainbow-delimiters.nvim": { "branch": "master", "commit": "55ad4fb76ab68460f700599b7449385f0c4e858e" }, - "telescope-fzf-native.nvim": { "branch": "main", "commit": "1f08ed60cafc8f6168b72b80be2b2ea149813e55" }, + "nvim-web-devicons": { "branch": "master", "commit": "8dcb311b0c92d460fac00eac706abd43d94d68af" }, + "outline.nvim": { "branch": "main", "commit": "6b62f73a6bf317531d15a7ae1b724e85485d8148" }, + "plenary.nvim": { "branch": "master", "commit": "b9fd5226c2f76c951fc8ed5923d85e4de065e509" }, + "rainbow-delimiters.nvim": { "branch": "master", "commit": "8aafe2cbd89cd4090f573a98cab6b20366576fde" }, + "telescope-fzf-native.nvim": { "branch": "main", "commit": "6fea601bd2b694c6f2ae08a6c6fab14930c60e2c" }, "telescope.nvim": { "branch": "0.1.x", "commit": "a0bbec21143c7bc5f8bb02e0005fa0b982edc026" }, - "todo-comments.nvim": { "branch": "main", "commit": "304a8d204ee787d2544d8bc23cd38d2f929e7cc5" }, - "tokyonight.nvim": { "branch": "main", "commit": "057ef5d260c1931f1dffd0f052c685dcd14100a3" }, - "trouble.nvim": { "branch": "main", "commit": "85bedb7eb7fa331a2ccbecb9202d8abba64d37b3" }, + "todo-comments.nvim": { "branch": "main", "commit": "31e3c38ce9b29781e4422fc0322eb0a21f4e8668" }, + "tokyonight.nvim": { "branch": "main", "commit": "5da1b76e64daf4c5d410f06bcb6b9cb640da7dfd" }, + "trouble.nvim": { "branch": "main", "commit": "bd67efe408d4816e25e8491cc5ad4088e708a69a" }, "vim-bbye": { "branch": "master", "commit": "25ef93ac5a87526111f43e5110675032dbcacf56" }, - "which-key.nvim": { "branch": "main", "commit": "370ec46f710e058c9c1646273e6b225acf47cbed" } + "which-key.nvim": { "branch": "main", "commit": "3aab2147e74890957785941f0c1ad87d0a44c15a" } } From 1394062edada53f015e70858a99a7d2b1c191e8d Mon Sep 17 00:00:00 2001 From: Vincent Jousse Date: Wed, 12 Nov 2025 14:23:53 +0100 Subject: [PATCH 09/10] chore: update lazygit conf --- lazygit/config.yml | 318 ++++++++++++++++++++++----------------------- 1 file changed, 159 insertions(+), 159 deletions(-) diff --git a/lazygit/config.yml b/lazygit/config.yml index 7bbeb1f..832f1f5 100644 --- a/lazygit/config.yml +++ b/lazygit/config.yml @@ -1,161 +1,161 @@ # Keybindings keybinding: - universal: - quit: q - quit-alt1: - return: - quitWithoutChangingDirectory: Q - togglePanel: - prevItem: - nextItem: - prevItem-alt: s - nextItem-alt: t - prevPage: "," - nextPage: . - scrollLeft: C - scrollRight: R - gotoTop: < - gotoBottom: ">" - toggleRangeSelect: v - rangeSelectDown: - rangeSelectUp: - prevBlock: - nextBlock: - prevBlock-alt: c - nextBlock-alt: r - nextBlock-alt2: - prevBlock-alt2: - jumpToBlock: - - "1" - - "2" - - "3" - - "4" - - "5" - nextMatch: "n" - prevMatch: "N" - startSearch: / - optionMenu: - optionMenu-alt1: "?" - select: - goInto: - confirm: - confirmInEditor: - remove: d - new: "n" - edit: e - openFile: o - scrollUpMain: - scrollDownMain: - scrollUpMain-alt1: S - scrollDownMain-alt1: T - scrollUpMain-alt2: - scrollDownMain-alt2: - executeShellCommand: ":" - createRebaseOptionsMenu: m - # 'Files' appended for legacy reasons - pushFiles: P - # 'Files' appended for legacy reasons - pullFiles: p - refresh: L - createPatchOptionsMenu: - nextTab: "]" - prevTab: "[" - nextScreenMode: + - prevScreenMode: _ - undo: z - redo: - filteringMenu: - diffingMenu: W - diffingMenu-alt: - copyToClipboard: - openRecentRepos: - submitEditorText: - extrasMenu: "@" - toggleWhitespaceInDiffView: - increaseContextInDiffView: "}" - decreaseContextInDiffView: "{" - openDiffTool: - status: - checkForUpdate: u - recentRepos: - allBranchesLogGraph: a - files: - commitChanges: c - commitChangesWithoutHook: w - amendLastCommit: A - commitChangesWithEditor: C - findBaseCommitForFixup: - confirmDiscard: x - ignoreFile: i - refreshFiles: r - stashAllChanges: s - viewStashOptions: S - toggleStagedAll: a - viewResetOptions: D - fetch: f - toggleTreeView: "`" - openMergeTool: M - openStatusFilter: - copyFileInfoToClipboard: "y" - branches: - createPullRequest: o - viewPullRequestOptions: O - copyPullRequestURL: - checkoutBranchByName: c - forceCheckoutBranch: F - rebaseBranch: r - renameBranch: R - mergeIntoCurrentBranch: M - viewGitFlowOptions: i - fastForward: f - createTag: T - pushTag: P - setUpstream: u - fetchRemote: f - sortOrder: s - worktrees: - viewWorktreeOptions: w - commits: - squashDown: s - renameCommit: r - renameCommitWithEditor: R - viewResetOptions: g - markCommitAsFixup: f - createFixupCommit: F - squashAboveCommits: S - moveDownCommit: - moveUpCommit: - amendToCommit: A - resetCommitAuthor: a - pickCommit: p - revertCommit: t - cherryPickCopy: C - pasteCommits: V - markCommitAsBaseForRebase: B - tagCommit: T - checkoutCommit: - resetCherryPick: - copyCommitAttributeToClipboard: "y" - openLogMenu: - openInBrowser: o - viewBisectOptions: b - startInteractiveRebase: i - amendAttribute: - resetAuthor: a - setAuthor: A - addCoAuthor: c - stash: - popStash: g - renameStash: r - commitFiles: - checkoutCommitFile: c - main: - toggleSelectHunk: a - pickBothHunks: b - editSelectHunk: E - submodules: - init: i - update: u - bulkMenu: b - commitMessage: - commitMenu: + universal: + quit: q + quit-alt1: + return: + quitWithoutChangingDirectory: Q + togglePanel: + prevItem: + nextItem: + prevItem-alt: s + nextItem-alt: t + prevPage: "," + nextPage: . + scrollLeft: C + scrollRight: R + gotoTop: < + gotoBottom: ">" + toggleRangeSelect: v + rangeSelectDown: + rangeSelectUp: + prevBlock: + nextBlock: + prevBlock-alt: c + nextBlock-alt: r + nextBlock-alt2: + prevBlock-alt2: + jumpToBlock: + - "1" + - "2" + - "3" + - "4" + - "5" + nextMatch: "n" + prevMatch: "N" + startSearch: / + optionMenu: + optionMenu-alt1: "?" + select: + goInto: + confirm: + confirmInEditor: + remove: d + new: "n" + edit: e + openFile: o + scrollUpMain: + scrollDownMain: + scrollUpMain-alt1: S + scrollDownMain-alt1: T + scrollUpMain-alt2: + scrollDownMain-alt2: + executeShellCommand: ":" + createRebaseOptionsMenu: m + # 'Files' appended for legacy reasons + pushFiles: P + # 'Files' appended for legacy reasons + pullFiles: p + refresh: L + createPatchOptionsMenu: + nextTab: "]" + prevTab: "[" + nextScreenMode: + + prevScreenMode: _ + undo: z + redo: + filteringMenu: + diffingMenu: W + diffingMenu-alt: + copyToClipboard: + openRecentRepos: + submitEditorText: + extrasMenu: "@" + toggleWhitespaceInDiffView: + increaseContextInDiffView: "}" + decreaseContextInDiffView: "{" + openDiffTool: + status: + checkForUpdate: u + recentRepos: + allBranchesLogGraph: a + files: + commitChanges: c + commitChangesWithoutHook: w + amendLastCommit: A + commitChangesWithEditor: C + findBaseCommitForFixup: + confirmDiscard: x + ignoreFile: i + refreshFiles: r + stashAllChanges: s + viewStashOptions: S + toggleStagedAll: a + viewResetOptions: D + fetch: f + toggleTreeView: "`" + openMergeOptions: M + openStatusFilter: + copyFileInfoToClipboard: "y" + branches: + createPullRequest: o + viewPullRequestOptions: O + copyPullRequestURL: + checkoutBranchByName: c + forceCheckoutBranch: F + rebaseBranch: r + renameBranch: R + mergeIntoCurrentBranch: M + viewGitFlowOptions: i + fastForward: f + createTag: T + pushTag: P + setUpstream: u + fetchRemote: f + sortOrder: s + worktrees: + viewWorktreeOptions: w + commits: + squashDown: s + renameCommit: r + renameCommitWithEditor: R + viewResetOptions: g + markCommitAsFixup: f + createFixupCommit: F + squashAboveCommits: S + moveDownCommit: + moveUpCommit: + amendToCommit: A + resetCommitAuthor: a + pickCommit: p + revertCommit: t + cherryPickCopy: C + pasteCommits: V + markCommitAsBaseForRebase: B + tagCommit: T + checkoutCommit: + resetCherryPick: + copyCommitAttributeToClipboard: "y" + openLogMenu: + openInBrowser: o + viewBisectOptions: b + startInteractiveRebase: i + amendAttribute: + resetAuthor: a + setAuthor: A + addCoAuthor: c + stash: + popStash: g + renameStash: r + commitFiles: + checkoutCommitFile: c + main: + toggleSelectHunk: a + pickBothHunks: b + editSelectHunk: E + submodules: + init: i + update: u + bulkMenu: b + commitMessage: + commitMenu: From 73589f77fbe1dc7df3ddd9c712dd41d7af29a9e2 Mon Sep 17 00:00:00 2001 From: Vincent Jousse Date: Wed, 12 Nov 2025 14:24:00 +0100 Subject: [PATCH 10/10] feat: add pomo script --- scripts/pomo | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100755 scripts/pomo diff --git a/scripts/pomo b/scripts/pomo new file mode 100755 index 0000000..bd31794 --- /dev/null +++ b/scripts/pomo @@ -0,0 +1,72 @@ +#!/usr/bin/env bash + +set -euo pipefail + + +usage() { + cat <&2 + exit "$code" +} + + +function main() { + local timer=25 + +if [ "$#" -ne 2 ]; then + echo "Nop: pomo 25 \"my task\"" + exit 1 +fi + +if [ -f ~/.cache/pomodoro_session ]; then + echo "Nop: pomodorolm is already running" + exit 1 +fi + +# timer=$1 # right now do nothing: scaffolding to specify time +# should be a default +description=$2 +HISTORY=~/.my_pomodoro + +if [ -f $HISTORY ]; then + cat $HISTORY # maybe change to wc since it will grow + else + echo "Init $HISTORY" + echo "date; action; description" > $HISTORY +fi + +echo "start pomodorolm" +echo "$(date); start; $description;" >> $HISTORY + +my_exit() { + echo "$(date); end; $description;" >> $HISTORY +} + +trap 'my_exit' EXIT + +pomodorolm + +} + +main "$@"