Merge branch 'trunk' of github.com:bugabinga/dotfiles into trunk
eb5c48ee1cff970c37d64ae3084607b21f9ffa5f
Oliver Jan Krylow <oliver@bugabinga.net> ·
unsigned
- Parent 1: eec45f4d28f9 · Diff against parent 1
- Parent 2: 30546269b652 · Showing diff
bugabingas dorkfiles
eb5c48ee1cff970c37d64ae3084607b21f9ffa5f
Oliver Jan Krylow <oliver@bugabinga.net> ·
unsigned
+336 / −461 text lines
+2 / −1 text lines
+18 / −18 text lines
+19 / −19 text lines
normal = "#ffffff"backdrop = "#000000"accent = "#a006a0"important_local = "#8270ca"important_global = "#8270ca"minor = "#8d8d8d"focus = "#60bdd4"unfocus = "#0788a8"ui_normal = "#ececec"ui_backdrop = "#131313"ui_accent = "#bd0fbd"ui_important_global = "#9e92cf"ui_important_local = "#9e92cf"ui_minor = "#a0a0a0"ui_focus = "#85c6d6"ui_unfocus = "#11a1c5"error = "#d8326c"warning = "#d0b596"info = "#a3b6cf"normal = "#050505"backdrop = "#fdfdfd"accent = "#a300a3"important_local = "#4a25a9"important_global = "#4a25a9"minor = "#525252"focus = "#017b9a"unfocus = "#40b8d6"ui_normal = "#030303"ui_backdrop = "#ffffff"ui_accent = "#c600c6"ui_important_global = "#4e28b0"ui_important_local = "#4e28b0"ui_minor = "#575757"ui_focus = "#0283a3"ui_unfocus = "#719ba5"error = "#ce1e5c"warning = "#cda77c"info = "#8ba7cb"+2 / −2 text lines
+0 / −1 text lines
+1 / −3 text lines
"nvim-neoclip.lua": { "branch": "main", "commit": "32e05f2d23dc5b6a284a688c0535a83d1bfc633f" }, "nvim-treesitter": { "branch": "master", "commit": "45386764cc9535200d2288cab929c5093d33660e" }, "nvim-treesitter": { "branch": "master", "commit": "cc2c11c403a9143827501223b4ee64432dcaf246" }, "nvim-treesitter-endwise": { "branch": "master", "commit": "8b34305ffc28bd75a22f5a0a9928ee726a85c9a6" }, "nvim-treesitter-textobjects": { "branch": "master", "commit": "4a2d05ec24eaa6b655c7d19092a3b6c0219d46b9" }, "spellwarn.nvim": { "branch": "main", "commit": "2f4dbc58bb90bc63b295461216b91ccf4e7f782d" }, "surround-ui.nvim": { "branch": "main", "commit": "40abcba017a943d6d3dd304e523f34a43d80405b" }, "symbol-usage.nvim": { "branch": "main", "commit": "0f9b3da014b7e41559b643e7461fcabb2a7dc83a" }, "telescope.nvim": { "branch": "master", "commit": "a0bbec21143c7bc5f8bb02e0005fa0b982edc026" }, "timespent.nvim": { "branch": "master", "commit": "3eda13f7468de06a8b948d0eddf82f15b5d88dca" }, "tiny-inline-diagnostic.nvim": { "branch": "main", "commit": "1a83e7ce5c9d0ae4d89fc5c812b55ff8ed1d39e7" },+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 = '#ececec', content_backdrop = '#131313', content_accent = '#560356', content_minor = '#676767', content_focus = '#3093aa', content_unfocus = '#04586b', content_important_global = '#5540ab', content_important_local = '#5540ab', ui_normal = '#ffffff', ui_backdrop = '#000000', ui_accent = '#2f042f', ui_minor = '#545454', ui_focus = '#2e7585', ui_unfocus = '#053843', ui_important_global = '#4c3d87', ui_important_local = '#4c3d87', } No final newline+22 / −24 text lines
content_normal = '#ffffff', content_backdrop = '#000000', content_accent = '#a006a0', content_minor = '#8d8d8d', content_focus = '#60bdd4', content_unfocus = '#0788a8', content_important_global = '#8270ca', content_important_local = '#8270ca', ui_normal = '#ececec', ui_backdrop = '#131313', ui_accent = '#bd0fbd', ui_minor = '#a0a0a0', ui_focus = '#85c6d6', ui_unfocus = '#11a1c5', ui_important_global = '#9e92cf', ui_important_local = '#9e92cf', } No final newline+0 / −35 text lines
deleted file mode 100644+0 / −6 text lines
+0 / −20 text lines
-- FIXME: use my own icons local lazy = { condition = function () local ok, lazy_status = pcall( require, 'lazy.status' ) return ok and lazy_status.has_updates() end, update = { 'User', pattern = 'LazyUpdate' }, provider = function () return ' ' .. icon.lazy .. ' ' .. require 'lazy.status'.updates() .. ' ' end, on_click = { callback = function () require 'lazy'.update() end, name = 'update_plugins', }, }+4 / −36 text lines
-- FIXME: if view stays open, when saving session, reloading the session results in borked view. 'chrisgrieser/nvim-lsp-endhints', event = 'LspAttach', opts = { autoEnableHints = false, icons = { type = icon.type .. ' ', parameter = icon.paramter, offspec = '', -- hint kind not defined in official LSP spec unknown = icon.hint, -- hint kind }, label = { padding = 2, }, }, enabled = FUCK_STABILITY, }, ------------------------------------------------------------------------------- { 'rafcamlet/nvim-luapad', 'rafcamlet/nvim-luapad',+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,}+4 / −4 text lines
+2 / −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
+6 / −6 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 / −114 text lines
return { ['nugu-dark'] = { -- The default text color foreground = '#ffffff', -- 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 = '#2f042f', -- Overrides the text color when the current cell is occupied by the cursor cursor_fg = '#4c3d87', -- 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 = '#2f042f', -- the foreground color of selected text selection_fg = '#4c3d87', -- the background color of selected text selection_bg = '#2e7585', -- The color of the scrollbar 'thumb'; the portion that represents the current viewport scrollbar_thumb = '#053843', -- The color of the split lines between panes split = '#053843', ansi = { '#ececec', -- black '#9e1e4b', -- red '#708eb5', -- green '#b88f60', -- yellow '#5540ab', -- blue '#560356', -- magenta '#3093aa', -- cyan '#676767', -- white }, brights = { '#ffffff', '#bd3263', '#9aaabe', '#bfa78c', '#7767b7', '#810c81', '#4faabe', '#818181', }, -- Since: 20220319-142410-0fcdea07 -- 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 = '#2e7585', visual_bell = '#4c3d87', }, ['nugu-light'] = { -- The default text color foreground = '#ececec', -- The default background color background = '#131313', -- Overrides the cell background color when the current cell is occupied by the -- cursor and the cursor style is set to Block cursor_bg = '#bd0fbd', -- Overrides the text color when the current cell is occupied by the cursor cursor_fg = '#9e92cf', -- 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 = '#bd0fbd', -- the foreground color of selected text selection_fg = '#9e92cf', -- the background color of selected text selection_bg = '#85c6d6', -- The color of the scrollbar 'thumb'; the portion that represents the current viewport scrollbar_thumb = '#11a1c5', -- The color of the split lines between panes split = '#11a1c5', ansi = { '#ffffff', -- black '#d8326c', -- red '#a3b6cf', -- green '#d0b596', -- yellow '#8270ca', -- blue '#a006a0', -- magenta '#60bdd4', -- cyan '#8d8d8d', -- white }, brights = { '#e6e6e6', '#aa2d59', '#8b9db4', '#b69b7d', '#6957b0', '#690a69', '#45a4bc', '#747474', }, -- Since: 20220319-142410-0fcdea07 -- 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 = '#85c6d6', visual_bell = '#9e92cf', }, }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