1150 Commits

Author SHA1 Message Date
74973c1449 chore: initial commit for draft MR 2025-12-18 15:56:51 +01:00
545a5927e5 chore(nvim): add commented formatter.nvim config
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-18 15:54:13 +01:00
c6b2743cf6 chore(nvim): reorder plugins, remove claude-code from paq-setup
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-18 15:53:59 +01:00
430bec1708 style(lsp): fix formatting and indentation
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-18 15:53:56 +01:00
d9e25eec77 chore: remove taskdeps script
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-18 15:53:04 +01:00
a588604d91 chore(nvim): comment out image.nvim config
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-18 15:53:01 +01:00
d9911dd2ce style(cmp): reformat sources list
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-18 15:52:57 +01:00
b397fab3f2 feat(ftplugin): add dotenv filetype support
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-18 15:52:54 +01:00
1246f42638 feat(nvim): add skeleton module to init
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-18 15:52:50 +01:00
06fb7dd4b8 fix(wiki): disable auto lcd on VimEnter
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-18 15:52:47 +01:00
4b2d24e1f4 feat(fzf): add resume to live_grep, use complete_file
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-18 15:52:42 +01:00
f57d227203 feat(lint): enable eslint for js/ts, disable systemdlint/yamllint
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-18 15:52:31 +01:00
82f904c9dc feat(format): enable lsp_fallback, disable json formatters
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-18 15:52:24 +01:00
26b5f00643 fix(lsp): update helm_ls, yamlls, disable emmet
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-18 15:51:36 +01:00
31f604f8f6 feat(lsp): add terraformls, rust_analyzer, configure nixd
Add support for Terraform and Rust language servers, and configure nixd
with home-manager options for better Nix completions.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-18 15:51:17 +01:00
8632e7a1bc feat(lsp): switch from ts_ls to vtsls
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-18 15:51:02 +01:00
0a9405ffd6 chore(nvim): disable codecompanion plugin config
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-18 15:50:40 +01:00
eceaab3caf chore(nvim): disable mcphub plugin config
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-18 15:50:36 +01:00
1dbb9c1e5d chore(nvim): disable nvimkit, normalize paq-setup formatting
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-18 15:50:16 +01:00
b3e1e4e939 chore(nvim): disable image.nvim plugin
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-18 15:45:36 +01:00
14e1f01784 feat(nvim): add vim-markdown-composer plugin
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-18 15:45:12 +01:00
e1e300bee2 feat(nvim): add blink.download plugin
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-18 15:44:58 +01:00
1418407e63 feat(nvim): add obsidian plugin
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-18 15:44:41 +01:00
1e3a5d291f feat(nvim): add nvim-early-retirement plugin
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-18 15:44:18 +01:00
a8100cf3e2 feat(nvim): add kubectl plugin
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-18 15:40:18 +01:00
6c738b78e7 feat: set up 'claude-code.nvim' plugin 2025-12-18 15:34:49 +01:00
0233c339aa chore: add TODO for unique 'networking.hostId' 2025-12-18 13:40:26 +01:00
57706b7292 refactor: use username variable consistently
Replaced hardcoded "h" username references with variables:
- hosts/vm: use username variable for secrets.username
- home configs: use username variable in bash initExtra paths
- keepassxc: update comment to use $HOME instead of /home/h

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-18 13:39:43 +01:00
7ce3609579 fix(firefox): merge duplicate policies declarations
Second policies declaration was overwriting the first, causing
DefaultDownloadDirectory setting to be lost. Merged both into single
policies block.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-18 13:39:43 +01:00
51d0399f21 fix: format rust using 'rustfmt' 2025-12-15 18:18:20 +01:00
d232d8fad6 refactor: decouple 'andromache' home config from 'astyanax' 2025-12-15 12:19:38 +01:00
413c6a4a63 chore: update neovim flake (and main flake) 2025-12-15 12:01:19 +01:00
af20454965 refactor: import shikane 'desktop/niri' instead of directly 2025-12-15 11:57:22 +01:00
ae17c411d4 feat: add plain 'mako' service for notifications 2025-12-14 23:45:58 +01:00
f8bac5414b feat: declare anki config 2025-12-14 22:44:45 +01:00
b8b7f6bce7 fix: migrate 'r5rs' script to neovim 2025-12-14 22:11:14 +01:00
eb0b192b5e fix: ignore directories that contain '.nobackup' in 'save-home' 2025-12-14 22:11:14 +01:00
f60b26c676 chore: format using 'black' 2025-12-14 22:11:14 +01:00
67dcddb55c chore: clean up 'astyanax' packages 2025-12-09 23:43:56 +01:00
ce732af957 feat: add 'fail2ban' to 'hecuba' host 2025-12-09 23:10:24 +01:00
098bbbb5d2 refactor: use environment variable for zettelkasten path 2025-12-09 12:43:07 +01:00
61a5ef7714 feat: add 'rustfmt' for rust formatting 2025-12-08 20:16:18 +01:00
1020a0ea2a chore: relock flake 2025-12-07 23:04:06 +01:00
32e3ee40e1 feat: add 'figet.nvim' to 'nvim' flake 2025-12-07 22:59:05 +01:00
8295557eb4 test(nvim): try out 'm_taskwarrior_d.nvim' plugin 2025-12-07 19:16:07 +01:00
1c71b8c9fc fix: resolve 'nix flake check' errors 2025-12-07 17:42:18 +01:00
debd25f8f8 feat: use 'rustaceanvim' instead for rust development 2025-12-07 17:36:33 +01:00
43f1023449 feat: add 'wl-clipboard' to niri desktop 2025-12-07 14:32:33 +01:00
2b035eb415 fix: work around throttled error 2025-12-07 00:13:59 +01:00
ec595c6f52 fix: declare graphics config for 'astyanax' host 2025-12-07 00:06:22 +01:00
2326ac1e78 fix: resolve treesitter errors on NixOS 2025-12-07 00:05:46 +01:00
14abad0b98 chore: ignore breaking changes warning for 'codecompanion.nvim' 2025-12-07 00:04:56 +01:00
f5ffa8b9d1 enable 'shikane' on 'astyanax' (and add 'wdisplays') 2025-12-06 23:51:50 +01:00
7b9eac546b feat(nvim): set up rust lsp config 2025-12-06 23:49:29 +01:00
36cdaac5ad refactor: enable firewall explicitely for 'hecuba' host 2025-12-04 12:48:55 +01:00
126671ffc7 fix: remove common '.nix' suffix 2025-12-04 12:48:55 +01:00
a1263d8bf1 fix: update waybar to match polybar config (for the most part) 2025-12-04 12:48:55 +01:00
50b2f38f21 refactor: move 'wlsunset' package into home manager module 2025-12-04 12:48:55 +01:00
Hektor Misplon
c335534278 chore: update 'nvim' flake 2025-12-04 02:24:28 +01:00
Hektor Misplon
88d5657cf8 fix: don't autoinstall treesitter grammars when using 'nixCats' 2025-12-04 02:21:30 +01:00
d2a4e35417 fix: declare 'fuzzel' config and add it to 'niri' desktop 2025-12-03 23:49:58 +01:00
7e58bb7bc2 feat: track (currently unused) k3s module 2025-12-03 23:45:55 +01:00
4d6ba61f52 refactor: use 'default.nix' for all modules 2025-12-03 23:43:43 +01:00
683e6e4d10 fix: declare 'waybar' config and add it to 'niri' desktop 2025-12-03 23:36:33 +01:00
dbad023043 fix: declare niri config 2025-12-03 23:36:33 +01:00
355cad6574 fix: try 'writeShellApplication' for 'astyanax' WOL script 2025-12-03 22:35:21 +01:00
c9f69530d8 fix: declare 'andromache' 'eno1' interface MAC address 2025-12-03 21:40:44 +01:00
0197e99b8f feat: add 'hecuba' host config 2025-12-03 19:28:03 +01:00
0bad5c492c fix: further harden 'hardened-openssh' module 2025-12-03 17:14:08 +01:00
1cba6c968a fix: replace 'gnome' desktop with 'niri' 2025-12-03 15:56:09 +01:00
8ae482d846 fix: declare KeePassXC browser integration 2025-12-03 15:56:06 +01:00
8c3e762a46 chore(pkgs): add 'signal-desktop' package 2025-12-03 15:54:33 +01:00
43832361ea fix: disable kitty tab shortcut for now 2025-12-03 15:54:33 +01:00
166d904735 update bluetooth config 2025-12-03 15:54:33 +01:00
67d0733bbd refactor: move bootloader into 'modules/boot' 2025-12-03 15:54:33 +01:00
ae55782bf2 refactor: move 'disko' modules into 'modules/disko' 2025-12-03 15:54:33 +01:00
e10923f74d resolve NixOS build warnings 2025-12-03 15:54:33 +01:00
6b5ac0c370 Merge pull request 'update' (#1) from claude-code-test into main
Reviewed-on: #1
2025-12-03 15:53:43 +01:00
0652389078 refactor(home/work): improve configuration structure
- Add nixpkgs.config.allowUnfree setting
- Fix nixGL configuration path to targets.genericLinux.nixGL
- Remove redundant anki program import (now in modules)
- Enable gh and kubecolor programs
- Pass inputs to packages.nix for flake package access

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-03 15:53:22 +01:00
2913e9578e feat(home): add GNOME desktop configuration
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-03 15:53:22 +01:00
b72c1d5e86 chore(home): add commented experimental anki sync config
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-03 15:53:22 +01:00
1c844adf91 refactor(work): set up 'packages.local.nix' approach 2025-12-03 15:53:22 +01:00
fdbe4366e1 feat(home): add git config with example configuration for non-NixOS 2025-12-03 15:53:22 +01:00
a9ffcc12ee refactor: move common hosts config into 'modules/common.nix' 2025-12-03 15:53:22 +01:00
9765d93f9f chore: formatting and cleanup
- Format shell.nix skeleton to single line
- Complete ts-node removal from astyanax packages
- Format andromache hardware config
2025-12-03 15:53:22 +01:00
42dbe5ade2 chore: update flake to 'nixos-unstable'
- Switch from 'nixos-25.05' to 'nixos-unstable'
- Update home-manager to follow main branch
2025-12-03 15:53:22 +01:00
bab2c35bff fix(astyanax): correct hostname typo from astynanax to astyanax 2025-12-03 15:53:22 +01:00
ce26b1c206 Add neovim 'typescriptreact' snippets 2025-12-03 15:53:22 +01:00
2d26d6ebd8 don't use rootless docker on 'andromache', but keep it as an option 2025-11-28 20:57:04 +01:00
e0a1ec77ed enable wake on lan on 'andromache' host 2025-11-27 10:37:05 +01:00
68bf971992 declare rootless docker for 'andromache' host 2025-11-26 18:37:11 +01:00
80e74d3283 enable recurrence only on one hosts per 'man task-sync' 2025-11-24 18:47:10 +01:00
f93eecfcb1 refactor 'nixosConfigurations' 2025-11-23 23:29:46 +01:00
6d5e6add02 move 'nixos-hardware' from 'vm' to 'astyanax' host 2025-11-23 22:06:25 +01:00
cdf5127071 modularize NixOS secrets config 2025-11-23 22:06:25 +01:00
1a57e8a424 refactor 2025-11-23 19:49:49 +01:00
cf27fdedde use neovim dark mode 2025-11-23 19:48:48 +01:00
92226fff95 declare taskwarrior for all NixOS hosts 2025-11-23 19:37:15 +01:00
2e81d28cc8 split up taskwarrior config to facilitate coexisting NixOS and Arch configs 2025-11-23 19:02:21 +01:00
f5e31ff825 Add (unused) 'printing' module 2025-11-23 16:12:55 +01:00
fdd4c13d34 Refactor 'home/hosts/work' 2025-11-23 16:10:30 +01:00
25dd5fc67b Set up xdg user directories 2025-11-18 23:43:12 +01:00
c3bfb2e449 Add 'vim-plug' vim plugin to neovim flake 2025-11-18 23:42:34 +01:00
283e49281c Update intel CPU microcode 2025-11-18 23:41:55 +01:00
e8c9ea3af0 Improve disko declarations 2025-11-17 21:20:00 +00:00
5f65c9ad92 Refactor 'hosts/' to use 'default.nix' 2025-11-17 20:41:34 +00:00
2793aa4e59 Add gitconfig and gitignore to git home module 2025-11-17 19:15:09 +01:00
6e93f8cb39 Prefer dark theme (gnome) 2025-11-17 19:06:59 +01:00
c8dbef379e Set up 'andromache' host 2025-11-17 19:06:35 +01:00
bdd959f3df Update (networking) hostnames 2025-11-16 16:03:36 +01:00
59575b2ff9 Only open SSH port when SSH is enabled 2025-11-16 16:03:03 +01:00
27c5ec21a4 Refactor 2025-11-16 15:42:11 +01:00
d81e168cd9 Fix vm error 2025-11-16 15:42:03 +01:00
2352981b16 Rename firefox profile from 'work' to 'default' 2025-11-16 02:09:54 +01:00
a0472eccc6 Enable nightlight (dconf setting) 2025-11-16 02:00:21 +01:00
9475aae43a Update flake 2025-11-16 01:40:48 +01:00
7bfe1457f8 Add 'kitty-scrollback.nvim' to neovim flake 2025-11-16 01:38:51 +01:00
0578ba56f9 Modularize gnome config 2025-11-16 01:36:19 +01:00
98faf1c356 Use neovim flake 2025-11-16 01:31:55 +01:00
ff5b4e1665 Add github CLI to 'astyanax' host 2025-11-16 00:19:21 +01:00
b9cab17495 Update 'nvim' flake 2025-11-15 23:56:11 +01:00
3d00618b68 Reuse home modules in 'astyanax' host 2025-11-15 23:49:04 +01:00
8ea508585b Merge NixOS and home manager flakes 2025-11-15 23:49:04 +01:00
bbaf22e871 Remove 'nix-topology' 2025-11-15 23:17:24 +01:00
829655f4ba Add 'Syncthing' example config to 'astyanax' host 2025-11-15 21:09:36 +01:00
fcda5c511e Add 'plocate' to 'astyanax' host 2025-11-15 21:04:21 +01:00
8c91d2a47c Add 'Syncthing' to 'astyanax' host 2025-11-15 20:35:12 +01:00
b3ef701db6 Add bluetooth to 'astyanax' host 2025-11-14 14:08:22 +01:00
d428c88a36 Set up nixos-hardware for 'astyanax' host 2025-11-12 23:20:29 +01:00
d5c0e08eb1 Remove redundant firefox package 2025-11-12 23:20:01 +01:00
11b01dd83f Fix wifi disconnect issue? 2025-11-12 23:04:29 +01:00
a68a903b9e Set up astyanax host 2025-11-12 23:02:30 +01:00
d876d02313 Remove firefox bookmarks 2025-11-11 01:06:20 +01:00
29a8484d1e Set up interception-tools on NixOS 2025-11-10 22:17:39 +01:00
3c385724d0 Improve NixOS default firewall declaration 2025-11-10 21:46:08 +01:00
cf18dcdb67 Add (relevant) '~/.bin' scripts to NixOS 2025-11-10 20:51:55 +01:00
408fb8ee0b Merge commit '63ceb40b4558f0fddb36f8244942d8a432e9182c' 2025-11-10 20:42:31 +01:00
63ceb40b45 Remove redundant 'dmenu' scripts 2025-11-10 20:41:51 +01:00
261223fe5c Add 'bash_aliases' from 'dots' to NixOS 2025-11-10 20:24:19 +01:00
17792f297b Add 'vscode-langservers-extracted' to neovim Nix flake 2025-11-10 18:33:48 +01:00
87008639ba Add 'vscode-langservers-extracted' to neovim Nix flake 2025-11-10 18:33:48 +01:00
512807cacf Update readme's 2025-11-10 18:04:39 +01:00
b7c27b53fa Move 'vm' host home into home manager flake 2025-11-10 17:55:58 +01:00
61278b8fb3 Merge 'home-manager' flake into NixOS flake 2025-11-10 17:47:59 +01:00
b039acd9c1 Merge 'home-manager' flake into NixOS flake 2025-11-10 17:47:59 +01:00
8c7d8f9bc5 Merge commit '85165468f589dbb395b73f0cb17b758ac6fe33aa' 2025-11-10 17:46:25 +01:00
1c4b3be339 Modularize NixOS SSH config 2025-11-10 17:04:45 +01:00
e92d5c0da9 Modularize NixOS fonts config 2025-11-10 16:49:25 +01:00
c267ac6fc7 Set up 'nix-topology' 2025-11-10 16:38:32 +01:00
85165468f5 Update 'kitty.conf' 2025-11-10 15:29:49 +01:00
3fb3b1e521 Set up sops-nix secrets 2025-11-06 23:13:26 +01:00
43f5cc701e Add neovim skeleton module 2025-11-06 14:31:55 +01:00
ffc34d78d7 Fix conform eslint-prettier conflicting formatters 2025-11-06 12:16:10 +01:00
61ac93b68f Add git push/pull aliases 2025-11-06 11:16:14 +01:00
411986643a Update bash aliases 2025-11-06 11:14:59 +01:00
5d88ea6f11 Add back zettelkasten markdown file completion 2025-11-04 23:31:24 +01:00
fa6c4d786b Update gitsigns.nvim config 2025-11-04 23:31:24 +01:00
a07473f125 Add lua module snippet 2025-11-04 23:31:24 +01:00
7fd1b35186 Set up lua language server for Neovim 2025-11-04 23:31:24 +01:00
38e27e7208 Set up kitty-scrollback.nvim 2025-11-04 16:36:10 +01:00
f83d453320 Use 'dockerfile' filetype for 'containerfiles' 2025-11-04 16:36:10 +01:00
4d1b84db3c Update gitignore 2025-11-04 16:36:10 +01:00
bb76c9fa3a Update Nix home manager flake 2025-11-04 16:36:10 +01:00
242d0fe094 Migrate to new Neovim 'lspconfig' version 2025-11-01 23:28:37 +01:00
4567ea177b Add 'nixpkgs.follows' to 'nixgl' input in Nix home manager flake 2025-10-28 22:13:41 +01:00
165c71a2a4 Declare keepassxc config in Nix home manager flake 2025-10-28 12:56:59 +01:00
f42a896d53 Modularize neovim & git config in Nix home manager flake 2025-10-28 11:54:40 +01:00
c605f61445 Modularize firefox config in Nix home manager flake 2025-10-28 11:52:33 +01:00
783908c5eb Declare anki package in Nix home manager flake 2025-10-28 11:46:20 +01:00
966065dd30 Format home manager flake (nixfmt) 2025-10-28 00:19:28 +01:00
01264a395d Move git & neovim into Nix home manager flake 2025-10-28 00:18:10 +01:00
292a2883be Declare bookmarks in firefox toolbar 2025-10-27 23:56:29 +01:00
5a50aa540f Improve pomo script 2025-10-26 22:46:15 +01:00
84e0c7f700 Move firefox (with addons) into Nix home manager flake 2025-10-26 22:42:28 +01:00
a737b50284 Update 'git-cb' script 2025-10-24 10:12:29 +02:00
608a3bc725 Remove taskwarrior related neovim stuff 2025-10-23 16:52:23 +02:00
a668bb47db Set up nix formatter and language server 2025-10-23 16:26:04 +02:00
15cf8bc566 Set up nix formatter and language server 2025-10-23 16:26:04 +02:00
325d0d1d72 Merge commit '2943f5a3716f091ba16bc812339c4159c99486f2' 2025-10-21 00:01:04 +02:00
2943f5a371 Merge commit 'f035c9318b23aea7479c124d749f5678c060e7b3' 2025-10-21 00:00:41 +02:00
89c1417915 Merge commit 'f035c9318b23aea7479c124d749f5678c060e7b3' 2025-10-21 00:00:41 +02:00
f035c9318b Squashed 'dots/' changes from f64b634..24ce8f3
24ce8f3 Migrate '.vim/plugin' to neovim
e3d9612 Remove vim yin/yang colorschemes
05986a3 Migrate '.vim/ftplugin' to neovim
05bc2ec Migrate vim snippets to neovim (LuaSnip)
128ae8e Migrate '.vim/ftdetect/prolog' to neovim
f3188f7 Migrate '.vim/after/syntax' to neovim
85d56f9 Migrate vim init config to neovim
afca2ca Migrate '.vim/after' to neovim
d6875c9 Add 'eslint_d' PID to 'nvim-lint' config
568e45f Remove jira aliases
78fa170 Disable 'xdg-user-dirs' by default
5216f79 Alias bash 'history' command to 'h'
0f29dc3 Add neovim dependencies to flake
c901a1c test
6113c08 Merge commit '490998275cbdc5ff032d4a39794bf850f4bfefec'
470f69f Add neovim 'auto-session' plugin setup
d3a67ab Add minimal readme to my neovim configuration
f79bc54 Add minimal readme to my neovim configuration
4fe60cf Remove neovim lazy load related config
211da54 Fall back to 'paq.nvim' only when not on 'nixCats'
b6d3015 Add 'nixCatsUtils' from 'nixCats'
139089f Add neovim packages to 'nixCats' flake
a54e745 Add minimal 'nixCats' flake template
6e48621 Link NixOS repo in dotfiles repository

git-subtree-dir: dots
git-subtree-split: 24ce8f39af
2025-10-20 23:59:27 +02:00
24ce8f39af Migrate '.vim/plugin' to neovim 2025-10-20 23:57:01 +02:00
e3d9612e57 Remove vim yin/yang colorschemes 2025-10-20 23:57:01 +02:00
05986a30bb Migrate '.vim/ftplugin' to neovim 2025-10-20 23:57:01 +02:00
05bc2ec59e Migrate vim snippets to neovim (LuaSnip) 2025-10-20 23:57:01 +02:00
128ae8ed1e Migrate '.vim/ftdetect/prolog' to neovim 2025-10-20 23:57:01 +02:00
f3188f7b4b Migrate '.vim/after/syntax' to neovim 2025-10-20 23:57:01 +02:00
85d56f97d1 Migrate vim init config to neovim 2025-10-20 23:57:01 +02:00
afca2cae5d Migrate '.vim/after' to neovim 2025-10-20 23:57:01 +02:00
d6875c97d9 Add 'eslint_d' PID to 'nvim-lint' config 2025-10-16 12:14:15 +02:00
568e45f59b Remove jira aliases 2025-10-16 12:08:22 +02:00
78fa170e7a Disable 'xdg-user-dirs' by default 2025-10-16 11:56:18 +02:00
5216f7938b Alias bash 'history' command to 'h' 2025-10-16 11:56:18 +02:00
9382d57565 Fix Iosevka font in NixOS 2025-10-15 23:23:58 +02:00
0f29dc3054 Add neovim dependencies to flake 2025-10-15 22:48:09 +02:00
860b66c71f Add neovim dependencies to flake 2025-10-15 22:48:09 +02:00
c901a1cea4 test 2025-10-15 22:25:28 +02:00
cac4b7641c test 2025-10-15 22:25:28 +02:00
9b153e7628 Merge commit '6113c086eb3e642f3fe991b2227b654f0a9b80a1' 2025-10-15 22:21:14 +02:00
6113c086eb Merge commit '490998275cbdc5ff032d4a39794bf850f4bfefec' 2025-10-15 22:18:59 +02:00
470f69fada Add neovim 'auto-session' plugin setup 2025-10-15 22:17:56 +02:00
33c8355ad1 Lock flake 2025-10-15 21:27:59 +02:00
d3a67ab58d Add minimal readme to my neovim configuration 2025-10-15 21:26:56 +02:00
04d9977747 Add minimal readme to my neovim configuration 2025-10-15 21:26:56 +02:00
f79bc5427d Add minimal readme to my neovim configuration 2025-10-15 21:19:22 +02:00
4fe60cf861 Remove neovim lazy load related config 2025-10-15 20:50:58 +02:00
52bf665774 Remove neovim lazy load related config 2025-10-15 20:50:58 +02:00
211da54bcf Fall back to 'paq.nvim' only when not on 'nixCats' 2025-10-15 20:38:39 +02:00
4f011cf8ef Fall back to 'paq.nvim' only when not on 'nixCats' 2025-10-15 20:38:39 +02:00
b6d3015559 Add 'nixCatsUtils' from 'nixCats' 2025-10-15 20:15:43 +02:00
1b57185b72 Add 'nixCatsUtils' from 'nixCats' 2025-10-15 20:15:43 +02:00
a3437b04e8 Source kitty configuration in home manager 2025-10-15 19:45:01 +02:00
59e4821b4c Add 'nixCats' neovim flake to NixOS flake 2025-10-14 22:59:24 +02:00
139089fc9d Add neovim packages to 'nixCats' flake 2025-10-14 22:03:49 +02:00
9a4c8df398 Add neovim packages to 'nixCats' flake 2025-10-14 22:03:49 +02:00
a54e745190 Add minimal 'nixCats' flake template 2025-10-13 21:59:58 +02:00
7c36539033 Add minimal 'nixCats' flake template 2025-10-13 21:59:58 +02:00
b25fc9a2b8 Source relevant '.bashrc.d/*' files in NixOS home manager 2025-10-05 19:56:38 +02:00
7bbd0dd8a8 Simplify NixOS fzf configuration 2025-10-05 19:56:38 +02:00
07e4669bb8 Update disko virtual machine configuration 2025-10-05 19:56:38 +02:00
203665a051 Migrate 'dots/.bashrc' fzf config to NixOS home manager 2025-10-05 19:56:38 +02:00
431fa046be Add packages from 'dots/.bin/setup' 2025-10-05 19:56:38 +02:00
83464117ae Move packages into host's 'home.nix' 2025-10-05 19:56:38 +02:00
c8cf7aa5ca Refactor 2025-10-05 19:56:38 +02:00
0ad84eed45 Move home manager config into host's 'home.nix' 2025-10-05 19:56:38 +02:00
811388006f Format nix files using 'nixfmt' 2025-10-05 19:56:38 +02:00
fc7e346f1e Ignore 'nixos-efi-vars.fd' (output from building vm) 2025-10-05 13:39:16 +02:00
0da72e9513 Update NixOS readme 2025-10-05 13:39:16 +02:00
749bd75992 Use disko 'single-disk-ext4' template for vm host 2025-10-05 13:39:16 +02:00
54b228381d Add 'kitty' package 2025-10-05 12:31:24 +02:00
ee62f092e5 Update readme 2025-10-05 12:31:24 +02:00
6007760092 Add 'networking.hostId' (required for ZFS) 2025-10-05 12:31:24 +02:00
f8fddbba14 Fix ZFS issue with virtual disks (https://discourse.nixos.org/t/zfs-with-disko-faluire-to-import-zfs-pool/61988/3) 2025-10-05 12:31:24 +02:00
f824649f85 Fix inputrc path 2025-10-05 12:31:24 +02:00
c4fe75a1b9 Set up disko zfs encrypted root for 'vm' host 2025-10-05 12:31:24 +02:00
bfa17953a8 Use an easy (though insecure) initial password (for testing) 2025-10-04 21:25:32 +02:00
c36b202d4e Modularize NixOS 'vm' configuration 2025-10-04 21:25:11 +02:00
ca8cfd7deb Use 'systemd-boot' bootloader instead of GRUB 2025-10-04 20:52:07 +02:00
b69140605c Update NixOS networking configuration 2025-10-04 20:52:07 +02:00
70363bdc48 Fix SSH daemon not starting 2025-10-04 20:17:05 +02:00
f8169a8438 Source 'dots/.inputrc' 2025-10-04 19:07:02 +02:00
85f81e61e2 Switch from gnome to XMonad (config from dots) 2025-10-04 19:06:01 +02:00
6e48621275 Link NixOS repo in dotfiles repository 2025-10-04 18:33:55 +02:00
8a0e1758de Link NixOS repo in dotfiles repository 2025-10-04 18:33:55 +02:00
626bdc79bf Add 'dots/' from commit 'f64b634dd8fbb2c8a2898c3b9d0acc9452e4d966'
git-subtree-dir: dots
git-subtree-mainline: 2ad98cde17
git-subtree-split: f64b634dd8
2025-10-04 18:28:04 +02:00
f64b634dd8 Remove absolute path from github credential helper 2025-10-04 18:03:55 +02:00
2ad98cde17 Defined systemd 'sshd.service' configuration 2025-10-04 17:13:23 +02:00
a4bcea8834 Define nixGL with wrapper 2025-10-03 23:42:39 +02:00
ec1a76dff1 Remove redundant vim JS/TS plugins (as migrated to nvim) 2025-10-03 23:42:39 +02:00
6c2c452fac Extend 'ftdetect.lua' for tsconfig and dotenv files 2025-10-03 23:42:39 +02:00
6ed4de0b11 Migrate vim vscode jsonc filetype detection to nvim 2025-10-03 23:42:39 +02:00
58df131415 Remove 'tpope/vim-commentary' and use nvim commenting (see ':h commenting') 2025-10-03 23:42:39 +02:00
46e7625928 Modularize nix packages into 'packages.nix' 2025-10-03 23:42:39 +02:00
fe5ebec536 Set up nix with home manager (only work host for now) 2025-10-03 23:42:39 +02:00
20914d33c7 Replace 'alacritty' with 'kitty' 2025-10-03 23:42:19 +02:00
060f6a2f83 Add kitty configuration 2025-10-03 23:33:16 +02:00
e36012e0d6 Update tmux themes to be more consistent 2025-10-03 23:30:48 +02:00
f4a17dc0c8 Add zenwritten tmux themes (from zenwritten.nvim) 2025-10-03 23:19:49 +02:00
2f29d940f2 Add zenwritten kitty themes (from zenwritten.nvim) 2025-10-03 23:19:27 +02:00
4bdbfa0c0d Add 'ip' bash aliases 2025-07-12 18:14:26 +02:00
ee49296d41 Clean bash aliases (remove unused) 2025-07-12 18:14:01 +02:00
e35cf075bf Extract JavaScript aliases to '~/.bash_aliases/js' 2025-07-12 18:10:50 +02:00
05ee0bf5f1 Add 'sshconfig' host snippet 2025-06-28 14:02:05 +02:00
46543f4eb8 Add taskwarrior 'sync.example' 2025-06-28 13:54:33 +02:00
058dc4107c Replace 'gitblame.nvim' with 'gitsigns.nvim' 2025-06-28 13:46:57 +02:00
b8953fc74a Add ripgrep pcakage to 'setup' script (dependency for nvim) 2025-06-27 19:34:20 +02:00
b64d22e114 Remove 'whoamip' script 2025-06-27 19:33:55 +02:00
0a50cd90b3 Hide prettier errors 2025-06-27 19:31:33 +02:00
4dbeaccf51 Use 'stop_after_first' for prettier in 'conform.nvim' 2025-06-27 19:29:59 +02:00
df7d2aca6b Support 'helm' yaml files 2025-06-27 19:28:36 +02:00
6b350ab1dd Automate selecting jira tickets in 'git-cb' script 2025-06-20 15:11:25 +02:00
b53f1ee586 Add 'git-cb' script 2025-06-20 15:03:58 +02:00
bd4133d5e5 Source jira aliases if installed 2025-06-20 13:58:29 +02:00
78e6695782 Add global yamllint config 2025-06-19 11:46:12 +02:00
33542630d5 Add alacritty zenwritten themes 2025-06-16 21:16:22 +02:00
7c44c1cd4e Configure tridactyl search bindings 2025-06-06 20:40:08 +02:00
bc62524451 Add 'tridactylrc' 2025-06-06 20:25:35 +02:00
e70f6f6a5f Remove 'nvm' from bashrc (using 'mise' now) 2025-06-06 19:54:24 +02:00
55306b1d6f Add commented out nvim options 2025-06-05 20:23:39 +02:00
b5b48016ef Improve 'save-passwddb' script 2025-06-05 20:14:47 +02:00
6760db72c5 Fix and simplify 'nvm' setup 2025-05-27 23:20:23 +02:00
28f6655e2e Add 'xclip' package to '~/.bin/setup' 2025-05-27 21:29:38 +02:00
09288ce752 Migrate 'unblevable/quick-scope' to nvim 'jinh0/eyeliner' 2025-05-15 18:22:08 +02:00
5afe069edf Fix 'image.nvim' plugin warnings 2025-05-15 18:09:50 +02:00
22e23ba416 Migrate pandoc 'AnkiDeck' function to neovim 2025-05-15 18:09:50 +02:00
5b08b04332 Migrate 'fzf.vim' to neovim 'fzf-lua' 2025-05-15 18:09:37 +02:00
90725931a7 Remove telescope and dressing 2025-05-15 16:30:21 +02:00
9e3b784168 Modularize ssh config 2025-05-15 10:28:58 +02:00
1bb976d442 Set up neovim AI plugins (for test run) 2025-05-10 22:56:19 +02:00
37a05500bf refactor: use explicit executable check for zk command 2025-05-09 22:22:01 +02:00
e8962144e5 fix: improve zk command check and error handling 2025-05-09 22:21:15 +02:00
ae2a439c14 chore: update zk setup script prompts and execution 2025-05-09 22:21:08 +02:00
2c7f44ce16 feat: add prompt to run zk after setup 2025-05-09 22:16:27 +02:00
b58ff906e9 feat: add setup script for zettelkasten 2025-05-09 22:16:19 +02:00
8046bd1868 Add diagnostic config 2025-05-05 23:07:27 +02:00
800ae0cbde Add 'stylua' config 2025-05-05 23:06:22 +02:00
8f2787f439 Add/migrate some basic lua snippets 2025-05-05 23:06:00 +02:00
a76fd5cd62 Use smarter newline mapping for json filetype 2025-05-05 23:02:46 +02:00
e660a92443 Add neovim plugins (+configuration) 2025-05-05 22:51:56 +02:00
958883c21c Add nvim 'fzf-lua' plugin 2025-05-05 22:51:56 +02:00
fd11b48fa9 Set up nvim package manager 2025-05-05 22:51:56 +02:00
66714ab532 Add neovim keymaps 2025-05-05 22:51:55 +02:00
7fb822dbff Highlight nvim yanks 2025-05-01 17:01:30 +02:00
5e5d88a92a Detect '.lintstagedrc' filetype (json) 2025-05-01 17:01:01 +02:00
f6e525cf53 Add neovim keymaps 2025-05-01 16:59:35 +02:00
e5fe794c41 Move vim config to 'vim' module 2025-05-01 16:58:23 +02:00
d576a3f8e7 Add 'shellcheck=bash' and editor hints to bash config/aliases 2025-03-01 12:05:26 +01:00
7149917762 Switch terminal to kitty 2025-02-16 16:15:03 +01:00
5d2cb51aee Move XMonad calculator command to '.bin/calc' 2025-02-16 16:13:00 +01:00
c88c54b9ca Remove spawn zettelkasten XMonad keybinding 2025-02-16 16:08:51 +01:00
e36b04aaa7 Track tmux hooks fallback config 2025-02-06 09:28:09 +01:00
8adb4a2add Use 'local' for function arguments 2025-02-06 00:15:12 +01:00
4e928c2306 Extend automatic dotfiles setup 2025-02-05 23:18:10 +01:00
87bfdb5ba2 Add packages to setup 2025-02-05 23:17:55 +01:00
21208c1afa Update readme 2025-02-05 20:42:33 +01:00
80e381f62d Update tmux config 2025-02-05 20:34:13 +01:00
0307be8d2c Add 'gnome-setup' to 'setup' 2025-02-05 20:32:09 +01:00
a574645fa0 Update dotfiles setup 2025-02-05 20:11:42 +01:00
d463bd7432 Add worktree config alias 2025-02-05 19:48:28 +01:00
3f685d0753 Update Github CLI config 2025-02-05 19:48:11 +01:00
3e71764fd8 Configure alacritty window settings 2025-02-05 17:31:44 +01:00
3f5a4427c0 Clear gnome pinned apps on setup 2025-02-05 01:22:50 +01:00
e525ea0274 Add 'setup-gnome' script 2025-02-05 01:11:50 +01:00
a83d0fd28f Update 'setup' script 2025-02-05 00:31:41 +01:00
f858f7374b Add 'sb-wg' script 2025-01-28 19:25:56 +01:00
733b37de30 Remove redundant 'taskd' environment variables 2025-01-15 17:20:36 +01:00
b8694ba1c4 Remove wacom keybindings 2025-01-11 22:30:36 +01:00
999921b86b Map 'F10 to xrandr --auto 2025-01-11 22:30:08 +01:00
650e6fc247 Update gitignore 2025-01-11 15:52:40 +01:00
d20283c8f7 Improve '.bash_history' config 2025-01-11 15:48:24 +01:00
e385015238 Update alacritty config 2025-01-11 15:41:21 +01:00
82b780951d Split alacritty config 2025-01-11 15:34:53 +01:00
4ca7557e98 Use 'nvimdiff' as mergetool 2025-01-06 17:15:03 +01:00
454b80aa4e Remove autorandr config 2025-01-02 21:35:23 +01:00
e9ad41f94f Remove sketch (or wacom) scripts 2025-01-02 21:33:44 +01:00
d4ba22670a Refactor 'fzf-book' 2025-01-02 21:14:07 +01:00
7e10a1c39d Add pnpm config 2025-01-02 21:08:12 +01:00
5805c9093f Make 'ag' respect gitignore 2025-01-02 21:07:20 +01:00
ec0e06a805 Add git rebase aliases 2025-01-02 21:05:31 +01:00
b5365da6ca Remove default snippet comments 2025-01-02 21:01:31 +01:00
15f1227522 Source '~/.bash_completions' if it exists 2024-12-28 13:29:03 +01:00
1f192f94fa Use '.' instead of 'source' 2024-12-28 13:28:43 +01:00
04d44eb8dd Remove 'coc.nvim' plugin 2024-12-25 16:47:57 +01:00
849c7e97fa Use single key for interactive staging (git) 2024-12-25 16:47:57 +01:00
83437bd724 Update alacritty config 2024-12-23 21:11:53 +01:00
9e7524ce5e Migrate alacritty to toml 2024-12-23 20:51:32 +01:00
8d69407d71 Update xmonad statusbar(s) 2024-12-23 00:02:20 +01:00
2590f238df Update XMonad imports 2024-12-22 23:58:23 +01:00
6c8b99d375 Remove nix profile from path 2024-12-22 23:50:04 +01:00
1cdd9ecb81 Modify taskwarrior default report 2024-12-22 20:06:21 +01:00
7540945509 Extract taskwarrior aliases to own file 2024-12-22 20:06:00 +01:00
6d3ab7e6b9 Add taskwarrior 'z-arch' host config 2024-12-22 19:51:39 +01:00
3824bd663c Update taskwarrior config 2024-12-22 19:50:15 +01:00
f4b69ffd0a Remove ipython profile 2024-12-15 21:24:24 +01:00
799dd32950 Add codi shell wrapper 2024-12-15 13:39:39 +01:00
adc550b2ed Save X session errors 2024-12-14 17:55:03 +01:00
64b0958236 Only set 'SSH_AUTH_SOCK' out of ssh session 2024-12-14 17:51:45 +01:00
ae567ecb58 Source bash prompt 2024-12-14 17:39:29 +01:00
db5ca355b1 Add fold for aliases 2024-12-14 17:39:02 +01:00
3307434f30 Ignore shell check SC1091,SC1090 2024-12-14 17:14:24 +01:00
69d5463960 Add 'git commit --ammend' alias 2024-12-14 16:35:58 +01:00
8b893257af Add signing key to git config 2024-12-14 16:35:06 +01:00
a758946e82 Add npm and yarn checks 2024-12-14 16:34:07 +01:00
d9603c543c Update git aliases 2024-12-14 15:57:23 +01:00
e29e6e808c Disable git commit gpgsign 2024-12-14 15:51:50 +01:00
6b444e90e2 Add git worktree alias 2024-12-14 15:51:16 +01:00
171d56150d Migrate 'dmenu-trans' to rofi 2024-12-12 19:24:39 +01:00
fc08e2046b Add 'taskdeps' script 2024-12-07 20:31:53 +01:00
41c7740c0c Remove unused systemd user services 2024-10-08 20:37:57 +02:00
1dd6ac51ae Update wiki.vim config 2024-10-08 20:36:56 +02:00
2444cba1cb Update 'pandocCiteKey' syntax highlighting 2024-10-08 20:35:51 +02:00
02eab915e7 Fix 'GetContext' 2024-10-08 20:35:12 +02:00
e3517c8dc0 Allow remap for split mappings 2024-10-08 20:34:46 +02:00
06c90adb7c Add 'AnkiDeck' function 2024-10-08 20:34:26 +02:00
93a76e7940 Remove 'vim-obsession' plugin 2024-10-08 20:33:37 +02:00
d2ac9d3822 Update wiki file types 2024-10-08 20:30:38 +02:00
14b69eb0f8 Update quickscope.vim config 2024-10-08 20:29:05 +02:00
ce21e48fd7 Remove 'copilot.nvim' 2024-10-08 20:22:31 +02:00
e1f55bed1a Reorganize bash config 2024-09-29 11:41:29 +02:00
393e2c5db5 Move host-specific configuration 2024-09-29 11:38:47 +02:00
6cf696e1f6 Update bash editor configuration 2024-09-29 11:36:20 +02:00
78fafd18ee Update NeoVim VSCode mappings 2024-09-23 20:36:20 +02:00
ea4bb90bab Add neovim vscode config 2024-09-22 18:36:31 +02:00
620a5863a3 Organize vimrc 2024-09-22 16:27:17 +02:00
227944b184 Clean vimrc 2024-09-22 16:03:50 +02:00
8ed805dacf Fix guibg error 2024-09-22 14:13:51 +02:00
21e5d0ac86 Separate config into '.vim/plugins/' 2024-09-22 11:54:49 +00:00
0ce01efd46 Update colorscheme config 2024-09-22 11:54:49 +00:00
5a29b672a2 Add rofi keybindings to XMonad 2024-09-22 11:54:49 +00:00
2f4ed6cc51 Update password backup scripts 2024-09-22 11:54:49 +00:00
a6a85d1ea5 Update 'save-passwddb script'
Update `save-passwddb` script to use Proton drive instead of Google
drive. Also fixes an issue with too many files being included.
2024-09-22 11:54:49 +00:00
58478b9b15 Delete .vim/snips/.snippets 2024-09-22 11:41:30 +00:00
0fe4662551 Update taskwarrior sync setup 2024-09-13 14:17:00 +02:00
ed44636981 Use regex for filename basename snippet 2024-09-02 19:17:50 +02:00
72629f5b98 Update 'layoutHook' 2024-03-30 16:59:35 +01:00
e771a09fbe Add 'swallowEventHook' 2024-03-30 16:50:15 +01:00
b6ba9ab4ea Remove ShowWName stuff 2024-03-30 16:27:19 +01:00
09812befdc Add folds for hooks 2024-03-30 16:26:32 +01:00
f98b19f0b1 Add 'myHandleEventHook' 2024-03-30 16:21:22 +01:00
d2bf1ed9bd Add 'myModMask' 2024-03-30 16:17:43 +01:00
3795d10197 Organize imports 2024-03-30 16:15:35 +01:00
b0df672009 Fix deprecated 'dynamicPropertyChange' 2024-03-30 16:00:54 +01:00
42df25d5cc Update '.bash_profile' 2024-01-30 21:51:18 +01:00
ac066bb076 Add '1px border <color>' snippets 2024-01-30 21:48:10 +01:00
01842d8f1e Use polybar config 2024-01-30 15:54:02 +01:00
4b74af8b99 Update readme 2024-01-28 21:21:44 +01:00
28d1e36003 Update 'fzf-book' script 2024-01-28 21:21:33 +01:00
4708739c66 Update anki scripts 2024-01-28 21:20:49 +01:00
bb54ec3629 Remove 'prep-duration' argument 2024-01-28 21:20:21 +01:00
e9017047cd Update 'clear' argument 2024-01-28 21:20:05 +01:00
6aefd6bd92 Update pomo directory 2024-01-28 21:19:21 +01:00
71d8b33123 Update drive directory 2024-01-28 21:17:59 +01:00
93f223c1ec Update 'tmux-workspace' script 2024-01-28 20:34:43 +01:00
3d1fe7b173 Fix shellcheck warning 2024-01-28 20:33:29 +01:00
bab4c612f3 Remove 'get-displays' 2024-01-28 20:32:17 +01:00
16c87b6b4c Use rofi launcher 2024-01-28 20:27:45 +01:00
892ab35612 Update key bindings 2024-01-28 20:26:46 +01:00
958de4e03c Add 'zk' script 2024-01-26 12:27:41 +01:00
fade05a394 Update user-dirs 2024-01-26 12:19:17 +01:00
e11085ca91 Add section link snippet 2024-01-09 12:45:49 +01:00
4e625a45fa Update .gitignore 2024-01-03 19:39:59 +01:00
2793ac2349 Update 'shiftAndView' 2024-01-03 19:39:15 +01:00
2e29cb8292 Snap floating windows on drop 2024-01-03 18:58:31 +01:00
5e5c5464d3 Add quarto plugin 2024-01-02 21:35:56 +01:00
f52a222230 Extract 'wiki.vim' config 2023-12-30 13:30:48 +01:00
3801186f8b Extract 'md-img-paste.vim' config 2023-12-30 13:27:22 +01:00
e5a61705ee Update shebang snippets 2023-12-30 01:46:22 +01:00
d57cff1227 Update pandoc config 2023-12-21 22:41:32 +01:00
5b51c48ece Update fzf config 2023-12-21 22:40:04 +01:00
1ccfb2b8fe Update eslint & prettier config 2023-12-18 14:06:59 +01:00
0092d0793f Extract 'commentary' config 2023-12-18 14:03:51 +01:00
480d1d8434 Extract (& update) 'copilot' config 2023-12-18 14:03:08 +01:00
6190162e49 Extract 'sandwich' config 2023-12-18 14:01:24 +01:00
1c8afd0690 Move silver_searcher config 2023-12-18 13:57:05 +01:00
d6d23f913b Improve zettelkasten preview 2023-12-18 13:54:07 +01:00
24aeb3ffe3 Extract 'utils' config 2023-12-18 13:50:23 +01:00
1b62acfc80 Extract 'fold' config 2023-12-18 13:47:46 +01:00
ad20848d86 Extract 'netrw' config 2023-12-18 13:45:53 +01:00
8e468a30b8 Hack statusbar color theme update 2023-12-15 16:13:06 +01:00
08fb963ea7 Add polybar example config 2023-12-13 16:06:39 +01:00
371a373431 Untrack xournalpp config 2023-12-11 23:44:40 +01:00
12cf0754b6 Untrack blender config 2023-12-11 22:50:19 +01:00
07c99da684 Sign commits using gpg 2023-12-10 10:52:57 +01:00
7d10e4fda4 Move alacritty config to $XDG_CONFIG_HOME 2023-12-10 10:39:18 +01:00
9e71502574 Use example file for spotify config 2023-12-10 10:33:37 +01:00
4c5607d1ed Use nvimpager as pager 2023-12-10 01:08:12 +01:00
8c7cca7f62 Bind 'copy' to 'y' 2023-12-10 01:07:39 +01:00
df120d9fbb Fix clearing timer 2023-12-09 21:29:04 +01:00
07eec68706 Refactor 'pomo' script 2023-12-09 21:19:41 +01:00
41568b9bc6 Add module docstring 2023-12-09 20:48:54 +01:00
54f887f7d4 Save all KeePassXC databases 2023-12-09 20:39:04 +01:00
9297830bcf Replace 'init.vim' by 'init.lua' 2023-12-09 17:49:35 +01:00
d93fb7fb2a Export 'GOPATH' 2023-12-09 17:49:35 +01:00
37eeb40184 Use '<C-a>' for tmux prefix 2023-12-09 17:49:35 +01:00
4f0106ca03 Keep inputrc in default location (fix) 2023-12-09 17:49:35 +01:00
fcb1469297 Update screen temperature script 2023-11-21 13:57:28 +01:00
9ab374f38e Fix delete shortcut 2023-11-18 17:50:01 +01:00
hektor
6e091db8fa Update README.md 2023-11-18 17:43:15 +01:00
5a7df6bcd2 Use polybar 2023-11-18 17:35:16 +01:00
4849b64ea5 Add 'copy window to all workspaces' shortcuts 2023-11-18 17:26:46 +01:00
48681cfd4d Add basic ssh host backup script 2023-10-21 17:11:53 +02:00
0485edf197 Add 'fzf-ssh' script 2023-10-21 16:52:37 +02:00
0f8704bbb5 Use screen-temperature script 2023-09-12 12:45:01 +02:00
e8cad0a7a5 Fix shellcheck warnings 2023-08-30 17:03:37 +02:00
ea0ec29bce Update tmux path for config reload 2023-08-30 17:03:37 +02:00
3aa1900aa2 Update mpv config 2023-08-30 17:03:37 +02:00
378cd0c389 Update firefox config 2023-08-30 17:03:37 +02:00
734896b483 Update autorandr config 2023-08-30 17:03:37 +02:00
538b613185 Untrack atom config 2023-08-30 17:03:37 +02:00
47b036b046 Move inputrc to 'XDG_CONFIG_HOME' 2023-08-30 17:03:37 +02:00
741ef20266 Reopen zettelkasten to latest zettel 2023-08-30 17:03:37 +02:00
4f42ed7790 Remove 'sb-portfolio' 2023-08-30 17:03:37 +02:00
83f7ab9407 Add num_to_review 2023-08-30 17:03:37 +02:00
3bdbf82d37 Generalize 'sb-anki' to other taskbars 2023-08-30 17:03:37 +02:00
40236a9461 Update pomodoro script for xmobar 2023-08-30 17:03:37 +02:00
e95270dd80 Remove terminal launcher 2023-08-30 17:03:37 +02:00
95ef4cb016 Update 'fzf-book' script 2023-08-30 17:03:37 +02:00
19225b8920 Update 'documentation' 2023-08-30 17:03:37 +02:00
09abdbc57d Generalize 'sb-tasks' to other taskbars 2023-08-30 17:03:37 +02:00
12b1ad09f8 Trust bluetooth devices before connecting 2023-08-30 17:03:37 +02:00
ac3e2317f8 Update pandoc snippets 2023-08-30 01:15:29 +02:00
aaebf727d2 Comply with ISO 639-2/T 2023-08-17 12:36:18 +02:00
f867d5a969 Remove redundant micromamba config 2023-08-05 18:09:40 +02:00
5d15dcb287 Update bash aliases 2023-08-05 18:08:48 +02:00
17b1f076fa Add micromamba configuration 2023-08-02 17:12:37 +02:00
04d5e68961 Source private bashrc config 2023-08-02 17:09:16 +02:00
239d31a0a4 Add host-specific bashrc config 2023-08-02 17:06:28 +02:00
e042fdb10d Set editor to nvim 2023-08-02 16:58:55 +02:00
04196c3d3a Update '.bash_profile' 2023-08-02 16:58:08 +02:00
7460ab69e9 Simplify dual boot aliases 2023-08-02 16:54:35 +02:00
d45c8e7581 Make dual boot aliases host-specific 2023-08-02 16:50:58 +02:00
fadf35956c Source private bash aliases 2023-08-02 16:42:46 +02:00
061760a323 Make brightness alias host-specific 2023-08-02 16:40:27 +02:00
aabcc42279 Update gitignore 2023-08-02 16:35:16 +02:00
ccd8cd3ebe Update '.inputrc' 2023-08-02 16:33:25 +02:00
ff541ae8a9 Remove screen layout script (using autorandr) 2023-07-25 16:56:05 +02:00
d98ad07799 Update backup script 2023-07-12 20:52:51 +02:00
2e75dcd0bf Remove unused scripts 2023-06-12 00:30:09 +02:00
b0f5153229 Rename 'backup-home' to 'save-home' 2023-06-12 00:28:07 +02:00
57b6a468b1 Detect if password database is not present 2023-06-12 00:26:40 +02:00
1df3dd3042 Detect if password database is not present 2023-06-12 00:26:06 +02:00
5b4d9ec52b Detect if password database is not present 2023-06-12 00:25:20 +02:00
22fd72501d Track downloads path 2023-06-11 23:45:57 +02:00
ea6bc056a6 Track screenshot folder structure 2023-06-11 23:42:05 +02:00
acf2c0ae6e Update flameshot config 2023-06-11 23:39:31 +02:00
e1da112f78 Update (& move) coc.nvim config 2023-06-08 19:33:32 +02:00
165f3153dd Add XDG dir config 2023-06-08 19:33:32 +02:00
6263b601dc Add IPython config 2023-06-08 19:33:32 +02:00
4bd4bfe836 Fix workspace keybindings (screen off by one) 2023-06-08 18:49:05 +02:00
a1ae3dace9 Make date more informative 2023-06-04 15:21:59 +02:00
9636ca59fc Add SWNConfig 2023-06-04 15:21:33 +02:00
5a0b4ef2b8 Refactor 2023-06-04 15:20:52 +02:00
b60c8514b7 Update keybindings 2023-06-04 15:20:14 +02:00
bac32dfe10 Shift to workspace based on window name 2023-06-04 15:17:37 +02:00
14c80c96df Fix folds 2023-06-04 15:00:30 +02:00
31f45fdff8 Adapt layout to screen width 2023-06-04 14:49:51 +02:00
9da2a4c443 Update manageHook 2023-06-04 14:48:23 +02:00
9fcd70f47a Use named layouts 2023-06-02 22:22:42 +02:00
00defddeb7 Update statusbars for multiple screens 2023-06-02 22:21:03 +02:00
ca9e1b493b Add fold markers 2023-06-02 22:12:39 +02:00
edfe524ae2 Separate workspaces for separate screens 2023-05-22 18:26:17 +02:00
579af889fe Add readme 2023-05-21 19:52:13 +02:00
d0a84d7128 Untrack suckless tools 2023-05-21 19:47:49 +02:00
7254630c49 Update bash aliases 2023-05-21 19:38:42 +02:00
cdcaea7033 Dedicate folder for bash aliases 2023-05-21 19:35:20 +02:00
94fc0d8cdb Update bash aliases 2023-05-21 19:17:14 +02:00
3f588cabbc Add alias aliases 2023-05-21 19:16:51 +02:00
d80e8c1882 Update gh config 2023-05-21 19:14:47 +02:00
53fce1484f Bind <F8> to KeePassXC 2023-05-21 18:31:30 +02:00
0c3b73a13d Start albert from Xmonad 2023-05-21 18:31:30 +02:00
f2dcf1e0e5 Adjust window border width 2023-05-21 18:31:30 +02:00
d37404af0c Update manageHook 2023-05-21 18:31:30 +02:00
24952a74fd Update gitconfig 2023-05-21 18:31:30 +02:00
832620344f Add filename snippets for all filetypes 2023-05-20 21:13:25 +02:00
671c8e5575 Track (empty) .build directory 2023-05-20 12:16:00 +02:00
9cffe29fc7 Add shebang snippets 2023-05-20 10:30:45 +02:00
644114263d Add filename snippet 2023-05-19 19:39:18 +02:00
9ba5d6b192 Add codeblock snippets 2023-05-19 19:38:51 +02:00
fe5cd9f00d Add math mode snippets 2023-05-19 19:37:57 +02:00
bdb1444d01 Add math mode snippets 2023-05-19 19:35:07 +02:00
fba5adce5d Add tikzpicture snippet 2023-05-19 19:30:44 +02:00
37b61e4f07 Update xmobar scripts 2023-05-19 19:24:25 +02:00
a262f10268 Update '.resticexclude' 2023-05-19 18:59:03 +02:00
4aef6038ab Fix taskwarrior sync hook 2023-05-19 18:26:26 +02:00
e074d94e5f Update xbindkeys config 2023-05-19 17:28:16 +02:00
a79654571d Move xbindkeys config 2023-05-19 17:27:12 +02:00
bd08512516 Extract workspaces 2023-05-15 14:36:12 +02:00
90b9744d1c Update backup script 2023-05-15 14:06:39 +02:00
c43927140c Update bash aliases 2023-05-15 14:00:41 +02:00
df1540a182 Update path alias 2023-05-15 13:59:40 +02:00
71cb7ba0f2 Update anki deck script 2023-05-15 13:47:59 +02:00
ad0c4e684c Update XDG environment variables 2023-05-15 13:45:55 +02:00
39cf1a1529 Update cloze snippets 2023-05-15 13:43:37 +02:00
e1e520d365 Detect snippet math contexts 2023-05-15 13:41:06 +02:00
04ac5a609d Add pandoc html comment snippets 2023-05-15 13:38:13 +02:00
557959af9a Add micromamba alias 2023-05-15 13:37:29 +02:00
27aef5502d Update zk preview 2023-05-15 13:36:57 +02:00
765c6d907f Remove 'vim-markdown-composer' 2023-05-15 13:35:36 +02:00
eea103fff3 Update gitconfig 2023-05-12 21:08:31 +02:00
5b801ed608 Move comment highlighting to 'after/syntax' 2023-05-12 14:32:57 +02:00
77f58140a1 Merge branch 'master' of github.com:hektor/dots 2023-05-07 16:47:50 +02:00
be4ddc5a89 Update taskwarrior config 2023-05-05 20:31:42 +02:00
4eac165cb3 Update git config 2023-05-04 23:58:11 +02:00
82b6187cd6 Update xmonad config 2023-05-04 23:57:30 +02:00
a68cb91717 Update xmobar 2023-05-04 23:56:20 +02:00
75e78e97ed Add command for listing anki decks 2023-05-04 02:54:51 +02:00
fed7d836c3 Update npmrc 2023-05-01 15:56:35 +02:00
510fbf9ae8 Remove conda configuration 2023-05-01 15:55:07 +02:00
ed1045c2dc Use '.git' directory for dots 2023-05-01 15:35:18 +02:00
ead293ba46 Rename wiki to zk (zettelkasten) 2023-05-01 15:34:27 +02:00
5fd5686fd4 Untrack wiki files 2023-05-01 15:27:25 +02:00
8ce25ec22d Add zathura shortcuts 2023-05-01 15:16:22 +02:00
a70f933a3b Update wiki files 2023-05-01 15:13:20 +02:00
ffad2c3148 Update default applications 2023-04-30 18:25:06 +02:00
15267c6873 Update picom config 2023-04-30 18:24:15 +02:00
1eca37bd99 Update solaar config 2023-04-30 18:22:40 +02:00
3935cc4acc Update resticexclude 2023-04-30 18:22:06 +02:00
7213196244 Replace 'gitgutter' with 'coc-git' 2023-04-30 18:21:01 +02:00
a0937ca1f7 Remove conda config 2023-04-30 18:19:39 +02:00
ea84a25c47 Add example dotenv 2023-04-30 18:17:54 +02:00
0c8cc4f59c Remove submodule 2023-04-30 18:17:39 +02:00
0d1c569247 Move newsboat config 2023-04-29 19:06:46 +02:00
8d406a16c7 Update (pandoc) wiki config 2023-04-29 18:54:51 +02:00
e23ba43c46 Detect '.pl' files as prolog (instead of perl) 2023-04-29 17:50:30 +02:00
bf4780639c Conceal prolog operators 2023-04-29 17:48:11 +02:00
8dd31453b7 Update pandoc syntax 2023-04-29 17:47:53 +02:00
32545b5cb0 Auto cd into wiki 2023-04-29 17:45:05 +02:00
ef1643b0e9 Add 'sketch' script 2023-04-24 14:03:55 +02:00
8ed099ea91 Merge branch 'master' of github.com:hektor/dots 2023-04-24 13:40:28 +02:00
6f21f40c24 Use light theme 2023-04-24 13:39:06 +02:00
fbe6a409d5 Add xournal config 2023-04-24 13:34:27 +02:00
0cbab089bd Improve taskwarrior sync setup 2023-04-14 17:34:14 +02:00
f615055adb Update JS & TS config 2023-04-07 22:58:07 +02:00
488c8781ea Improve intellisense 2023-04-07 22:57:41 +02:00
581bf4cdff Update coc eslint & prettier config 2023-04-07 22:56:10 +02:00
d409ffb704 Improve R5RS S-expression sends 2023-04-07 22:53:27 +02:00
935c9f17cd Improve config reloading 2023-04-07 22:51:31 +02:00
934420d20a Update plugin config 2023-04-07 22:51:17 +02:00
0d5804a6ac Update mappings 2023-04-07 22:48:21 +02:00
ba34edd8ae Clean up functions 2023-04-07 22:47:48 +02:00
3b6f5d1315 Update fold config 2023-04-07 22:45:42 +02:00
6b236fee98 Update general config 2023-04-07 22:42:56 +02:00
fd3e34596a Update markdown (wiki) config 2023-04-07 22:21:22 +02:00
9de9ba4b49 Add 'better BibTeX' config 2023-03-21 23:21:49 +01:00
15f73d7e40 Update '.bashrc' 2023-03-12 13:18:14 +01:00
a7f58cfde9 Update '.bashrc' 2023-03-12 13:15:43 +01:00
0b7b0900af Merge branch 'master' of github.com:hektor/dots 2023-03-12 13:12:36 +01:00
74285bcabb Update bash aliases to nvim 2023-03-12 13:10:50 +01:00
e4fbda03b4 Configure coc bibtex 2023-03-12 13:09:45 +01:00
e6836424a8 Update fzf setup 2023-02-26 22:59:09 +00:00
0d68784dcc Merge 2023-02-26 22:56:09 +00:00
28a6f41585 Add os-specific fzf setup 2023-02-26 22:38:43 +00:00
f2c3f16a63 Handle 'non selections' 2022-12-02 13:27:32 +01:00
54b27b95b6 Add pacman scripts 2022-12-02 13:23:13 +01:00
9918dffc8a Add vim scripts 2022-12-02 13:22:21 +01:00
30443ccf9c Add xrandr helper scripts 2022-12-02 13:21:10 +01:00
3113852985 Merge branch 'master' of github.com:hektor/dots 2022-12-01 16:40:48 +01:00
6d3e472300 Detect & handle alternative boot managers 2022-12-01 16:38:19 +01:00
19e9241ac8 Update 'xmonad' config 2022-12-01 16:21:19 +01:00
01a3f64612 Update 'xmobar' config 2022-12-01 16:18:44 +01:00
671e9ed919 Update 'xmobar' config 2022-12-01 16:16:44 +01:00
75f5df5aed Update 'nvim' aliases 2022-12-01 16:13:46 +01:00
c48c6bdc7e Set up 'sandwich' plugin 2022-12-01 14:01:41 +01:00
9fc83c8ec7 Update 'coc' configuration 2022-12-01 13:57:54 +01:00
904fa53db0 Set up 'quick-scope' plugin 2022-12-01 13:54:13 +01:00
bd22e1ee57 Set up copilot 2022-12-01 13:51:29 +01:00
53dc02b4ca Update wiki plugin configuration 2022-11-27 23:24:25 +01:00
7bcb9066e7 Update wiki plugins 2022-11-27 23:12:07 +01:00
7eb0b110c6 Add nvim init.vim 2022-11-24 17:12:56 +01:00
c029b03198 Update alacritty colors 2022-11-24 15:24:29 +01:00
248451749a Update zathura config 2022-11-24 15:24:09 +01:00
98d4a7aa5d Merge branch 'master' of github.com:hektor/dots 2022-11-24 15:18:23 +01:00
85289c069f Add conda config 2022-11-24 15:16:31 +01:00
65c83c735b Add feh config 2022-11-18 14:42:34 +01:00
hektor
43f8be510e Update README.md 2022-11-17 22:26:57 +01:00
ef2ec77ac2 Swap layout images 2022-11-17 22:22:55 +01:00
b18f58c9c0 Update keyboard readme 2022-11-17 22:20:47 +01:00
25b6a66f06 Update layout 2022-11-17 22:16:52 +01:00
d1635ffd31 Update script to create script 2022-10-27 03:29:24 +02:00
a8c4805542 Add pacman helper script 2022-10-27 03:19:46 +02:00
0e69eb27bc Add script to add script 2022-10-27 03:18:56 +02:00
64d92013c1 Update pomodoro script 2022-10-25 21:30:00 +02:00
cac2e1a74e Update fzf scripts 2022-10-25 21:29:26 +02:00
23f6d6f1b4 Remove alarm script 2022-10-25 21:23:37 +02:00
3b65d5b69f Update cam script 2022-10-25 21:22:52 +02:00
6d33571083 Update removed keybindings 2022-10-25 21:17:06 +02:00
a719ec43b4 Update launcher 2022-10-25 21:16:21 +02:00
49d99bb759 Remove custom startupHook 2022-10-25 21:15:38 +02:00
e133985624 Update 'manageHook' 2022-10-25 21:15:15 +02:00
01e5b41bad Update layouts 2022-10-25 21:14:38 +02:00
31eb8d11ea Remove screen corner actions 2022-10-25 21:13:04 +02:00
7708fd74be Update xmobar configuration 2022-10-25 21:11:18 +02:00
ebbe1581e9 Organize xmonad imports 2022-10-25 21:09:32 +02:00
33e32fe515 Add nvm initialization 2022-10-25 20:57:14 +02:00
25348f79c1 Add nix package manager to path 2022-10-25 20:56:54 +02:00
7c073bb9e6 Add 'XDG_CONFIG_HOME' environment variable 2022-10-25 20:56:27 +02:00
759ee34f3b Improve fzf initialization 2022-10-25 20:56:01 +02:00
184f4fe0fc Update bash prompt 2022-10-25 20:54:33 +02:00
9856b53ef9 Add folds (markers) 2022-10-25 20:54:01 +02:00
b355d5a802 Add conda config 2022-10-24 18:13:56 +02:00
e502d0e66a Add flameshot config 2022-10-23 13:49:45 +02:00
3ba86b0303 Create fzf terminal launcher 2022-09-25 15:33:36 +02:00
c167030f09 Add layout keybindings 2022-09-24 16:18:46 +02:00
db4714086d Extend manageHook 2022-09-24 16:18:24 +02:00
668b4c7e27 Add magnifier keybindings 2022-09-24 16:18:01 +02:00
ba751e369f Hide borders for single windows 2022-09-24 16:17:14 +02:00
09a84cae23 Update anki cloze commands 2022-09-24 12:31:16 +02:00
632d135ccd Adjust pandoc syntax highlighting 2022-09-24 12:30:37 +02:00
28c110cd48 Update environment variables 2022-09-24 12:29:42 +02:00
09bcf2bac2 Update zathura config 2022-09-24 12:29:14 +02:00
e2aa7aaefb Update ssh key agent service 2022-09-24 12:28:50 +02:00
4733aef8d3 Update replace w/ '.html' filter 2022-09-24 12:28:05 +02:00
869eb017c4 Use 's' for subs 2022-09-24 12:25:46 +02:00
08092da5b2 Update mpv config 2022-09-24 12:25:34 +02:00
7c30f08072 Add custom osc 2022-09-24 12:25:22 +02:00
1bd6634180 Add keepass config 2022-09-24 12:21:46 +02:00
09ae83df18 Use unicode symbols for coc diagnostics 2022-09-24 11:30:02 +02:00
644169cf5a Update eslint prettier config 2022-09-24 11:29:07 +02:00
8f8a17733f Set up languageservers 2022-09-24 11:28:19 +02:00
8c555f9572 Update pandoc snippets 2022-09-24 11:26:42 +02:00
bfe331dfb9 Update resticexclude 2022-09-24 11:25:53 +02:00
830f64030e Remove color from date 2022-09-24 11:16:11 +02:00
cab1a08cc2 Update xinitrc 2022-09-24 11:15:56 +02:00
42f7b5e837 Adjust colorscheme 2022-09-24 11:15:33 +02:00
aef2880b8f Reduce number of workspaces 2022-09-24 11:15:13 +02:00
227597c4b1 Update xmobar configuration 2022-09-24 01:07:16 +02:00
8ffc997f99 Update xmonad configuration 2022-09-24 01:07:06 +02:00
7fd7f2d50d Update xinitrc 2022-09-23 00:47:20 +02:00
342caa641b Add xmonad configuration 2022-09-23 00:46:34 +02:00
c29ce57628 Update fzf book script 2022-09-22 20:46:42 +02:00
e9b0a6acd2 Refactor fzf fontnames script 2022-09-22 20:42:26 +02:00
8951c2e56b Update fzf book script 2022-09-22 20:42:04 +02:00
2ddd2ab219 Remove 2022-09-22 14:06:53 +02:00
902e1e1275 Update README 2022-09-22 14:05:59 +02:00
0c53b703f1 Add 'fzf' fontnames script 2022-09-22 13:53:21 +02:00
9a2145e2d1 Move atom config 2022-08-27 11:06:51 +02:00
4407e35765 Add firefox config setup script 2022-08-27 10:41:45 +02:00
2c1e4303ab Add firefox config 2022-08-27 10:27:27 +02:00
d48b4997c7 Remove old R5RS REPL support 2022-08-21 11:07:52 +02:00
0212c6e8d4 Add pandoc configuration 2022-08-21 10:57:03 +02:00
c1b034529d Add R5RS REPL mappings 2022-08-21 10:56:08 +02:00
e2f75347a1 Ignore cloze starts 2022-08-20 10:47:35 +02:00
b8070fbb8f Allow multidigit numbers 2022-08-20 10:41:20 +02:00
e0a71363b4 Extend sandwich for cloze notes 2022-08-20 10:40:06 +02:00
c4d2fa498c Render whitespace 2022-08-18 13:47:32 +02:00
d3cf2a4907 Allow extra characters 2022-08-16 15:23:59 +02:00
e547d0c01e Add cloze helpers 2022-08-16 15:23:18 +02:00
79fdb93a63 Extend pandoc-syntax 2022-08-16 10:48:45 +02:00
b2234aa463 Add lua filter for 'tikz' diagrams 2022-06-12 00:28:01 +02:00
4fbdacb859 Update pomodoro script (repeats) 2022-05-20 00:37:29 +02:00
6ec53feabc Update ncspot config 2022-05-16 20:58:52 +02:00
c5623458e8 Update 'resticexclude' 2022-05-16 11:50:05 +02:00
e06e00bd20 Update statusbar scripts 2022-05-16 11:39:33 +02:00
6639ec989a Increase editor font size 2022-05-16 11:39:14 +02:00
b31a2581b2 Update dwm shortcuts 2022-05-16 11:26:13 +02:00
97304834bc Add backup script 2022-05-16 11:22:12 +02:00
33fc3047fd Add 'rclone.conf' example 2022-05-16 11:21:34 +02:00
79a0496f5b Update 'gitconfig' 2022-05-16 00:26:56 +02:00
beb7eba90e Update pandoc filters 2022-05-15 14:35:22 +02:00
08667c1d6c Wait for 'xsetwacom' to find tablet 2022-05-14 15:45:42 +02:00
1a79bfe43d Add atom package list 2022-05-13 12:06:00 +02:00
37ef60107f Use instead of ./ (GNU linker) 2022-05-12 09:32:07 +02:00
6abdd0e8a7 Rearrange 2022-05-12 09:08:10 +02:00
be66a10a0a Move 'Block' struct to header file 2022-05-12 09:07:35 +02:00
c0fe3f2337 Add 'pipewire-pulse' config 2022-05-11 16:00:01 +02:00
f554791668 Rename pipeable notify-send 2022-05-11 14:24:20 +02:00
57ee1bf2fb Remove redundant brave wrapper 2022-05-11 14:19:29 +02:00
99c9e249e5 Remove redundant script (because PipeWire) 2022-05-11 14:18:24 +02:00
474f071cb9 Add 'fzf' bluetooth wrapper script 2022-05-11 14:01:06 +02:00
befa4239a5 Rename 'fzf' wrapper scripts 2022-05-11 14:00:08 +02:00
c2c7995ab5 Add 'fzf' wrapper scripts 2022-05-11 13:55:36 +02:00
1c6f0776e1 Automate KeepassXC database backup 2022-05-11 13:45:34 +02:00
5957aa3ed4 Update statusbar 2022-05-11 13:26:31 +02:00
a6876bb54e Add description 2022-05-11 12:34:22 +02:00
b4050ee797 Enforce some Anki discipline 2022-05-11 12:31:24 +02:00
41c0481191 Disable finger touch by default 2022-05-11 12:27:48 +02:00
331f04f73f Colorize battery statusbar script 2022-05-11 12:27:21 +02:00
77065ebe39 Drop localhost 2022-05-11 12:25:43 +02:00
3280f9f89b Add description 2022-05-11 12:25:20 +02:00
2e353fe4a8 Add pandoc snippets 2022-05-11 12:08:01 +02:00
daed5c79c5 Add 'LaTeX' snippets 2022-05-11 12:04:03 +02:00
c66ba56332 Add 'GLSL' snippets 2022-05-11 12:02:42 +02:00
8494ebb03c Update README 2022-05-11 11:59:14 +02:00
13869571b5 Add vortex core layout 2022-05-11 11:57:04 +02:00
f9ec2f327c Add 'geoclue' systemd user service 2022-05-11 11:31:20 +02:00
b7aa2e8294 Add 'ssh-agent' systemd user service 2022-05-11 11:23:10 +02:00
2d5b7eed82 Add 'wacom' systemd user service 2022-05-11 11:22:59 +02:00
7ca492c053 Add tmux systemd user service 2022-05-11 11:22:43 +02:00
8ef636b986 Run xbindkeys on startup 2022-05-11 01:19:26 +02:00
2594397c92 Add Jupyter directory environment variable 2022-05-11 01:17:33 +02:00
c3840e1edc Update 'fzf' configuration 2022-05-11 01:16:28 +02:00
89f2087c8b Update comments 2022-05-11 01:15:26 +02:00
cc6504f993 Add R5RS REPL support 2022-05-11 01:13:54 +02:00
baa699d31d Add 'coc-clangd' extension 2022-05-11 01:03:16 +02:00
c8f4f34f50 Add 'JSONC' support 2022-05-11 01:02:08 +02:00
14cb3ebde6 Remove slimv plugin 2022-05-11 00:57:52 +02:00
7f7b6ee45c Add 'Man' command 2022-05-11 00:56:39 +02:00
4859fdb5a9 Update vim functions 2022-05-11 00:56:13 +02:00
dd49fb4806 Remove slimv configuration 2022-05-11 00:50:43 +02:00
89a5fcbebf Update pandoc Makefile 2022-05-11 00:45:53 +02:00
fce3115e80 Map wacom key for screenshots 2022-05-11 00:44:26 +02:00
7a50e8911e Update bash aliases 2022-05-11 00:43:33 +02:00
8d91701fd0 Limit spotify cache 2022-05-11 00:23:22 +02:00
2a6437a212 Add pomodoro python script 2022-05-04 15:41:07 +02:00
df9bee20a2 Add statusbar colors 2022-04-30 18:57:28 +02:00
69ad8cd996 Add script to convert JSON to YAML 2022-02-06 16:22:14 +01:00
3dbd014b33 Make redshift gene 2022-02-03 17:50:51 +01:00
f6e5e982c6 Set fixed cursor size 2022-02-03 17:50:11 +01:00
afba1dbfac Remove custom gtk styling 2022-01-27 11:12:53 +01:00
5e171b1bb7 Drop mpv's screenshot keybindings 2022-01-27 11:10:31 +01:00
9f6dbca9b7 Remove color support setting 2022-01-27 11:08:26 +01:00
654be89d00 Add wacom mappings 2022-01-27 11:08:01 +01:00
a7853fdfb4 Add fzf completion trigger 2022-01-27 11:06:32 +01:00
65106d0c95 Add wiki alias 2022-01-27 11:05:36 +01:00
ed40b186c9 Update 'set-wacom-draw-area' script 2022-01-27 11:04:52 +01:00
6ebc4adccb Add 'gh' config 2022-01-26 11:59:34 +01:00
7e5c51d531 Rename bash alias file 2022-01-18 13:17:26 +01:00
946066c9d4 Move X11 config 2022-01-07 03:14:30 +01:00
6b78636e1a Move X11 config 2022-01-07 03:14:05 +01:00
8cb5ed0cee Move tmux config 2022-01-07 02:51:02 +01:00
e8fc0133f4 Add tmux 'workspace' setup script 2021-12-31 16:19:17 +01:00
ab7be0cc19 Add README.md 2021-12-31 16:17:58 +01:00
766c63824c Update dmenu scripts 2021-12-31 16:07:38 +01:00
749fd7b3ac Add dmenu bluetooth menu 2021-12-31 16:04:23 +01:00
0c0a7e6672 Open devdocs offline 2021-12-31 16:03:46 +01:00
4c42f09f96 List connected bluetooth audio devices 2021-12-31 16:02:58 +01:00
7da5acc4d3 Add battery level script 2021-12-31 16:01:55 +01:00
54cc883f83 Add webcam script 2021-12-31 16:01:19 +01:00
7ef59d6b09 Rename wiki helper 2021-12-31 15:59:34 +01:00
38297b3d39 Add jack bluetooth audio script 2021-12-31 15:56:43 +01:00
da4e51e979 Add alarm script (wip) 2021-12-31 15:55:37 +01:00
e5208f0eba Add a setup (wip) 2021-12-31 15:55:07 +01:00
7fa1ab5aac Update dunst config 2021-12-31 15:49:52 +01:00
60a2371f07 Add readme 2021-12-31 15:49:18 +01:00
83a9e15c9c Update atom config 2021-12-31 15:47:04 +01:00
90fce747c0 Update alacritty config 2021-12-31 15:43:45 +01:00
54cc2af949 Update coc config 2021-12-31 15:43:27 +01:00
ce6041c9b8 Remove brave flags file 2021-12-31 15:42:26 +01:00
ab7fe1a319 Replace 'brave-launcher' script 2021-12-31 15:41:19 +01:00
98e15f8412 Quote variable 2021-12-31 12:48:10 +01:00
8a97378bd4 Update zathura config 2021-12-31 12:47:19 +01:00
f064e747fd Place all images in 'img' folder 2021-12-31 12:45:29 +01:00
d02ff6c973 Update inputrc 2021-12-31 12:45:04 +01:00
8a0758571d Minimise bash history 2021-12-31 12:44:28 +01:00
97c19190a9 Update bash aliases 2021-12-31 12:43:40 +01:00
5cd6530419 Update .npmrc 2021-12-31 12:38:19 +01:00
dd76fc23f7 Remove local '.gitignore's 2021-12-21 00:47:34 +01:00
ae5e22d3a5 Update '.gitignore' 2021-12-21 00:45:53 +01:00
392297f508 Add general script for creating markdown index files 2021-12-05 12:59:22 +01:00
b85e56a3b3 Fix title linebreak 2021-12-04 17:48:36 +01:00
0a491b554c Add wiki script 2021-12-04 17:44:36 +01:00
a511810052 Update tmux config 2021-11-28 17:53:17 +01:00
26a83a8ae8 Add pandoc '<br/>' filter 2021-11-28 17:51:29 +01:00
b07e7a7daa Update dwmblocks 2021-11-28 17:47:17 +01:00
42d7f53ac8 Update vim color scheme 2021-11-28 17:46:18 +01:00
cc1ee83f20 Update vimwiki directory 2021-11-28 17:46:02 +01:00
8789e41a94 Remove unused scripts 2021-11-28 17:44:25 +01:00
13c6a3568c Remove newsboat urls 2021-11-28 17:42:46 +01:00
45193f0f85 Update wacom draw area script 2021-11-28 17:42:21 +01:00
48ee2ca7fd Use compositor 2021-11-28 17:40:18 +01:00
a7c2b9da6f Automatically start redshift 2021-11-28 17:40:04 +01:00
8c82d5334d Automatically start X 2021-11-28 17:39:26 +01:00
eab043862e Move taskrc to config directory 2021-11-28 17:37:41 +01:00
2fd0c5479a Add script to remove './' in markdown links 2021-09-28 19:38:29 +02:00
fdf721c2b6 Add script to count json objects 2021-09-28 16:22:21 +02:00
07fbefb40e Update gitconfig 2021-09-17 14:27:51 +02:00
577bb10fdc Add 'restore --staged' alias 2021-09-17 14:21:03 +02:00
20d6a92930 Remove unused aliases 2021-09-17 14:20:10 +02:00
ab35820b2f Adjust git colors 2021-09-17 14:13:37 +02:00
e1a7513d76 Rename command for listing aliases 2021-09-17 13:58:42 +02:00
1ff2ae51aa Add 'log' config 2021-09-17 13:54:43 +02:00
ea63636ad1 Add alacritty config 2021-08-31 14:34:35 +02:00
4681b3d3d1 Update tag names 2021-08-31 14:33:56 +02:00
2a3dd96c50 Update ncspot color scheme 2021-08-31 14:33:02 +02:00
90eb486e57 Update .xinitrc 2021-08-31 14:30:17 +02:00
249efa7942 Add 'XDG_SESSION_TYPE' 2021-08-31 14:28:30 +02:00
defbf9bbf7 Update nvm loading 2021-08-31 14:28:09 +02:00
ac3c187818 Update 'ls' aliases 2021-08-31 14:25:24 +02:00
b73af8076d Add fzf colors 2021-08-31 14:23:54 +02:00
cef617928a Update coc settings 2021-08-31 14:23:13 +02:00
92aeb5d195 Update vim markdown & latex 2021-08-31 14:22:15 +02:00
497261b48b Update fzf plug setup 2021-08-31 14:19:18 +02:00
e592675a68 Open html version of current file in browser 2021-08-31 14:17:26 +02:00
ed2383c0ee Add function to toggle conceal 2021-08-31 14:15:23 +02:00
c6f6d7304c Enable autoread 2021-08-31 14:14:50 +02:00
53fddd1195 Adjust conceal settings 2021-08-31 14:14:25 +02:00
e572c5e0c8 Remove tmux aliases 2021-08-27 17:20:26 +02:00
aac242aca1 Adjust split separator colors 2021-08-23 21:34:43 +02:00
0f70ae28c4 Render ellipsis for nesting > 2 2021-08-23 17:13:38 +02:00
54266a5d59 Update wiki styling 2021-08-23 17:10:04 +02:00
f3f4fd1ef7 Update wiki Makefile 2021-08-23 17:08:52 +02:00
df74dc85af Update tmux config 2021-08-23 17:06:33 +02:00
Hektor Misplon
0dea47f81f Add 'lua filters' license 2021-05-24 11:33:05 +02:00
Hektor Misplon
30c15faaaf Remove lilypond html file 2021-05-23 15:24:39 +02:00
Hektor Misplon
ce2b54d9eb Add pandoc style file 2021-05-23 15:16:10 +02:00
Hektor Misplon
9e8d5422e7 Add wiki pandoc files (Makefile+filters) 2021-05-23 15:12:59 +02:00
Hektor Misplon
ea671c0be9 Add taskwarrior config 2021-05-19 11:55:44 +02:00
Hektor Misplon
5224246374 Add keyboard & headphone control bindings for ncspot 2021-05-17 14:10:31 +02:00
Hektor Misplon
46bc785e0a Customize color scheme 2021-05-05 22:05:40 +02:00
Hektor Misplon
3578e6af0d Update svelte snippets 2021-05-05 15:20:10 +02:00
Hektor Misplon
dea76213ff Replace color theme with 'yin-yang' colorscheme 2021-05-05 15:18:48 +02:00
Hektor Misplon
7b471c3ad5 Update zathura config 2021-05-05 15:17:06 +02:00
Hektor Misplon
8e1a68eefd Remove picom 2021-04-25 00:26:33 +02:00
Hektor Misplon
c207d16410 Pipe to xorg clipboard 2021-04-25 00:24:50 +02:00
Hektor Misplon
ffb424d220 Fix typo: bangshee->shebang 2021-04-25 00:18:45 +02:00
9a5d295009 Add 'scheme' conceals 2021-04-11 19:16:51 +02:00
d7839912be Add 'scheme' snippets 2021-04-11 19:14:30 +02:00
7d85a170a1 Add 'shebang' snippet 2021-04-11 19:13:52 +02:00
2ee5bf3184 Move 'svelte'-specific snippet 2021-04-11 19:13:21 +02:00
19380e20e9 Add 'svelte' snippets 2021-04-11 19:10:12 +02:00
2f865d174a Add 'css' snippets 2021-04-11 19:08:53 +02:00
27937b86af Add npm config 2021-04-04 21:24:45 +02:00
a01b8e883f Add JSON.stringify snippets 2021-03-28 10:40:58 +02:00
fc095d371c Use simpler bash prompt 2021-03-28 10:39:14 +02:00
f8f15baa4a Fix inline comments for keymaps 2021-03-28 10:37:23 +02:00
5b0a9b629b Remove unused settings 2021-03-10 18:06:32 +01:00
d10aa2e6d4 Update general vim settings 2021-03-10 18:06:07 +01:00
491f87e78c Muck out my vim config 2021-03-10 17:48:56 +01:00
78f42d5c70 Add autorandr 'docked with lid closed' preset 2021-03-03 17:57:21 +01:00
1093e2f027 Migrate st to version 8.4 2021-02-21 17:53:56 +01:00
fc0c03da7c Add ligature support 2021-02-21 17:52:46 +01:00
a3321c680c Apply scrollback patch 2021-02-21 17:44:15 +01:00
404defffdd Use vim-ish keybindings for scrollback 2021-02-21 17:42:38 +01:00
cb78fe1726 Remove config.def.h 2021-02-21 17:29:10 +01:00
015b0f4ab2 Upgrade st to 8.4 2021-02-21 17:22:18 +01:00
ed63a55488 Start xournalpp in floating mode 2021-02-21 15:28:55 +01:00
f33d20a35c Replace wacom-flip script with autorandr hook scripts 2021-02-20 16:15:18 +01:00
324dac29b4 Document wacom drawing area script 2021-02-20 16:11:47 +01:00
f8d8fd8291 Add vertical wacom drawing area script 2021-02-20 16:05:13 +01:00
3b1995f86f Tweak dwm color 2021-02-20 15:58:28 +01:00
11d61c7e96 Use named tag workflow 2021-02-20 15:57:01 +01:00
cef012fae9 Add autorandr config 2021-02-20 15:55:13 +01:00
7de30ddd9d Remove slstatus 2021-02-20 15:53:53 +01:00
e18e602b38 Remove redundant styling 2021-02-20 15:53:03 +01:00
8781a919ca Simplify git logs 2021-02-20 15:52:08 +01:00
14e44362d0 Adjust mouse sensitivity 2021-02-16 21:18:58 +01:00
1dd443f2e7 Update default applications 2021-02-16 21:18:37 +01:00
4690481623 Adjust dunst config 2021-02-16 21:17:10 +01:00
36d22ca86a Adjust navigation aliases 2021-02-16 21:15:23 +01:00
adecf2360d Adjust zathura colors 2021-02-16 21:13:59 +01:00
aa8acb7e61 Adjust zathura to best fit 2021-02-16 21:12:44 +01:00
99f38b7fcb Adjust terminal zoom keybindings 2021-02-16 21:10:32 +01:00
19b3c2b275 Use dwmblocks instead of slstatus 2021-02-16 21:08:44 +01:00
c038f58c48 Add dwm blocks 2021-02-16 21:08:10 +01:00
4081813b58 Use 'main' as default branch 2021-02-16 21:01:30 +01:00
aa7ec91357 Update email address 2021-02-16 21:01:05 +01:00
7c337c5066 Add blender theme 2021-02-16 20:59:00 +01:00
Hektor Misplon
54e0790a8a Run dmenu-run-history from dwm 2021-02-08 17:51:56 +01:00
Hektor Misplon
0037dd5840 Update default applications 2021-02-08 17:49:17 +01:00
Hektor Misplon
8fc9e34679 Add basic vim update script 2021-01-16 11:28:57 +01:00
Hektor Misplon
6147c0758a Add tiny script to notify from stdin 2021-01-09 14:32:30 +01:00
Hektor Misplon
c6b0ddc99b Add dmenu script for quick translating 2021-01-09 14:30:55 +01:00
Hektor Misplon
57d94676c4 Show all ip addresses without argument 2021-01-09 14:28:36 +01:00
Hektor Misplon
9484168207 Make cmdline readable 2021-01-09 01:05:44 +01:00
Hektor Misplon
0fb9450587 Conform dmenu border to dwm's 2021-01-08 22:32:50 +01:00
Hektor Misplon
ade1bdb3bd Make full width dmenu respect border width 2021-01-08 22:31:09 +01:00
Hektor Misplon
e84aeb901f Decrease dmenu 'size' 2021-01-08 22:28:32 +01:00
Hektor Misplon
afbb55170d Set default dmenu prompt 2021-01-08 22:26:53 +01:00
Hektor Misplon
5373c3a012 Use dmenu on bottom of screen 2021-01-08 22:23:32 +01:00
Hektor Misplon
5c2e79787f Adjust coloring 2020-12-20 15:41:35 +01:00
Hektor Misplon
52e2bba176 Adjust coloring 2020-12-20 15:41:21 +01:00
Hektor Misplon
7884543c52 Use hex shorthands 2020-12-20 15:41:10 +01:00
Hektor Misplon
94f9c061ac Update wacom script 2020-12-20 15:40:38 +01:00
Hektor Misplon
4d8b1187b9 Remove redundant css 2020-12-20 15:39:17 +01:00
Hektor Misplon
c24acb5f2e Add brightness control keybindings 2020-12-20 15:38:10 +01:00
Hektor Misplon
fa06db8b30 Remove hardtime plugin 2020-12-20 15:37:36 +01:00
Hektor Misplon
483135907c Use tmux style splits 2020-12-20 15:37:22 +01:00
Hektor Misplon
4bf2f4cde1 Add script to flip wacom controls 2020-12-17 13:32:02 +01:00
Hektor Misplon
942ea2825d Adjust ncspot colors 2020-12-12 14:18:34 +01:00
Hektor Misplon
9bac65e554 Remove 5 tags 2020-12-11 10:08:25 +01:00
Hektor Misplon
bc3f7c863a Only show border for active window 2020-12-11 10:07:58 +01:00
Hektor Misplon
76488e6072 Adjust default gap 2020-12-11 10:07:02 +01:00
Hektor Misplon
8505dc0694 Specify iosevka font 2020-12-11 10:06:35 +01:00
Hektor Misplon
b7745a21f8 Add keybindings 2020-12-11 10:05:49 +01:00
Hektor Misplon
2082bc2ea7 Clean bashrc 2020-12-10 19:40:55 +01:00
Hektor Misplon
1eb975686a Clean bashrc 2020-12-10 19:38:24 +01:00
Hektor Misplon
6ece16b2b1 Remove redundant file 2020-12-10 19:30:30 +01:00
Hektor Misplon
65d3bd2f83 Update commenter plugin config 2020-12-10 19:29:31 +01:00
Hektor Misplon
2f8df9de1e Add basic sct 'night time' wrapper 2020-12-10 18:37:27 +01:00
Hektor Misplon
f503c0ee72 Ignore object files 2020-12-10 15:21:02 +01:00
Hektor Misplon
72bb33136b Untrack object files & binarie 2020-12-10 15:19:51 +01:00
Hektor Misplon
cfaccb63ea Remove redundant statusbar items 2020-12-10 15:14:36 +01:00
Hektor Misplon
bc2e88a42c Use 1 second interval for statusbar 2020-12-10 15:14:06 +01:00
Hektor Misplon
6d9a7cab80 Add default applications 2020-12-10 15:13:05 +01:00
Hektor Misplon
6fbf72cc44 Fix indentation 2020-12-10 15:09:09 +01:00
Hektor Misplon
674d985479 Remove redundant file 2020-12-10 15:08:39 +01:00
Hektor Misplon
7e659cb293 Specify iosevka font 2020-12-10 15:06:53 +01:00
Hektor Misplon
53ce7d1222 Show tabs & trailing whitespaces 2020-12-10 15:04:57 +01:00
Hektor Misplon
7737f1c76c Replace nerdcommenter with vim-commentary 2020-12-10 15:04:23 +01:00
Hektor Misplon
d47e6c8b2a Use <nowait> for 'jj' mapped to escape 2020-12-10 15:03:54 +01:00
Hektor Misplon
45b134f81d Remove trailing whitespace 2020-12-10 15:03:05 +01:00
Hektor Misplon
52b056ee9d Adjust split bindings 2020-12-10 15:01:49 +01:00
Hektor Misplon
a38bca749e Use smaller timeout length 2020-12-10 14:59:15 +01:00
Hektor Misplon
9062ff38b3 Remove redundant vim settings 2020-12-10 14:57:19 +01:00
Hektor Misplon
7602ba703e Add function to get amount of tasks 2020-12-10 14:41:42 +01:00
Hektor Misplon
e700cd7889 Add startup applications 2020-12-10 14:34:54 +01:00
Hektor Misplon
1a4ab2c442 Use oneliner conditionals 2020-12-10 14:32:33 +01:00
Hektor Misplon
6e59747be7 Remove sclang config 2020-12-10 14:30:05 +01:00
Hektor Misplon
cb099d6db2 Remove redundant script 2020-12-10 14:27:34 +01:00
Hektor Misplon
6a39b3c3ed Use verbose flag for 'mv' and 'cp' 2020-12-10 14:26:33 +01:00
Hektor Misplon
1e6db5385a Add mpv controls 2020-12-10 14:24:53 +01:00
Hektor Misplon
a866c81b4d Add readline config 2020-12-09 23:42:22 +01:00
Hektor Misplon
041e4545ea Add aliases 2020-12-03 12:00:52 +01:00
Hektor Misplon
7d7e87379c Add gtk styling 2020-12-01 18:07:02 +01:00
Hektor Misplon
fa295336fe Hide top and bottom info 2020-11-22 00:39:47 +01:00
Hektor Misplon
a4fba3cd80 Adjust SuperDirt startup 2020-11-22 00:38:52 +01:00
Hektor Misplon
bb5c88ae81 Add keyboard layout 2020-11-21 17:38:20 +01:00
Hektor Misplon
ec4c7475d5 Add newsboat config 2020-11-21 02:13:20 +01:00
Hektor Misplon
6489cb8948 Track slstatus source files 2020-11-15 19:15:09 +01:00
Hektor Misplon
fa3d7bfaeb Update solaar config 2020-11-13 23:25:28 +01:00
Hektor Misplon
3a32d917b5 Adjust zathura selection colo 2020-11-13 23:25:00 +01:00
Hektor Misplon
811363f3a6 Fix shellcheck warnings 2020-11-13 23:22:53 +01:00
Hektor Misplon
b9d0500d4a Use high quality profile for mpv 2020-11-11 15:58:59 +01:00
Hektor Misplon
6621312f3f Update autostart 2020-11-10 17:14:52 +01:00
Hektor Misplon
d30870ae35 Adjust dunst location & style 2020-11-10 17:12:51 +01:00
Hektor Misplon
aa2206861c Add R5RS tmux script 2020-11-10 17:12:04 +01:00
Hektor Misplon
9107a5ca4a Add r5rs tmux (vim with repl) script 2020-11-02 18:10:08 +01:00
Hektor Misplon
ecc4e5b42f Rename r5rs to r5rs-repl 2020-11-02 18:09:18 +01:00
Hektor Misplon
ac079c48b3 Set slime tmux defaults 2020-11-02 18:06:59 +01:00
Hektor Misplon
9c5c991e83 Update gitconfig 2020-11-02 11:56:00 +01:00
Hektor Misplon
7443bb87d8 Add default options for fzf 2020-11-02 11:55:21 +01:00
Hektor Misplon
9fc59695d6 Add alias for R5RS repl 2020-11-02 11:54:51 +01:00
Hektor Misplon
f612897fb8 Setup vimtex with zathura 2020-11-02 11:54:10 +01:00
Hektor Misplon
72120e0ce8 Set up vim-slime for tmux 2020-11-02 11:53:18 +01:00
Hektor Misplon
abffd23bf9 Update vim config 2020-11-02 11:50:14 +01:00
Hektor Misplon
c4338c0b35 Add cleanup script 2020-11-01 15:58:45 +01:00
Hektor Misplon
6215fb974b Print pdf title from metadata 2020-11-01 15:57:59 +01:00
Hektor Misplon
b47a96a763 Use consistent shebangs 2020-11-01 15:57:10 +01:00
Hektor Misplon
7abc0840ab Replace screen layout scripts with menu 2020-11-01 15:53:41 +01:00
Hektor Misplon
41b7dd38f1 Add gtk+ settings 2020-11-01 15:42:01 +01:00
Hektor Misplon
6f9eb64a24 Add default application config 2020-11-01 15:35:15 +01:00
Hektor Misplon
9696d14d1c Remove binaries 2020-11-01 15:21:15 +01:00
Hektor Misplon
dde6f2f2f3 Adjust zathura config 2020-11-01 15:18:45 +01:00
Hektor Misplon
ef9a140fd6 Adjust zathura color scheme 2020-11-01 15:18:15 +01:00
Hektor Misplon
3e2dfe0322 Update solaar config 2020-11-01 15:16:55 +01:00
Hektor Misplon
c7a6fc34ff Remove sselp 2020-11-01 15:15:51 +01:00
Hektor Misplon
fe0a4a4f2f Adjust color scheme 2020-11-01 15:14:40 +01:00
Hektor Misplon
b451d165ac Adjust dunst colors 2020-11-01 15:12:42 +01:00
Hektor Misplon
2151c20dfc Use fzf keybindings 2020-11-01 15:12:15 +01:00
Hektor Misplon
d2b5a930ac Update bash config 2020-10-30 16:49:22 +01:00
Hektor Misplon
fc56152e80 Add aliases 2020-10-18 16:12:08 +02:00
Hektor Misplon
2b17e4bfc3 Update
whoamip
script
2020-10-18 16:09:16 +02:00
Hektor Misplon
14804af5dc Update color scheme 2020-10-06 18:02:03 +02:00
Hektor Misplon
b378919b1b Cache git credentials 2020-09-20 11:44:41 +02:00
Hektor Misplon
89d02f8fc4 Organize vim config 2020-09-19 22:07:29 +02:00
Hektor Misplon
287eef47a0 Get vim-svelte plugin from 'main' branch 2020-09-19 20:15:01 +02:00
Hektor Misplon
00875b06da Add vim-sandwich plugin 2020-09-19 20:14:11 +02:00
Hektor Misplon
895c518797 Update zathura config 2020-09-19 12:13:30 +02:00
Hektor Misplon
70471bf9dc Set atom editor font 2020-09-17 10:31:01 +02:00
Hektor Misplon
f2738b209d Use white cursor 2020-09-11 21:03:29 +02:00
Hektor Misplon
400c33c5fd Update atom config 2020-09-11 21:03:16 +02:00
Hektor Misplon
bcf5cb2d3b Resize splits 2020-09-11 21:02:21 +02:00
Hektor Misplon
7e59879095 Use printf instead of echo 2020-09-11 20:20:04 +02:00
Hektor Misplon
c80dcfaa97 Use strong quotes 2020-09-11 20:16:57 +02:00
Hektor Misplon
eaaa680071 Fix naked dollar sign 2020-09-11 20:16:35 +02:00
Hektor Misplon
6bfce1a6b9 Show charging status dynamically 2020-09-06 18:15:51 +02:00
Hektor Misplon
0e74499d16 Always open keypassxc on tag 9 2020-09-06 18:14:56 +02:00
Hektor Misplon
30af1155cc Add brave flags config 2020-09-06 00:19:21 +02:00
Hektor Misplon
f0767b4618 Add scripts 2020-09-06 00:18:31 +02:00
Hektor Misplon
52920558e5 Clean 2020-09-06 00:10:10 +02:00
Hektor Misplon
19344656c0 Add snippets 2020-09-06 00:09:25 +02:00
Hektor Misplon
17a31498c2 Add snippets directory 2020-09-06 00:09:16 +02:00
Hektor Misplon
57ae025225 Add coc-snippets 2020-09-05 23:19:23 +02:00
Hektor Misplon
532a328b15 Show number for cursor line 2020-09-05 15:08:34 +02:00
Hektor Misplon
cbe63b4c82 Merge branch 'master' of https://github.com/hektormisplon/dotfiles into master 2020-09-05 15:06:56 +02:00
Hektor Misplon
1191c29c16 Adjust zoom keybindings 2020-09-05 15:05:21 +02:00
Hektor Misplon
08476bc74d Adjust zoom keybindings 2020-09-05 14:59:09 +02:00
Hektor Misplon
015a77d69c Add colors 2020-09-05 14:52:28 +02:00
Hektor Misplon
842bb7fd0e Add atom hydra config 2020-08-28 10:03:45 +02:00
Hektor Misplon
bd598a8097 Colorize ip output 2020-08-18 18:22:50 +02:00
Hektor Misplon
0e079862b7 Increase history size 2020-08-18 18:20:58 +02:00
Hektor Misplon
bb6d3837e5 Update vimrc 2020-08-06 16:36:57 +02:00
Hektor Misplon
4ee03665c0 Adjust keybinding 2020-08-01 20:12:16 +02:00
Hektor Misplon
e1ee2c7df0 Adjust keybinding 2020-08-01 20:11:54 +02:00
Hektor Misplon
83a5a84cd8 Adjust colors 2020-07-28 20:32:11 +02:00
Hektor Misplon
53fbc57937 Adjust colors 2020-07-28 20:30:39 +02:00
Hektor Misplon
282ade689c Add subcommands 2020-07-03 17:55:45 +02:00
Hektor Misplon
77ebb9b9b9 Add reverse tethering command 2020-07-03 16:47:12 +02:00
Hektor Misplon
dc8e6e2ef4 Add svelte coc support 2020-07-02 15:51:01 +02:00
Hektor Misplon
d23b0267cd Add vscode config 2020-05-20 19:15:33 +00:00
Hektor Misplon
2695e64224 Add terminal keybinding 2020-05-20 19:14:07 +00:00
Hektor Misplon
3c5f08e6bb Disable javascript suggestion actions 2020-05-20 19:13:46 +00:00
Hektor Misplon
85cf630772 Adjust dmenu colors 2020-05-20 19:13:08 +00:00
Hektor Misplon
8e1a7b609e Autostart cadence 2020-05-13 22:38:59 +00:00
Hektor Misplon
36452de564 Configure svelte 2020-05-13 17:10:30 +00:00
Hektor Misplon
fbad53561b Adjust dwm colors 2020-05-13 17:09:15 +00:00
Hektor Misplon
b5aaba0b3e Update vim config 2020-05-13 17:08:38 +00:00
Hektor Misplon
3d78f2365d Add whoamip script to get ip 2020-05-13 17:07:44 +00:00
Hektor Misplon
29eb7e6b1b Check bat alias from script 2020-05-13 17:06:19 +00:00
Hektor Misplon
913d20e162 Lazyload nvm when used 2020-05-13 17:05:27 +00:00
Hektor Misplon
669a23b552 Configure fuzzy finder 2020-05-08 17:54:20 +00:00
Hektor Misplon
f8df9804df Adjust dunstrf 2020-05-08 17:00:52 +00:00
Hektor Misplon
3b9eb42c90 Add dunstrc 2020-05-08 16:58:13 +00:00
Hektor Misplon
2170ed92ea Match zathura to theme 2020-05-08 16:21:12 +00:00
Hektor Misplon
834088247b Remove PATH environment variable 2020-05-08 16:11:30 +00:00
Hektor Misplon
0a4b18f6ad Make scripts globally available 2020-05-08 16:08:53 +00:00
Hektor Misplon
5b47edb01b Add keybindings 2020-05-08 15:16:18 +00:00
Hektor Misplon
bd84e769f8 Add tidalcycles tmux startup script 2020-05-08 15:15:22 +00:00
Hektor Misplon
7c97aff7ce Start window numbers at 0 2020-05-08 14:17:15 +00:00
Hektor Misplon
16fd8d7a05 Adjust color scheme 2020-05-08 14:16:11 +00:00
Hektor Misplon
99fbf9413d Update vim config 2020-05-08 14:11:55 +00:00
Hektor Misplon
58e770a6d6 Update tmux conf 2020-05-08 00:22:49 +00:00
Hektor Misplon
7175943f46 Add default editor 2020-05-08 00:20:56 +00:00
Hektor Misplon
05d222ce88 Modify newterm command to shift-<cr> 2020-05-07 22:13:16 +00:00
Hektor Misplon
87a7b708ee Remove extra backup configs 2020-05-07 22:11:08 +00:00
Hektor Misplon
a6ed1c1f94 Convert to subfolder 2020-05-07 22:07:40 +00:00
Hektor Misplon
8793a6dd5c Add dwm error logging 2020-05-07 21:28:19 +00:00
Hektor Misplon
d95409eceb Increase font size 2020-05-07 21:26:43 +00:00
Hektor Misplon
18647900aa Add border 2020-05-07 21:21:44 +00:00
Hektor Misplon
a37700ee0e Add center patch 2020-05-07 21:10:33 +00:00
Hektor Misplon
261c14dd73 Add dmenu 2020-05-07 20:07:33 +00:00
Hektor Misplon
156c150e84 Add gitignore 2020-05-07 20:07:07 +00:00
Hektor Misplon
c0a77cf124 Update dmenu 2020-05-07 19:59:51 +00:00
Hektor Misplon
2ee3b5cd5c Adjust dmenu colors 2020-05-07 19:49:28 +00:00
Hektor Misplon
653824cfbf Remove bloat 2020-05-07 19:30:24 +00:00
Hektor Misplon
4cd919762e Update .gitignore 2020-05-07 19:29:15 +00:00
Hektor Misplon
7df62a07a7 Update gitignore 2020-05-07 19:25:28 +00:00
Hektor Misplon
58ceb6f09e Upgrade to st-8.3 2020-05-07 18:13:56 +00:00
Hektor Misplon
67b01c94b8 Add prompt icons 2020-05-07 18:12:19 +00:00
Hektor Misplon
4f7e452a8c Patch ligatures 2020-05-07 15:51:18 +00:00
Hektor Misplon
8a7e02d45d Make vim & tmux more consistent 2020-05-07 14:11:54 +00:00
Hektor Misplon
b83b08b6b0 Add tmux aliases 2020-05-07 14:08:53 +00:00
Hektor Misplon
9a1a4dd25d Add tmux config 2020-05-07 12:31:57 +00:00
Hektor Misplon
3df9f87899 Update vimrc 2020-05-07 12:18:36 +00:00
Hektor Misplon
89fc15a0fb Add vim-style keybindings 2020-05-07 01:39:04 +00:00
Hektor Misplon
df9f2ac36e Add software configs 2020-05-07 00:58:55 +00:00
Hektor Misplon
86955a700d Add xinitrc 2020-05-07 00:53:16 +00:00
Hektor Misplon
6f1490b6ea Convert to subfolder 2020-05-07 00:50:57 +00:00
Hektor Misplon
395e15ebe0 Update gitignore 2020-05-07 00:48:12 +00:00
Hektor Misplon
162c36d7c1 Add dwm as subfolder 2020-05-07 00:43:33 +00:00
Hektor Misplon
700f2012f0 Add suckless config 2020-05-07 00:26:42 +00:00
Hektor Misplon
3d28a719f1 Add coc settings 2020-05-07 00:23:37 +00:00
Hektor Misplon
0aaa47da1e Remove bloat 2020-05-07 00:22:35 +00:00
Hektor Misplon
924906a13f Update vim config 2020-05-07 00:11:41 +00:00
Hektor Misplon
2b26946eda Update bash config 2020-05-07 00:10:20 +00:00
Hektor Misplon
507653ddaf Add aliases 2020-05-07 00:09:35 +00:00
Hektor Misplon
632e4e3ef1 Update coc config 2020-05-07 00:06:53 +00:00
Hektor Misplon
020975d9e2 Update gitignore 2020-05-07 00:05:47 +00:00
Hektor Misplon
25145f1088 Apply pertag patch 2020-04-15 13:11:41 +00:00
Hektor Misplon
0e09197f09 Update vim config 2020-04-15 13:10:46 +00:00
Hektor Misplon
aa11fa196b Add aliases 2020-04-15 11:29:03 +00:00
Hektor Misplon
cce661642e Update vim plugins 2020-04-15 11:27:40 +00:00
Hektor Misplon
b0641436e5 Merge branch 'master' of github.com:hektormisplon/dotfiles 2020-04-09 15:08:51 +00:00
Hektor Misplon
d40abb39b2 Add battery details script 2020-04-09 15:08:28 +00:00
Hektor Misplon
3350f51bd6 Modify prompt 2020-04-08 19:22:00 +00:00
Hektor Misplon
32785830ee Make ls render vertically by default 2020-04-08 19:21:32 +00:00
Hektor Misplon
24c8c90aea Update suckless config 2020-04-08 19:20:42 +00:00
Hektor Misplon
ed0c3e9b5f Add dwm patches 2020-04-08 17:53:41 +00:00
Hektor Misplon
bb725bacff Update bash config 2020-04-08 17:52:42 +00:00
Hektor Misplon
e703689e06 Update README.md 2020-04-08 17:44:17 +00:00
Hektor Misplon
0f62c9e70f Add screenshot 2020-04-08 17:43:01 +00:00
Hektor Misplon
24746a6e13 Update coc extensions 2020-04-07 20:49:50 +00:00
Hektor Misplon
291296510b Add coc config 2020-04-07 20:42:16 +00:00
Hektor Misplon
d6d5c63fa6 Update gitignore 2020-04-07 20:25:12 +00:00
Hektor Misplon
0ba4b9bd52 Add bash config w/ aliases 2020-04-07 20:24:30 +00:00
Hektor Misplon
8efea7b12e Adjust typematic delay & rate 2020-03-19 13:30:26 +00:00
Hektor Misplon
6b70bbbe11 Update .vimrc 2020-03-19 13:28:07 +00:00
Hektor Misplon
b9a51abfa6 Add coc-emmet 2020-02-19 09:26:20 +00:00
Hektor Misplon
1f47f9070f Add aliases & color settings 2020-02-18 19:16:16 +00:00
Hektor Misplon
cb8190907b Add temp files 2020-02-18 19:15:16 +00:00
Hektor Misplon
1adea34281 Add global gitconfig & gitignore 2020-02-18 18:47:43 +00:00
Hektor Misplon
02ddec417e Fix permissions 2020-02-18 18:12:58 +00:00
Hektor Misplon
dbfc6e98e5 Add shebang & commenting 2020-02-18 18:08:47 +00:00
Hektor Misplon
a38c7e7379 Add centered master layout 2020-02-18 15:57:59 +00:00
Hektor Misplon
ca92caaaf3 Merge branch 'master' of github.com:hektormisplon/dotfiles 2020-02-18 14:16:34 +00:00
Hektor Misplon
0f74d83e33 Autstart X at login 2020-02-18 14:16:20 +00:00
Hektor Misplon
6f2c3306ac Add monitor helper 2020-02-17 22:08:02 +00:00
Hektor Misplon
b4da1ded4c Update README.md 2020-02-17 21:12:00 +00:00
Hektor Misplon
cbf6876f7b Update README.md 2020-02-17 21:11:46 +00:00
Hektor Misplon
0c9664eaaa Add xorg dualhead config 2020-02-17 20:33:28 +00:00
Hektor Misplon
18adadc60a Add X startup config 2020-02-17 20:25:20 +00:00
Hektor Misplon
a98c0e08ca Update coc config 2020-02-17 16:51:53 +00:00
Hektor Misplon
f1ff883096 Update vim config 2020-02-17 16:51:37 +00:00
Hektor Misplon
f048c146c5 Config prettier eslint integration 2020-02-17 16:29:40 +00:00
Hektor Misplon
c666fd7b0a Add vim-js plugin 2020-02-17 16:06:16 +00:00
Hektor Misplon
fc48847ecb Update vim config 2020-02-17 16:05:51 +00:00
Hektor Misplon
2000dcea1c Configure eslint & prettier 2020-02-17 16:04:51 +00:00
Hektor Misplon
6399a35aba Remove vim-prettier plugin 2020-02-17 16:03:40 +00:00
Hektor Misplon
9d81aa1479 Update coc.nvim 2020-02-17 16:02:34 +00:00
Hektor Misplon
5c5824f10b Configure prettier 2020-02-16 12:37:24 +00:00
Hektor Misplon
813d76e9de Add prettier 2020-02-16 12:22:47 +00:00
Hektor Misplon
2cb2f7e631 Add shortcuts 2020-02-16 12:15:17 +00:00
Hektor Misplon
a31375a756 Update vim settings 2020-02-16 11:41:12 +00:00
Hektor Misplon
2ad7258d03 Merge branch 'master' of github.com:hektormisplon/dotfiles 2020-02-16 09:27:56 +00:00
Hektor Misplon
90315ab61e Convert submodules to directories 2020-02-16 09:27:34 +00:00
Hektor Misplon
06a838e723 Update README.md 2020-02-16 08:19:32 +00:00
Hektor Misplon
56d1a37906 Create README.md 2020-02-16 08:16:47 +00:00
Hektor Misplon
d640ba3d34 Add suckless tools w/ config 2020-02-16 08:53:21 +00:00
Hektor Misplon
21a570e173 Add vim dotfiles 2020-02-16 08:45:55 +00:00
292 changed files with 13952 additions and 114 deletions

3
.gitignore vendored
View File

@@ -3,3 +3,6 @@
result
result-*
nixos-efi-vars.fd
home/hosts/work/packages.local.nix

View File

@@ -1,3 +1,15 @@
# nixos
# NixOS flake
My NixOS config
## Set up virtual machine ([`disko`](https://github.com/nix-community/disko/blob/master/docs/interactive-vm.md))
1. Build the virtual machine
```
nix build -L '.#nixosConfigurations.vm.config.system.build.vmWithDisko'
```
2. Run the virtual machine
```
./result/bin/disko-vm
```

View File

@@ -1,26 +0,0 @@
{ config, pkgs, ... }:
{
system.stateVersion = "25.05";
imports =
[
./modules/bootloader.nix
./modules/hardware-configuration.nix # Include the results of the hardware scan.
./modules/networking.nix
./modules/users.nix
./modules/audio.nix
./modules/printing.nix
./modules/localization.nix
./modules/x.nix
];
nix.settings.experimental-features = [ "nix-command" "flakes" ];
programs.git.enable = true;
programs.firefox.enable = true;
nixpkgs.config.allowUnfree = true;
environment.systemPackages = with pkgs; [ neovim ];
}

59
dots/.bash_aliases/all Normal file
View File

@@ -0,0 +1,59 @@
# shellcheck shell=bash
# vim: set ft=bash :
alias ..="cd .."
alias ls="ls --color=auto"
alias l="ls -1p"
alias ll="ls -lhp"
alias lt="ls -lhtp"
alias la="ls -lhap"
alias lta="ls -lhatp"
alias ldir="ls -dp" # list directories
alias grep="grep --color=auto"
alias rm="rm -I --preserve-root"
alias mv="mv -iv"
alias cp="cp -iv"
alias ln="ln -i"
alias mkdir="mkdir -pv"
alias chown="chown --preserve-root"
alias chmod="chmod --preserve-root"
alias chgrp="chgrp --preserve-root"
alias ip="ip --color"
alias ipa="ip -brief address"
alias ipl="ip -brief link"
alias ipr="ip route"
alias clip="xclip -sel clip"
alias df="df -kTh"
alias fzfpac="pacman -Slq | fzf -m --preview 'pacman -Si {1}' | xargs -ro sudo pacman -S"
alias path='echo -e ${PATH//:/\\n}' # Pretty print path variables
# Programs
alias h="history"
alias o="xdg-open"
alias v="nvim"
alias vf="fzf --bind 'enter:become(nvim {})'"
alias g='git'
alias k="kubectl"
alias t='task'
alias tsh='tasksh'
alias z='zathura --fork'
alias f='fzf'
alias fm='pcmanfm &>/dev/null &'
alias mm='micromamba'
# Languages
alias r5="plt-r5rs --no-prim"
alias hs="ghci"
alias pl="swipl"
alias py="python"
alias r="R"
alias azerty="setxkbmap be"
alias qwerty="setxkbmap us"
alias cole="setxkbmap us -variant colemak"

View File

@@ -0,0 +1,16 @@
# shellcheck shell=bash
# vim: set ft=bash :
reboot-to-windows ()
{
# Check if grub is installed by checking if the command exists, if it does
# not, then assume that the system is using systemd-boot
if grub-install --version &>/dev/null; then
windows_title=$(grep -i windows /boot/grub/grub.cfg | cut -d "'" -f 2)
sudo grub-reboot "$windows_title"
echo "Grub set to reboot to Windows"
else
sudo bootctl set-oneshot windows.conf
echo "Systemd set to reboot to Windows"
fi
}

View File

@@ -0,0 +1,7 @@
# shellcheck shell=bash
# vim: set ft=bash :
source "$HOME/.bash_aliases/dualboot"
alias lm='ddcutil setvcp 10'
alias cuda-available='python -c "import torch; print(\"CUDA enabled:\", torch.cuda.is_available());"'

View File

@@ -0,0 +1,6 @@
# shellcheck shell=bash
# vim: set ft=bash :
source "$HOME/.bash_aliases/dualboot"
alias lm='xbacklight -set'

View File

@@ -0,0 +1,35 @@
# shellcheck shell=bash
# vim: set ft=bash :
alias js="node"
alias ts="ts-node"
yarn() {
if [[ -f "package-lock.json" ]]; then
echo "WARNING: package-lock.json exists"
read -p "Are you sure you want to run yarn? [y/N] " -n 1 -r
echo
if [[ $REPLY =~ ^[Yy]$ ]]; then
command yarn "$@"
else
echo "Aborted"
fi
else
command yarn "$@"
fi
}
npm() {
if [[ -f "yarn.lock" ]]; then
echo "WARNING: yarn.lock exists"
read -p "Are you sure you want to run npm? [y/N] " -n 1 -r
echo
if [[ $REPLY =~ ^[Yy]$ ]]; then
command npm "$@"
else
echo "Aborted"
fi
else
command npm "$@"
fi
}

10
dots/.bash_profile Normal file
View File

@@ -0,0 +1,10 @@
# shellcheck shell=bash
# shellcheck disable=SC1090
[[ -f ~/.bashrc ]] && . ~/.bashrc
export SSH_AUTH_SOCK="${XDG_RUNTIME_DIR}/ssh-agent.socket"
export _JAVA_AWT_WM_NONREPARENTING=1
if [[ -z "${DISPLAY}" ]] && [[ "${XDG_VTNR}" -eq 1 ]]; then
exec startx "$HOME/.config/X11/xinitrc" >& ~/.xsession-errors
fi

126
dots/.bashrc Normal file
View File

@@ -0,0 +1,126 @@
# shellcheck shell=bash
# shellcheck disable=SC1091,SC1090
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
. /etc/os-release
# Editor & prompt configuration
[ -f "$HOME/.bashrc.d/editor" ] && . "$HOME/.bashrc.d/editor"
[ -f "$HOME/.bashrc.d/prompt" ] && . "$HOME/.bashrc.d/prompt"
# Aliases {{{
# Load aliases dynamically
[ -f "$HOME/.bash_aliases/all" ] && . "$HOME/.bash_aliases/all"
[ -f "$HOME/.bash_aliases/hosts/$HOSTNAME" ] && . "$HOME/.bash_aliases/hosts/$HOSTNAME"
[ -f "$HOME/.bash_aliases/private" ] && . "$HOME/.bash_aliases/private"
[ -f "$HOME/.bash_aliases/lang-js" ] && . "$HOME/.bash_aliases/lang-js"
# Completions {{{
[ -d "$HOME/.bash_completions" ] && for file in "$HOME/.bash_completions"/*; do
[ -f "$file" ] && . "$file"
done
# }}}
# Host-specific and private configurations
[ -f "$HOME/.bashrc.d/hosts/$HOSTNAME" ] && . "$HOME/.bashrc.d/hosts/$HOSTNAME"
[ -f "$HOME/.bashrc.d/private" ] && . "$HOME/.bashrc.d/private"
# }}}
# Prompt {{{
[ -f "$HOME/.bashrc.d/prompt" ] && . "$HOME/.bashrc.d/prompt"
# }}}
# Path {{{
# Add ~/.bin to PATH
export PATH=~/.bin:$PATH
# }}}
# History {{{
export HISTSIZE=999999
export HISTFILESIZE= # Unlimited
export HISTCONTROL=ignoreboth:erasedups
export HISTIGNORE=" *:clear:l:ls:cd" # Omit commands from history (e.g. those prepended with space)
# }}}
# Man pages {{{
# See `:h :Man` in NeoVim
export MANWIDTH=80
export PAGER=nvimpager
# }}}
# X11 {{{
export XDG_SESSION_TYPE=X11
export XDG_CONFIG_HOME=$HOME/.config
export XDG_DATA_HOME=$HOME/.local/share
# }}}
# FZF {{{
# Check if fzf is installed
if [ -f "/usr/bin/fzf" ]; then
# Fuzzy finder setup
export FZF_COMPLETION_TRIGGER='**'
export FZF_DEFAULT_COMMAND='ag -g ""'
export FZF_DEFAULT_OPTS="
--pointer='❭'
--height 10%
--color=fg:-1,bg:-1"
export FZF_CTRL_T_COMMAND="${FZF_DEFAULT_COMMAND}"
export FZF_CTRL_T_OPTS="--preview='bat {} | head -500'"
if [[ $ID == "raspbian" ]]; then
. /usr/share/doc/fzf/examples/completion.bash
. /usr/share/doc/fzf/examples/key-bindings.bash
elif [[ $ID == "arch" ]]; then
. /usr/share/fzf/completion.bash
. /usr/share/fzf/key-bindings.bash
fi
_fzf_setup_completion path vim zathura xournalpp nvim mpv
else
echo "fzf not installed"
fi
# }}}
# Go {{{
export GOPATH="${XDG_DATA_HOME}/go"
# }}}
# Jupyter {{{
export JUPYTERLAB_DIR=$HOME/.local/share/jupyter/lab
# }}}
# Conda {{{
[ -f /opt/miniconda3/etc/profile.d/conda.sh ] && . /opt/miniconda3/etc/profile.d/conda.sh
# }}}
# Zettelkasten {{{
export ZK_PATH="$HOME/.zk"
# SSH Agent {{{
if [[ -z "${SSH_CONNECTION}" ]]; then
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"
fi
# }}}
# pnpm
export PNPM_HOME="/home/h/.local/share/pnpm"
case ":$PATH:" in
*":$PNPM_HOME:"*) ;;
*) export PATH="$PNPM_HOME:$PATH" ;;
esac
# pnpm end
# Codi
# Usage: codi [filetype] [filename]
codi() {
local syntax="${1:-python}"
shift
nvim -c \
"let g:startify_disable_at_vimenter = 1 |\
set bt=nofile ls=0 noru nonu nornu |\
hi ColorColumn ctermbg=NONE |\
hi VertSplit ctermbg=NONE |\
hi NonText ctermfg=0 |\
Codi $syntax" "$@"
}

19
dots/.bashrc.d/editor Normal file
View File

@@ -0,0 +1,19 @@
# shellcheck shell=bash
# vim: set ft=bash :
# Set NeoVim as default editor
export EDITOR=nvim
export SUDO_EDITOR="$EDITOR"
declare -A -r EDITOR_CONFIGS=(
["nvim"]="$HOME/.config/nvim/init.lua"
["vim"]="$HOME/.vimrc"
)
edit_editor_config() {
for editor in "${!EDITOR_CONFIGS[@]}"; do
if [ "$EDITOR" = "$editor" ]; then
$EDITOR "${EDITOR_CONFIGS[$editor]}"
fi
done
}

View File

@@ -0,0 +1 @@
# Desktop configuration

View File

@@ -0,0 +1,19 @@
# shellcheck shell=bash
# vim: set ft=bash :
# >>> mamba initialize >>>
# !! Contents within this block are managed by 'mamba init' !!
export MAMBA_EXE="/usr/bin/micromamba";
export MAMBA_ROOT_PREFIX="/home/h/.local/share/micromamba";
__mamba_setup="$("$MAMBA_EXE" shell hook --shell bash --prefix "$MAMBA_ROOT_PREFIX" 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__mamba_setup"
else
if [ -f "/home/h/.local/share/micromamba/etc/profile.d/micromamba.sh" ]; then
. "/home/h/.local/share/micromamba/etc/profile.d/micromamba.sh"
else
export PATH="/home/h/.local/share/micromamba/bin:$PATH" # extra space after export prevents interference from conda init
fi
fi
unset __mamba_setup
# <<< mamba initialize <<<

22
dots/.bashrc.d/prompt Normal file
View File

@@ -0,0 +1,22 @@
# shellcheck shell=bash
# vim: set ft=bash :
get_branch_name() {
git symbolic-ref --quiet --short HEAD 2>/dev/null \
|| git rev-parse --short HEAD 2>/dev/null \
|| echo 'some branch'
}
get_git_info() {
git rev-parse --is-inside-work-tree &>/dev/null || return
echo -e "($(get_branch_name))"
}
if [[ $SSH_CONNECTION ]]; then
PS1='\[\033[01;31m\]\u@\h\[\033[00m\] $(get_git_info)\W❭\[$(tput sgr0)\] '
else
PS1='\u $(get_git_info)\W❭\[$(tput sgr0)\] '
fi
# Ellipsis when deep in directory
export PROMPT_DIRTRIM=2
export PS1

26
dots/.bin/README.md Normal file
View File

@@ -0,0 +1,26 @@
# Scripts
Mostly tiny helper scripts \& experiments, some more useful than others.
## Setup
Make sure the scripts are in your `$PATH` and executable.
To add the complete directory of scripts to your `$PATH`:
```bash
export PATH=~/.bin:$PATH
```
To make a any script `<script>` executable:
```bash
chmod +x <script>
```
## Notes
Statusbar scripts are prefixed with `sb` under the assumption you're using
`polybar` (scripts my need changes to be used with different statusbars).
Some scripts have dependencies (e.g. `fzf`, `jq`, `xclip`, ...), make sure you
have them installed.

6
dots/.bin/aurpac Executable file
View File

@@ -0,0 +1,6 @@
#!/usr/bin/env bash
# Tiny AUR clone helper
# aurpac <package-name>
git clone "https://aur.archlinux.org/$1.git"

3
dots/.bin/calc Executable file
View File

@@ -0,0 +1,3 @@
#!/usr/env/bin bash
ipython -i /home/h/.bin/calc.py

5
dots/.bin/cam Executable file
View File

@@ -0,0 +1,5 @@
#!/usr/bin/env bash
# Open webcam window
ffplay -f v4l2 -x 640 -y 480 -i /dev/video0 >/dev/null 2>&1 & disown

View File

@@ -0,0 +1,7 @@
#!/usr/bin/env node
const fs = require('fs')
const objLength = obj => Object.keys(obj).length
fs.readFile(process.argv[2], (err, data) => (err ? console.error(err) : console.log(objLength(JSON.parse(data)))))

3
dots/.bin/devdocs Executable file
View File

@@ -0,0 +1,3 @@
#!/usr/bin/env bash
xdg-open https://devdocs.io/offline

10
dots/.bin/fzf-bluetooth Executable file
View File

@@ -0,0 +1,10 @@
#!/usr/bin/env bash
options="Mouse\nHeadphones"
selected="$(echo -e "$options" | fzf)"
case "$selected" in
"Mouse") toggle-bt-device E4:19:21:56:C8:70;;
"Headphones") toggle-bt-device 38:18:4C:D4:74:42;;
esac

30
dots/.bin/fzf-book Executable file
View File

@@ -0,0 +1,30 @@
#!/usr/bin/env bash
# Generate menu of book filenames and save paths
# Preview window contains metadata
function get_book_paths {
find /home/h/doc/books/ -regex '.*\.\(pdf\|epub\|djvu\)' -type f | sort
}
function select_file {
get_book_paths | fzf --delimiter=/ --with-nth=-1
}
function open {
if [ -n "$1" ]; then
echo "Opening \"$1\""
zathura "$1" --fork
else
echo "No file selected"
exit 1
fi
}
case "$1" in
--open) open "$(select_file)" ;;
--help) printf "open \n" >&2 ;;
*) open "$(select_file)" ;;
esac
[[ -n "$selected" ]] && xdg-open "$selected" &> /dev/null & disown

30
dots/.bin/fzf-fontnames Executable file
View File

@@ -0,0 +1,30 @@
#!/usr/bin/env bash
fn="/tmp/fontnames.txt"
contains_dash() {
[[ "$1" =~ - ]]
}
update() {
echo "" > "$fn"
font_list=$(fc-list -f "%{fullname}\n")
echo "$font_list" | while read line ; do
first="$(echo "$line" | cut -d',' -f1)"
last="$(echo "$line" | cut -d',' -f2)"
if $(contains_dash "$first"); then
echo "$last" >> "$fn"
else
echo "$first" >> "$fn"
fi
done
}
case "$1" in
--update) update;;
*) cat "$fn" | sort | uniq | awk 'NF' | fzf;;
esac

3
dots/.bin/fzf-ssh Executable file
View File

@@ -0,0 +1,3 @@
#!/usr/bin/env bash
ssh "$(ssh-hosts | fzf)"

3
dots/.bin/get-anki-decks Executable file
View File

@@ -0,0 +1,3 @@
#!/usr/bin/env bash
curl 127.0.0.1:8765 -X POST -d '{"action": "deckNames", "version": 6}' | jq '.result[]' -r

View File

@@ -0,0 +1,12 @@
#!/usr/bin/env bash
# Get Anki review status from exit code
num_reviews="$(cat /tmp/anki-reviews)"
if [ "$num_reviews" -ge "400" ]
then
exit 0
else
exit 1
fi

221
dots/.bin/git-cb Executable file
View File

@@ -0,0 +1,221 @@
#!/usr/bin/env bash
set -euo pipefail
readonly ALLOWED_MAIN_BRANCHES=("main" "master" "develop")
readonly BRANCH_TYPES=(
"feat For new features"
"hotfix For urgent fixes"
"fix For fixes"
"release For preparing releases"
"chore For non-code tasks"
)
error() {
echo "Error: $1" >&2
exit 1
}
warn() {
echo "Warning: $1" >&2
}
check_dependencies() {
local missing=()
for cmd in git fzf; do
if ! command -v "$cmd" &> /dev/null; then
missing+=("$cmd")
fi
done
if [[ ${#missing[@]} -gt 0 ]]; then
error "Missing required commands: ${missing[*]}"
fi
}
check_git_repo() {
if ! git rev-parse --git-dir &> /dev/null; then
error "Not in a git repository"
fi
}
check_current_branch() {
local current_branch
current_branch=$(git branch --show-current)
local is_main_branch=false
for branch in "${ALLOWED_MAIN_BRANCHES[@]}"; do
if [[ "$current_branch" == "$branch" ]]; then
is_main_branch=true
break
fi
done
if [[ "$is_main_branch" == false ]]; then
warn "Not branching from a main branch (current: $current_branch)"
read -rp "Continue anyway? [y/N] " response
if [[ ! "$response" =~ ^[Yy]$ ]]; then
exit 0
fi
fi
}
get_user_email() {
local email
email=$(git config --get user.email 2>/dev/null)
if [[ -z "$email" ]]; then
error "Git user email not configured. Run: git config user.email 'your@email.com'"
fi
echo "$email"
}
select_branch_type() {
local selected
selected=$(printf '%s\n' "${BRANCH_TYPES[@]}" | \
fzf --prompt="Select branch type: " \
--height=40% \
--border \
--info=inline) || error "Branch type selection cancelled"
echo "${selected%% *}"
}
select_jira_ticket() {
local email=$1
if ! command -v jira &> /dev/null; then
warn "Jira CLI not found. Proceeding without ticket ID."
return 0
fi
echo "Fetching Jira tickets for $email..." >&2
local jira_data
jira_data=$(jira issue list --assignee="$email" --order-by=priority --plain --no-headers 2>/dev/null) || {
warn "Could not fetch Jira tickets. Proceeding without ticket ID."
return 0
}
if [[ -z "$jira_data" ]]; then
warn "No Jira tickets found. Proceeding without ticket ID."
return 0
fi
echo "$jira_data" >&2
echo "" >&2
local formatted_tickets
formatted_tickets=$(echo "$jira_data" | awk '{
ticket_id = $2
$1 = $2 = ""
description = $0
gsub(/^[ \t]+/, "", description)
if (length(description) > 60) {
description = substr(description, 1, 57) "..."
}
print ticket_id " - " description
}')
if [[ -z "$formatted_tickets" ]]; then
warn "No tickets to display. Proceeding without ticket ID."
return 0
fi
local selected_ticket
selected_ticket=$(echo -e "SKIP - Create branch without ticket ID\n$formatted_tickets" | \
fzf --prompt="Select Jira ticket (or skip): " \
--height=40% \
--border \
--info=inline) || error "Ticket selection cancelled"
if [[ "$selected_ticket" != "SKIP"* ]]; then
echo "${selected_ticket%% -*}"
fi
}
get_branch_description() {
local ticket_id=$1
local editor="${EDITOR:-vi}"
local tmpfile
tmpfile=$(mktemp)
trap "rm -f '$tmpfile'" EXIT
if [[ -n "$ticket_id" ]]; then
cat > "$tmpfile" << EOF
# Selected ticket: $ticket_id
# Enter your branch description below in kebab-case (e.g., my-description):
# The ticket ID will be automatically included in the branch name.
# Lines starting with # will be ignored.
EOF
else
cat > "$tmpfile" << 'EOF'
# Enter your branch description below in kebab-case (e.g., my-description):
# Lines starting with # will be ignored.
EOF
fi
"$editor" "$tmpfile" < /dev/tty > /dev/tty
local desc
desc=$(grep -v '^#' "$tmpfile" | tr -d '\n' | sed 's/^[[:space:]]*//;s/[[:space:]]*$//')
echo "$desc"
}
validate_description() {
local desc=$1
if [[ -z "$desc" ]]; then
error "No description provided"
fi
if [[ ! "$desc" =~ ^[a-z0-9]+(-[a-z0-9]+)*$ ]]; then
error "Invalid branch description format.\nUse lowercase letters, numbers, and hyphens only.\nNo trailing or consecutive hyphens allowed.\nExample: my-feature-description"
fi
}
create_branch() {
local type=$1
local ticket_id=$2
local desc=$3
local branch
if [[ -n "$ticket_id" ]]; then
branch="$type/$ticket_id-$desc"
else
branch="$type/$desc"
fi
if git show-ref --verify --quiet "refs/heads/$branch"; then
error "Branch '$branch' already exists"
fi
echo ""
echo "Creating branch: $branch"
git checkout -b "$branch"
}
main() {
check_dependencies
check_git_repo
check_current_branch
local email
email=$(get_user_email)
local type
type=$(select_branch_type)
echo "About to call select_jira_ticket" >&2
local ticket_id=""
ticket_id=$(select_jira_ticket "$email")
local desc
desc=$(get_branch_description "$ticket_id")
validate_description "$desc"
create_branch "$type" "$ticket_id" "$desc"
}
main "$@"

2
dots/.bin/jack-to-bt Executable file
View File

@@ -0,0 +1,2 @@
pactl load-module module-jack-source connect=0
pactl load-module module-loopback source=jack_in

5
dots/.bin/json-to-yaml Executable file
View File

@@ -0,0 +1,5 @@
#!/usr/bin/env python
import yaml, json, sys
print(yaml.dump(json.load(open(sys.argv[1])), allow_unicode=True), end='')

8
dots/.bin/notify Executable file
View File

@@ -0,0 +1,8 @@
#!/usr/bin/env bash
# Pipe into notify-send
#
# e.g. `echo "Hello world" | notify`
read -r msg
notify-send "$msg" "$@"

View File

@@ -0,0 +1,3 @@
#!/usr/bin/env bash
sudo pacman -Qtdq | sudo pacman -Rns -

3
dots/.bin/pdftitle Executable file
View File

@@ -0,0 +1,3 @@
#!/usr/bin/env bash
pdfinfo "$1" | head -n 1 | awk '{for (i=2; i<NF; i++) printf $i " "; print $NF}'

87
dots/.bin/pomo Executable file
View File

@@ -0,0 +1,87 @@
#!/usr/bin/env python3
# vim: set filetype=python:
"""
Pomodoro timer
- Writes pomodoro timer to temporary file so statusbar can read it
- Notification on session finish
- Notification on break finish
"""
import atexit
import os
from argparse import ArgumentParser
from time import sleep
from plyer import notification
POMO_PATH = os.path.join(
os.getenv("XDG_DATA_HOME", os.path.expanduser("~/.local/share")), "pomo"
)
@atexit.register
def clear():
if os.path.exists(POMO_PATH):
os.remove(POMO_PATH)
def format_mins_secs(mins, secs):
return f"{mins:02d}:{secs:02d}"
def make_countdown():
def countdown(duration):
while duration != 0:
mins = duration // 60
secs = duration % 60
time_str = format_mins_secs(mins, secs)
os.system(f'echo -n "{time_str}" > {POMO_PATH}')
sleep(1)
duration -= 1
return countdown
def main(args):
work_duration = args.work_duration * 60
break_duration = args.break_duration * 60
repeats = args.repeats
work_countdown = make_countdown()
break_countdown = make_countdown()
while repeats != 0:
notification.notify(title="Get started")
work_countdown(work_duration)
if break_duration != 0:
notification.notify(title="Time for a break")
break_countdown(break_duration)
notification.notify(title="Break is over, back to work")
repeats -= 1
def handle_signal(signal, frame):
# Wait for clear to finish
clear()
print("Exiting")
exit(0)
if __name__ == "__main__":
parser = ArgumentParser()
parser.add_argument(
"-w", "--work-duration", type=int, help="Session duration", default=25
)
parser.add_argument(
"-b", "--break-duration", type=int, help="Break duration", default=5
)
parser.add_argument(
"-r", "--repeats", type=int, help="Numer of sessions", default=1
)
parser.add_argument("-c", "--clear", action="store_true", help="Clear timer")
args = parser.parse_args()
main(args)

9
dots/.bin/r5rs Executable file
View File

@@ -0,0 +1,9 @@
#!/usr/bin/env bash
session="r5rs"
tmux attach-session -t "$session" || tmux new-session -s "$session" \; \
split-window -h -t $session \; \
send-keys -t 1 "nvim -c \"set ft=scheme\"" C-m \; \
send-keys -t 2 "plt-r5rs --no-prim" C-m \; \
select-pane -t 1

View File

@@ -0,0 +1,3 @@
#!/usr/bin/env bash
sed -i -r 's/\[*\]\(\.\/([A-z-]*.md)/\]\(\1/g' *.md

19
dots/.bin/restore-passwddb Executable file
View File

@@ -0,0 +1,19 @@
#!/usr/bin/env bash
# Backup existing password databases and
# database keys (using date in filename date -u
# +%Y-%m-%d_%H-%M-%S)
RCLONE_REMOTE="proton-drive"
for f in "$HOME/doc"/*.{kdbx,kdbx.key}; do
[ -e "$f" ] || continue
echo "Backing up $f to $f-$(date -u +%Y-%m-%d_%H-%M-%S)"
cp "$f" "$f-$(date -u +%Y-%m-%d_%H-%M-%S)"
done
echo "Restoring KeePassXC databases and database keys"
rclone copyto \
"$RCLONE_REMOTE:doc"/ "$HOME/doc/" \
--progress \
--include "/*.{kdbx,kdbx.key}"

View File

@@ -0,0 +1,23 @@
#!/usr/bin/env bash
function start() {
adb start-server
nohup gnirehtet autorun &> /dev/null &
printf "Started reverse tethering \n"
}
function stop() {
adb kill-server
gnirehtet stop
pkill gnirehtet
printf "Stopped reverse tethering \n"
}
case "$1" in
start) start ;;
stop) stop ;;
restart) stop; start ;;
*) printf "start | stop | restart \n" >&2
exit 1
;;
esac

13
dots/.bin/rofi-trans Executable file
View File

@@ -0,0 +1,13 @@
#!/usr/bin/env bash
options="nl:en\nen:nl\nnl:fr\nfr:nl\nen:fr\nfr:en\nnl:de\nde:nl"
selected=$(echo -en "$options" | rofi -dmenu -p "source?:target?" -i)
# notify-send --app-name= -t 3000 "$(trans "$selected" -b "$(rofi -dmenu -p "$selected" &)" \
# | tr -d '\n' \
# | xclip -sel clip -f)"
translation="$(trans "$selected" -b "$(rofi -dmenu -p "$selected" &)" | tr -d '\n')"
echo -e "Copy" | rofi -p "translation" -dmenu -i -mesg "$translation" | xargs -I{} echo -n "$translation" | xclip -selection clipboard

26
dots/.bin/save-home Executable file
View File

@@ -0,0 +1,26 @@
#!/usr/bin/env bash
# Back up my $HOME folder to OneDrive using `restic`.
#
# Adds extra flags needed for using `rclone` with sharepoint WebDav I.e. add
# `--ignore-size --ignore-checksum --update` to the default `rclone.args`.
#
# Select directory in repo using -r rclone:<repo>:<directory>
#
# Runs `backup` command on $HOME and ignore what is listed in `.resticexclude`
#
# ```/etc/restic-env
# export B2_ACCOUNT_ID=
# export B2_ACCOUNT_KEY=
# ```
#
# `restic -r b2:desktop-arch init`
source /etc/restic-env
restic -r "$RESTIC_REPOSITORY:$HOSTNAME" backup \
--tag "hektor" \
--one-file-system \
--files-from="$HOME/.resticinclude" \
--exclude-file="$HOME/.resticexclude" \
--exclude-if-present=".nobackup" \
--verbose=3

75
dots/.bin/save-passwddb Executable file
View File

@@ -0,0 +1,75 @@
#!/usr/bin/env bash
# Save (encrypted) password database to cloud storage
#
# Usage:
# save-passwddb - Save databases to cloud
# save-passwddb init - Restore databases from cloud (with single backup archive)
RCLONE_REMOTE="proton"
SOURCE_DIR="$HOME/doc"
TARGET_DIR="$RCLONE_REMOTE:doc"
BACKUP_DIR="$HOME/doc/bak"
function save_databases() {
if [ 0 -lt "$(ls $SOURCE_DIR/*.kdbx 2>/dev/null | wc -w)" ]; then
echo "[save] Saving KeePassXC databases and database keys"
rclone copy "$SOURCE_DIR" "$TARGET_DIR" \
--include "/*.{kdbx,kdbx.key}" \
--progress
echo "[save] Done"
else
echo "[save] No password database found, restore with:"
echo ""
echo " $0 init"
exit 1
fi
}
function backup_existing() {
mkdir -p "$BACKUP_DIR"
local timestamp=$(date +%Y%m%d-%H%M%S)
local backup_file="$BACKUP_DIR/passwddb_backup_${timestamp}.tar.gz"
echo "[backup] Creating backup archive: ${backup_file}"
tar -czf "$backup_file" -C "$SOURCE_DIR" $(find "$SOURCE_DIR" -maxdepth 1 -type f \( -name "*.kdbx" -o -name "*.kdbx.key" \) -printf "%f ")
echo "[backup] Backup complete"
}
function restore_databases() {
echo "[init] Checking for existing files..."
local existing_files=$(find "$SOURCE_DIR" -maxdepth 1 -type f \( -name "*.kdbx" -o -name "*.kdbx.key" \) -print)
if [ -n "$existing_files" ]; then
echo "[init] Found existing database files:"
echo "$existing_files" | while read -r file; do
echo " - $file"
done
read -p "[init] Create backup archive of existing files? [y/N] " -n 1 -r
echo
if [[ $REPLY =~ ^[Yy]$ ]]; then
backup_existing
fi
fi
echo "[init] Restoring KeePassXC databases and database keys"
mkdir -p "$SOURCE_DIR"
rclone copy "$TARGET_DIR" "$SOURCE_DIR" \
--include "*.{kdbx,kdbx.key}" \
--progress
echo "[init] Done"
}
case "$1" in
""|save)
save_databases
;;
init)
restore_databases
;;
*)
echo "Usage: $0 [init|save]"
exit 1
;;
esac

12
dots/.bin/save-ssh-host Executable file
View File

@@ -0,0 +1,12 @@
#!/usr/bin/env bash
selected_hosts="$(ssh-hosts | fzf -m)"
for host in $selected_hosts; do
echo "Saving $host"
directories="$(ssh "$host" ls | fzf -m)"
for directory in $directories; do
echo "Saving $host:$directory"
ssh "$host" "(tar cvzf - ~/$directory)" > "${host}_${directory}.tar.gz"
done
done

4
dots/.bin/save-zk Executable file
View File

@@ -0,0 +1,4 @@
#!/usr/bin/env bash
cd "$ZK_PATH" || echo "No zettelkasten directory found"
git a . && git commit -m "Update" && git push

22
dots/.bin/sb-anki Executable file
View File

@@ -0,0 +1,22 @@
#!/usr/bin/env bash
# Anki review percentage for statusbar
num_to_review=200
# Get current card count from Anki
count=$(curl -s 127.0.0.1:8765 -X POST -d '{"action": "getNumCardsReviewedToday", "version": 6}' | jq '.result')
if [ -z "$count" ]
then
if [ -s /tmp/anki-reviews ]; then
true
else
echo "-1" > /tmp/anki-reviews
fi
else
echo "$count" > /tmp/anki-reviews
fi
num_reviews=$(cat /tmp/anki-reviews)
echo -n -e " Reviews: $(python3 -c "print('{:.2%}'.format($num_reviews/$num_to_review))") "

13
dots/.bin/sb-battery Executable file
View File

@@ -0,0 +1,13 @@
#!/usr/bin/env bash
cap="$(cat /sys/class/power_supply/BAT0/capacity)"
if [ "$cap" -ge 33 ];then
color="\x01"
elif [ "$cap" -ge 10 ]; then
color="\x03"
else
color="\x04"
fi
echo -n -e "$color $cap% \x01"

3
dots/.bin/sb-date Executable file
View File

@@ -0,0 +1,3 @@
#!/usr/bin/env bash
echo -n -e "Week $(date '+%V') $(date '+%a %d %b %H:%M') "

7
dots/.bin/sb-internet Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/sh
if grep -xq 'up' /sys/class/net/w*/operstate 2>/dev/null ; then
wifiicon="$(awk '/^\s*w/ { print "WiFi", int($3 * 100 / 70) "% " }' /proc/net/wireless)"
fi
printf " %s%s%s" "$wifiicon" "$(sed "s/down//;s/up/Ethernet/" /sys/class/net/e*/operstate 2>/dev/null)"

3
dots/.bin/sb-pomo Executable file
View File

@@ -0,0 +1,3 @@
#!/usr/bin/env bash
[ -f "/tmp/pomo" ] && cat /tmp/pomo || echo ""

4
dots/.bin/sb-project Executable file
View File

@@ -0,0 +1,4 @@
#!/usr/bin/env bash
# Render contents of $HOME/.project if present
[ -f "$HOME/.project" ] && cat "$HOME/.project" || echo ""

7
dots/.bin/sb-tasks Executable file
View File

@@ -0,0 +1,7 @@
#!/usr/bin/env bash
num_done="$(task end.after:today status:completed count)"
num_pending="$(($(task count status:pending) + $num_done))"
num_waiting="$(($(task count status:waiting)))"
echo -e "Tasks: $num_done/$num_pending+$num_waiting"

12
dots/.bin/sb-wg Executable file
View File

@@ -0,0 +1,12 @@
#!/usr/bin/env sh
# Reference: https://github.com/mil-ad/polybar-wireguard
connected_interfaces=$(networkctl | grep -P "\d+ .* wireguard routable" -o | cut -d" " -f2)
if [ -n "$connected_interfaces" ];
then
for interface in $connected_interfaces; do echo "$interface"; done
else
exit 1
fi

52
dots/.bin/screen-temperature Executable file
View File

@@ -0,0 +1,52 @@
#!/usr/bin/env python
import subprocess
import sys
DEFAULT_TEMPERATURE = 3500
try:
with open("/tmp/temperature", "r") as temp_file:
current_temperature = int(temp_file.read())
except FileNotFoundError:
current_temperature = DEFAULT_TEMPERATURE
# If no argument is given print the current temperature
if len(sys.argv) == 1:
print(current_temperature)
sys.exit(0)
elif len(sys.argv) != 2:
print(
"""
Usage:
screen-temperature
print current temperature
screen-temperature <temperature>
set screen temperature to <temperature>
screen-temperature <+|-><temperature>
increase or decrease screen temperature by <temperature>
"""
)
sys.exit(1)
temperature_change = sys.argv[1]
if temperature_change.startswith("+"):
new_temperature = current_temperature + int(temperature_change[1:])
elif temperature_change.startswith("-"):
new_temperature = current_temperature - int(temperature_change[1:])
else:
new_temperature = int(temperature_change)
try:
subprocess.run(["redshift", "-O", str(new_temperature), "-P"], check=True)
with open("/tmp/temperature", "w") as temp_file:
temp_file.write(str(new_temperature) + "\n")
# Send notification
subprocess.run(["notify-send", str(new_temperature) + "K"])
except subprocess.CalledProcessError:
print("Error: could not set screen temperature.")
sys.exit(1)

25
dots/.bin/script Executable file
View File

@@ -0,0 +1,25 @@
#!/usr/bin/env bash
# Script to create script
if [ -z "$1" ]; then
echo "Usage: script <scriptname>"
exit
fi
path="$HOME/.bin/$1"
# Prevent overwriting existing script
set -o noclobber
# Create script
cat > "$path" << EOF
#!/usr/bin/env bash
EOF
chmod +x "$path"
# Open script in editor on line 3
"$EDITOR" +3 "$path"

208
dots/.bin/setup Executable file
View File

@@ -0,0 +1,208 @@
#!/bin/bash
pac_list=(
at
automake
autopep8
base
base-devel
bash-completion
bash-language-server
bc
brightnessctl
chromium
dmidecode
entr
eslint_d
feh
firefox-developer-edition
firefox-tridactyl
firefox-tridactyl-native
firefox-tridactyl-native-debug
fzf
gcc
git
haskell-language-server
haskell-ormolu
hsetroot
htop
httpie
jq
keepassxc
kitty
lua-language-server
make
man-db
man-pages
neovim
nmap
nodejs-lts-jod
pacman-contrib
pandoc-cli
pandoc-crossref
parallel
pass
pkgbuild-language-server
pnpm
ripgrep
sshfs
stylelint
svelte-language-server
tailwindcss-language-server
task
tldr
tmux
tmuxp
tree
tree-sitter-cli
ts-node
typescript-language-server
unzip
vim-language-server
wget
xclip
yaml-language-server
)
aurpac_list=(
hadolint-bin
nvm
nvimpager
paru
tmux-bash-completion-git
ttf-iosevka-term-ss08
vim-plug
vtsls
xbanish
)
install() {
local package="$1"
if pacman -Qi "$package" &> /dev/null; then
echo "$package is already installed"
else
echo "Installing " "$package"
sudo pacman -S --noconfirm --needed "$package"
fi
}
aurpac() {
git clone "https://aur.archlinux.org/$1.git" "$HOME/.build/$1"
}
install_packages() {
announce "Installing packages"
local count
for pac in "${pac_list[@]}" ; do
count=$((count+1))
install "$pac";
done
echo "$count packages installed"
}
install_dotfiles() {
announce "Installing dotfiles"
origin="https://git.hektormisplon.xyz/hektor/dots"
git clone "$origin" "$HOME/dots"
cp -r "$HOME/dots/.git" "$HOME/.git"
git --git-dir="$HOME/.git" config --local status.showUntrackedFiles no
git --git-dir="$HOME/.git" stash -m "[dots]"
git --git-dir="$HOME/.git" stash apply
git --git-dir="$HOME/.git" restore "$HOME"
}
install_aur_packages() {
announce "Installing AUR packages"
local count
for package in "${aurpac_list[@]}" ; do
if pacman -Qi "$1" &> /dev/null; then
echo "$1 is already installed"
else
count=$((count+1))
aurpac "$package" && makepkg -si -D "$HOME/.build/$package"
fi
done
echo "$count AUR packages installed"
}
setup_neovim() {
announce "Setting up NeoVim"
git clone --depth=1 https://github.com/savq/paq-nvim.git \
"${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/pack/paqs/start/paq-nvim
}
setup_keyboard() {
announce "Setting up keyboard"
install "interception-tools"
install "interception-caps2esc"
udevmon_config_contents="\
- JOB: intercept -g \$DEVNODE | caps2esc -m 1 | uinput -d \$DEVNODE
DEVICE:
EVENTS:
EV_KEY: [KEY_CAPSLOCK]"
if [ -f /etc/interception/udevmon.yaml ] && diff -q <(echo "$udevmon_config_contents") /etc/interception/udevmon.yaml; then
echo "udevmon config already exists"
echo "$udevmon_config_contents"
elif [ -f /etc/interception/udevmon.yaml ]; then
echo "interception udevmon.yaml already exists"
cat /etc/interception/udevmon.yaml
echo "verify if this config matches the one below"
echo "$udevmon_config_contents"
else
echo "interception udevmon.yaml does not exist, creating one"
sudo bash -c "echo '$udevmon_config_contents' > /etc/interception/udevmon.yaml"
fi
sudo systemctl enable --now udevmon.service
if pgrep -x caps2esc > /dev/null; then
echo "caps2esc is already running"
else
caps2esc -m 1
fi
}
configure_gnome() {
announce "Configuring Gnome"; setup-gnome
}
setup_firewall() {
announce "Configuring firewalld"
install firewalld
sudo systemctl enable --now firewalld
}
setup_docker() {
announce "Setting up Docker"
install docker
install docker-compose
sudo systemctl enable --now docker.socket
sudo usermod -aG docker "$USER"
echo "User added to docker group, please restart your session"
}
announce() {
local message="$1"
echo " "
echo "[dots] $message"
echo " "
}
confirm() {
local question="$1"
read -r -p "[dots] $question? [y/N]" -n 1
case "$REPLY" in y|Y ) "$2";; * ) echo "Skipping"; esac
}
printf '%s\n' "${pac_list[@]}"
confirm "Install these packages? " install_packages
printf '%s\n' "${aurpac_list[@]}"
confirm "Install these AUR packages? " install_aur_packages
confirm "Setup NeoVim? " setup_neovim
confirm "Install dotfiles? " install_dotfiles
confirm "Setup keyboard? " setup_keyboard
if pacman -Qi "gdm" &> /dev/null; then
confirm "Configure Gnome? " configure_gnome
fi
confirm "Setup firewall? " setup_firewall
confirm "Setup Docker? " setup_docker

