Add theme-set/switching logic, and minor nvim, tmux, obsidian changes
This commit is contained in:
1
src_files/.config/btop/themes/theme.theme
Normal file
1
src_files/.config/btop/themes/theme.theme
Normal file
@@ -0,0 +1 @@
|
||||
placeholder, will be replaced with symlink during copy_dotfiles.sh
|
||||
@@ -1,8 +1,17 @@
|
||||
# font stuff
|
||||
font-style = Regular
|
||||
font-feature = -calt, -liga, -dlig
|
||||
|
||||
# window stuff
|
||||
macos-titlebar-proxy-icon = hidden
|
||||
title = " "
|
||||
window-decoration = none
|
||||
title = ""
|
||||
|
||||
# theme opts: tokyonight_night_manual, bamboo
|
||||
theme = tokyonight_night_manual
|
||||
# cursor stuff
|
||||
cursor-style = "block"
|
||||
cursor-style-blink = false
|
||||
shell-integration-features = no-cursor
|
||||
|
||||
# theme stuff
|
||||
config-file = ?"~/.config/zz-this-box/themes/.current-theme/ghostty"
|
||||
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
# primary
|
||||
background = #111c18
|
||||
foreground = #C1C497
|
||||
cursor-color = #D7C995
|
||||
cursor-text = #000000
|
||||
|
||||
# normal colors
|
||||
palette = 0=#23372B
|
||||
palette = 1=#FF5345
|
||||
palette = 2=#549e6a
|
||||
palette = 3=#459451
|
||||
palette = 4=#509475
|
||||
palette = 5=#D2689C
|
||||
palette = 6=#2DD5B7
|
||||
palette = 7=#F6F5DD
|
||||
|
||||
# bright colors
|
||||
palette = 8=#53685B
|
||||
palette = 9=#db9f9c
|
||||
palette = 10=#143614
|
||||
palette = 11=#E5C736
|
||||
palette = 12=#ACD4CF
|
||||
palette = 13=#75bbb3
|
||||
palette = 14=#8CD3CB
|
||||
palette = 15=#9eebb3
|
||||
54
src_files/.config/htop/htoprc
Normal file
54
src_files/.config/htop/htoprc
Normal file
@@ -0,0 +1,54 @@
|
||||
# Beware! This file is rewritten by htop when settings are changed in the interface.
|
||||
# The parser is also very primitive, and not human-friendly.
|
||||
htop_version=3.4.1
|
||||
config_reader_min_version=3
|
||||
fields=0 48 17 18 38 39 2 46 47 49 1
|
||||
hide_kernel_threads=1
|
||||
hide_userland_threads=0
|
||||
hide_running_in_container=0
|
||||
shadow_other_users=0
|
||||
show_thread_names=0
|
||||
show_program_path=1
|
||||
highlight_base_name=0
|
||||
highlight_deleted_exe=1
|
||||
shadow_distribution_path_prefix=0
|
||||
highlight_megabytes=1
|
||||
highlight_threads=1
|
||||
highlight_changes=0
|
||||
highlight_changes_delay_secs=5
|
||||
find_comm_in_cmdline=1
|
||||
strip_exe_from_cmdline=1
|
||||
show_merged_command=0
|
||||
header_margin=1
|
||||
screen_tabs=1
|
||||
detailed_cpu_time=0
|
||||
cpu_count_from_one=0
|
||||
show_cpu_usage=1
|
||||
show_cpu_frequency=0
|
||||
show_cached_memory=1
|
||||
update_process_names=0
|
||||
account_guest_in_cpu_meter=0
|
||||
color_scheme=1
|
||||
enable_mouse=1
|
||||
delay=40
|
||||
hide_function_bar=0
|
||||
header_layout=two_50_50
|
||||
column_meters_0=Battery DateTime Hostname System Uptime Blank AllCPUs2 AllCPUs8 Blank
|
||||
column_meter_modes_0=1 2 2 2 2 2 1 3 2
|
||||
column_meters_1=Tasks LoadAverage Blank Memory Swap MemorySwap Blank DiskIO FileDescriptors Blank NetworkIO NetworkIO
|
||||
column_meter_modes_1=2 2 2 1 1 3 2 2 2 2 2 3
|
||||
tree_view=0
|
||||
sort_key=47
|
||||
tree_sort_key=0
|
||||
sort_direction=-1
|
||||
tree_sort_direction=1
|
||||
tree_view_always_by_pid=0
|
||||
all_branches_collapsed=0
|
||||
screen:Main=PID USER PRIORITY NICE M_VIRT M_RESIDENT STATE PERCENT_CPU PERCENT_MEM TIME Command
|
||||
.sort_key=PERCENT_MEM
|
||||
.tree_sort_key=PID
|
||||
.tree_view_always_by_pid=0
|
||||
.tree_view=0
|
||||
.sort_direction=-1
|
||||
.tree_sort_direction=1
|
||||
.all_branches_collapsed=0
|
||||
27
src_files/.config/kitty/kitty.conf
Normal file
27
src_files/.config/kitty/kitty.conf
Normal file
@@ -0,0 +1,27 @@
|
||||
# font stuff
|
||||
# font_family Regular # Average Mono, maybe?
|
||||
font_size 16
|
||||
disable_ligatures always # no ligatures
|
||||
symbol_map U+E000-U+F8FF none # no ligatures
|
||||
|
||||
# window stuff
|
||||
hide_window_decorations yes
|
||||
macos_hide_window_titlebar yes
|
||||
window_title_format " "
|
||||
window_margin_width 0
|
||||
confirm_os_window_close 0
|
||||
show_window_resize_notification no
|
||||
|
||||
# cursor stuff
|
||||
cursor_shape block
|
||||
cursor_blink_interval 0
|
||||
macos_custom_beam_cursor yes
|
||||
|
||||
# theme stuff
|
||||
# NOTE: on linux, may want background_opacity at 1.0 and let hyprland handle transparency
|
||||
include ~/.config/kitty/theme.conf
|
||||
background_opacity 0.95
|
||||
|
||||
# etc
|
||||
enable_audio_bell no
|
||||
|
||||
@@ -4,10 +4,13 @@ local csgAutocmd = vim.api.nvim_create_autocmd
|
||||
require("settings")
|
||||
require("plugin_manager")
|
||||
require("key_mappings")
|
||||
require("colorscheme_settings")
|
||||
require("util_functions")
|
||||
|
||||
csgAutocmd({"BufWritePre"}, {
|
||||
group = csGroup,
|
||||
pattern = "*",
|
||||
command = [[%s/\s\+$//e]],
|
||||
})
|
||||
|
||||
ThemeUpdate()
|
||||
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
local defaultColorScheme = "tokyodark"
|
||||
|
||||
function SetColorSchemeWrapper(scheme)
|
||||
scheme = scheme or defaultColorScheme
|
||||
vim.cmd.colorscheme(scheme)
|
||||
end
|
||||
|
||||
SetColorSchemeWrapper(defaultColorScheme)
|
||||
--
|
||||
-- SetColorSchemeWrapper("tokyodark")
|
||||
-- SetColorSchemeWrapper("tokyonight-night")
|
||||
-- SetColorSchemeWrapper("bamboo-vulgaris")
|
||||
-- SetColorSchemeWrapper("rose-pine-main")
|
||||
-- SetColorSchemeWrapper("gruvbox")
|
||||
-- SetColorSchemeWrapper("slate")
|
||||
-- SetColorSchemeWrapper("sorbet")
|
||||
|
||||
@@ -34,18 +34,15 @@ vim.keymap.set("n", "<leader>p", [["+p]])
|
||||
|
||||
-- search-and-replace shortcuts
|
||||
vim.keymap.set("n", "<leader>rw", [[:%s/\<<C-r><C-w>\>/<C-r><C-w>/gI<Left><Left><Left>]])
|
||||
vim.keymap.set("n", "<leader>ra", [[:%s//g<Left><Left>]])
|
||||
vim.keymap.set("n", "<leader>ra", [[:%s//gc<Left><Left><Left>]])
|
||||
|
||||
-- toggle expandtab and show message
|
||||
vim.keymap.set("n", "<leader>tab", function()
|
||||
if vim.opt.expandtab:get() then
|
||||
vim.opt.expandtab = false
|
||||
print("using actual tabs")
|
||||
else
|
||||
vim.opt.expandtab = true
|
||||
print("using spaces in place of tabs")
|
||||
end
|
||||
end)
|
||||
vim.keymap.set("n", "<leader>tab", function() ToggleTabsSpaces() end)
|
||||
|
||||
-- open scratch/tmp buffers which won't prompt for file-save
|
||||
vim.keymap.set("n", "<leader>ss", function() TmpBuff("enew") end)
|
||||
vim.keymap.set("n", "<leader>sl", function() TmpBuff("vnew") end)
|
||||
vim.keymap.set("n", "<leader>sj", function() TmpBuff("new") end)
|
||||
|
||||
-- quicker switching between panes/splits
|
||||
vim.keymap.set("n", "<C-h>", [[<C-w>h]])
|
||||
@@ -64,12 +61,16 @@ kmgAutocmd('FileType', {
|
||||
})
|
||||
|
||||
------------------------------------------------------------------------------------------
|
||||
-- quickfix TODO: learn about quickfix (:help quickfix), then set mappings
|
||||
-- quickfix and location lists
|
||||
-- ref: :h quickfix or :h location-list
|
||||
-- NOTE: look at :h setqflist and :h vim.diagnostic.setqflist()
|
||||
|
||||
-- vim.keymap.set("n", "<C-k>", "<cmd>cnext<CR>zz")
|
||||
-- vim.keymap.set("n", "<C-j>", "<cmd>cprev<CR>zz")
|
||||
-- vim.keymap.set("n", "<leader>k", "<cmd>lnext<CR>zz")
|
||||
-- vim.keymap.set("n", "<leader>j", "<cmd>lprev<CR>zz")
|
||||
vim.keymap.set("n", "<leader>qo", "<cmd>copen<CR>")
|
||||
vim.keymap.set("n", "<leader>qc", "<cmd>cclose<CR>")
|
||||
vim.keymap.set("n", "<leader>qn", "<cmd>cnext<CR>")
|
||||
vim.keymap.set("n", "<leader>qp", "<cmd>cprev<CR>")
|
||||
vim.keymap.set("n", "<leader>ln", "<cmd>lnext<CR>")
|
||||
vim.keymap.set("n", "<leader>lp", "<cmd>lprev<CR>")
|
||||
|
||||
------------------------------------------------------------------------------------------
|
||||
-- debugger and debugging ui
|
||||
@@ -112,18 +113,29 @@ kmgAutocmd('LspAttach', {
|
||||
callback = function(e)
|
||||
local opts = { buffer = e.buf }
|
||||
vim.keymap.set("n", "gd", function() vim.lsp.buf.definition() end, opts)
|
||||
vim.keymap.set("n", "K", function() vim.lsp.buf.hover() end, opts)
|
||||
vim.keymap.set("n", "<leader>h", function() vim.lsp.buf.hover() end, opts)
|
||||
vim.keymap.set("i", "<C-h>", function() vim.lsp.buf.signature_help() end, opts)
|
||||
vim.keymap.set("n", "<leader>vdv", function() vim.diagnostic.open_float() end, opts)
|
||||
vim.keymap.set("n", "<leader>vdn", function() vim.diagnostic.goto_next() end, opts)
|
||||
vim.keymap.set("n", "<leader>vdp", function() vim.diagnostic.goto_prev() end, opts)
|
||||
vim.keymap.set("n", "<leader>vws", function() vim.lsp.buf.workspace_symbol() end, opts)
|
||||
vim.keymap.set("n", "<leader>vca", function() vim.lsp.buf.code_action() end, opts)
|
||||
vim.keymap.set("n", "<leader>vrl", function() vim.lsp.buf.references() end, opts)
|
||||
vim.keymap.set("n", "<leader>vrn", function() vim.lsp.buf.rename() end, opts)
|
||||
vim.keymap.set("n", "<leader>lv", function() vim.diagnostic.open_float() end, opts)
|
||||
vim.keymap.set("n", "<leader>lq", function() vim.diagnostic.setqflist() end, opts)
|
||||
-- TODO: learn what the below commands are and if i want to set keymaps for them
|
||||
-- vim.keymap.set("n", "<leader>vws", function() vim.lsp.buf.workspace_symbol() end, opts)
|
||||
-- vim.keymap.set("n", "<leader>vca", function() vim.lsp.buf.code_action() end, opts)
|
||||
-- vim.keymap.set("n", "<leader>vrl", function() vim.lsp.buf.references() end, opts)
|
||||
-- vim.keymap.set("n", "<leader>vrn", function() vim.lsp.buf.rename() end, opts)
|
||||
end
|
||||
})
|
||||
|
||||
------------------------------------------------------------------------------------------
|
||||
-- git stuff
|
||||
|
||||
vim.keymap.set("n", "<leader>ga", function() vim.cmd("silent !git add %") end)
|
||||
vim.keymap.set("n", "<leader>gs", function() TmpBuff("new"); ReadShellCmd('git status') end)
|
||||
vim.keymap.set("n", "<leader>gl", function() TmpBuff("vnew"); ReadShellCmd('git log') end)
|
||||
vim.keymap.set("n", "<leader>gg", function()
|
||||
TmpBuff()
|
||||
ReadShellCmd('git ' .. vim.fn.input('git '))
|
||||
end)
|
||||
|
||||
------------------------------------------------------------------------------------------
|
||||
-- plugins
|
||||
|
||||
@@ -138,6 +150,10 @@ vim.keymap.set('n', '<leader>ff', tscBuiltin.find_files, { desc = 'tscope find f
|
||||
vim.keymap.set('n', '<leader>fg', tscBuiltin.git_files, { desc = 'tscope find git-tracked files' })
|
||||
vim.keymap.set('n', '<leader>fb', tscBuiltin.buffers, { desc = 'tscope buffers' })
|
||||
vim.keymap.set('n', '<leader>fh', tscBuiltin.help_tags, { desc = 'tscope help tags' })
|
||||
-- TODO: maybe add commands:
|
||||
-- - find files including git-ignored (have a yes and no option)
|
||||
-- - grep files including git-ignored (have a yes and no option)
|
||||
-- - grep which supports fuzzy-find, unless performance is horrendous
|
||||
|
||||
-- harpoon
|
||||
local harpoon = require("harpoon")
|
||||
@@ -146,18 +162,10 @@ vim.keymap.set("n", "<leader>ha", function() harpoon:list():add() end)
|
||||
vim.keymap.set("n", "<leader>hA", function() harpoon:list():prepend() end)
|
||||
vim.keymap.set("n", "<leader>hn", function() harpoon:list():next() end)
|
||||
vim.keymap.set("n", "<leader>hp", function() harpoon:list():prev() end)
|
||||
|
||||
vim.keymap.set("n", "<leader>hz", function() harpoon:list():select(1) end)
|
||||
vim.keymap.set("n", "<leader>hx", function() harpoon:list():select(2) end)
|
||||
vim.keymap.set("n", "<leader>hc", function() harpoon:list():select(3) end)
|
||||
vim.keymap.set("n", "<leader>hv", function() harpoon:list():select(4) end)
|
||||
vim.keymap.set("n", "<leader>hb", function() harpoon:list():select(5) end)
|
||||
|
||||
vim.keymap.set("n", "<leader>hZ", function() harpoon:list():replace_at(1) end)
|
||||
vim.keymap.set("n", "<leader>hX", function() harpoon:list():replace_at(2) end)
|
||||
vim.keymap.set("n", "<leader>hC", function() harpoon:list():replace_at(3) end)
|
||||
vim.keymap.set("n", "<leader>hV", function() harpoon:list():replace_at(4) end)
|
||||
vim.keymap.set("n", "<leader>hB", function() harpoon:list():replace_at(5) end)
|
||||
for i = 1, 10, 1 do
|
||||
vim.keymap.set("n", "<leader>" .. (i % 10), function() harpoon:list():select(i) end)
|
||||
vim.keymap.set("n", "<leader>h" .. (i % 10), function() harpoon:list():replace_at(i) end)
|
||||
end
|
||||
|
||||
-- undotree
|
||||
vim.keymap.set("n", "<leader>u", vim.cmd.UndotreeToggle)
|
||||
@@ -165,13 +173,6 @@ vim.keymap.set("n", "<leader>u", vim.cmd.UndotreeToggle)
|
||||
-- treesitter and treesitter-context
|
||||
vim.keymap.set("n", "<leader>tc", function() vim.cmd.TSContext({ "toggle" }) end)
|
||||
|
||||
-- fugitive (git integration)
|
||||
vim.keymap.set("n", "<leader>gG", vim.cmd.Git)
|
||||
vim.keymap.set("n", "<leader>gg", ":Git ") -- shortcut, arbitrary git commands
|
||||
vim.keymap.set("n", "<leader>ga", function() vim.cmd.Git({ "add %"}) end)
|
||||
vim.keymap.set("n", "<leader>gs", function() vim.cmd.Git({ "-p status" }) end)
|
||||
vim.keymap.set("n", "<leader>gc", function() vim.cmd.Git({ "commit -a" }) end)
|
||||
|
||||
-- conform (formatter)
|
||||
vim.keymap.set("n", "<leader>fmt", function()
|
||||
require("conform").format({ bufnr = 0 })
|
||||
|
||||
@@ -4,8 +4,12 @@ return {
|
||||
branch = "harpoon2", -- https://github.com/ThePrimeagen/harpoon/tree/harpoon2
|
||||
dependencies = { "nvim-lua/plenary.nvim" },
|
||||
config = function()
|
||||
local harpoon = require("harpoon")
|
||||
harpoon:setup()
|
||||
require("harpoon"):setup({
|
||||
settings = {
|
||||
save_on_toggle = true,
|
||||
sync_on_ui_close = true,
|
||||
}
|
||||
})
|
||||
end,
|
||||
},
|
||||
}
|
||||
|
||||
@@ -70,8 +70,4 @@ return {
|
||||
require('bamboo').load()
|
||||
end,
|
||||
},
|
||||
{
|
||||
dir = os.getenv('DIR_GIT_PROJECTS') .. "/other/omarchy-pina-theme/pina.nvim",
|
||||
name = "pina",
|
||||
},
|
||||
}
|
||||
30
src_files/.config/nvim/lua/theme_transparency.lua
Normal file
30
src_files/.config/nvim/lua/theme_transparency.lua
Normal file
@@ -0,0 +1,30 @@
|
||||
vim.api.nvim_set_hl(0, "Normal", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "NormalFloat", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "FloatBorder", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "Pmenu", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "Terminal", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "EndOfBuffer", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "FoldColumn", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "Folded", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "SignColumn", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "NormalNC", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "WhichKeyFloat", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "TelescopeBorder", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "TelescopeNormal", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "TelescopePromptBorder", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "TelescopePromptTitle", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "NotifyINFOBody", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "NotifyERRORBody", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "NotifyWARNBody", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "NotifyTRACEBody", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "NotifyDEBUGBody", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "NotifyINFOTitle", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "NotifyERRORTitle", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "NotifyWARNTitle", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "NotifyTRACETitle", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "NotifyDEBUGTitle", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "NotifyINFOBorder", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "NotifyERRORBorder", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "NotifyWARNBorder", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "NotifyTRACEBorder", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "NotifyDEBUGBorder", { bg = "none" })
|
||||
34
src_files/.config/nvim/lua/util_functions.lua
Normal file
34
src_files/.config/nvim/lua/util_functions.lua
Normal file
@@ -0,0 +1,34 @@
|
||||
function ThemeUpdate()
|
||||
local scheme_name = "tokyodark" -- default if unable to parse from file
|
||||
local current_theme_file = vim.fn.stdpath("config") .. "/current-theme"
|
||||
local ok, theme = pcall(dofile, current_theme_file)
|
||||
if ok then
|
||||
scheme_name = theme.colorscheme_name
|
||||
end
|
||||
vim.cmd.colorscheme(scheme_name)
|
||||
pcall(dofile, vim.fn.stdpath('config') .. '/lua/theme_transparency.lua')
|
||||
end
|
||||
|
||||
function TmpBuff(split_opt)
|
||||
local new_cmd = split_opt or "enew"
|
||||
vim.cmd(new_cmd)
|
||||
vim.opt_local.buftype = "nofile"
|
||||
vim.opt_local.bufhidden = "hide"
|
||||
vim.opt_local.swapfile = false
|
||||
vim.cmd("file tmp_" .. os.date("%Y%m%d_%H%M%S"))
|
||||
end
|
||||
|
||||
function ReadShellCmd(command)
|
||||
vim.cmd("read !" .. command)
|
||||
end
|
||||
|
||||
function ToggleTabsSpaces()
|
||||
if vim.opt.expandtab:get() then
|
||||
vim.opt.expandtab = false
|
||||
print("using actual tabs")
|
||||
else
|
||||
vim.opt.expandtab = true
|
||||
print("using spaces in place of tabs")
|
||||
end
|
||||
end
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
"showUnsupportedFiles": true,
|
||||
"attachmentFolderPath": "inbox",
|
||||
"showInlineTitle": false,
|
||||
"readableLineLength": false,
|
||||
"readableLineLength": true,
|
||||
"strictLineBreaks": true,
|
||||
"livePreview": false
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,8 +2,7 @@
|
||||
"theme": "obsidian",
|
||||
"accentColor": "#2f930e",
|
||||
"baseFontSize": 18,
|
||||
"enabledCssSnippets": [
|
||||
"theme-transparency"
|
||||
],
|
||||
"translucency": false
|
||||
"enabledCssSnippets": [],
|
||||
"translucency": false,
|
||||
"cssTheme": "Obsidian gruvbox"
|
||||
}
|
||||
|
||||
@@ -1,37 +1,17 @@
|
||||
{
|
||||
"markdown:toggle-preview": [
|
||||
{
|
||||
"modifiers": [
|
||||
"Ctrl",
|
||||
"Shift"
|
||||
],
|
||||
"key": "R"
|
||||
}
|
||||
{ "modifiers": [ "Ctrl", "Shift" ], "key": "R" }
|
||||
],
|
||||
"switcher:open": [
|
||||
{
|
||||
"modifiers": [
|
||||
"Ctrl"
|
||||
],
|
||||
"key": "F"
|
||||
}
|
||||
{ "modifiers": [ "Ctrl" ], "key": "F" }
|
||||
],
|
||||
"app:toggle-left-sidebar": [
|
||||
{
|
||||
"modifiers": [
|
||||
"Ctrl",
|
||||
"Shift"
|
||||
],
|
||||
"key": "D"
|
||||
}
|
||||
{ "modifiers": [ "Ctrl", "Shift" ], "key": "D" }
|
||||
],
|
||||
"app:toggle-right-sidebar": [
|
||||
{
|
||||
"modifiers": [
|
||||
"Ctrl",
|
||||
"Shift"
|
||||
],
|
||||
"key": "F"
|
||||
}
|
||||
{ "modifiers": [ "Ctrl", "Shift" ], "key": "F" }
|
||||
],
|
||||
"file-explorer:reveal-active-file": [
|
||||
{ "modifiers": [ "Ctrl", "Shift" ], "key": "N" }
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,10 +1,5 @@
|
||||
# list of built-in keywords at https://github.com/koekeishiya/skhd/issues/1
|
||||
# staring file was at /opt/homebrew/opt/yabai/share/yabai/examples
|
||||
# notes, stacks: https://github.com/koekeishiya/yabai/issues/203#issuecomment-650642142
|
||||
# ref: built-in keywords, https://github.com/koekeishiya/skhd/issues/1
|
||||
|
||||
##########################################################################################
|
||||
# key bindings for general use
|
||||
|
||||
ctrl - h : $(which skhd) -k "ctrl + shift - tab"
|
||||
ctrl - l : $(which skhd) -k "ctrl - tab"
|
||||
ctrl + shift - h : $(which skhd) -k "ctrl + shift - tab"
|
||||
ctrl + shift - l : $(which skhd) -k "ctrl - tab"
|
||||
|
||||
|
||||
1
src_files/.config/tmux/theme.conf
Symbolic link
1
src_files/.config/tmux/theme.conf
Symbolic link
@@ -0,0 +1 @@
|
||||
/Users/david/.config/z-this-box/themes/.current-theme/tmux.conf
|
||||
@@ -4,7 +4,7 @@ set -s escape-time 0
|
||||
unbind C-b
|
||||
set-option -g prefix C-Space
|
||||
bind-key C-Space send-prefix
|
||||
set -g status-style 'bg=#111111 fg=#22cc00'
|
||||
source-file "$XDG_CONFIG_HOME/tmux/theme.conf"
|
||||
set -g base-index 0
|
||||
|
||||
# unbind keys
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# default programs
|
||||
export BROWSER='brave'
|
||||
export EDITOR='nvim'
|
||||
export TERMINAL='ghostty'
|
||||
export TERMINAL='kitty'
|
||||
|
||||
# env vars used for my organization structure
|
||||
export DIR_HOME_BOX="$HOME/dbox"
|
||||
@@ -27,7 +27,7 @@ export XDG_DATA_DIRS="/usr/local/share:/usr/share"
|
||||
#export XDG_CONFIG_DIRS="/etc/xdg" # TODO: does this work on macOS?
|
||||
|
||||
# directory for theme/style stuff
|
||||
export DIR_THEME_SETTINGS="$XDG_CONFIG_HOME/this-box-theme"
|
||||
export DIR_THEME_SETTINGS="$XDG_CONFIG_HOME/zz-this-box/themes"
|
||||
|
||||
# zsh
|
||||
export ZDOTDIR="$XDG_CONFIG_HOME/zsh" # may already be set, set anyway
|
||||
@@ -39,10 +39,10 @@ export GIT_EDITOR="$EDITOR"
|
||||
export OBSIDIAN_WORKSPACES_TO_CONFIGURE=("$DIR_NOTES")
|
||||
|
||||
# reaper
|
||||
DIR_REAPER_PORTABLE_SHARED="$DIR_USER_OPT/reaper-portable/shared"
|
||||
DIR_REAPER_PORTABLE_LINUX="$DIR_USER_OPT/reaper-portable/linux"
|
||||
DIR_REAPER_PORTABLE_MACOS="$DIR_USER_OPT/reaper-portable/macos"
|
||||
export DIR_REAPER_PORTABLE_SHARED="$DIR_USER_OPT/reaper-portable/shared"
|
||||
export DIR_REAPER_PORTABLE_LINUX="$DIR_USER_OPT/reaper-portable/linux"
|
||||
export DIR_REAPER_PORTABLE_MACOS="$DIR_USER_OPT/reaper-portable/macos"
|
||||
|
||||
# clean-up of home dir
|
||||
export __CF_USER_TEXT_ENCODING="0x0:0x0"
|
||||
export __CF_USER_TEXT_ENCODING="0x0:0x0" # TODO: does this actually accomplish anything?
|
||||
|
||||
|
||||
@@ -12,8 +12,9 @@ alias cl='clear; '
|
||||
alias cls='clear;ls'
|
||||
|
||||
# shortcuts for executables
|
||||
alias nv='nvim'
|
||||
alias n='nvim'
|
||||
alias nv='nvim'
|
||||
alias ths='theme-set'
|
||||
alias tms='tmux-session-init'
|
||||
|
||||
# executable overrides
|
||||
|
||||
3
src_files/.config/zz-this-box/themes/gruvbox/neovim.lua
Normal file
3
src_files/.config/zz-this-box/themes/gruvbox/neovim.lua
Normal file
@@ -0,0 +1,3 @@
|
||||
return {
|
||||
colorscheme_name = 'gruvbox'
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
return {
|
||||
colorscheme_name = 'bamboo'
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
set -g status-style 'bg=#549E6A fg=#000000'
|
||||
|
||||
# transparency
|
||||
set-window-option -g window-style bg=default
|
||||
# set-option -g status-style bg=default
|
||||
48
src_files/.config/zz-this-box/themes/tokyodark/kitty.conf
Normal file
48
src_files/.config/zz-this-box/themes/tokyodark/kitty.conf
Normal file
@@ -0,0 +1,48 @@
|
||||
# TODO: this is currently just a copy of tokyonight, switch over to tokyodark
|
||||
## name: Tokyo Night
|
||||
## license: MIT
|
||||
## author: Folke Lemaitre
|
||||
## upstream: https://github.com/folke/tokyonight.nvim/raw/main/extras/kitty/tokyonight_night.conf
|
||||
|
||||
background #1a1b26
|
||||
foreground #c0caf5
|
||||
selection_background #283457
|
||||
selection_foreground #c0caf5
|
||||
url_color #73daca
|
||||
cursor #c0caf5
|
||||
cursor_text_color #1a1b26
|
||||
|
||||
# Tabs
|
||||
active_tab_background #7aa2f7
|
||||
active_tab_foreground #16161e
|
||||
inactive_tab_background #292e42
|
||||
inactive_tab_foreground #545c7e
|
||||
#tab_bar_background #15161e
|
||||
|
||||
# Windows
|
||||
active_border_color #7aa2f7
|
||||
inactive_border_color #292e42
|
||||
|
||||
# normal
|
||||
color0 #15161e
|
||||
color1 #f7768e
|
||||
color2 #9ece6a
|
||||
color3 #e0af68
|
||||
color4 #7aa2f7
|
||||
color5 #bb9af7
|
||||
color6 #7dcfff
|
||||
color7 #a9b1d6
|
||||
|
||||
# bright
|
||||
color8 #414868
|
||||
color9 #f7768e
|
||||
color10 #9ece6a
|
||||
color11 #e0af68
|
||||
color12 #7aa2f7
|
||||
color13 #bb9af7
|
||||
color14 #7dcfff
|
||||
color15 #c0caf5
|
||||
|
||||
# extended colors
|
||||
color16 #ff9e64
|
||||
color17 #db4b4b
|
||||
@@ -0,0 +1,3 @@
|
||||
return {
|
||||
colorscheme_name = 'tokyodark'
|
||||
}
|
||||
5
src_files/.config/zz-this-box/themes/tokyodark/tmux.conf
Normal file
5
src_files/.config/zz-this-box/themes/tokyodark/tmux.conf
Normal file
@@ -0,0 +1,5 @@
|
||||
set -g status-style 'bg=#111111 fg=#22cc00'
|
||||
|
||||
# transparency
|
||||
set-window-option -g window-style bg=default
|
||||
# set-option -g status-style bg=default
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 243 KiB |
Reference in New Issue
Block a user