From 6252009efa60f83094318a91be2d627709b1af8d Mon Sep 17 00:00:00 2001 From: Pavel Egorov Date: Wed, 29 Jul 2026 01:45:22 +0300 Subject: [yay] move yay config into lua --- .config/yay/.luarc.json | 7 +++++++ .config/yay/config.json | 50 ------------------------------------------------- .config/yay/init.lua | 7 +++++++ 3 files changed, 14 insertions(+), 50 deletions(-) create mode 100644 .config/yay/.luarc.json delete mode 100644 .config/yay/config.json create mode 100644 .config/yay/init.lua diff --git a/.config/yay/.luarc.json b/.config/yay/.luarc.json new file mode 100644 index 0000000..5e9afc2 --- /dev/null +++ b/.config/yay/.luarc.json @@ -0,0 +1,7 @@ +{ + "$schema": "https://raw.githubusercontent.com/LuaLS/vscode-lua/master/setting/schema.json", + "runtime.version": "Lua 5.1", + "workspace": { + "library": ["/usr/share/yay/meta"] + } +} diff --git a/.config/yay/config.json b/.config/yay/config.json deleted file mode 100644 index 1fcda5a..0000000 --- a/.config/yay/config.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "aururl": "https://aur.archlinux.org", - "aurrpcurl": "https://aur.archlinux.org/rpc?", - "buildDir": "/home/nxblnd/.cache/yay", - "editor": "", - "editorflags": "", - "makepkgbin": "makepkg", - "makepkgconf": "", - "pacmanbin": "pacman", - "pacmanconf": "/etc/pacman.conf", - "redownload": "no", - "answerclean": "", - "answerdiff": "All", - "answeredit": "", - "answerupgrade": "", - "gitbin": "git", - "gpgbin": "gpg", - "gpgflags": "", - "mflags": "", - "sortby": "votes", - "searchby": "name-desc", - "gitflags": "", - "removemake": "ask", - "sudobin": "sudo", - "sudoflags": "", - "version": "12.5.7", - "requestsplitn": 150, - "completionrefreshtime": 7, - "maxconcurrentdownloads": 1, - "bottomup": true, - "sudoloop": true, - "timeupdate": false, - "devel": true, - "cleanAfter": false, - "keepSrc": false, - "provides": true, - "pgpfetch": true, - "cleanmenu": true, - "diffmenu": true, - "editmenu": false, - "combinedupgrade": true, - "useask": false, - "batchinstall": false, - "singlelineresults": false, - "separatesources": true, - "debug": false, - "rpc": true, - "doubleconfirm": true, - "rebuild": "no" -} diff --git a/.config/yay/init.lua b/.config/yay/init.lua new file mode 100644 index 0000000..18c3b97 --- /dev/null +++ b/.config/yay/init.lua @@ -0,0 +1,7 @@ +yay.opt.devel = true -- Check updates in git package upstream, not just AUR updates +yay.opt.sudo_loop = true -- Do not expire sudo prompt + +-- Prevent yay from asking stupid questions +yay.opt.answer_clean = "None" +yay.opt.answer_diff = "All" +yay.opt.remove_make = "no" -- cgit v1.3