37
dots/.bin/setup-gnome Executable file
View File

@@ -0,0 +1,37 @@
#!/usr/bin/env bash
gsettings set org.gnome.desktop.background primary-color "#555555"
gsettings set org.gnome.desktop.wm.preferences workspace-names "['sh', 'www', 'dev', 'info', 'etc']"
gsettings set org.gnome.desktop.wm.keybindings close "['<Shift><Super>Delete']"
gsettings set org.gnome.desktop.wm.keybindings switch-applications "['<Super>j']"
gsettings set org.gnome.desktop.wm.keybindings switch-applications-backward "['<Super>k']"
gsettings set org.gnome.shell.keybindings toggle-application-view "['<Super>p']"
gsettings set org.gnome.mutter center-new-windows true
gsettings set org.gnome.shell.keybindings toggle-quick-settings []
gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-1 "['<Super>a']"
gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-2 "['<Super>s']"
gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-3 "['<Super>d']"
gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-4 "['<Super>f']"
gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-5 "['<Super>g']"
gsettings set org.gnome.desktop.wm.keybindings move-to-workspace-1 "['<Super><Shift>a']"
gsettings set org.gnome.desktop.wm.keybindings move-to-workspace-2 "['<Super><Shift>s']"
gsettings set org.gnome.desktop.wm.keybindings move-to-workspace-3 "['<Super><Shift>d']"
gsettings set org.gnome.desktop.wm.keybindings move-to-workspace-4 "['<Super><Shift>f']"
gsettings set org.gnome.desktop.wm.keybindings move-to-workspace-5 "['<Super><Shift>g']"
gsettings set org.gnome.settings-daemon.plugins.media-keys custom-keybindings "['/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1/']"
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1/ name "Kitty"
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1/ command "kitty"
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1/ binding "<Shift><Super>Return"
gsettings set org.gnome.shell.keybindings screenshot "['Print']"
gsettings set org.gnome.desktop.wm.preferences num-workspaces "5"
gsettings set org.gnome.mutter dynamic-workspaces "false"
gsettings set org.gnome.shell.extensions.window-list display-all-workspaces "true"
gsettings set org.gnome.shell.app-switcher current-workspace-only "true"
gsettings set org.gnome.login-screen logo ''
gsettings set org.gnome.shell favorite-apps "['firefox-developer-edition.desktop']"

