Merge branch 'trunk' of github.com:bugabinga/dotfiles into trunk
eec45f4d28f9255a87813f96c15fa18b411d753c
Oliver Jan Krylow <oliver@bugabinga.net> ·
unsigned
- Parent 1: 364c06fb2343 · Showing diff
- Parent 2: e70ea9bef742 · Diff against parent 2
bugabingas dorkfiles
eec45f4d28f9255a87813f96c15fa18b411d753c
Oliver Jan Krylow <oliver@bugabinga.net> ·
unsigned
+301 / −309 text lines
+2 / −2 text lines
+0 / −1 text lines
+14 / −2 text lines
"CopilotChat.nvim": { "branch": "canary", "commit": "9333944fde3c65868818e245c73aa29eef826e9b" }, "better-escape.nvim": { "branch": "master", "commit": "f45b52f8f87792e8659526f23261ffe278a54be5" }, "eagle.nvim": { "branch": "main", "commit": "f590404f510be11ef2cf7c68e135441bfa48c9a8" }, "in-and-out.nvim": { "branch": "master", "commit": "ab24cafadc3418dffb0c7e9b0621cff60b9ac551" }, "incline.nvim": { "branch": "main", "commit": "16fc9c073e3ea4175b66ad94375df6d73fc114c0" }, "indent-blankline.nvim": { "branch": "master", "commit": "3fe94b8034dd5241cb882bb73847303b58857ecf" }, "lazy.nvim": { "branch": "main", "commit": "1159bdccd8910a0fd0914b24d6c3d186689023d9" }, "markdown-table-mode.nvim": { "branch": "main", "commit": "f830cd15a97deb3acc53d9f6607bc609f7f32e49" }, "nvim-autopairs": { "branch": "master", "commit": "f158dcb865c36f72c92358f87787dab2c272eaf3" }, "nvim-dap": { "branch": "master", "commit": "7ff6936010b7222fea2caea0f67ed77f1b7c60dd" }, "nvim-docs-view": { "branch": "master", "commit": "365593534e0acd762bfddce6e8313315ffa4fa36" }, "nvim-dr-lsp": { "branch": "main", "commit": "bbed27eb6eba20242d59fc6ac11852730c9af632" }, "nvim-highlight-colors": { "branch": "main", "commit": "a411550ef85cae467b889ba7d1a96bd78332d90e" }, "nvim-lsp-endhints": { "branch": "main", "commit": "391ef40521b631a8a2fb7aef78db6967ead6b39d" }, "nvim-neoclip.lua": { "branch": "main", "commit": "32e05f2d23dc5b6a284a688c0535a83d1bfc633f" }, "nvim-web-devicons": { "branch": "master", "commit": "6b53401918a9033a41159d012160c5fb5eb249ae" }, "precognition.nvim": { "branch": "main", "commit": "8a81c310b4e76b4884fc5350a5741cf683c645c7" }, "range-highlight.nvim": { "branch": "master", "commit": "8b5e8ccb3460b2c3675f4639b9f54e64eaab36d9" }, "scratch.nvim": { "branch": "main", "commit": "3e3d2ad0d7f565bc794d9d3ad40e92509802ecad" }, "surround-ui.nvim": { "branch": "main", "commit": "40abcba017a943d6d3dd304e523f34a43d80405b" }, "symbol-usage.nvim": { "branch": "main", "commit": "0f9b3da014b7e41559b643e7461fcabb2a7dc83a" },+24 / −23 text lines
_.NormalUi { fg = ui_normal, bg = ui_backdrop }_.VertSplit { fg = ui_important_global, bg = _.LineNr.bg }_.VertSplit { fg = ui_important_global }_.PmenuSel { fg = ui_important_local, sp = ui_important_local, bg = _.Pmenu.bg, bold = true, underline = true }_.WinbarNC { fg = ui_minor, bg = _.LineNr.bg }_.WinbarNC { fg = content_minor, bg = _.Normal.bg }+22 / −24 text lines
content_normal = '#fafafa', content_backdrop = '#020202', content_accent = '#5d005d', content_minor = '#757575', content_focus = '#2eb3d1', content_unfocus = '#016a85', content_important_global = '#5e45c5', content_important_local = '#5e45c5', ui_normal = '#fcfcfc', ui_backdrop = '#000000', ui_accent = '#3a003a', ui_minor = '#707070', ui_focus = '#2dacc8', ui_unfocus = '#1d5a69', ui_important_global = '#593fc2', ui_important_local = '#593fc2', } No final newline+22 / −24 text lines
content_normal = '#050505', content_backdrop = '#fdfdfd', content_accent = '#a300a3', content_minor = '#525252', content_focus = '#017b9a', content_unfocus = '#40b8d6', content_important_global = '#4a25a9', content_important_local = '#4a25a9', ui_normal = '#030303', ui_backdrop = '#ffffff', ui_accent = '#c600c6', ui_minor = '#575757', ui_focus = '#0283a3', ui_unfocus = '#719ba5', ui_important_global = '#4e28b0', ui_important_local = '#4e28b0', } No final newline+1 / −1 text lines
+1 / −1 text lines
deleted file mode 100644+0 / −55 text lines
local map = require 'std.map'local auto = require 'std.auto'map.normal { description = 'Open terminal in a split', category = 'terminal', keys = '<F12>', command = function () local cwd = vim.uv.cwd() ---@diagnostic disable-next-line: undefined-field local shell = vim.opt.shell:get() -- paths in term names seem to be relative to home local relative_cwd = vim.fn.fnamemodify( cwd, ':~' ) local term_name = string.format( 'term://%s//%s', relative_cwd, shell ) local buffers = vim.api.nvim_list_bufs() local existing_term = vim.iter( buffers ):map( function ( buffer_number ) return { buffer_number, vim.api.nvim_buf_get_name( buffer_number ) } end ):filter( function ( buffer ) return string.find( buffer[2], relative_cwd, 1, true ) end ):next() if existing_term then term_name = existing_term[2] end local open_term_cmd = string.format( 'split %s', term_name ) vim.cmd( open_term_cmd ) end,}local terminal_settings = function () map.terminal { description = 'Quit terminal mode via <esc>', category = 'terminal', keys = '<esc>', buffer = true, command = [[ <C-\><C-n> ]], } map.normal.terminal { description = 'Close.', category = 'terminal', keys = '<F12>', buffer = true, command = [[<cmd>close<cr>]], } vim.opt_local.spell = false vim.cmd.startinsert()endauto 'normalize_terminal_windows' { description = 'Make terminal windows behave more normally.', events = 'TermOpen', pattern = 'term://*', command = terminal_settings,}+1 / −0 text lines
new file mode 100755+17 / −0 text lines
#!/usr/bin/env nudef main [] { const background_settings = [ ['key', 'value']; ['picture-uri', 'none'] ['color-shading-type', 'solid'] ['primary-color', '#131313'] ['secondary-color', '#131313'] ] $background_settings | each { | setting | run-external gsettings set 'org.gnome.desktop.background' $setting.key $setting.value } null}deleted file mode 100644+0 / −3 text lines
+2 / −0 text lines
+0 / −1 text lines
+5 / −5 text lines
+0 / −34 text lines
cfg.background = { { source = { File = '/home/oli/Pictures/Bilder/2012/05/20/Waldshooting_vonni_tini_2012 (12).jpg', }, hsb = { hue = 1.0, saturation = 0.0, brightness = 0.004, }, attachment = { Parallax = 0.006, }, vertical_align = 'Middle', horizontal_align = 'Center', }, { source = { Gradient = { colors = { 'purple', '#131313', }, orientation = { Radial = { cx = 0.5, cy = 0.5, radius = 1.25, }, }, }, }, opacity = 0.1, width = '100%', height = '100%', }, }+23 / −21 text lines
wez.on( 'user-var-changed', function ( window, pane, name, value ) local overrides = window:get_config_overrides() or {} if name == 'ZEN_MODE' then local incremental = value:find '+' local number_value = tonumber( value ) if incremental ~= nil then while number_value > 0 do window:perform_action( wez.action.IncreaseFontSize, pane ) number_value = number_value - 1 wez.on( 'user-var-changed', function ( window, pane, name, value ) local overrides = window:get_config_overrides() or {} if name == 'ZEN_MODE' then local incremental = value:find '+' local number_value = tonumber( value ) if incremental ~= nil then while number_value > 0 do window:perform_action( wez.action.IncreaseFontSize, pane ) number_value = number_value - 1 end overrides.enable_tab_bar = false elseif number_value < 0 then window:perform_action( wez.action.ResetFontSize, pane ) overrides.font_size = nil overrides.enable_tab_bar = true else overrides.font_size = number_value overrides.enable_tab_bar = falsedeleted file mode 100644+0 / −102 text lines
return { ['nugu-dark'] = { -- The default text color foreground = '#fcfcfc', -- The default background color background = '#000000', -- Overrides the cell background color when the current cell is occupied by the -- cursor and the cursor style is set to Block cursor_bg = '#3a003a', -- Overrides the text color when the current cell is occupied by the cursor cursor_fg = '#000000', -- Specifies the border color of the cursor when the cursor style is set to Block, -- or the color of the vertical or horizontal bar when the cursor style is set to -- Bar or Underline. cursor_border = '#3a003a', selection_fg = '#000000', selection_bg = '#2dacc8', -- The color of the scrollbar 'thumb'; the portion that represents the current viewport scrollbar_thumb = '#1d5a69', -- The color of the split lines between panes split = '#1d5a69', ansi = { '#020202', -- black '#bd1c54', -- red '#7d9cc5', -- green '#c79e6e', -- yellow '#5e45c5', -- blue '#5d005d', -- magenta '#2eb3d1', -- cyan '#fafafa', -- white }, brights = { '#050505', '#b6285a', '#8aa0bd', '#bf9f7b', '#6955ba', '#5d055d', '#3fadc5', '#fcfcfc', }, compose_cursor = '#2dacc8', visual_bell = '#593fc2', }, ['nugu-light'] = { -- The default text color foreground = '#030303', -- The default background color background = '#ffffff', -- Overrides the cell background color when the current cell is occupied by the -- cursor and the cursor style is set to Block cursor_bg = '#c600c6', -- Overrides the text color when the current cell is occupied by the cursor cursor_fg = '#ffffff', -- Specifies the border color of the cursor when the cursor style is set to Block, -- or the color of the vertical or horizontal bar when the cursor style is set to -- Bar or Underline. cursor_border = '#c600c6', selection_fg = '#ffffff', selection_bg = '#0283a3', -- The color of the scrollbar 'thumb'; the portion that represents the current viewport scrollbar_thumb = '#719ba5', -- The color of the split lines between panes split = '#719ba5', ansi = { '#fdfdfd', -- black '#ce1e5c', -- red '#8ba7cb', -- green '#cda77c', -- yellow '#4a25a9', -- blue '#a300a3', -- magenta '#017b9a', -- cyan '#050505', -- white }, brights = { '#fafafa', '#be295d', '#90a5c1', '#c2a482', '#4d2e9b', '#960896', '#08738d', '#030303', }, compose_cursor = '#0283a3', visual_bell = '#4e28b0', }, }No final newlinenew file mode 100644+141 / −0 text lines
local nugu_dark = require 'bugabinga/nugu/palette_dark'local nugu_light = require 'bugabinga/nugu/palette_light'local make_theme = function ( palette ) return { -- The default text color foreground = palette.ui.normal, -- The default background color background = palette.ui.backdrop, -- Overrides the cell background color when the current cell is occupied by the -- cursor and the cursor style is set to Block cursor_bg = palette.ui.accent, -- Overrides the text color when the current cell is occupied by the cursor cursor_fg = palette.ui.backdrop, -- Specifies the border color of the cursor when the cursor style is set to Block, -- or the color of the vertical or horizontal bar when the cursor style is set to -- Bar or Underline. cursor_border = palette.ui.accent, selection_fg = palette.ui.backdrop, selection_bg = palette.ui.focus, -- The color of the scrollbar 'thumb'; the portion that represents the current viewport scrollbar_thumb = palette.ui.unfocus, -- The color of the split lines between panes split = palette.ui.unfocus, ansi = { palette.content.backdrop, -- black palette.error, -- maroon palette.content.focus, -- green palette.warning, -- olive palette.content.important_local, -- navy palette.content.important_global, -- purple palette.info, -- teal palette.content.minor, -- silver }, brights = { palette.content.unfocus, -- grey palette.error, -- red palette.content.accent, -- lime palette.warning, -- yellow palette.info, -- blue palette.debug, -- fuchsia palette.content.focus, -- aqua palette.content.normal, -- white }, -- Arbitrary colors of the palette in the range from 16 to 255 indexed = {}, -- When the IME, a dead key or a leader key are being processed and are effectively -- holding input pending the result of input composition, change the cursor -- to this color to give a visual cue about the compose state. compose_cursor = palette.ui.focus, -- Colors for copy_mode and quick_select -- available since: 20220807-113146-c2fee766 -- In copy_mode, the color of the active text is: -- 1. copy_mode_active_highlight_* if additional text was selected using the mouse -- 2. selection_* otherwise copy_mode_active_highlight_bg = { Color = palette.ui.accent, }, copy_mode_active_highlight_fg = { Color = palette.ui.backdrop, }, copy_mode_inactive_highlight_bg = { Color = palette.ui.unfocus, }, copy_mode_inactive_highlight_fg = { Color = palette.ui.normal, }, quick_select_label_bg = { Color = palette.ui.minor, }, quick_select_label_fg = { Color = palette.ui.normal, }, quick_select_match_bg = { Color = palette.ui.unfocus, }, quick_select_match_fg = { Color = palette.ui.normal, }, tab_bar = { -- The color of the strip that goes along the top of the window -- (does not apply when fancy tab bar is in use) background = palette.ui.backdrop, -- The active tab is the one that has focus in the window active_tab = { -- The color of the background area for the tab bg_color = palette.ui.backdrop, -- The color of the text for the tab fg_color = palette.ui.normal, -- Specify whether you want "Half", "Normal" or "Bold" intensity for the -- label shown for this tab. -- The default is "Normal" intensity = 'Bold', -- Specify whether you want "None", "Single" or "Double" underline for -- label shown for this tab. -- The default is "None" underline = 'Double', -- Specify whether you want the text to be italic (true) or not (false) -- for this tab. The default is false. italic = false, -- Specify whether you want the text to be rendered with strikethrough (true) -- or not for this tab. The default is false. strikethrough = false, }, -- Inactive tabs are the tabs that do not have focus inactive_tab = { bg_color = palette.ui.backdrop, fg_color = palette.ui.normal, -- The same options that were listed under the `active_tab` section above -- can also be used for `inactive_tab`. }, -- You can configure some alternate styling when the mouse pointer -- moves over inactive tabs inactive_tab_hover = { bg_color = palette.ui.focus, fg_color = palette.ui.normal, italic = true, -- The same options that were listed under the `active_tab` section above -- can also be used for `inactive_tab_hover`. }, -- The new tab button that let you create new tabs new_tab = { bg_color = palette.ui.backdrop, fg_color = palette.ui.normal, -- The same options that were listed under the `active_tab` section above -- can also be used for `new_tab`. }, -- You can configure some alternate styling when the mouse pointer -- moves over the new tab button new_tab_hover = { bg_color = palette.ui.focus, fg_color = palette.ui.normal, italic = true, -- The same options that were listed under the `active_tab` section above -- can also be used for `new_tab_hover`. }, }, }endreturn { ['nugu-dark'] = make_theme( nugu_dark.palette ), ['nugu-light'] = make_theme( nugu_light.palette ),}new file mode 100644+2 / −0 text lines
return{palette = {debug = "#ff00ff", error = "#bd1c54", warning = "#c79e6e", info = "#7d9cc5", content = {normal = "#fafafa", backdrop = "#020202", accent = "#5d005d", minor = "#757575", focus = "#2eb3d1", unfocus = "#016a85", important_local = "#5e45c5", important_global = "#5e45c5"}, ui = {normal = "#fcfcfc", backdrop = "#000000", accent = "#3a003a", minor = "#707070", focus = "#2dacc8", unfocus = "#1d5a69", important_local = "#593fc2", important_global = "#593fc2"}}}No final newlinenew file mode 100644+2 / −0 text lines
return{palette = {debug = "#ff00ff", error = "#ce1e5c", warning = "#cda77c", info = "#8ba7cb", content = {normal = "#050505", backdrop = "#fdfdfd", accent = "#a300a3", minor = "#525252", focus = "#017b9a", unfocus = "#40b8d6", important_local = "#4a25a9", important_global = "#4a25a9"}, ui = {normal = "#030303", backdrop = "#ffffff", accent = "#c600c6", minor = "#575757", focus = "#0283a3", unfocus = "#719ba5", important_local = "#4e28b0", important_global = "#4e28b0"}}}No final newline+15 / −3 text lines
+7 / −7 text lines