diff --git a/bin/ifttt b/bin/ifttt deleted file mode 100755 index 94114f0..0000000 --- a/bin/ifttt +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/sh - -if [ ! -f ~/.ifttt ]; then - echo 'Error! Please add your IFTTT Webhooks Token to ~/.ifttt' - exit 1 -fi - -API="https://maker.ifttt.com/trigger/script/with/key/$(cat ~/.ifttt)" - -_json () { - local a=$1 - local b=$2 - shift 2 - echo '{"value1":"'$a'","value2":"'$b'","value3":"'$@'"}' -} - -if [ $# -eq 3 ]; then - data="$( _json "$@" )" -else - data="$( _json "$(hostname)" "$(pwd)" "$@" )" -fi - -result="$(curl -s -H 'Content-Type: application/json' -d $data $API)" -[ "$result" = 'Bad Request' ] && exit 1 -exit 0 diff --git a/bin/notify b/bin/notify deleted file mode 100755 index 6706a60..0000000 --- a/bin/notify +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -dcs "777;notify;${1};${2}" diff --git a/vim/pack/plugins/opt/glsl/ftdetect/glsl.vim b/vim/pack/plugins/opt/glsl/ftdetect/glsl.vim deleted file mode 100644 index cc42243..0000000 --- a/vim/pack/plugins/opt/glsl/ftdetect/glsl.vim +++ /dev/null @@ -1 +0,0 @@ -autocmd! BufNewFile,BufRead *.{glsl,vert,tesc,tese,geom,frag,comp} setfiletype glsl diff --git a/vim/pack/plugins/opt/glsl/syntax/glsl.vim b/vim/pack/plugins/opt/glsl/syntax/glsl.vim deleted file mode 100644 index 406f462..0000000 --- a/vim/pack/plugins/opt/glsl/syntax/glsl.vim +++ /dev/null @@ -1,120 +0,0 @@ -" Language: OpenGL ES Shading Language 1.00 - -if exists("b:current_syntax") - finish -endif - -" Statements -syn keyword glslRepeat for while do -syn keyword glslConditional if else switch case default -syn keyword glslStatement discard return break continue - -" Comments -syn keyword glslTodo contained TODO FIXME XXX NOTE -syn region glslCommentL start="//" skip="\\$" end="$" keepend contains=glslTodo,@Spell -syn region glslComment matchgroup=glslCommentStart start="/\*" end="\*/" extend contains=glslTodo,@Spell - -" Preprocessor -syn keyword glslMacro __LINE__ __FILE__ __VERSION__ GL_ES -syn region glslDefine start="^\s*#\s*\(define\|undef\)" skip="\\$" end="$" keepend -syn region glslPreCondit start="^\s*#\s*\(if\|ifdef\|ifndef\|else\|elif\|endif\)" skip="\\$" end="$" keepend -syn region glslPreProc start="^\s*#\s*\(error\|pragma\|extension\|version\|line\)" skip="\\$" end="$" keepend - -" Boolean Constants -syn keyword glslBoolean true false - -" Integer Numbers -syn match glslDecimalInt display "\<\(0\|[1-9]\d*\)[uU]\?" -syn match glslOctalInt display "\<0\o\+[uU]\?" -syn match glslHexInt display "\<0[xX]\x\+[uU]\?" - -" Float Numbers -syn match glslFloat display "\<\d\+\.\([eE][+-]\=\d\+\)\=\(lf\|LF\|f\|F\)\=" -syn match glslFloat display "\<\.\d\+\([eE][+-]\=\d\+\)\=\(lf\|LF\|f\|F\)\=" -syn match glslFloat display "\<\d\+[eE][+-]\=\d\+\(lf\|LF\|f\|F\)\=" -syn match glslFloat display "\<\d\+\.\d\+\([eE][+-]\=\d\+\)\=\(lf\|LF\|f\|F\)\=" - -" Swizzles -syn match glslSwizzle display /\.[xyzw]\{1,4\}\>/ -syn match glslSwizzle display /\.[rgba]\{1,4\}\>/ -syn match glslSwizzle display /\.[stpq]\{1,4\}\>/ - -" Structure -syn keyword glslStructure struct nextgroup=glslIdentifier skipwhite skipempty - -syn match glslIdentifier contains=glslIdentifierPrime "\%([a-zA-Z_]\)\%([a-zA-Z0-9_]\)*" display contained - -" Types -syn keyword glslType void -syn keyword glslType bool int float -syn keyword glslType mat2 mat3 mat4 -syn keyword glslType vec2 vec3 vec4 -syn keyword glslType ivec2 ivec3 ivec4 -syn keyword glslType bvec2 bvec3 bvec4 -syn keyword glslType sampler2D samplerCube - -" Qualifiers -syn keyword glslQualifier in inout out -syn keyword glslQualifier precision highp mediump lowp -syn keyword glslQualifier const attribute uniform varying -syn keyword glslQualifier invariant - -" Built-in Constants -syn keyword glslBuiltinConstant gl_MaxVertexAttribs -syn keyword glslBuiltinConstant gl_MaxVertexUniformVectors -syn keyword glslBuiltinConstant gl_MaxVaryingVectors -syn keyword glslBuiltinConstant gl_MaxTextureImageUnits -syn keyword glslBuiltinConstant gl_MaxCombinedTextureImageUnits -syn keyword glslBuiltinConstant gl_MaxFragmentUniformVectors -syn keyword glslBuiltinConstant gl_MaxDrawBuffers - -" Built-in Variables -syn keyword glslBuiltinVariable gl_Position -syn keyword glslBuiltinVariable gl_PointSize -syn keyword glslBuiltinVariable gl_PointCoord -syn keyword glslBuiltinVariable gl_FragColor -syn keyword glslBuiltinVariable gl_FragCoord -syn keyword glslBuiltinVariable gl_FragData -syn keyword glslBuiltinVariable gl_FrontFacing -syn keyword glslBuiltinVariable gl_DepthRange -syn keyword glslBuiltinVariable gl_DepthRangeParameters - -" Built-in Functions -syn keyword glslBuiltinFunction any all not -syn keyword glslBuiltinFunction matrixCompMult -syn keyword glslBuiltinFunction textureCube textureCubeLod -syn keyword glslBuiltinFunction pos exp log exp2 log2 sqrt inversesqrt -syn keyword glslBuiltinFunction radians degrees sin cos tan asin acos atan -syn keyword glslBuiltinFunction texture2D texture2DLod texture2DProj texture2DProjLod -syn keyword glslBuiltinFunction abs sign floor ceil fract mod min max clamp mix step smoothstep -syn keyword glslBuiltinFunction length distance dot cross normalize faceforward reflect refract -syn keyword glslBuiltinFunction lessThan lessThanEqual greaterThan greaterThanEqual equal notEqual - -hi def link glslConditional Conditional -hi def link glslRepeat Repeat -hi def link glslStatement Statement -hi def link glslTodo Todo -hi def link glslCommentL glslComment -hi def link glslCommentStart glslComment -hi def link glslComment Comment -hi def link glslPreCondit PreCondit -hi def link glslDefine Define -hi def link glslMacro Macro -hi def link glslPreProc PreProc -hi def link glslBoolean Boolean -hi def link glslDecimalInt glslInteger -hi def link glslOctalInt glslInteger -hi def link glslHexInt glslInteger -hi def link glslInteger Number -hi def link glslFloat Float -hi def link glslIdentifierPrime glslIdentifier -hi def link glslIdentifier Identifier -hi def link glslStructure Structure -hi def link glslType Type -hi def link glslQualifier StorageClass -hi def link glslBuiltinConstant Constant -hi def link glslBuiltinFunction Function -hi def link glslBuiltinVariable Identifier -hi def link glslSwizzle Identifier - -let b:current_syntax = "glsl" diff --git a/vim/pack/plugins/opt/openscad/ftdetect/openscad.vim b/vim/pack/plugins/opt/openscad/ftdetect/openscad.vim deleted file mode 100644 index bef6a0f..0000000 --- a/vim/pack/plugins/opt/openscad/ftdetect/openscad.vim +++ /dev/null @@ -1 +0,0 @@ -autocmd! BufNewFile,BufRead *.scad setfiletype openscad diff --git a/vim/pack/plugins/opt/openscad/syntax/openscad.vim b/vim/pack/plugins/opt/openscad/syntax/openscad.vim deleted file mode 100644 index aa3afe6..0000000 --- a/vim/pack/plugins/opt/openscad/syntax/openscad.vim +++ /dev/null @@ -1,88 +0,0 @@ -" Vim syntax file -" Language: OpenSCAD -" Version: v2019.05 - -if exists("b:current_syntax") - finish -endif - -"syn keyword openscadFunctionDef function -syn keyword openscadFunctionDef function nextgroup=openscadFunction skipwhite skipempty -syn match openscadFunction /\<\h\w*\>/ contained display - -"syn keyword openscadModuleDef module -syn keyword openscadModuleDef module nextgroup=openscadModule skipwhite skipempty -syn match openscadModule /\<\h\w*\>/ contained display - -syn match openscadSpecial "\$[a-zA-Z]\+\>" display -syn match openscadModifier "^\s*[\*\!\#\%]" display - -syn keyword openscadConstant PI undef -syn keyword openscadBoolean true false - -syn match openscadNumbers "\<\d\|\.\d" contains=openscadNumber display transparent -syn match openscadNumber "\.\d\+" display contained -syn match openscadNumber "\d\+" display contained - -syn region openscadString start=/"/ skip=/\\"/ end=/"/ - -syn keyword openscadCommentTodo TODO FIXME XXX contained display -syn region openscadBlockComment start=:/\*: end=:\*/: fold contains=openscadCommentTodo -syn match openscadInlineComment ://.*$: contains=openscadCommentTodo - -syn region openscadBlock start="{" end="}" transparent fold -syn region openscadVector start="\[" end="\]" transparent fold - -syn keyword openscadStatement echo let -syn keyword openscadInclude include use -syn keyword openscadImport import children -syn keyword openscadConditional if else -syn keyword openscadRepeat for intersection_for each - -syn keyword openscadBuiltin echo assert render parent_module -syn keyword openscadBuiltin str len chr ord concat search lookup -syn keyword openscadBuiltin dxf_cross dxf_dim version version_num -syn keyword openscadBuiltin is_undef is_bool is_num is_string is_list -syn keyword openscadBuiltin abs sign floor round ceil max min rands norm cross -syn keyword openscadBuiltin sin cos tan acos asin atan atan2 ln log pow exp sqrt - -syn keyword openscadCsgBoolean union difference intersection -syn keyword openscadPrimitive2D square circle polygon import_dxf text projection -syn keyword openscadPrimitive3D cube sphere cylinder polyhedron surface linear_extrude rotate_extrude -syn keyword openscadTransform translate rotate scale resize mirror multmatrix color offset hull minkowski - -hi def link openscadString String -hi def link openscadNumber Number -hi def link openscadNumbers Number -hi def link openscadBoolean Boolean -hi def link openscadConstant Constant -hi def link openscadSpecial Special -hi def link openscadModifier Special -hi def link openscadInclude Include -hi def link openscadBuiltin Operator -hi def link openscadRepeat Repeat -hi def link openscadConditional Conditional -hi def link openscadCommentTodo Todo -hi def link openscadBlockComment Comment -hi def link openscadInlineComment Comment -hi def link openscadImport Keyword -hi def link openscadCsgBoolean Keyword -hi def link openscadPrimitive3D Keyword -hi def link openscadPrimitive2D Keyword -hi def link openscadTransform Statement -hi def link openscadStatement Statement -hi def link openscadModule Function -hi def link openscadModuleDef Structure -hi def link openscadFunction Function -hi def link openscadFunctionDef Structure - -if exists("openscad_space_errors") - if !exists("openscad_no_trail_space_error") - syn match openscadSpaceError display excludenl "\s\+$" - endif - if !exists("openscad_no_tab_space_error") - syn match openscadSpaceError display " \+\t"me=e-1 - endif -endif - -let b:current_syntax = "openscad"