20
dots/.bin/setup-zk Executable file
View File

@@ -0,0 +1,20 @@
#!/bin/bash
if [ ! -d ~/.zk ]; then
echo "[zk] Setting up zettelkasten"
gh repo clone zk ~/.zk
else
echo "[zk] Zettelkasten already set up."
fi
read -p "Would you like open your zettelkasten? [y/N] " -n 1 -r
echo
if [[ $REPLY =~ ^[Yy]$ ]]; then
if [ -x "$(command -v zk)" ]; then
zk
else
echo "Error: 'zk' command not found or not executable"
exit 1
fi
fi

5
dots/.bin/ssh-hosts Executable file
View File

@@ -0,0 +1,5 @@
#!/usr/bin/env bash
ssh_hosts="$(grep -E 'Host [a-z0-9\-]*$' ~/.ssh/config | awk '{print $2}')"
echo "$ssh_hosts"

26
dots/.bin/tidalcycles Executable file
View File

@@ -0,0 +1,26 @@
#!/usr/bin/env bash
set -euf -o pipefail
VIM=${VIM:-"vim"}
TMUX=${TMUX:-"tmux"}
FILE=${FILE:-"$(date +%F).tidal"}
SESSION=${SESSION:-"tidal"}
TIDAL_BOOT_PATH=${TIDAL_BOOT_PATH:-""}
GHCI=${GHCI:-""}
args=${*:-$FILE}
# attach if session else create
$TMUX attach-session -t "$SESSION" || $TMUX new-session -s "$SESSION" \; \
split-window -h -t "$SESSION" \; \
send-keys -t 0 "$VIM $args" C-m \; \
send-keys -t 1 "TIDAL_BOOT_PATH=$TIDAL_BOOT_PATH GHCI=$GHCI tidal" C-m \; \
new-window -t "$SESSION":2 -n SuperDirt \; \
send-keys -t 0 "jack_control start && sclang ~/dev/live/scripts/start.scd" C-m \; \
select-window -t 1 \; \
resize-pane -t 1 -x 100 \; \
resize-pane -t 0 -x 125 \; \
select-pane -t 0

