dotfiles bugabingas dorkfiles
owned by bugabinga
README Source History Refs Reviews Compare Notes Search Review guide CI runs Merge branch 'trunk' of github.com:bugabinga/dotfiles into trunk
7a3954e7a1bb24594e01a2347fa062ce817ab26b
Oliver Jan Krylow <oliver@bugabinga.net > · 21 Sep 2024
unsigned
Browse files Compare with HEAD
Changed files (20) Diff layout Auto Unified Split
NB-00718-WSL.symlinks Added new file mode 100644+62 / −0 text lines
5 + ~/.config/git/.gitconfig.include29 + ~/.config/nushell/config.nu32 + ~/.config/nushell/env.nu35 + ~/.config/nushell/login.nu37 + nushell/gen-aliases.nu38 + ~/.config/nushell/gen-aliases.nu41 + ~/.config/nushell/scripts43 + topgrade/topgrade.linux.toml44 + ~/.config/topgrade.toml47 + /mnt/c/Users/okr/.config/wezterm62 + ~/.config/systemd/user/pueued.servicedeleted file mode 100644+0 / −68 text lines
10 - topgrade/topgrade.windows.toml
11 - ~/AppData/Roaming/topgrade.toml
14 - ~/AppData/Roaming/nushell
17 - ~/AppData/Roaming/bottom
20 - ~/AppData/Roaming/Sam Tay/so
22 - subversion/config.win32
23 - ~/AppData/Roaming/Subversion/config
26 - ~/AppData/Roaming/Subversion/diff.bat
29 - ~/AppData/Roaming/Subversion/diff
32 - ~/AppData/Roaming/Subversion/diff3.bat
35 - ~/AppData/Roaming/Subversion/diff3
38 - ~/AppData/Roaming/Subversion/merge.bat
41 - ~/AppData/Roaming/Subversion/merge
44 - ~/scoop/persist/rustup/.cargo/config.toml
46 - indexa/config.windows.toml
47 - ~/AppData/Roaming/indexa/config.toml
53 - ~/AppData/Roaming/helix/config.toml
56 - ~/AppData/Roaming/helix/languages.toml
59 - ~/AppData/Roaming/helix/themes
65 - ~/AppData/Roaming/bat/config
68 - ~/AppData/Roaming/keyb/keyb.yml
bootstripper.java Modified +29 / −20 text lines
12 12 public static void main(String [] arguments) throws Throwable { public static void main(String [] arguments) throws Throwable {13 13 var dorkfile_path_input = "." ; var dorkfile_path_input = "." ;14 14 var do_clean = false ; var do_clean = false ;
15 + var do_decrypt = false ;16 17 if (arguments.length == 1 ) { if (arguments.length == 1 ) {17 18 if ("clean" .equals(arguments[0 ])) { if ("clean" .equals(arguments[0 ])) {18 19 do_clean = true ; do_clean = true ;21 + else if ( "decrypt" .equals(arguments[0 ])) {20 24 dorkfile_path_input = arguments[0 ]; dorkfile_path_input = arguments[0 ];22 26 } else if (arguments.length == 2 ) { } else if (arguments.length == 2 ) {23 27 if ("clean" .equals(arguments[0 ])) { if ("clean" .equals(arguments[0 ])) {24 28 do_clean = true ; do_clean = true ;25 29 dorkfile_path_input = arguments[1 ]; dorkfile_path_input = arguments[1 ];
31 + else if ("decrypt" .equals(arguments[0 ])) {33 + dorkfile_path_input = arguments[1 ];28 36 throw fail(); throw fail();34 42 var dorkfiles_root = Path .of(dorkfile_path_input).toRealPath(); var dorkfiles_root = Path .of(dorkfile_path_input).toRealPath();35 43 log("Assuming dorkfiles root repo in {0}." , log("Assuming dorkfiles root repo in {0}." ,36 44 emphasize_local(dorkfiles_root.toString())); emphasize_local(dorkfiles_root.toString()));38 - decrypt_secrets(dorkfiles_root.resolve("tresor" ));39 - var hostname = hostname();40 - log("Hostname: {0}" , emphasize_global(hostname));41 - var symlinks_file = dorkfiles_root.resolve(hostname + ".symlinks" );42 - if (Files .exists(symlinks_file)) {44 - delete_symlinks(dorkfiles_root, symlinks_file);46 - create_symlinks(dorkfiles_root, symlinks_file);48 - throw fail("Expected a file containing symlinks at: {0}. Found nothing!" ,46 + decrypt_secrets(dorkfiles_root.resolve("tresor" ));48 + var hostname = hostname();49 + log("Hostname: {0}" , emphasize_global(hostname));50 + var symlinks_file = dorkfiles_root.resolve(hostname + ".symlinks" );51 + if (Files .exists(symlinks_file)) {53 + delete_symlinks(dorkfiles_root, symlinks_file);55 + create_symlinks(dorkfiles_root, symlinks_file);57 + throw fail("Expected a file containing symlinks at: {0}. Found nothing!" ,53 63 static void decrypt_secrets(Path secrets_root) throws Throwable { static void decrypt_secrets(Path secrets_root) throws Throwable {54 - log("{0}:Decrypting files in {1} folder." , emphasize_global("TODO" ),64 + log("{0}:Decrypting files in {1} folder, using rbw ." , emphasize_global("TODO" ),55 65 emphasize_local(secrets_root.getFileName().toString())); emphasize_local(secrets_root.getFileName().toString()));75 85 var target_path = Path .of(target.replace("~" , home)).toAbsolutePath(); var target_path = Path .of(target.replace("~" , home)).toAbsolutePath();77 87 if (Files .exists(target_path, LinkOption .NOFOLLOW_LINKS )) { if (Files .exists(target_path, LinkOption .NOFOLLOW_LINKS )) {78 - var symlink_target = target_path.toRealPath();79 - if (symlink_target.compareTo(source_path) == 0 ) {80 - log("\nOK {0} exists and points to {1} in dorkfiles !\nDeleting {0}." ,88 + if (Files .isSymbolicLink(target_path)) {89 + log("\nOK {0} exists and points to {1}, a symlink indeed !\nDeleting {0}." ,81 90 emphasize_global(target_path.toString()), emphasize_global(target_path.toString()),82 91 emphasize_local(source_path.toString())); emphasize_local(source_path.toString()));84 93 Files .delete(target_path); Files .delete(target_path);86 - log("\nNOPE {0} exists, but it points outside of dorkfiles ! Clean manually." ,95 + log("\nNOPE {0} exists, but it is not a symlink ! Clean manually." ,87 96 target_path.toString()); target_path.toString());+15 / −0 text lines
29 29 java bootstripper.java java bootstripper.java
33 + java bootstripper.java clean37 + java bootstripper.java decrypt32 41 cd tools;java install.java cd tools;java install.java
47 + git remote add origin git@github.com:bugabinga/dotfiles.gitneovim/colors/nugu.lua Modified +36 / −1 text lines
3 + function get_background_based_on_os ()5 + local background = 'light' 6 + local uname = vim.uv.os_uname()8 + if uname.sysname == "Windows_NT" or string .match (uname.release, "WSL" ) then 10 + if vim.fn.executable('reg.exe' ) ~= 0 then 12 + local appsUseLightTheme = vim.fn.system({"reg.exe" , "Query" , "HKCU\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Themes\\Personalize" , "/v" , "AppsUseLightTheme" })13 + if not appsUseLightTheme:find("0x1" ) then 18 + elseif vim.fn.executable('busctl' ) ~= 0 then 20 + local result = vim.fn.system({21 + "busctl" , "--user" , "call" , "org.freedesktop.portal.Desktop" , "/org/freedesktop/portal/desktop" ,22 + "org.freedesktop.portal.Settings" , "ReadOne" , "ss" , "org.freedesktop.appearance" , "color-scheme" 25 + local color_scheme = result:match("u%s+(%d+)" )27 + if color_scheme == '1' then 1 36 if vim.g.colors_name == nil then if vim.g.colors_name == nil then 2 - vim.opt.background = 'dark' 37 + vim.opt.background = get_background_based_on_os()5 40 vim.cmd [[ highlight clear ]] vim.cmd [[ highlight clear ]] +9 / −6 text lines
14 14 vim.cmd.colorscheme 'nugu' vim.cmd.colorscheme 'nugu' 17 17 prequire = require 'std.prequire' prequire = require 'std.prequire' 19 19 prequire 'bugabinga.options' prequire 'bugabinga.options' 20 - prequire 'bugabinga.lazy'
21 20 prequire 'bugabinga.editorconfig' prequire 'bugabinga.editorconfig' 22 - prequire 'bugabinga.diagnostic' 23 - prequire 'bugabinga.save_actions'
25 21 prequire 'bugabinga.sessions' prequire 'bugabinga.sessions' 26 - prequire 'bugabinga.terminal' 22 + prequire 'bugabinga.lazy' 23 + prequire 'bugabinga.save_actions' 27 25 prequire 'bugabinga.lsp' prequire 'bugabinga.lsp'
27 + vim.defer_fn (function ()28 + prequire 'bugabinga.terminal' 29 + prequire 'bugabinga.diagnostic' neovim/lazy-lock.json Modified +9 / −9 text lines
10 10 "colorizer.nvim" : { "branch" : "master" , "commit" : "c1602ff3f11566bb7f16f90985b0c59d3d7db0ef" }, "colorizer.nvim" : { "branch" : "master" , "commit" : "c1602ff3f11566bb7f16f90985b0c59d3d7db0ef" },11 11 "conform.nvim" : { "branch" : "master" , "commit" : "1a99fdc1d3aa9ccdf3021e67982a679a8c5c740c" }, "conform.nvim" : { "branch" : "master" , "commit" : "1a99fdc1d3aa9ccdf3021e67982a679a8c5c740c" },12 12 "diffview.nvim" : { "branch" : "main" , "commit" : "4516612fe98ff56ae0415a259ff6361a89419b0a" }, "diffview.nvim" : { "branch" : "main" , "commit" : "4516612fe98ff56ae0415a259ff6361a89419b0a" },13 - "dressing.nvim" : { "branch" : "master" , "commit" : "c5775a888adbc50652cb370073fcfec963eca93e" },13 + "dressing.nvim" : { "branch" : "master" , "commit" : "1b7921eecc65af1baf8ac1dc06f0794934cbcfb2" },14 14 "flash.nvim" : { "branch" : "main" , "commit" : "7bb4a9c75d1e20cd24185afedeaa11681829ba23" }, "flash.nvim" : { "branch" : "main" , "commit" : "7bb4a9c75d1e20cd24185afedeaa11681829ba23" },15 15 "glow.nvim" : { "branch" : "main" , "commit" : "238070a686c1da3bccccf1079700eb4b5e19aea4" }, "glow.nvim" : { "branch" : "main" , "commit" : "238070a686c1da3bccccf1079700eb4b5e19aea4" },16 16 "heirline.nvim" : { "branch" : "master" , "commit" : "0d797435e54645a5f98bad7ad6046aac1ef95c1e" }, "heirline.nvim" : { "branch" : "master" , "commit" : "0d797435e54645a5f98bad7ad6046aac1ef95c1e" },25 25 "neogen" : { "branch" : "main" , "commit" : "e932ba918b56723436b77aa3efb844a11b2851ab" }, "neogen" : { "branch" : "main" , "commit" : "e932ba918b56723436b77aa3efb844a11b2851ab" },26 26 "nrpattern.nvim" : { "branch" : "master" , "commit" : "f862ce687761078ef3155688151c55f69d28453e" }, "nrpattern.nvim" : { "branch" : "master" , "commit" : "f862ce687761078ef3155688151c55f69d28453e" },27 27 "nui.nvim" : { "branch" : "main" , "commit" : "b58e2bfda5cea347c9d58b7f11cf3012c7b3953f" }, "nui.nvim" : { "branch" : "main" , "commit" : "b58e2bfda5cea347c9d58b7f11cf3012c7b3953f" },28 - "nvim-autopairs" : { "branch" : "master" , "commit" : "ffc139f2a96640ca6c4d3dff9b95b7b9eace87ae" },28 + "nvim-autopairs" : { "branch" : "master" , "commit" : "f158dcb865c36f72c92358f87787dab2c272eaf3" },29 29 "nvim-cmp" : { "branch" : "main" , "commit" : "ae644feb7b67bf1ce4260c231d1d4300b19c6f30" }, "nvim-cmp" : { "branch" : "main" , "commit" : "ae644feb7b67bf1ce4260c231d1d4300b19c6f30" },30 30 "nvim-genghis" : { "branch" : "main" , "commit" : "ca258b1e466d131e17eacf0c632abe932bce20ab" }, "nvim-genghis" : { "branch" : "main" , "commit" : "ca258b1e466d131e17eacf0c632abe932bce20ab" },31 31 "nvim-gomove" : { "branch" : "main" , "commit" : "2b44ae7ac0804f4e3959228122f7c85bef1964e3" }, "nvim-gomove" : { "branch" : "main" , "commit" : "2b44ae7ac0804f4e3959228122f7c85bef1964e3" },32 32 "nvim-lastplace" : { "branch" : "main" , "commit" : "0bb6103c506315044872e0f84b1f736c4172bb20" }, "nvim-lastplace" : { "branch" : "main" , "commit" : "0bb6103c506315044872e0f84b1f736c4172bb20" },33 - "nvim-lint" : { "branch" : "master" , "commit" : "99cab0b885aaa2f59736c047d23e9a7835d4f9a9" },33 + "nvim-lint" : { "branch" : "master" , "commit" : "ba0ab2f813e77d015da1a1c9920328fd2bf295f2" },34 34 "nvim-navbuddy" : { "branch" : "master" , "commit" : "f22bac988f2dd073601d75ba39ea5636ab6e38cb" }, "nvim-navbuddy" : { "branch" : "master" , "commit" : "f22bac988f2dd073601d75ba39ea5636ab6e38cb" },35 35 "nvim-navic" : { "branch" : "master" , "commit" : "8649f694d3e76ee10c19255dece6411c29206a54" }, "nvim-navic" : { "branch" : "master" , "commit" : "8649f694d3e76ee10c19255dece6411c29206a54" },36 36 "nvim-neoclip.lua" : { "branch" : "main" , "commit" : "32e05f2d23dc5b6a284a688c0535a83d1bfc633f" }, "nvim-neoclip.lua" : { "branch" : "main" , "commit" : "32e05f2d23dc5b6a284a688c0535a83d1bfc633f" },37 37 "nvim-surround" : { "branch" : "main" , "commit" : "ec2dc7671067e0086cdf29c2f5df2dd909d5f71f" }, "nvim-surround" : { "branch" : "main" , "commit" : "ec2dc7671067e0086cdf29c2f5df2dd909d5f71f" },38 - "nvim-treesitter" : { "branch" : "master" , "commit" : "b9002f6fe679e2b8025a46116081c0da629a6b8c" },38 + "nvim-treesitter" : { "branch" : "master" , "commit" : "1fbc25fc111cf5c7e73819657c8968dc5fa302ad" },39 39 "nvim-treesitter-context" : { "branch" : "master" , "commit" : "7f7eeaa99e5a9beab518f502292871ae5f20de6f" }, "nvim-treesitter-context" : { "branch" : "master" , "commit" : "7f7eeaa99e5a9beab518f502292871ae5f20de6f" },40 40 "nvim-treesitter-endwise" : { "branch" : "master" , "commit" : "8b34305ffc28bd75a22f5a0a9928ee726a85c9a6" }, "nvim-treesitter-endwise" : { "branch" : "master" , "commit" : "8b34305ffc28bd75a22f5a0a9928ee726a85c9a6" },41 41 "nvim-treesitter-textobjects" : { "branch" : "master" , "commit" : "bf8d2ad35d1d1a687eae6c065c3d524f7ab61b23" }, "nvim-treesitter-textobjects" : { "branch" : "master" , "commit" : "bf8d2ad35d1d1a687eae6c065c3d524f7ab61b23" },42 42 "nvim-ts-autotag" : { "branch" : "main" , "commit" : "e239a560f338be31337e7abc3ee42515daf23f5e" }, "nvim-ts-autotag" : { "branch" : "main" , "commit" : "e239a560f338be31337e7abc3ee42515daf23f5e" },43 43 "nvim-ts-context-commentstring" : { "branch" : "main" , "commit" : "375c2d86cee6674afd75b4f727ce3a80065552f7" }, "nvim-ts-context-commentstring" : { "branch" : "main" , "commit" : "375c2d86cee6674afd75b4f727ce3a80065552f7" },44 - "nvim-web-devicons" : { "branch" : "master" , "commit" : "9154484705968658e9aab2b894d1b2a64bf9f83d" },44 + "nvim-web-devicons" : { "branch" : "master" , "commit" : "31bd21ac46b2b6039aa0b856ca02b018cf549ef7" },45 45 "nvim-window" : { "branch" : "main" , "commit" : "81f29840ac3aaeea6fc2153edfabebd00d692476" }, "nvim-window" : { "branch" : "main" , "commit" : "81f29840ac3aaeea6fc2153edfabebd00d692476" },46 - "oil.nvim" : { "branch" : "master" , "commit" : "f60bb7f793477d99ef1acf39e920bf2ca4e644de" },47 - "plenary.nvim" : { "branch" : "master" , "commit" : "f4faa5a3dc77a694ba58f42585985fed88540ac6" },46 + "oil.nvim" : { "branch" : "master" , "commit" : "1360be5fda9c67338331abfcd80de2afbb395bcd" },47 + "plenary.nvim" : { "branch" : "master" , "commit" : "2d9b06177a975543726ce5c73fca176cedbffe9d" },48 48 "qf_helper.nvim" : { "branch" : "master" , "commit" : "fa3c2f3f2706e2c9984409c9c14b5993302ddfa7" }, "qf_helper.nvim" : { "branch" : "master" , "commit" : "fa3c2f3f2706e2c9984409c9c14b5993302ddfa7" },49 - "schemastore.nvim" : { "branch" : "main" , "commit" : "bfe74baf72ca8964a211286fed864f30c672f19b" },49 + "schemastore.nvim" : { "branch" : "main" , "commit" : "6e2af7e093a4b92e3dce014aa1cbb5449ad1ebf9" },50 50 "specs.nvim" : { "branch" : "main" , "commit" : "8a108c8b37dec1b184a1d3d76c6cf867bfbe9636" }, "specs.nvim" : { "branch" : "main" , "commit" : "8a108c8b37dec1b184a1d3d76c6cf867bfbe9636" },51 51 "ssr.nvim" : { "branch" : "main" , "commit" : "7c95cfa5836508f08ae833a4b31d2ed265560f64" }, "ssr.nvim" : { "branch" : "main" , "commit" : "7c95cfa5836508f08ae833a4b31d2ed265560f64" },52 52 "substitute.nvim" : { "branch" : "main" , "commit" : "97f49d16f8eea7967d41db4f657dd63af53eeba1" }, "substitute.nvim" : { "branch" : "main" , "commit" : "97f49d16f8eea7967d41db4f657dd63af53eeba1" },56 56 "telescope.nvim" : { "branch" : "master" , "commit" : "a0bbec21143c7bc5f8bb02e0005fa0b982edc026" }, "telescope.nvim" : { "branch" : "master" , "commit" : "a0bbec21143c7bc5f8bb02e0005fa0b982edc026" },57 57 "text-case.nvim" : { "branch" : "main" , "commit" : "e898cfd46fa6cde0e83abb624a16e67d2ffc6457" }, "text-case.nvim" : { "branch" : "main" , "commit" : "e898cfd46fa6cde0e83abb624a16e67d2ffc6457" },58 58 "todo-comments.nvim" : { "branch" : "main" , "commit" : "ae0a2afb47cf7395dc400e5dc4e05274bf4fb9e0" }, "todo-comments.nvim" : { "branch" : "main" , "commit" : "ae0a2afb47cf7395dc400e5dc4e05274bf4fb9e0" },59 - "tree-sitter-nu" : { "branch" : "main" , "commit" : "0bb9a602d9bc94b66fab96ce51d46a5a227ab76c" },59 + "tree-sitter-nu" : { "branch" : "main" , "commit" : "983618e8635db65daf898460a59065a70f64145e" },60 60 "treesj" : { "branch" : "main" , "commit" : "0d81326b5afd36babe7dd480aabbb0b05f33e688" }, "treesj" : { "branch" : "main" , "commit" : "0d81326b5afd36babe7dd480aabbb0b05f33e688" },61 61 "twilight.nvim" : { "branch" : "main" , "commit" : "1584c0b0a979b71fd86b18d302ba84e9aba85b1b" }, "twilight.nvim" : { "branch" : "main" , "commit" : "1584c0b0a979b71fd86b18d302ba84e9aba85b1b" },62 62 "venn.nvim" : { "branch" : "main" , "commit" : "b09c2f36ddf70b498281845109bedcf08a7e0de0" }, "venn.nvim" : { "branch" : "main" , "commit" : "b09c2f36ddf70b498281845109bedcf08a7e0de0" },neovim/lua/bugabinga/lsp/init.lua Modified +2 / −2 text lines
148 - local root_dir = type ( config.root_dir ) == 'string' and config.root_dir or config.root_dir( buffer_path )
149 148 local capabilities = vim.lsp.protocol.make_client_capabilities() local capabilities = vim.lsp.protocol.make_client_capabilities()150 149 capabilities = table .extend( 'force' , capabilities, config.capabilities ) capabilities = table .extend( 'force' , capabilities, config.capabilities )156 155 settings = vim.tbl_deep_extend( 'force' , settings, settings_override ) settings = vim.tbl_deep_extend( 'force' , settings, settings_override )
158 + local root_dir = type ( config.root_dir ) == 'string' and config.root_dir or config.root_dir( buffer_path )159 159 local root_workspace = root_dir and { uri = 'file://' .. root_dir, name = root_dir, } or nil local root_workspace = root_dir and { uri = 'file://' .. root_dir, name = root_dir, } or nil 160 160 local workspace_folders = root_workspace and { root_workspace, } or nil local workspace_folders = root_workspace and { root_workspace, } or nil 161 161 local workspace_folders_local = project_local_workspace_folders[config.name] local workspace_folders_local = project_local_workspace_folders[config.name]231 - dbg.print( 'ATTACHING LSP CLIENT' , config.name )231 + dbg.print( 'STARTING LSP CLIENT' , config.name )neovim/lua/bugabinga/options/ui.lua Modified +2 / −0 text lines
1 + local dbg = require 'std.dbg' 1 2 local icon = require 'std.icon' local icon = require 'std.icon' 2 3 local auto = require 'std.auto' local auto = require 'std.auto' 3 4 local ignored = require 'std.ignored' local ignored = require 'std.ignored' 14 15 events = { 'FileType' , }, events = { 'FileType' , },15 16 pattern = ignored.filetypes, pattern = ignored.filetypes,16 17 command = function () command = function ()
18 + dbg.print 'Hiding columns in buffers without source code' 17 19 vim.opt_local.colorcolumn = {} vim.opt_local.colorcolumn = {}18 20 vim.opt_local.signcolumn = 'no' vim.opt_local.signcolumn = 'no' 19 21 vim.opt_local.foldcolumn = '0' vim.opt_local.foldcolumn = '0' +9 / −1 text lines
31 31 $env.GIT_EDITOR = 'nvim' $env.GIT_EDITOR = 'nvim' 35 34 if not (which neovide | is-empty) {if not (which neovide | is-empty) {36 35 $env.VISUAL = 'neovide' $env.VISUAL = 'neovide' 40 39 $env.TERM = "xterm-256color" $env.TERM = "xterm-256color"
42 + if ( not $env.WIN32 ) {43 + let tools_bin = ( $env.TOOLS | path join bin )46 + split row (char esep) |44 52 $env.LS_COLORS = (try { vivid generate alabaster_dark | into string } catch {"" })$env.LS_COLORS = (try { vivid generate alabaster_dark | into string } catch {"" })+1 / −0 text lines
7 7 use start.nuuse start.nu8 8 use timer.nuuse timer.nu10 11 if $env.WIN32 {if $env.WIN32 {11 12 use refreshenv.nu * use refreshenv.nu *nushell/scripts/dwnld.nu Added new file mode 100644+6 / −0 text lines
4 + let basename = ( $url | path basename )5 + http get $url | save --raw $basename nushell/scripts/prompt.nu Modified +3 / −0 text lines
6 6 [ path icon ]; [ path icon ];8 8 [ "/home/oli/Notes" (char -u "03C0" ) ] [ "/home/oli/Notes" (char -u "03C0" ) ]
9 + [ "/home/okr/Notes" (char -u "03C0" ) ]9 10 [ "/home/bugabinga/Notes" (char -u "03C0" ) ] [ "/home/bugabinga/Notes" (char -u "03C0" ) ]10 11 [ "C:\\Users\\okr\\Notizen" (char -u "03C0" ) ] [ "C:\\Users\\okr\\Notizen" (char -u "03C0" ) ]12 13 [ "/home/oli/Workspace" (char -u "03BB" ) ] [ "/home/oli/Workspace" (char -u "03BB" ) ]
14 + [ "/home/okr/Workspace" (char -u "03BB" ) ]13 15 [ "/home/bugabinga/Workspace" (char -u "03BB" ) ] [ "/home/bugabinga/Workspace" (char -u "03BB" ) ]14 16 [ "C:\\Users\\okr\\Workspaces" (char -u "03BB" ) ] [ "C:\\Users\\okr\\Workspaces" (char -u "03BB" ) ]16 18 [ "/home/oli" (char home) ] [ "/home/oli" (char home) ]
19 + [ "/home/okr" (char home) ]17 20 [ "/home/bugabinga" (char home) ] [ "/home/bugabinga" (char home) ]18 21 [ "C:\\Users\\okr" (char home) ] [ "C:\\Users\\okr" (char home) ]nushell/scripts/todo.nu Modified +11 / −4 text lines
1 + def print_markdown [ md: path ] {2 + if not ( which mdcat | is-empty ) { mdcat $md ; return }3 + if not ( which bat | is-empty ) { bat $md ; return }4 + if not ( which glow | is-empty ) { glow $md ; return }2 - export def main [] { mdcat ($env.NOTES | path join "TODO.md" ) }9 + export def main [] { print_markdown ($env.NOTES | path join "TODO.md" ) }5 - export def edit [] { nvim ($env.NOTES | path join "TODO.md" ) }12 + export def edit [] { run-external $env.EDITOR ($env.NOTES | path join "TODO.md" ) }8 - export def commands [] { mdcat ($env.NOTES | path join "COMMANDS.md" ) }15 + export def commands [] { print_markdown ($env.NOTES | path join "COMMANDS.md" ) }11 - export def "commands edit" [] { nvim ($env.NOTES | path join "COMMANDS.md" ) }18 + export def "commands edit" [] { run-external $env.EDITOR ($env.NOTES | path join "COMMANDS.md" ) }new file mode 100644+31 / −0 text lines
2 + restart_in_place : false 4 + show_confirmation_questions : false 5 + show_expanded_aliases : false 7 + max_status_lines : null 8 + status_time_format : '%H:%M:%S' 9 + status_datetime_format : |- 13 + pause_group_on_failure : false 14 + pause_all_on_failure : false 17 + callback_log_lines : 10 20 + pueue_directory : null 21 + runtime_directory : null 23 + use_unix_socket : true 24 + unix_socket_path : null 30 + shared_secret_path : null pueue/pueued.service Added new file mode 100644+9 / −0 text lines
2 + Description=Pueue Daemon - CLI process scheduler and manager6 + ExecStart=/home/okr/.cargo/bin/pueued -vvv9 + WantedBy=default.targetsystemd/environment.d/07_cargo.conf Deleted deleted file mode 100644+0 / −1 text lines
1 - CARGO_HOME=$HOME/.cargo
systemd/environment.d/99_path.conf Deleted deleted file mode 100644+0 / −1 text lines
1 - PATH=$CARGO_HOME/bin:$HOME/.local/bin :$HOME/go/bin:$PATH
+1 / −0 text lines
61 61 tealdeer;tldr tealdeer;tldr 65 66 unison-fsmonitorunison-fsmonitorwezterm/wezterm.lua Modified +5 / −1 text lines
27 27 local hostname = wez.hostname()local hostname = wez.hostname()28 28 local enable_wayland = false local enable_wayland = false
29 + local default_prog = { 'nu' , '--login' }29 30 local window_decorations = 'TITLE|RESIZE' local window_decorations = 'TITLE|RESIZE' 30 31 local font_size = 16.0 local font_size = 16.0 31 32 local font = wez.font 'Cousine' local font = wez.font 'Cousine' 32 33 if hostname == 'x230' then if hostname == 'x230' then 33 34 font = random_nerd_font(); font = random_nerd_font();34 35 enable_wayland = true enable_wayland = true
36 + elseif hostname == 'NB-00718' then 37 + default_prog = { 'powershell' , '-NoLogo' }35 38 elseif hostname == 'fedora' then elseif hostname == 'fedora' then 36 39 font = random_nerd_font(); font = random_nerd_font();37 40 enable_wayland = true enable_wayland = true 101 104 default_cwd = wez.home_dir, default_cwd = wez.home_dir,102 - default_prog = { 'nu' , '--login' },105 + default_prog = default_prog,103 106 default_cursor_style = 'SteadyBlock' , default_cursor_style = 'SteadyBlock' ,158 161 keys = key_binds.keys, keys = key_binds.keys,159 162 key_tables = key_binds.key_tables, key_tables = key_binds.key_tables,