wmtools/passmenu_wrapper.nim

14 lines
238 B
Nim
Raw Normal View History

import base
import std/osproc
# Basically just a wrapper to style passmenu nicely
proc main() =
var info = newInfo("Passmenu")
let cmd = genDmenuCmd(info)
discard execCmd(cmd)
return
if isMainModule:
passmenu = true
main()