13
dots/.bin/tmux-workspace Executable file
View File

@@ -0,0 +1,13 @@
#!/usr/bin/env bash
session="main"
tmux attach-session -t $session || tmux new-session -s $session \; \
rename-window task \; \
send-keys -t 1 "task" C-m \; \
new-window -n zk \; \
send-keys -t 2 "nvim $ZK_PATH/index.md" C-m \; \
new-window -n term \; \
new-window -n music \; \
send-keys -t 4 "echo 'TODO: open music player'" C-m \; \
select-window -t 1 \;

11
dots/.bin/toggle-bt-device Executable file
View File

@@ -0,0 +1,11 @@
#!/usr/bin/env bash
status="$(bluetoothctl info "$1" | grep Connected | cut -f 2 -d ':' | cut -f 2 -d ' ')"
if [ "$status" == "yes" ]
then
bluetoothctl disconnect "$1"
else
trust "$1"
bluetoothctl connect "$1"
fi

3
dots/.bin/update Executable file
View File

@@ -0,0 +1,3 @@
#!/usr/bin/env bash
sudo pacman -Syu

5
dots/.bin/update-vim Executable file
View File

@@ -0,0 +1,5 @@
#!/usr/bin/env bash
# Tiny Vim update helper
nvim +PlugUpgrade +PlugUpdate +CocUpdate

