This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import nimpy, std/macros, ast_pattern_matching, sequtils, unittest, strutils | |
let py = pyBuiltinsModule() | |
macro pyInjectMethods*(obj, memFuncs: untyped): untyped = | |
obj.expectKind nnkIdent | |
memFuncs.expectKind nnkStmtList | |
var stmts = newStmtList() | |
for mem_func in memFuncs.children: | |
memFunc.matchAst: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"configversion":"2.0","nmaps":{"/":"fillcmdline find","?":"fillcmdline find -?","N":"findnext -1",",<Space>":"nohlsearch","n":"findnext 1","j":"scrollpage 0.5","s":"scrollpage 0.5","d":"scrollpage -0.5","x":"tabclose","a":"hint -b","m":"bmark","h":"tabprev","l":"tabnext",";x":"hint -F e => { const pos = tri.dom.getAbsoluteCentre(e); tri.excmds.exclaim_quiet(\"xdotool mousemove --sync \" + window.devicePixelRatio * pos.x + \" \" + window.devicePixelRatio * pos.y + \"; xdotool click 1\")}",";X":"hint -F e => { const pos = tri.dom.getAbsoluteCentre(e); tri.excmds.exclaim_quiet(\"xdotool mousemove --sync \" + window.devicePixelRatio * pos.x + \" \" + window.devicePixelRatio * pos.y + \"; xdotool keydown ctrl+shift; xdotool click 1; xdotool keyup ctrl+shift\")}","<A-p>":"pin","<A-m>":"mute toggle","<F1>":"help","o":"fillcmdline open","O":"current_url open","w":"fillcmdline winopen","W":"current_url winopen","t":"fillcmdline tabopen","]]":"followpage next","[[":"followpage prev","[c":"urlincrement -1","]c":"urlinc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* | |
* Author : Aditya Shakya | |
* Mail : [email protected] | |
* Github : @adi1090x | |
* Twitter : @adi1090x | |
* | |
*/ | |
configuration { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rofi usage: | |
rofi [-options ...] | |
Command line only options: | |
-no-config Do not load configuration, use default values. | |
-v,-version Print the version number and exit. | |
-dmenu Start in dmenu mode. | |
-display [string] X server to contact. | |
${DISPLAY} | |
-h,-help This help message. |
NewerOlder