astal 0.2.1-2
Legitimate Lua library source code
Executes system commandsAccesses Lua debug module
SHA-2565e7ffc9dc4ad1da737ad6d8b05676af7da0d47a6f9457623d05390feadf5d180
MaleculeO(C)H(Po)Md(Pt)
Evidence
160 return os.execute(string.format('lua%s %s', args.lua_version, args.file))
161 elseif args.request then
162 if not Instance:is_running() then
135---Class that acts as io.popen using Gio.Subprocess as backend
136---@deprecated
137M.Process = Process
1local Variable = require("astal").Variable
2
3local M = {}
4
5function M.src(path)
6 local str = debug.getinfo(2, "S").source:sub(2)
7 local src = str:match("(.*/)") or str:match("(.*\\)") or "./"
8 return src .. path
9end
10
11---@generic T, R
15:2… unction M.map(array, func)
16 local new_arr = {}
17 for i, v in ipairs(array) do
18 new_arr[i] = func(v, i)
19 end
⋯4 lines
1local astal = require("astal")
2local Widget = require("astal.gtk4.widget")
3local Variable = require("astal.variable")
4local GLib = astal.require("GLib")
5local bind = astal.bind
6local Mpris = astal.require("AstalMpris")
7local Battery = astal …
Showing the top 5 files — 2 more files (6 regions) not shown.
No evidence locations were recorded for this file. Raw result