35
dots/.bin/zk Executable file
View File

@@ -0,0 +1,35 @@
#!/usr/bin/env bash
current_zettel_path="$ZK_PATH/$(cat "$ZK_PATH/current-zettel.txt")"
if [ "$TERM_PROGRAM" = tmux ]; then
cd "$ZK_PATH" && $EDITOR "$current_zettel_path"
else
echo 'Not in tmux'
echo 'Choose an option:'
echo '1. Open in tmux'
echo '2. Open in current terminal'
read -r -p 'Enter your choice: ' choice
case $choice in
1)
# Check if a tmux session is running with a window named zk
if tmux list-windows -F '#{window_name}' | grep -q zk; then
# Attach to the session containing the 'zk' window
session="$(tmux list-windows -F '#{window_name} #{session_name}' | grep zk | head -n 1 | awk '{ print $2 }')"
tmux attach -t "$session"
else
# Create session with a window named 'zk' and start nvim
tmux new-session -s zk -n zk -d
tmux send-keys -t zk:zk "cd $ZK_PATH && $EDITOR $current_zettel_path" Enter
tmux attach -t zk
fi
;;
2)
cd "$ZK_PATH" && $EDITOR "$current_zettel_path"
;;
*)
echo 'Not opening Zettelkasten'
exit 1
;;
esac
fi

