dotfiles-tui 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (204) hide show
  1. checksums.yaml +7 -0
  2. data/.env.example +4 -0
  3. data/.gitattributes +1 -0
  4. data/.github/workflows/publish-gem.yml +36 -0
  5. data/.gitignore +316 -0
  6. data/.shellcheckrc +1 -0
  7. data/.stow-local-ignore +23 -0
  8. data/.vscode/settings.json +2 -0
  9. data/Configs/aerospace/.config/aerospace/aerospace.toml +265 -0
  10. data/Configs/alacritty/.config/alacritty/alacritty.toml +31 -0
  11. data/Configs/conda/.condarc +1 -0
  12. data/Configs/continue/.continue/.continueignore +0 -0
  13. data/Configs/continue/.continue/.continuerc.json +3 -0
  14. data/Configs/continue/.continue/config.json +48 -0
  15. data/Configs/docker/.docker/completion/completion.zsh +3 -0
  16. data/Configs/editorconfig/.editorconfig +16 -0
  17. data/Configs/fzf/.fzf/completion/completion.zsh +8 -0
  18. data/Configs/git/.config/gitconfig/core +83 -0
  19. data/Configs/git/.config/gitconfig/home +20 -0
  20. data/Configs/git/.config/gitconfig/template.txt +7 -0
  21. data/Configs/git/.config/gitconfig/work +23 -0
  22. data/Configs/git/.gitconfig +25 -0
  23. data/Configs/gpg/.gnupg/.#lk0x000000015060b4e0.macBook.pro.24088 +2 -0
  24. data/Configs/gpg/.gnupg/gpg-agent.conf +3 -0
  25. data/Configs/gpg/.gnupg/openpgp-revocs.d/DE999E2ACEAE3E8EAD660459688CB4D444FB1024.rev +28 -0
  26. data/Configs/gpg/.gnupg/private-keys-v1.d/0FF407C984AC03CCC60D924C5B315977DF45D5D0.key +7 -0
  27. data/Configs/gpg/.gnupg/private-keys-v1.d/2B711D7C4A8BE25322C9966B73E6842F7E64CD38.key +7 -0
  28. data/Configs/gpg/.gnupg/pubring.kbx +0 -0
  29. data/Configs/gpg/.gnupg/trustdb.gpg +0 -0
  30. data/Configs/kitty/.config/kitty/current-theme.conf +80 -0
  31. data/Configs/kitty/.config/kitty/kitty.conf +93 -0
  32. data/Configs/nvim/.config/nvim/.stylua.toml +6 -0
  33. data/Configs/nvim/.config/nvim/README.md +9 -0
  34. data/Configs/nvim/.config/nvim/init.lua +37 -0
  35. data/Configs/nvim/.config/nvim/lazy-lock.json +29 -0
  36. data/Configs/nvim/.config/nvim/lua/chadrc.lua +17 -0
  37. data/Configs/nvim/.config/nvim/lua/configs/conform.lua +15 -0
  38. data/Configs/nvim/.config/nvim/lua/configs/lazy.lua +47 -0
  39. data/Configs/nvim/.config/nvim/lua/configs/lspconfig.lua +24 -0
  40. data/Configs/nvim/.config/nvim/lua/configs/null_ls.lua +27 -0
  41. data/Configs/nvim/.config/nvim/lua/mappings.lua +10 -0
  42. data/Configs/nvim/.config/nvim/lua/options.lua +6 -0
  43. data/Configs/nvim/.config/nvim/lua/plugins/init.lua +25 -0
  44. data/Configs/oh-my-posh/.config/oh-my-posh/theme/config.json +71 -0
  45. data/Configs/pip/.config/pip/pip.conf +3 -0
  46. data/Configs/python/.pythonrc +25 -0
  47. data/Configs/starship/.config/starship/starship.toml +134 -0
  48. data/Configs/starship/.config/starship/themes/frappe.toml +27 -0
  49. data/Configs/starship/.config/starship/themes/latte.toml +27 -0
  50. data/Configs/starship/.config/starship/themes/macchiato.toml +27 -0
  51. data/Configs/starship/.config/starship/themes/mocha.toml +27 -0
  52. data/Configs/tmux/.tmux.conf +21 -0
  53. data/Configs/wezterm/.config/wezterm/core/colors.lua +10 -0
  54. data/Configs/wezterm/.config/wezterm/core/font.lua +5 -0
  55. data/Configs/wezterm/.config/wezterm/core/helper.lua +22 -0
  56. data/Configs/wezterm/.config/wezterm/core/init.lua +20 -0
  57. data/Configs/wezterm/.config/wezterm/core/keybindings/init.lua +16 -0
  58. data/Configs/wezterm/.config/wezterm/core/keybindings/macos.lua +106 -0
  59. data/Configs/wezterm/.config/wezterm/core/keybindings/windows.lua +99 -0
  60. data/Configs/wezterm/.config/wezterm/core/launch.lua +41 -0
  61. data/Configs/wezterm/.config/wezterm/core/maximized.lua +5 -0
  62. data/Configs/wezterm/.config/wezterm/core/mousebindings.lua +23 -0
  63. data/Configs/wezterm/.config/wezterm/core/tab_title.lua +26 -0
  64. data/Configs/wezterm/.config/wezterm/core/window.lua +8 -0
  65. data/Configs/wezterm/.config/wezterm/wezterm.lua +83 -0
  66. data/Configs/zellij/.config/zellij/config.kdl +410 -0
  67. data/Configs/zellij/.config/zellij/layouts/default.kdl +159 -0
  68. data/Configs/zellij/.config/zellij/plugins/room.wasm +0 -0
  69. data/Configs/zellij/.config/zellij/plugins/zjstatus.wasm +0 -0
  70. data/Configs/zsh/.hushlogin +0 -0
  71. data/Configs/zsh/.localrc +42 -0
  72. data/Configs/zsh/.profile +3 -0
  73. data/Configs/zsh/.shellcheckrc +1 -0
  74. data/Configs/zsh/.zprofile +3 -0
  75. data/Configs/zsh/.zsh/autoload/backup_restore +84 -0
  76. data/Configs/zsh/.zsh/autoload/cat +8 -0
  77. data/Configs/zsh/.zsh/autoload/change_wallpaper +1 -0
  78. data/Configs/zsh/.zsh/autoload/clean_dstore +6 -0
  79. data/Configs/zsh/.zsh/autoload/clean_pycache +6 -0
  80. data/Configs/zsh/.zsh/autoload/convert_mkv_to_mp4 +14 -0
  81. data/Configs/zsh/.zsh/autoload/create_macos_installer +26 -0
  82. data/Configs/zsh/.zsh/autoload/download +71 -0
  83. data/Configs/zsh/.zsh/autoload/fail +2 -0
  84. data/Configs/zsh/.zsh/autoload/flush_dns +6 -0
  85. data/Configs/zsh/.zsh/autoload/info +1 -0
  86. data/Configs/zsh/.zsh/autoload/ls +8 -0
  87. data/Configs/zsh/.zsh/autoload/reset_beyond_compare +15 -0
  88. data/Configs/zsh/.zsh/autoload/reset_final_cut_pro +5 -0
  89. data/Configs/zsh/.zsh/autoload/reset_launch_pad +3 -0
  90. data/Configs/zsh/.zsh/autoload/reset_open_list +3 -0
  91. data/Configs/zsh/.zsh/autoload/speedup_terminal +6 -0
  92. data/Configs/zsh/.zsh/autoload/start_aria2_server +1 -0
  93. data/Configs/zsh/.zsh/autoload/success +1 -0
  94. data/Configs/zsh/.zsh/autoload/update_system +19 -0
  95. data/Configs/zsh/.zsh/autoload/user +1 -0
  96. data/Configs/zsh/.zsh/autoload/vim +9 -0
  97. data/Configs/zsh/.zsh/autoload/warn +1 -0
  98. data/Configs/zsh/.zsh/completion/aliases.zsh +3 -0
  99. data/Configs/zsh/.zsh/completion/completion.zsh +33 -0
  100. data/Configs/zsh/.zsh/completion/config.zsh +118 -0
  101. data/Configs/zsh/.zsh/completion/exports.zsh +108 -0
  102. data/Configs/zsh/.zsh/completion/fpath.zsh +8 -0
  103. data/Configs/zsh/.zsh_history +283 -0
  104. data/Configs/zsh/.zshenv +2 -0
  105. data/Configs/zsh/.zshrc +54 -0
  106. data/Gemfile +3 -0
  107. data/Gemfile.lock +87 -0
  108. data/Hooks/adguard/pre.rb +7 -0
  109. data/Hooks/aerospace/pre.rb +8 -0
  110. data/Hooks/aide/post.rb +7 -0
  111. data/Hooks/aide/pre.rb +7 -0
  112. data/Hooks/alacritty/pre.rb +7 -0
  113. data/Hooks/alfred/pre.rb +7 -0
  114. data/Hooks/atuin/post.rb +27 -0
  115. data/Hooks/atuin/pre.rb +7 -0
  116. data/Hooks/bartender/pre.rb +7 -0
  117. data/Hooks/bun/pre.rb +7 -0
  118. data/Hooks/carapace/pre.rb +7 -0
  119. data/Hooks/cargo/pre.rb +7 -0
  120. data/Hooks/choosy/pre.rb +7 -0
  121. data/Hooks/controld/pre.rb +7 -0
  122. data/Hooks/core/common.rb +36 -0
  123. data/Hooks/core/final.rb +23 -0
  124. data/Hooks/core/lib/configurator.rb +593 -0
  125. data/Hooks/core/lib/display.rb +120 -0
  126. data/Hooks/core/lib/hook_config.rb +96 -0
  127. data/Hooks/core/lib/hook_context.rb +124 -0
  128. data/Hooks/core/lib/hooks.rb +45 -0
  129. data/Hooks/core/lib/logger.rb +23 -0
  130. data/Hooks/core/lib/menu.rb +70 -0
  131. data/Hooks/core/lib/spinner.rb +50 -0
  132. data/Hooks/core/lib/system.rb +78 -0
  133. data/Hooks/core/lib/tweaks.rb +59 -0
  134. data/Hooks/core/library.rb +3 -0
  135. data/Hooks/core/pre.rb +17 -0
  136. data/Hooks/ctrld/pre.rb +7 -0
  137. data/Hooks/deskpad/pre.rb +7 -0
  138. data/Hooks/fonts/pre.rb +60 -0
  139. data/Hooks/ghostty/pre.rb +10 -0
  140. data/Hooks/git/post.rb +20 -0
  141. data/Hooks/git/pre.rb +7 -0
  142. data/Hooks/gpg/post.rb +16 -0
  143. data/Hooks/gpg/pre.rb +7 -0
  144. data/Hooks/ice-hidemenubar/pre.rb +7 -0
  145. data/Hooks/iterm/IC Green PPL.itermcolors +344 -0
  146. data/Hooks/iterm/chalkboard.webp +0 -0
  147. data/Hooks/iterm/com.googlecode.iterm2.plist +2371 -0
  148. data/Hooks/iterm/post.rb +7 -0
  149. data/Hooks/iterm/pre.rb +7 -0
  150. data/Hooks/jujutsu/post.rb +13 -0
  151. data/Hooks/jujutsu/pre.rb +7 -0
  152. data/Hooks/keka/pre.rb +7 -0
  153. data/Hooks/kitty/pre.rb +7 -0
  154. data/Hooks/lazyvim/pre.rb +7 -0
  155. data/Hooks/lima/pre.rb +7 -0
  156. data/Hooks/little-snitch/pre.rb +7 -0
  157. data/Hooks/microsoft-edge/pre.rb +7 -0
  158. data/Hooks/mos/pre.rb +7 -0
  159. data/Hooks/nvchad/pre.rb +7 -0
  160. data/Hooks/oh-my-posh/config.json +58 -0
  161. data/Hooks/oh-my-posh/post.rb +7 -0
  162. data/Hooks/oh-my-posh/pre.rb +7 -0
  163. data/Hooks/pearcleaner/pre.rb +7 -0
  164. data/Hooks/pycharm/pre.rb +7 -0
  165. data/Hooks/raindropio/pre.rb +7 -0
  166. data/Hooks/rectangle/RectangleConfig.json +258 -0
  167. data/Hooks/rectangle/com.knollsoft.Rectangle.plist +0 -0
  168. data/Hooks/rectangle/post.rb +22 -0
  169. data/Hooks/rectangle/pre.rb +7 -0
  170. data/Hooks/slack/pre.rb +7 -0
  171. data/Hooks/soundsource/pre.rb +7 -0
  172. data/Hooks/ssh/post.rb +8 -0
  173. data/Hooks/starship/pre.rb +7 -0
  174. data/Hooks/sublime_text/post.rb +25 -0
  175. data/Hooks/sublime_text/pre.rb +7 -0
  176. data/Hooks/swiftformat-for-xcode/pre.rb +7 -0
  177. data/Hooks/syncthing/pre.rb +7 -0
  178. data/Hooks/synology/pre.rb +7 -0
  179. data/Hooks/tailscale/pre.rb +7 -0
  180. data/Hooks/tmux/post.rb +7 -0
  181. data/Hooks/tmux/pre.rb +7 -0
  182. data/Hooks/topnotch/pre.rb +7 -0
  183. data/Hooks/transmission/pre.rb +7 -0
  184. data/Hooks/vscode/extensions.txt +16 -0
  185. data/Hooks/vscode/keybindings.json +26 -0
  186. data/Hooks/vscode/post.rb +29 -0
  187. data/Hooks/vscode/pre.rb +9 -0
  188. data/Hooks/vscode/settings.json +139 -0
  189. data/Hooks/vscode/style.css +29 -0
  190. data/Hooks/wezterm/pre.rb +7 -0
  191. data/Hooks/wins/pre.rb +7 -0
  192. data/Hooks/zed/pre.rb +7 -0
  193. data/Hooks/zellij/post.rb +7 -0
  194. data/Hooks/zellij/pre.rb +7 -0
  195. data/Hooks/zoxide/pre.rb +7 -0
  196. data/Hooks/zsh/pre.rb +19 -0
  197. data/LICENSE +21 -0
  198. data/README.md +100 -0
  199. data/bin/dotfiles-tui +6 -0
  200. data/bootstrap.rb +186 -0
  201. data/dotfiles-tui.gemspec +47 -0
  202. data/lib/dotfiles_tui/version.rb +5 -0
  203. data/lib/dotfiles_tui.rb +15 -0
  204. metadata +275 -0
