feat(waybar): use slider, not gtk

This commit is contained in:
Barrett Ruth 2026-03-03 00:00:57 -05:00
parent db7edb13b8
commit 58d0d818dc
Signed by: barrett
GPG key ID: A6C96C9349D2FC81
14 changed files with 285 additions and 294 deletions

View file

@ -1,12 +1,8 @@
vim.pack.add({
'https://github.com/ibhagwan/fzf-lua',
}, { load = function() end })
return {
'ibhagwan/fzf-lua',
'barrettruth/fzf-lua',
after = function()
local fzf = require('fzf-lua')
local has_icons = pcall(require, 'nonicons')
local has_nonicons = pcall(require, 'nonicons')
local opts = {
file_icon_padding = ' ',
@ -85,8 +81,8 @@ return {
},
}
opts.files.file_icons = has_icons
opts.grep.file_icons = has_icons
opts.files.file_icons = has_nonicons and 'nonicons' or false
opts.grep.file_icons = has_nonicons and 'nonicons' or false
opts.grep.rg_opts =
fzf.defaults.grep.rg_opts:gsub('%-e$', "--glob='!.git/' -e")