0
dots/.build/.gitkeep Normal file
View File

View File

@@ -0,0 +1 @@
[{ "key": "ctrl+b", "command": "workbench.action.toggleSidebarVisibility" }]

View File

@@ -0,0 +1,114 @@
{
/* view */
"workbench.statusBar.visible": true,
"workbench.activityBar.visible": false,
"breadcrumbs.enabled": false,
"editor.minimap.enabled": false,
"window.menuBarVisibility": "hidden",
"workbench.editor.showTabs": false,
"workbench.editor.showIcons": false,
/* font */
"editor.fontSize": 20,
"editor.fontLigatures": true,
"editor.fontFamily": "Iosevka",
"terminal.integrated.fontSize": 20,
/* editor */
"editor.lineNumbers": "relative",
"editor.glyphMargin": false,
"terminal.integrated.allowMnemonics": false,
"workbench.colorCustomizations": {
"editorGroup.emptyBackground": "#0c0c0c",
"scrollbar.shadow": "#000",
"widget.shadow": "#000",
"editorWidget.background": "#0c0c0c",
"editor.background": "#0c0c0c",
"sideBar.background": "#0c0c0c",
"editorGroupHeader.noTabsBackground": "#0c0c0c",
"scrollbarSlider.background": "#222",
"scrollbarSlider.activeBackground": "#222",
"scrollbarSlider.hoverBackground": "#333",
"statusBar.noFolderBackground": "#0c0c0c",
"statusBar.border": "#0c0c0c",
"statusBar.background": "#0c0c0c",
"statusBar.foreground": "#555"
},
"editor.tokenColorCustomizations": {
"comments": "#555",
"functions": "#aaa",
"numbers": "#fff",
"strings": "#fff",
"types": "#aaa",
"variables": "#aaa",
"keywords": "#aaa"
},
/* vim keybindings */
"vim.incsearch": true,
"vim.hlsearch": true,
"vim.leader": "<space>",
"vim.normalModeKeyBindingsNonRecursive": [
/* quick quit */
{
"before": ["<leader>", "q"],
"commands": [":q"]
},
{
"before": ["<leader>", "w"],
"commands": [":w"]
},
{
"before": ["<leader>", "Q"],
"commands": [":q!"]
},
{
"before": ["<leader>", "W"],
"commands": [":w!"]
},
/* split */
{
"before": ["<leader>", "s", "s"],
"commands": [":sp"]
},
{
"before": ["<leader>", "s", "v"],
"commands": [":vs"]
},
/* clear search highlight */
{
"before": ["<leader>", "<leader>"],
"commands": [":nohl"]
}
],
"vim.insertModeKeyBindings": [
/* quick exit insert */
{
"before": ["j", "j"],
"after": ["<Esc>"]
}
],
"vim.handleKeys": {
"<C-a>": false,
"<C-f>": false
},
/* eslint & prettier */
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
},
"editor.codeActionsOnSave": {
"source.fixAll": true
},
"workbench.colorTheme": "Absolute Black",
"window.zoomLevel": 1,
"javascript.updateImportsOnFileMove.enabled": "always"
}