@@ -0,0 +1,27 @@
1
+ local null_ls = require("null-ls")
2
+ local augroup = vim.api.nvim_create_augroup("LspFormatting", {})
3
+
4
+
5
+ local opts = {
6
+ sources = {
7
+ null_ls.builtins.formatting.ruff,
8
+ null_ls.builtins.diagnostics.ruff
9
+ },
10
+ on_attach = function (client, bufnr)
11
+ if client.supports_method("textDocument/formatting") then
12
+ vim.api.nvim_clear_autocmds({
13
+ group = augroup,
14
+ buffer = bufnr,
15
+ })
16
+ vim.api.nvim_create_autocmd("BufWritePre", {
17
+ group = augroup,
18
+ buffer = bufnr,
19
+ callback = function()
20
+ vim.lsp.buf.format({ bufnr = bufnr })
21
+ end,
22
+ })
23
+ end
24
+ end
25
+ }
26
+
27
+ return opts
@@ -0,0 +1,10 @@
1
+ require "nvchad.mappings"
2
+
3
+ -- add yours here
4
+
5
+ local map = vim.keymap.set
6
+
7
+ map("n", ";", ":", { desc = "CMD enter command mode" })
8
+ map("i", "jk", "<ESC>")
9
+
10
+ -- map({ "n", "i", "v" }, "<C-s>", "<cmd> w <cr>")
@@ -0,0 +1,6 @@
1
+ require "nvchad.options"
2
+
3
+ -- add yours here!
4
+
5
+ -- local o = vim.o
6
+ -- o.cursorlineopt ='both' -- to enable cursorline!
@@ -0,0 +1,25 @@
1
+ return {
2
+ {
3
+ "stevearc/conform.nvim",
4
+ -- event = 'BufWritePre', -- uncomment for format on save
5
+ opts = require "configs.conform",
6
+ },
7
+
8
+ -- These are some examples, uncomment them if you want to see them work!
9
+ {
10
+ "neovim/nvim-lspconfig",
11
+ config = function()
12
+ require "configs.lspconfig"
13
+ end,
14
+ },
15
+
16
+ -- {
17
+ -- "nvim-treesitter/nvim-treesitter",
18
+ -- opts = {
19
+ -- ensure_installed = {
20
+ -- "vim", "lua", "vimdoc",
21
+ -- "html", "css"
22
+ -- },
23
+ -- },
24
+ -- },
25
+ }
@@ -0,0 +1,71 @@
1
+ {
2
+ "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
3
+ "blocks": [
4
+ {
5
+ "alignment": "left",
6
+ "segments": [
7
+ {
8
+ "background": "p:blue",
9
+ "foreground": "p:wight",
10
+ "leading_diamond": "",
11
+ "powerline_symbol": "",
12
+ "style": "diamond",
13
+ "template": "{{.Icon}} ",
14
+ "type": "os"
15
+ },
16
+ {
17
+ "background": "p:blue",
18
+ "foreground": "p:text",
19
+ "powerline_symbol": "",
20
+ "style": "diamond",
21
+ "template": "{{ .UserName }}@{{ .HostName }}",
22
+ "type": "session"
23
+ },
24
+ {
25
+ "background": "p:pink",
26
+ "foreground": "p:text",
27
+ "powerline_symbol": "",
28
+ "properties": {
29
+ "folder_icon": "....",
30
+ "home_icon": "~",
31
+ "style": "agnoster_short"
32
+ },
33
+ "style": "powerline",
34
+ "template": " {{ .Path }}",
35
+ "type": "path"
36
+ },
37
+ {
38
+ "background": "p:lavender",
39
+ "foreground": "p:text",
40
+ "powerline_symbol": "",
41
+ "properties": {
42
+ "branch_icon": " ",
43
+ "cherry_pick_icon": " ",
44
+ "commit_icon": " ",
45
+ "fetch_status": false,
46
+ "fetch_upstream_icon": false,
47
+ "merge_icon": " ",
48
+ "no_commits_icon": " ",
49
+ "rebase_icon": " ",
50
+ "revert_icon": " ",
51
+ "tag_icon": " "
52
+ },
53
+ "style": "powerline",
54
+ "template": " {{ .HEAD }}",
55
+ "type": "git"
56
+ }
57
+ ],
58
+ "type": "prompt"
59
+ }
60
+ ],
61
+ "final_space": true,
62
+ "palette": {
63
+ "blue": "#8AADF4",
64
+ "lavender": "#B7BDF8",
65
+ "os": "#ACB0BE",
66
+ "pink": "#F5BDE6",
67
+ "text": "#494D64",
68
+ "wight": "#FFFFFF"
69
+ },
70
+ "version": 2
71
+ }
@@ -0,0 +1,3 @@
1
+ [global]
2
+ break-system-packages = true
3
+ user = true
@@ -0,0 +1,25 @@
1
+ import atexit
2
+ import contextlib
3
+ import os
4
+ import readline
5
+ import rlcompleter
6
+
7
+ history_file = os.path.join(os.environ["HOME"], ".python_history")
8
+
9
+ with contextlib.suppress(IOError):
10
+ readline.read_history_file(history_file)
11
+
12
+ # Turn on Autocomplete
13
+ if "libedit" in readline.__doc__:
14
+ readline.parse_and_bind("bind ^I rl_complete")
15
+ else:
16
+ readline.parse_and_bind("tab: complete")
17
+
18
+ # Limit the number of entries saved
19
+ readline.set_history_length(1000)
20
+
21
+ # Create history file on exit if it doesn't already exist
22
+ atexit.register(readline.write_history_file, history_file)
23
+
24
+ # Remove all variables
25
+ del os, readline, rlcompleter, atexit, history_file
@@ -0,0 +1,134 @@
1
+ # Get editor completions based on the config schema
2
+ "$schema" = 'https://starship.rs/config-schema.json'
3
+
4
+ # Sets user-defined palette
5
+ # Palettes must be defined _after_ this line
6
+ palette = "catppuccin_macchiato"
7
+
8
+ # Starship modules
9
+ [character]
10
+ # Note the use of Catppuccin color 'peach'
11
+ success_symbol = "[[󰄛](green) ❯](peach)"
12
+ error_symbol = "[[󰄛](red) ❯](peach)"
13
+ vimcmd_symbol = "[󰄛 ❮](subtext1)" # For use with zsh-vi-mode
14
+
15
+ [git_branch]
16
+ style = "bold mauve"
17
+
18
+ [directory]
19
+ truncation_length = 4
20
+ style = "bold lavender"
21
+
22
+ # Palette definitions
23
+ [palettes.catppuccin_latte]
24
+ rosewater = "#dc8a78"
25
+ flamingo = "#dd7878"
26
+ pink = "#ea76cb"
27
+ mauve = "#8839ef"
28
+ red = "#d20f39"
29
+ maroon = "#e64553"
30
+ peach = "#fe640b"
31
+ yellow = "#df8e1d"
32
+ green = "#40a02b"
33
+ teal = "#179299"
34
+ sky = "#04a5e5"
35
+ sapphire = "#209fb5"
36
+ blue = "#1e66f5"
37
+ lavender = "#7287fd"
38
+ text = "#4c4f69"
39
+ subtext1 = "#5c5f77"
40
+ subtext0 = "#6c6f85"
41
+ overlay2 = "#7c7f93"
42
+ overlay1 = "#8c8fa1"
43
+ overlay0 = "#9ca0b0"
44
+ surface2 = "#acb0be"
45
+ surface1 = "#bcc0cc"
46
+ surface0 = "#ccd0da"
47
+ base = "#eff1f5"
48
+ mantle = "#e6e9ef"
49
+ crust = "#dce0e8"
50
+
51
+ [palettes.catppuccin_frappe]
52
+ rosewater = "#f2d5cf"
53
+ flamingo = "#eebebe"
54
+ pink = "#f4b8e4"
55
+ mauve = "#ca9ee6"
56
+ red = "#e78284"
57
+ maroon = "#ea999c"
58
+ peach = "#ef9f76"
59
+ yellow = "#e5c890"
60
+ green = "#a6d189"
61
+ teal = "#81c8be"
62
+ sky = "#99d1db"
63
+ sapphire = "#85c1dc"
64
+ blue = "#8caaee"
65
+ lavender = "#babbf1"
66
+ text = "#c6d0f5"
67
+ subtext1 = "#b5bfe2"
68
+ subtext0 = "#a5adce"
69
+ overlay2 = "#949cbb"
70
+ overlay1 = "#838ba7"
71
+ overlay0 = "#737994"
72
+ surface2 = "#626880"
73
+ surface1 = "#51576d"
74
+ surface0 = "#414559"
75
+ base = "#303446"
76
+ mantle = "#292c3c"
77
+ crust = "#232634"
78
+
79
+ [palettes.catppuccin_macchiato]
80
+ rosewater = "#f4dbd6"
81
+ flamingo = "#f0c6c6"
82
+ pink = "#f5bde6"
83
+ mauve = "#c6a0f6"
84
+ red = "#ed8796"
85
+ maroon = "#ee99a0"
86
+ peach = "#f5a97f"
87
+ yellow = "#eed49f"
88
+ green = "#a6da95"
89
+ teal = "#8bd5ca"
90
+ sky = "#91d7e3"
91
+ sapphire = "#7dc4e4"
92
+ blue = "#8aadf4"
93
+ lavender = "#b7bdf8"
94
+ text = "#cad3f5"
95
+ subtext1 = "#b8c0e0"
96
+ subtext0 = "#a5adcb"
97
+ overlay2 = "#939ab7"
98
+ overlay1 = "#8087a2"
99
+ overlay0 = "#6e738d"
100
+ surface2 = "#5b6078"
101
+ surface1 = "#494d64"
102
+ surface0 = "#363a4f"
103
+ base = "#24273a"
104
+ mantle = "#1e2030"
105
+ crust = "#181926"
106
+
107
+ [palettes.catppuccin_mocha]
108
+ rosewater = "#f5e0dc"
109
+ flamingo = "#f2cdcd"
110
+ pink = "#f5c2e7"
111
+ mauve = "#cba6f7"
112
+ red = "#f38ba8"
113
+ maroon = "#eba0ac"
114
+ peach = "#fab387"
115
+ yellow = "#f9e2af"
116
+ green = "#a6e3a1"
117
+ teal = "#94e2d5"
118
+ sky = "#89dceb"
119
+ sapphire = "#74c7ec"
120
+ blue = "#89b4fa"
121
+ lavender = "#b4befe"
122
+ text = "#cdd6f4"
123
+ subtext1 = "#bac2de"
124
+ subtext0 = "#a6adc8"
125
+ overlay2 = "#9399b2"
126
+ overlay1 = "#7f849c"
127
+ overlay0 = "#6c7086"
128
+ surface2 = "#585b70"
129
+ surface1 = "#45475a"
130
+ surface0 = "#313244"
131
+ base = "#1e1e2e"
132
+ mantle = "#181825"
133
+ crust = "#11111b"
134
+
@@ -0,0 +1,27 @@
1
+ [palettes.catppuccin_frappe]
2
+ rosewater = "#f2d5cf"
3
+ flamingo = "#eebebe"
4
+ pink = "#f4b8e4"
5
+ mauve = "#ca9ee6"
6
+ red = "#e78284"
7
+ maroon = "#ea999c"
8
+ peach = "#ef9f76"
9
+ yellow = "#e5c890"
10
+ green = "#a6d189"
11
+ teal = "#81c8be"
12
+ sky = "#99d1db"
13
+ sapphire = "#85c1dc"
14
+ blue = "#8caaee"
15
+ lavender = "#babbf1"
16
+ text = "#c6d0f5"
17
+ subtext1 = "#b5bfe2"
18
+ subtext0 = "#a5adce"
19
+ overlay2 = "#949cbb"
20
+ overlay1 = "#838ba7"
21
+ overlay0 = "#737994"
22
+ surface2 = "#626880"
23
+ surface1 = "#51576d"
24
+ surface0 = "#414559"
25
+ base = "#303446"
26
+ mantle = "#292c3c"
27
+ crust = "#232634"
@@ -0,0 +1,27 @@
1
+ [palettes.catppuccin_latte]
2
+ rosewater = "#dc8a78"
3
+ flamingo = "#dd7878"
4
+ pink = "#ea76cb"
5
+ mauve = "#8839ef"
6
+ red = "#d20f39"
7
+ maroon = "#e64553"
8
+ peach = "#fe640b"
9
+ yellow = "#df8e1d"
10
+ green = "#40a02b"
11
+ teal = "#179299"
12
+ sky = "#04a5e5"
13
+ sapphire = "#209fb5"
14
+ blue = "#1e66f5"
15
+ lavender = "#7287fd"
16
+ text = "#4c4f69"
17
+ subtext1 = "#5c5f77"
18
+ subtext0 = "#6c6f85"
19
+ overlay2 = "#7c7f93"
20
+ overlay1 = "#8c8fa1"
21
+ overlay0 = "#9ca0b0"
22
+ surface2 = "#acb0be"
23
+ surface1 = "#bcc0cc"
24
+ surface0 = "#ccd0da"
25
+ base = "#eff1f5"
26
+ mantle = "#e6e9ef"
27
+ crust = "#dce0e8"
@@ -0,0 +1,27 @@
1
+ [palettes.catppuccin_macchiato]
2
+ rosewater = "#f4dbd6"
3
+ flamingo = "#f0c6c6"
4
+ pink = "#f5bde6"
5
+ mauve = "#c6a0f6"
6
+ red = "#ed8796"
7
+ maroon = "#ee99a0"
8
+ peach = "#f5a97f"
9
+ yellow = "#eed49f"
10
+ green = "#a6da95"
11
+ teal = "#8bd5ca"
12
+ sky = "#91d7e3"
13
+ sapphire = "#7dc4e4"
14
+ blue = "#8aadf4"
15
+ lavender = "#b7bdf8"
16
+ text = "#cad3f5"
17
+ subtext1 = "#b8c0e0"
18
+ subtext0 = "#a5adcb"
19
+ overlay2 = "#939ab7"
20
+ overlay1 = "#8087a2"
21
+ overlay0 = "#6e738d"
22
+ surface2 = "#5b6078"
23
+ surface1 = "#494d64"
24
+ surface0 = "#363a4f"
25
+ base = "#24273a"
26
+ mantle = "#1e2030"
27
+ crust = "#181926"
@@ -0,0 +1,27 @@
1
+ [palettes.catppuccin_mocha]
2
+ rosewater = "#f5e0dc"
3
+ flamingo = "#f2cdcd"
4
+ pink = "#f5c2e7"
5
+ mauve = "#cba6f7"
6
+ red = "#f38ba8"
7
+ maroon = "#eba0ac"
8
+ peach = "#fab387"
9
+ yellow = "#f9e2af"
10
+ green = "#a6e3a1"
11
+ teal = "#94e2d5"
12
+ sky = "#89dceb"
13
+ sapphire = "#74c7ec"
14
+ blue = "#89b4fa"
15
+ lavender = "#b4befe"
16
+ text = "#cdd6f4"
17
+ subtext1 = "#bac2de"
18
+ subtext0 = "#a6adc8"
19
+ overlay2 = "#9399b2"
20
+ overlay1 = "#7f849c"
21
+ overlay0 = "#6c7086"
22
+ surface2 = "#585b70"
23
+ surface1 = "#45475a"
24
+ surface0 = "#313244"
25
+ base = "#1e1e2e"
26
+ mantle = "#181825"
27
+ crust = "#11111b"
@@ -0,0 +1,21 @@
1
+ # List of plugins
2
+ set -g @plugin 'tmux-plugins/tpm'
3
+ set -g @plugin 'tmux-plugins/tmux-sensible'
4
+ set -g @plugin 'dracula/tmux'
5
+
6
+ # Enable mouse mode
7
+ set -g mouse on
8
+
9
+ #Disable exit-empty
10
+ set -s exit-empty off
11
+
12
+ # Start counting pane and window number at 1
13
+ set -g base-index 1
14
+ setw -g pane-base-index 1
15
+
16
+ # Change pane colors
17
+ set -g pane-active-border fg=red
18
+ set -ag pane-active-border bg=yellow
19
+
20
+ # Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
21
+ run '~/.tmux/plugins/tpm/tpm'
@@ -0,0 +1,10 @@
1
+ local colors = {
2
+ color_scheme = "Batman",
3
+ inactive_pane_hsb = {
4
+ hue = 1.0,
5
+ saturation = 1.0,
6
+ brightness = 1.0
7
+ }
8
+ }
9
+
10
+ return colors
@@ -0,0 +1,5 @@
1
+ local font = {
2
+ font_size = 17.0
3
+ }
4
+
5
+ return font
@@ -0,0 +1,22 @@
1
+ local function get_os()
2
+ local sep = package.config:sub(1, 1)
3
+ if sep == "\\" then
4
+ return "Windows"
5
+ else
6
+ local fh, err = io.popen("uname -s", "r")
7
+ if fh then
8
+ local os_name = fh:read("*l")
9
+ fh:close()
10
+ if os_name == "Linux" then
11
+ return "Linux"
12
+ elseif os_name == "Darwin" then
13
+ return "macOS"
14
+ end
15
+ end
16
+ end
17
+ return "Unknown"
18
+ end
19
+
20
+ return {
21
+ get_os = get_os
22
+ }
@@ -0,0 +1,20 @@
1
+ -- Load configuration modules
2
+ local window = require("core.window")
3
+ local colors = require("core.colors")
4
+ local font = require("core.font")
5
+ local keybindings = require("core.keybindings")
6
+ local mousebindings = require("core.mousebindings")
7
+ local launch_menu = require("core.launch")
8
+ local tab_title = require("core.tab_title")
9
+ local maximized = require("core.maximized")
10
+
11
+ return {
12
+ window = window,
13
+ colors = colors,
14
+ font = font,
15
+ keybindings = keybindings,
16
+ mousebindings = mousebindings,
17
+ launch_menu = launch_menu,
18
+ tab_title = tab_title,
19
+ maximized = maximized
20
+ }
@@ -0,0 +1,16 @@
1
+ local wezterm = require("wezterm")
2
+ local helper = require("core.helper")
3
+ local windows = require("core.keybindings.windows")
4
+ local macos = require("core.keybindings.macos")
5
+
6
+ local os_name = helper.get_os()
7
+
8
+ local keybindings = {}
9
+ if os_name == "Windows" or os_name == "Linux" then
10
+ keybindings = windows.keybindings
11
+ elseif os_name == "macOS" then
12
+ keybindings = macos.keybindings
13
+
14
+ end
15
+
16
+ return keybindings
@@ -0,0 +1,106 @@
1
+ local wezterm = require("wezterm")
2
+
3
+ local keybindings = {
4
+ keys = {
5
+ { key = "t", mods = "CMD|SHIFT", action = wezterm.action.SpawnTab("CurrentPaneDomain") },
6
+ {
7
+ key = "r",
8
+ mods = "SHIFT|CMD",
9
+ action = wezterm.action.ResetTerminal
10
+ }, {
11
+ key = 'k',
12
+ mods = 'CMD',
13
+ action = wezterm.action.SendString '\x0c'
14
+ }, {
15
+ key = "q",
16
+ mods = "CMD",
17
+ action = wezterm.action.QuitApplication
18
+ }, {
19
+ key = "w",
20
+ mods = "CMD",
21
+ action = wezterm.action.CloseCurrentTab {
22
+ confirm = false
23
+ }
24
+ }, {
25
+ key = "_",
26
+ mods = "SHIFT|CTRL",
27
+ action = wezterm.action.SplitVertical({
28
+ domain = "CurrentPaneDomain"
29
+ })
30
+ }, {
31
+ key = "+",
32
+ mods = "SHIFT|CTRL",
33
+ action = wezterm.action.SplitHorizontal({
34
+ domain = "CurrentPaneDomain"
35
+ })
36
+ }, {
37
+ key = "Tab",
38
+ mods = "SHIFT|CTRL",
39
+ action = wezterm.action.ActivateTabRelative(1)
40
+ }, {
41
+ key = "F11",
42
+ mods = "NONE",
43
+ action = wezterm.action.ToggleFullScreen
44
+ }, {
45
+ key = "+",
46
+ mods = "SHIFT|CMD",
47
+ action = wezterm.action.IncreaseFontSize
48
+ }, {
49
+ key = "-",
50
+ mods = "SHIFT|CMD",
51
+ action = wezterm.action.DecreaseFontSize
52
+ }, {
53
+ key = "C",
54
+ mods = "SHIFT|CMD",
55
+ action = wezterm.action.CopyTo "Clipboard"
56
+ }, {
57
+ key = "N",
58
+ mods = "SHIFT|CMD",
59
+ action = wezterm.action.SpawnWindow
60
+ }, {
61
+ key = "T",
62
+ mods = "SHIFT|CMD",
63
+ action = wezterm.action.ShowLauncher
64
+ }, {
65
+ key = "Enter",
66
+ mods = "SHIFT|CMD",
67
+ action = wezterm.action.ShowLauncherArgs {
68
+ flags = "FUZZY|TABS|LAUNCH_MENU_ITEMS"
69
+ }
70
+ }, {
71
+ key = 'c',
72
+ mods = 'CMD',
73
+ action = wezterm.action.CopyTo 'Clipboard'
74
+ }, -- Paste from clipboard
75
+ {
76
+ key = 'v',
77
+ mods = 'CMD',
78
+ action = wezterm.action.PasteFrom 'Clipboard'
79
+ }, {
80
+ key = "W",
81
+ mods = "SHIFT|CMD",
82
+ action = wezterm.action.CloseCurrentTab {
83
+ confirm = false
84
+ }
85
+ }, {
86
+ key = "PageUp",
87
+ mods = "SHIFT|CMD",
88
+ action = wezterm.action.ScrollByPage(-1)
89
+ }, {
90
+ key = "PageDown",
91
+ mods = "SHIFT|CMD",
92
+ action = wezterm.action.ScrollByPage(1)
93
+ }, {
94
+ key = "UpArrow",
95
+ mods = "SHIFT|CMD",
96
+ action = wezterm.action.ScrollByLine(-1)
97
+ }, {
98
+ key = "DownArrow",
99
+ mods = "SHIFT|CMD",
100
+ action = wezterm.action.ScrollByLine(1)
101
+ }}
102
+ }
103
+
104
+ return {
105
+ keybindings = keybindings
106
+ }