Log In  
Follow
Feyn

Clip is a clipboard manager that adds a simple clipboard to your tooltray

Maybe it's not so handy as other clipboard managers, but I think it's good enough for the first version

Feel free to comment if you find any bugs or have suggestions!

Cart #clip-0 | 2024-03-20 | Embed ▽ | License: CC4-BY-NC-SA
4

4
0 comments



makes locs on desktop

usage: loc path (name)

put code in appdata/system/util/loc.lua
you can change file name to whatever you like, like ln.lua to use as ln

function ext(str)
	for i=1,#str do
		if (str:sub(i,i)==".") return i-1
	end
	return #str
end
local orig=env().argv[1]
if (not orig) print("usage: "..env().argv[0].." path (name)") exit(1)
if (orig:sub(#orig)=="/") orig=orig:sub(1,#orig-1)
if (orig:sub(1,1)!="/") orig=fetch("/ram/system/pwd.pod").."/"..orig
if (not fstat(orig)) print("file does not exist ("..orig..")") exit(1)
local name=env().argv[2] and #env().argv[2]!=0 and env().argv[2] or orig:basename()
name=name:sub(1,ext(name))
local targ="/desktop/"..name..".loc"
if (fstat(targ)) print("loc already exists ("..targ..")") exit(1)

[ [size=16][color=#ffaabb] [ Continue Reading.. ] [/color][/size] ](/bbs/?pid=143431#p)
3
0 comments



yay my fiwst game owo!!
(may be buggy!!)

Cart #first_game-2 | 2023-04-12 | Code ▽ | Embed ▽ | No License
1

1
1 comment