View File

@@ -0,0 +1 @@
Xcursor.size: 16

57
dots/.config/X11/xinitrc Normal file
View File

@@ -0,0 +1,57 @@
#!/bin/sh
userresources=$HOME/.config/X11/Xresources
usermodmap=$HOME/.config/X11/Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap
if [ -f $sysresources ]; then xrdb -merge $sysresources; fi
if [ -f $sysmodmap ]; then xmodmap $sysmodmap; fi
if [ -f "$userresources" ]; then xrdb -merge "$userresources"; fi
if [ -f "$usermodmap" ]; then xmodmap "$usermodmap"; fi
# start some nice programs
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
# ______________________________
xset -b # disable bell
xset r rate 200 30 # adjust typematic delay & rate
# Shared
xbindkeys -f "$HOME"/.config/xbindkeys/config
xbanish &
redshift -o -O "$(cat /tmp/temperature)" & # Run redshift in one shot mode
# DWM
# dwmblocks &
# udiskie &
# # No compositor
# # xsetroot -solid "#0a0a0a"
# # With compositor
# # hsetroot -solid "#0a0a0a"
# # picom &
# # execute dwm in a loop
# while true; do
# dwm 2> ~/.dwm.log
# done
# Openbox
# # udiskie --tray &
# # plank &
# # picom &
# # hsetroot -solid "#555555"
# # openbox
# Xmonad
xsetroot -solid "#0a0a0a"
xsetroot -cursor_name left_ptr
picom &
trayer --edge top --align right --SetDockType true --SetPartialStrut true \
--expand true --width 10 --transparent true --tint 0x111111 --height 25 &
exec xmonad

View File

@@ -0,0 +1,34 @@
[global]
geometry="0-0+24"
monitor=0
follow=keyboard
indicate_hidden=yes
notification_height=0
padding=8
horizontal_padding=8
frame_width=1
frame_color="#333"
separator_height=1
idle_threshold=120
font=Iosevka Term SS08 12
markup=full
format="%s\n%b"
dmenu=/usr/bin/dmenu -p dunst:
browser=/usr/bin/brave -new-tab
verbosity=info
[urgency_low]
background="#111"
foreground="#aaa"
timeout=10
[urgency_normal]
background="#111"
foreground="#aaa"
timeout=10
[urgency_critical]
background="#111"
foreground="#fff"
frame_color="#f00"
timeout=0

12
dots/.config/feh/keys Normal file
View File

@@ -0,0 +1,12 @@
prev_img h
next_img l
scroll_left L
scroll_right H
scroll_up J
scroll_down K
zoom_in j
zoom_out k
zoom_fit z
zoom_default =
mirror bar
close q Q

3
dots/.config/feh/themes Normal file
View File

@@ -0,0 +1,3 @@
feh \
-B black \
--auto-zoom

View File

@@ -0,0 +1,36 @@
[General]
checkForUpdates=false
disabledTrayIcon=true
uiColor=#cccccc
fontFamily=Inter
drawColor=#ffffff
savePath=/home/h/doc/clips
copyPathAfterSave=true
saveLastRegion=true
saveAsFileExtension=png
userColors=picker, #800000, #ff0000, #ffff00, #00ff00, #00ffff, #0000ff, #ffffff, #000000
[Shortcuts]
TYPE_ARROW=a
TYPE_CIRCLE=o
TYPE_CIRCLECOUNT=Shift+o
TYPE_COMMIT_CURRENT_TOOL=Ctrl+Return
TYPE_COPY=y
TYPE_DELETE_CURRENT_TOOL=
TYPE_DRAWER=l
TYPE_EXIT=q
TYPE_IMAGEUPLOADER=
TYPE_MARKER=m
TYPE_MOVESELECTION=Ctrl+M
TYPE_MOVE_DOWN=j
TYPE_MOVE_LEFT=h
TYPE_MOVE_RIGHT=l
TYPE_MOVE_UP=k
TYPE_OPEN_APP=o
TYPE_PENCIL=d
TYPE_PIN=Enter
TYPE_PIXELATE=p
TYPE_RECTANGLE=r
TYPE_REDO=Ctrl+r
TYPE_RESIZE_DOWN=Shift+j
TYPE_RESIZE_LEFT=Shift+h

View File

@@ -0,0 +1,16 @@
git_protocol: ssh
prompt: enabled
aliases:
co: pr checkout
c: repo clone
f: repo fork
rc: repo create
rv: repo view
re: repo edit
rm: repo remove
rn: repo rename
lr: repo list
li: issue list
al: alias
al-: alias delete
version: "1"

View File

@@ -0,0 +1,5 @@
[Settings]
gtk-font-name=Inter 12
gtk-application-prefer-dark-theme=true
gtk-icon-theme-name=Adwaita
gtk-theme-name=Adwaita

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,32 @@
[General]
ConfigVersion=2
[Browser]
CustomProxyLocation=
Enabled=true
[GUI]
ApplicationTheme=dark
CompactMode=false
HidePreviewPanel=false
HideToolbar=false
MinimizeOnClose=true
MinimizeToTray=true
ShowTrayIcon=true
TrayIconAppearance=colorful
[KeeShare]
Active="<?xml version=\"1.0\"?><KeeShare><Active/></KeeShare>\n"
Foreign="<?xml version=\"1.0\"?>\n<KeeShare xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\n <Foreign/>\n</KeeShare>\n"
Own="<?xml version=\"1.0\"?><KeeShare><PrivateKey>MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQC9Ji74dnjo0qzbUFKEoNnMHsdX7mBXuJcu8zsl7vfkKLiAGIQiP9BQc/JnFr28W92fQz8uXVtm7NgnKJQkT7wzFyBdspmNDzosS58EIQVKe5p+uMaaGZ5z6j1DtLCFo7PLCnhasBluC0W1+37s7NtRD6bFo1r6QHupY63mBsSvJhAcmS+6bM7xS7PcK0WTVTsK1MWYZLOkYMWQ0AW/t4PZfqeKvalqheiR8oUIDeY7+7fqvQr5SAhL0yinbtaqWmPqcd5QWyPqVkbKclw4Uecw+JW+yR9uEOP9butP74r36LUUfsTJHE2/sB2KJFRN/aUm2ZEYhzexMYSfgnrq0KCLAgMBAAECggEACV8N7rN39BkUBV2qaPXLNKjFuZ6O2WnE28ejQ5LeZ0h5M6eDTGsa+BF2jhL7XYyzo0NiqvpnH+dWIkKJbG8i5OkdamcB4pJBkJZCj6LPL0yGcAbZmCLyzc1qMaOPJ1/f9YxUQDH/YItgbc7DEBwAFbkPyzT3ufRd7BuLLx1gu0iypHhBok9kXA4WgkUihLNXXVvSIGcVy+q9wpgOiw5jLC79qwqIp39Tlt6PKryODulqWIeoeSIgAu5tgUy4O3He6AZwqBprIfJSiJOwfdBd8FchQJQDgl0fyDR10VIUNbjgm+kxWssq4oNJ7+2n14Gdfwpy2K7oO9DYeqjBrv2p4QKBgQDqY8/5ufsJ9hKhQRX3vju+FEDLKvjjKH7/6puDwcvC1GgvshQSvCo9ZVIajwSmEoWq2LTDiPlUPFINKnALQiHCbRfNeS1Tws4cK4AAZnR+CGKkox9J5MWCDVzI2/82R9/9ZX4OO+As5+Od503Grmy+Zi0Redm+r4aK04gm3LfqGwKBgQDOlpOXFyYbb473TFkf9ZfyETZGkjlCzf4uPwPuJ3njWZfwPE2Gb+quZDLSmYp9JhzIFoapnQrjSFCVyzBYIIuz3jipb5MbQxc6FPSjw0pPowWdPkEL1CT5mpZFojop+I/TnEEG+Lv039O3cGlL2zagiBHRw0ediD6z0vnoOBeKUQKBgQDjlJBuKC9gp6XFHp4G05XMZHvZCNtqLHrLX28qSjPe80BJ9z1YR4032bYThYP9AAT7MripFskICh2dHPR3afm/fw9aeWsSZhab8XyyZsh7SwcEVkJeDBvdv720ZS9y8+y/bBkuFuL+lxVBz0GMRPXfFPRzgH10kZcwGl2bZjnIuwKBgQCVabQu95AZEbM9yps/ERom+ineGo2Ncnyep/bIvQZb1wWbu5F6ZOE/5boYNPJDl1gDor8cVzdzsG6QGBfL9SX1HgivCsJDWl+nI1bYRjsto8NAubDDxFhFqnd6v1z/1AT50C37w9P0xBlUt9mAAnjc2+y/YFQgbFSlLDaQrFjiMQKBgFJrLF21Uk6ALZa4R0eOyLKhuagw3uxmNvccNG8VL5DwYVCUS7/8SkPhO5yvbcA87Y1VnM20tUr047K4U83uFNxBnPMmxlhMsxtqjw+VV6Us6uh2ASaLZ9iP9iwkn5e37WLWX+XsewoGrW/YsONwIT0dnZDPRbxhPdJn8azSJqQr</PrivateKey><PublicKey><Signer>h</Signer><Key>MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQC9Ji74dnjo0qzbUFKEoNnMHsdX7mBXuJcu8zsl7vfkKLiAGIQiP9BQc/JnFr28W92fQz8uXVtm7NgnKJQkT7wzFyBdspmNDzosS58EIQVKe5p+uMaaGZ5z6j1DtLCFo7PLCnhasBluC0W1+37s7NtRD6bFo1r6QHupY63mBsSvJhAcmS+6bM7xS7PcK0WTVTsK1MWYZLOkYMWQ0AW/t4PZfqeKvalqheiR8oUIDeY7+7fqvQr5SAhL0yinbtaqWmPqcd5QWyPqVkbKclw4Uecw+JW+yR9uEOP9butP74r36LUUfsTJHE2/sB2KJFRN/aUm2ZEYhzexMYSfgnrq0KCLAgMBAAECggEACV8N7rN39BkUBV2qaPXLNKjFuZ6O2WnE28ejQ5LeZ0h5M6eDTGsa+BF2jhL7XYyzo0NiqvpnH+dWIkKJbG8i5OkdamcB4pJBkJZCj6LPL0yGcAbZmCLyzc1qMaOPJ1/f9YxUQDH/YItgbc7DEBwAFbkPyzT3ufRd7BuLLx1gu0iypHhBok9kXA4WgkUihLNXXVvSIGcVy+q9wpgOiw5jLC79qwqIp39Tlt6PKryODulqWIeoeSIgAu5tgUy4O3He6AZwqBprIfJSiJOwfdBd8FchQJQDgl0fyDR10VIUNbjgm+kxWssq4oNJ7+2n14Gdfwpy2K7oO9DYeqjBrv2p4QKBgQDqY8/5ufsJ9hKhQRX3vju+FEDLKvjjKH7/6puDwcvC1GgvshQSvCo9ZVIajwSmEoWq2LTDiPlUPFINKnALQiHCbRfNeS1Tws4cK4AAZnR+CGKkox9J5MWCDVzI2/82R9/9ZX4OO+As5+Od503Grmy+Zi0Redm+r4aK04gm3LfqGwKBgQDOlpOXFyYbb473TFkf9ZfyETZGkjlCzf4uPwPuJ3njWZfwPE2Gb+quZDLSmYp9JhzIFoapnQrjSFCVyzBYIIuz3jipb5MbQxc6FPSjw0pPowWdPkEL1CT5mpZFojop+I/TnEEG+Lv039O3cGlL2zagiBHRw0ediD6z0vnoOBeKUQKBgQDjlJBuKC9gp6XFHp4G05XMZHvZCNtqLHrLX28qSjPe80BJ9z1YR4032bYThYP9AAT7MripFskICh2dHPR3afm/fw9aeWsSZhab8XyyZsh7SwcEVkJeDBvdv720ZS9y8+y/bBkuFuL+lxVBz0GMRPXfFPRzgH10kZcwGl2bZjnIuwKBgQCVabQu95AZEbM9yps/ERom+ineGo2Ncnyep/bIvQZb1wWbu5F6ZOE/5boYNPJDl1gDor8cVzdzsG6QGBfL9SX1HgivCsJDWl+nI1bYRjsto8NAubDDxFhFqnd6v1z/1AT50C37w9P0xBlUt9mAAnjc2+y/YFQgbFSlLDaQrFjiMQKBgFJrLF21Uk6ALZa4R0eOyLKhuagw3uxmNvccNG8VL5DwYVCUS7/8SkPhO5yvbcA87Y1VnM20tUr047K4U83uFNxBnPMmxlhMsxtqjw+VV6Us6uh2ASaLZ9iP9iwkn5e37WLWX+XsewoGrW/YsONwIT0dnZDPRbxhPdJn8azSJqQr</Key></PublicKey></KeeShare>\n"
QuietSuccess=true
[PasswordGenerator]
AdditionalChars=
ExcludedChars=
Length=40
Logograms=true
WordCount=9
[SSHAgent]
Enabled=true

View File

@@ -0,0 +1,167 @@
#: Fonts {{{
font_family Iosevka Term SS08
bold_font auto
italic_font auto
bold_italic_font auto
font_size 12.0
disable_ligatures never
# }}}
#: Cursor {{{
cursor_shape block
cursor_blink_interval 0
#: }}}
#: Scrollback {{{
scrollback_lines 8192
scrollbar scrolled
scrollback_pager_history_size 1024
#: }}}
#: Mouse {{{
mouse_hide_wait 0.0
paste_actions quote-urls-at-prompt,confirm
#: }}}
#: Performance tuning {{{
repaint_delay 8
input_delay 2
#: }}}
#: Terminal bell {{{
enable_audio_bell yes
window_alert_on_bell yes
#: }}}
#: Window layout {{{
remember_window_size no
remember_window_position no
enabled_layouts *
hide_window_decorations yes
#: }}}
#: Tab bar {{{
tab_bar_edge top
tab_bar_style powerline
tab_bar_min_tabs 1
tab_powerline_style slanted
tab_activity_symbol !
tab_title_template "{index}{fmt.fg.red}{bell_symbol}{fmt.fg.tab}{activity_symbol}:{tab.last_focused_progress_percent}{title}"
#: }}}
#: Advanced {{{
notify_on_cmd_finish unfocused
#: }}}
#: OS specific tweaks {{{
linux_display_server auto
wayland_enable_ime no
#: }}}
#: Keyboard shortcuts {{{
kitty_mod ctrl+shift
map kitty_mod+c copy_to_clipboard
map kitty_mod+v paste_from_clipboard
map cmd+v
# map kitty_mod+o pass_selection_to_program
# map kitty_mod+o pass_selection_to_program firefox
# map kitty_mod+y new_window less @selection
map kitty_mod+z scroll_to_prompt -1
map kitty_mod+x scroll_to_prompt 1
map kitty_mod+h show_scrollback
# map f1 launch --stdin-source=@screen_scrollback --stdin-add-formatting --type=overlay less +G -R
#:: For more details on piping screen and buffer contents to external
#:: programs, see launch <https://sw.kovidgoyal.net/kitty/launch/>.
# map kitty_mod+g show_last_command_output
# map kitty_mod+enter launch --cwd=current
# map cmd+enter
# map ctrl+n launch --location=neighbor
# map ctrl+f launch --location=first
map kitty_mod+n
map cmd+n
map kitty_mod+w
map shift+cmd+d
map kitty_mod+]
map kitty_mod+[
map kitty_mod+f
map kitty_mod+b
map kitty_mod+`
map kitty_mod+r
map cmd+r
map kitty_mod+1
map cmd+1
map kitty_mod+2
map cmd+2
map kitty_mod+3
map cmd+3
map kitty_mod+4
map cmd+4
map kitty_mod+5
map cmd+5
map kitty_mod+6
map cmd+6
map kitty_mod+7
map cmd+7
map kitty_mod+8
map cmd+8
map kitty_mod+9
map cmd+9
map kitty_mod+0
map f1 goto_tab 1
map f2 goto_tab 2
map f3 goto_tab 3
map f4 goto_tab 4
map f5 goto_tab 5
map f6 goto_tab 6
map f7 goto_tab 7
map f8 goto_tab 8
# map kitty_mod+c new_tab # FIXME: conflict with 'copy'
map cmd+t
map kitty_mod+q
map cmd+w
map kitty_mod+.
map kitty_mod+,
map kitty_mod+alt+t
map shift+cmd+i
map kitty_mod+f1
map kitty_mod+f11
map ctrl+cmd+f
map kitty_mod+f10
map opt+cmd+s
map kitty_mod+u kitten unicode_input
map ctrl+cmd+space
map kitty_mod+/ kitty_shell window
map kitty_mod+f5
map kitty_mod+r load_config_file
map shift+cmd+/
map cmd+h
map opt+cmd+
map cmd+m
map cmd+q
#: }}}
include ./themes/zenwritten_dark.conf
include ./nvim.conf

View File

@@ -0,0 +1,8 @@
allow_remote_control socket-only
listen_on unix:/tmp/kitty
shell_integration enabled
action_alias kitty_scrollback_nvim kitten ~/.local/share/nvim/site/pack/paqs/start/kitty-scrollback.nvim/python/kitty_scrollback_nvim.py
map kitty_mod+h kitty_scrollback_nvim
map kitty_mod+g kitty_scrollback_nvim --config ksb_builtin_last_cmd_output
mouse_map ctrl+shift+right press ungrabbed combine : mouse_select_command_output : kitty_scrollback_nvim --config ksb_builtin_last_visited_cmd_output

View File

@@ -0,0 +1,49 @@
# This file is auto-generated by shipwright.nvim
# vim:ft=kitty
## name: zenwritten_dark
## author: Michael Chris Lopez
## license: MIT
## upstream: https://github.com/mcchrish/zenbones.nvim/raw/main/extras/kitty/zenwritten_dark.conf
## blurb: A zenbones variant with zero hue and saturation.
foreground #BBBBBB
background #191919
selection_foreground #BBBBBB
selection_background #404040
# Cursor colors
cursor #C9C9C9
cursor_text_color #191919
# URL underline color when hovering with mouse
# kitty window border colors
# OS Window titlebar colors
# Tab bar colors
active_tab_foreground #BBBBBB
active_tab_background #65435E
inactive_tab_foreground #BBBBBB
inactive_tab_background #303030
# Colors for marks (marked text in the terminal)
# The basic 16 colors
# black
color0 #191919
color8 #3D3839
# red
color1 #DE6E7C
color9 #E8838F
# green
color2 #819B69
color10 #8BAE68
# yellow
color3 #B77E64
color11 #D68C67
# blue
color4 #6099C0
color12 #61ABDA
# magenta
color5 #B279A7
color13 #CF86C1
# cyan
color6 #66A5AD
color14 #65B8C1
# white
color7 #BBBBBB
color15 #8E8E8E
# You can set the remaining 240 colors as color16 to color255.

View File

@@ -0,0 +1,49 @@
# This file is auto-generated by shipwright.nvim
# vim:ft=kitty
## name: zenwritten_light
## author: Michael Chris Lopez
## license: MIT
## upstream: https://github.com/mcchrish/zenbones.nvim/raw/main/extras/kitty/zenwritten_light.conf
## blurb: A zenbones variant with zero hue and saturation.
foreground #353535
background #EEEEEE
selection_foreground #353535
selection_background #D7D7D7
# Cursor colors
cursor #353535
cursor_text_color #EEEEEE
# URL underline color when hovering with mouse
# kitty window border colors
# OS Window titlebar colors
# Tab bar colors
active_tab_foreground #353535
active_tab_background #DEB9D6
inactive_tab_foreground #353535
inactive_tab_background #CFCFCF
# Colors for marks (marked text in the terminal)
# The basic 16 colors
# black
color0 #EEEEEE
color8 #C6C3C3
# red
color1 #A8334C
color9 #94253E
# green
color2 #4F6C31
color10 #3F5A22
# yellow
color3 #944927
color11 #803D1C
# blue
color4 #286486
color12 #1D5573
# magenta
color5 #88507D
color13 #7B3B70
# cyan
color6 #3B8992
color14 #2B747C
# white
color7 #353535
color15 #5C5C5C
# You can set the remaining 240 colors as color16 to color255.

View File

@@ -0,0 +1,20 @@
[Default Applications]
inode/x-empty=nvim.desktop
inode/directory=nvim.desktop
text/plain=nvim.desktop
text/html=firefoxdeveloperedition.desktop
image/gif=feh.desktop
image/jpeg=feh.desktop
image/png=feh.desktop
video/mp4=mpv.desktop
video/webm=mpv.desktop
model/stl=com.ultimaker.cura.desktop
application/pdf=org.pwmt.zathura.desktop
x-scheme-handler/msteams=teams-for-linux.desktop
x-scheme-handler/web+stremio=firefox.desktop
x-scheme-handler/http=firefoxdeveloperedition.desktop
x-scheme-handler/https=firefoxdeveloperedition.desktop
x-scheme-handler/chrome=firefoxdeveloperedition.desktop
x-scheme-handler/sidequest=SideQuest.desktop
x-scheme-handler/mailto=firefox.desktop
x-scheme-handler/webcal=firefox.desktop

Binary file not shown.

View File

@@ -0,0 +1,15 @@
l seek +5
h seek -5
k seek +30
j seek -30
+ add video-zoom 0.1
- add video-zoom -0.1
= set video-zoom 0; set video-pan-x 0; set video-pan-y 0
H add video-pan-x 0.01
L add video-pan-x -0.01
K add video-pan-y 0.01
J add video-pan-y -0.01
m cycle mute

16
dots/.config/mpv/mpv.conf Normal file
View File

@@ -0,0 +1,16 @@
vo=gpu
profile=gpu-hq
hwdec=auto
msg-color=yes
cursor-autohide=300
cursor-autohide-fs-only=yes
save-position-on-quit=yes
keep-open=yes
# Custom osc
osc=no
cursor-autohide=3500
osd-bar=no
osc-vidscale=no

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,66 @@
default_keybindings = false
flip_status_indicators = true
[keybindings]
"Enter" = "play"
" " = "playpause"
"S" = "stop"
"<" = "seek -10000"
">" = "seek +10000"
"H" = "previous"
"L" = "next"
"r" = "repeat"
"z" = "shuffle"
"d" = "delete"
"s" = "save"
"O" = "open current"
"o" = "open selected"
"Backspace" = "back"
"A" = "goto artist"
"a" = "goto album"
"q" = "queue"
"J" = "shift down 1"
"K" = "shift up 1"
"c" = "clear"
"=" = "volup 1"
"-" = "voldown 1"
"/" = "focus search"
"Q" = "focus queue"
"L" = "focus library"
"1" = "focus queue"
"2" = "focus library"
"h" = "move left 1"
"j" = "move down 1"
"k" = "move up 1"
"l" = "move right 1"
"g" = "move top"
"G" = "move bottom"
"t" = "sort added d"
"T" = "sort title a"
"y" = "share current"
"Y" = "share selected"
"U" = "update"
[theme]
primary="#aaaaaa"
secondary="#555555"
background="1a1a1a"
title="#cccccc"
title_secondary="#aaaaaa"
playing="#ffffff"
playing_bg="1a1a1a"
playing_selected="#ffffff"
highlight="#cccccc"
highlight_bg="#333333"
error="#ffffff"
error_bg="#333333"
statusbar="#cccccc"
statusbar_bg="#1a1a1a"
statusbar_progress="#cccccc"
statusbar_progress_bg="#1a1a1a"
cmdline="#cccccc"
cmdline_bg="#1a1a1a"
search_match="#ffffff"
backend="pipe"
notify="false"

View File

@@ -0,0 +1,3 @@
username = 'hektor.misplon@gmail.com'
auth_type = 0
auth_data = 'KDEzMzc9PXRydTMpPzo='

View File

@@ -0,0 +1,39 @@
auto-reload yes
reload-threads 100
# color background color240 black
# color listnormal color238 black
# color listfocus white black
# color listnormal_unread color240 black bold
# color listfocus_unread default black bold
# color info default black
# color article default black
bind-key h quit articlelist
bind-key h quit article
bind-key h quit tagselection
bind-key h quit feedlist
bind-key j down feedlist
bind-key j down tagselection
bind-key j next articlelist
bind-key j down article
bind-key J next-feed articlelist
bind-key k up feedlist
bind-key k prev articlelist
bind-key k up tagselection
bind-key K prev-feed articlelist
bind-key k up article
bind-key l open articlelist
bind-key l open feedlist
bind-key l open tagselection
bind-key G end
bind-key g home
text-width 80
browser "brave"
macro m set browser "mpv %u"; open-in-browser ; set browser "brave"
show-title-bar false
show-keymap-hint false

View File

@@ -0,0 +1 @@
experimental-features = nix-command flakes

View File

@@ -0,0 +1,6 @@
# Neovim configuration
My neovim configuration. Available as a Nix flake [^nixcats]. When installing manually,
`paq.nvim` is used as a fallback plugin manager.
[^nixcats]: Based on [this nixCats `example` template](https://github.com/BirdeeHub/nixCats-nvim/tree/77dffad8235eb77684fcb7599487c8e9f23d5b8f/templates/example)

View File

@@ -0,0 +1,37 @@
vim.cmd([[
function GetClozeNumber()
let REGEX_CLOZE_START = '{{c\d\+::'
" Find previous cloze match
let prev_match = searchpos(REGEX_CLOZE_START, 'bW', line("gg"))
" Only get number if cloze was matched (i.e. when cursor does not end up at
" start of file)
if max(prev_match) != 0
" Get word under cursor (ignoring curly braces and `::`),
" get the second character of the word and cast it to an int
" add one for the next cloze number
return str2nr(expand("<cword>")[1]) + 1
else
return 1
endif
endfunction
" Wrap the next cloze number
function GetClozeStart()
return "{{c" . GetClozeNumber() . "::"
endfunction
function GetClozeEnd()
return "}}"
endfunction
let g:sandwich#recipes += [
\ {
\ 'buns': ['GetClozeStart()', 'GetClozeEnd()'],
\ 'expr' : 1,
\ 'filetype': ['pandoc'],
\ 'input': ['c'],
\ 'nesting': 1
\ }
\ ]
]])

View File

@@ -0,0 +1,3 @@
require("auto-session").setup({
auto_session_enabled = vim.env.KITTY_SCROLLBACK_NVIM ~= "true", -- See kitty-scrollback.nvim
})

View File

@@ -0,0 +1 @@
require("claude-code").setup()

View File

@@ -0,0 +1,16 @@
-- require("codecompanion").setup({
-- extensions = {
-- mcphub = {
-- callback = "mcphub.extensions.codecompanion",
-- opts = {
-- make_vars = true,
-- make_slash_commands = true,
-- show_result_in_chat = true
-- }
-- }
-- },
-- strategies = {
-- chat = { adapter = "openai" },
-- inline = { adapter = "openai" },
-- },
-- })

View File

@@ -0,0 +1,29 @@
require("conform").setup({
format_after_save = {
lsp_fallback = true,
async = false,
timeout_ms = 500,
},
formatters_by_ft = {
awk = { "awk" },
bash = { "shellcheck" },
c = { "clang-format" },
cpp = { "clang-format" },
css = { "prettierd", "prettier", stop_after_first = true },
gdscript = { "gdformat" },
haskell = { "ormolu" },
html = { "prettierd", "prettier", stop_after_first = true },
lua = { "stylua" }, -- configured in stylua.toml
markdown = { "prettierd", "prettier", stop_after_first = true },
nix = { "nixfmt" },
javascript = { "eslint_d", "eslint", "prettierd", "prettier", stop_after_first = true },
javascriptreact = { "eslint_d", "eslint", "prettierd", "prettier", stop_after_first = true },
-- json = { "prettierd", "prettier", stop_after_first = true },
-- jsonc = { "prettierd", "prettier", stop_after_first = true },
python = { "isort", "black" },
svelte = { "eslint_d", "prettierd", "prettier", stop_after_first = true },
typescript = { "eslint_d", "prettierd", "prettier", stop_after_first = true },
typescriptreact = { "eslint_d", "eslint", "prettierd", "prettier", stop_after_first = true },
-- yaml = { "prettierd", "prettier", stop_after_first = true },
},
})

View File

@@ -0,0 +1 @@
require("copilot_cmp").setup()

View File

@@ -0,0 +1 @@
require("copilot").setup({})

View File

@@ -0,0 +1,7 @@
require("eyeliner").setup({
highlight_on_key = true,
dim = true,
})
vim.api.nvim_set_hl(0, "EyelinerPrimary", { bold = true, underline = true })
vim.api.nvim_set_hl(0, "EyelinerSecondary", { underline = true })

View File

@@ -0,0 +1 @@
require("fidget").setup()

View File

@@ -0,0 +1,78 @@
-- require("formatter").setup({
-- logging = true,
-- filetype = {
-- typescriptreact = {
-- -- prettier
-- function()
-- return {
-- exe = "prettier",
-- args = { "--stdin-filepath", vim.api.nvim_buf_get_name(0) },
-- stdin = true,
-- }
-- end,
-- },
-- typescript = {
-- -- prettier
-- function()
-- return {
-- exe = "prettier",
-- args = { "--stdin-filepath", vim.api.nvim_buf_get_name(0) },
-- stdin = true,
-- }
-- end,
-- -- linter
-- -- function()
-- -- return {
-- -- exe = "eslint",
-- -- args = {
-- -- "--stdin-filename",
-- -- vim.api.nvim_buf_get_name(0),
-- -- "--fix",
-- -- "--cache"
-- -- },
-- -- stdin = false
-- -- }
-- -- end
-- },
-- javascript = {
-- -- prettier
-- function()
-- return {
-- exe = "prettier",
-- args = { "--stdin-filepath", vim.api.nvim_buf_get_name(0) },
-- stdin = true,
-- }
-- end,
-- },
-- javascriptreact = {
-- -- prettier
-- function()
-- return {
-- exe = "prettier",
-- args = { "--stdin-filepath", vim.api.nvim_buf_get_name(0) },
-- stdin = true,
-- }
-- end,
-- },
-- json = {
-- -- prettier
-- function()
-- return {
-- exe = "prettier",
-- args = { "--stdin-filepath", vim.api.nvim_buf_get_name(0) },
-- stdin = true,
-- }
-- end,
-- },
-- lua = {
-- -- luafmt
-- function()
-- return {
-- exe = "luafmt",
-- args = { "--indent-count", 2, "--stdin" },
-- stdin = true,
-- }
-- end,
-- },
-- },
-- })

View File

@@ -0,0 +1,18 @@
local fzf = require("fzf-lua")
fzf.setup({ "max-perf" })
vim.keymap.set("n", "<leader>f<leader>", fzf.builtin) -- Help
vim.keymap.set("n", "<leader>fc", fzf.commands)
vim.keymap.set("n", "<leader>ff", fzf.files)
vim.keymap.set("n", "<leader>fg", function()
fzf.live_grep_native({ resume = true })
end)
vim.keymap.set("n", "<leader>fb", fzf.buffers)
vim.keymap.set("n", "<leader>fd", fzf.diagnostics_workspace)
vim.keymap.set("n", "<leader>fhe", fzf.help_tags)
vim.keymap.set("n", "<leader>fhi", fzf.search_history)
vim.keymap.set("n", "<leader>fma", fzf.marks)
vim.keymap.set("n", "<leader>fma", fzf.man_pages)
vim.keymap.set("i", "<c-f>", fzf.complete_file)

Some files were not shown because too many files have changed in this diff Show More