diff --git a/.gitignore b/.gitignore index bece0ea..fd0a008 100644 --- a/.gitignore +++ b/.gitignore @@ -6,4 +6,5 @@ build.log .cask/* packages/ lib/magic-buffer.el -assets/ \ No newline at end of file +assets/ +fg42 \ No newline at end of file diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..4ffb358 --- /dev/null +++ b/Makefile @@ -0,0 +1,12 @@ +install: + - git submodule init + - git submodule update + - cp -rv ./fonts/* ~/.fonts/ + - cp ./config/fg42.user.el ${HOME}/.fg42.el + - echo "#! /bin/sh" > ./fg42 + - echo "export FG42_HOME=${HOME}/src/FG42" >> ./fg42 + - echo 'emacs --name FG42 --no-site-file --no-site-lisp --no-splash --title FG42 -l $FG42_HOME/fg42-config.el "$$@"' >> ./fg42 + - sudo ln -s `pwd`/fg42 /usr/local/bin/fg42 + - sudo mkdir -p /usr/share/fg42/ + - sudo cp -rv ./share/* /usr/share/fg42/ + - echo "Make sure to install external dependencies of FG42. For more info checkout README.md" diff --git a/config/fg42.user.el b/config/fg42.user.el new file mode 100644 index 0000000..fa4e45c --- /dev/null +++ b/config/fg42.user.el @@ -0,0 +1,46 @@ +;; THEME +;; ===== +;; Load the default theme +;; Other options are: +;; (theme themes/color-theme-spacemacs-monokai) +;; (theme themes/color-theme-spacemacs-light) +;; (theme themes/color-theme-doom-one) +;; (theme themes/color-theme-doom-molokai) +(theme themes/color-theme-spacemacs-dark) + +;; ABILITIES +;; ========= +;; Disable abilities which you don't want. +(disable 'rbenv 'helm 'spell 'linum 'smart-mode-line) + +;; EXTENSIONS +;; ========== +;; Uncomment extensions that you may need. +(activate-extensions 'editor + 'development + 'web + 'editor-theme + 'javascript + 'ruby + 'clojure + ;;'php + ;;'python + ;;'arduino + ) + + +;; Example of things you can do in your ~/.fg42.el config file: +;; +;; Setting your TODO file path: +;; (setq fg42-todo-file "~/.TODO.org") +;; or you can open a remote TODO file +;; (add-hook 'fg42-before-open-todo-hook 'disable-projectile) +;; (setq fg42-todo-file "/ssh:user@host:/home/USER/.TODO.org") +;; +;; Set some environment variables for your fg42 to use +;; (setenv "http_proxy" "localhost:8118") +;; (setenv "https_proxy" "localhost:8118") +;; +;; Alwasy open a your TODO file as your first buffer +;; (add-hook 'fg42-after-initialize-hook 'fg42-open-todo) +;; diff --git a/fg42 b/fg42 index 9e51690..813e322 100755 --- a/fg42 +++ b/fg42 @@ -1,7 +1,6 @@ #! /bin/sh #export FG42_HOME=--PATH-- -export FG42_HOME=$HOME/src/FG42 - #emacs -Q --no-splash --name FG42 --title FG42 -q -l --PATH--/fg42-config.el "$@" -emacs --name FG42 --no-site-file --no-site-lisp --no-splash --title FG42 -l $FG42_HOME/fg42-config.el "$@" +#export FG42_HOME=$HOME/src/FG42 +#emacs --name FG42 --no-site-file --no-site-lisp --no-splash --title FG42 -l $FG42_HOME/fg42-config.el "$@" diff --git a/fg42-config.el b/fg42-config.el index 378abeb..376b8ac 100644 --- a/fg42-config.el +++ b/fg42-config.el @@ -44,21 +44,4 @@ ;; NOTE: It's important to use ~/.fg42.el instead of this file ;; because updating fg42 will discard your changes in ;; this file. - -;; Example of things you can do in your ~/.fg42 config file: -;; -;; Setting your TODO file path: -;; (setq fg42-todo-file "~/.TODO.org") -;; or you can open a remote TODO file -;; (add-hook 'fg42-before-open-todo-hook 'disable-projectile) -;; (setq fg42-todo-file "/ssh:user@host:/home/USER/.TODO.org") -;; -;; Set some environment variables for your fg42 to use -;; (setenv "http_proxy" "localhost:8118") -;; (setenv "https_proxy" "localhost:8118") -;; -;; Alwasy open a your TODO file as your first buffer -;; (add-hook 'fg42-after-initialize-hook 'fg42-open-todo) -;; - (fg42-initialize) diff --git a/share/applications/fg42.desktop b/share/applications/fg42.desktop index fc6779d..24c8dea 100644 --- a/share/applications/fg42.desktop +++ b/share/applications/fg42.desktop @@ -3,11 +3,11 @@ Encoding=UTF-8 Name=FG42 GenericName=FG42 Comment=An Emacs base IDE for emacs lovers. -MimeType=text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-java;application/x-shellscript;text/x-c;text/x-c++;text/x-ruby;text/x-python; +MimeType=text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-java;application/x-shellscript;text/x-c;text/x-c++;text/x-ruby;text/x-python;text/x-clojure;text/css;text/html;text/x-javascript; Type=Application Terminal=false Categories=Development;TextEditor; StartupWMClass=FG42 -Exec=--PATH--/fg42 %F +Exec=/usr/local/bin/fg42 %F Icon=kuso -Version=--VERSION-- \ No newline at end of file +Version=2.67 \ No newline at end of file diff --git a/share/icons/hicolor/128x128/apps/fg42.png b/share/icons/hicolor/128x128/apps/fg42.png index d3dce3b..2c9a735 100644 Binary files a/share/icons/hicolor/128x128/apps/fg42.png and b/share/icons/hicolor/128x128/apps/fg42.png differ diff --git a/share/icons/hicolor/16x16/apps/fg42.png b/share/icons/hicolor/16x16/apps/fg42.png index 7024fb1..0225696 100644 Binary files a/share/icons/hicolor/16x16/apps/fg42.png and b/share/icons/hicolor/16x16/apps/fg42.png differ diff --git a/share/icons/hicolor/192x192/apps/fg42.png b/share/icons/hicolor/192x192/apps/fg42.png index fba74b9..bccd96c 100644 Binary files a/share/icons/hicolor/192x192/apps/fg42.png and b/share/icons/hicolor/192x192/apps/fg42.png differ diff --git a/share/icons/hicolor/256x256/apps/fg42.png b/share/icons/hicolor/256x256/apps/fg42.png index 1c76930..b949ec3 100644 Binary files a/share/icons/hicolor/256x256/apps/fg42.png and b/share/icons/hicolor/256x256/apps/fg42.png differ diff --git a/share/icons/hicolor/32x32/apps/fg42.png b/share/icons/hicolor/32x32/apps/fg42.png index 0dbdc56..cbf2045 100644 Binary files a/share/icons/hicolor/32x32/apps/fg42.png and b/share/icons/hicolor/32x32/apps/fg42.png differ diff --git a/share/icons/hicolor/48x48/apps/fg42.png b/share/icons/hicolor/48x48/apps/fg42.png index 12ce3e5..360c149 100644 Binary files a/share/icons/hicolor/48x48/apps/fg42.png and b/share/icons/hicolor/48x48/apps/fg42.png differ diff --git a/share/icons/hicolor/64x64/apps/fg42.png b/share/icons/hicolor/64x64/apps/fg42.png index bca922e..0b62598 100644 Binary files a/share/icons/hicolor/64x64/apps/fg42.png and b/share/icons/hicolor/64x64/apps/fg42.png differ diff --git a/share/icons/hicolor/96x96/apps/fg42.png b/share/icons/hicolor/96x96/apps/fg42.png index b2238f6..0fa7989 100644 Binary files a/share/icons/hicolor/96x96/apps/fg42.png and b/share/icons/hicolor/96x96/apps/fg42.png differ diff --git a/share/icons/hicolor/scalable/apps/fg42.svg b/share/icons/hicolor/scalable/apps/fg42.svg new file mode 100644 index 0000000..7121d91 --- /dev/null +++ b/share/icons/hicolor/scalable/apps/fg42.svg @@ -0,0 +1,220 @@ + + + +image/svg+xml \ No newline at end of file diff --git a/share/icons/hicolor/scalable/apps/kuso.svg b/share/icons/hicolor/scalable/apps/kuso.svg deleted file mode 100644 index a62e64a..0000000 --- a/share/icons/hicolor/scalable/apps/kuso.svg +++ /dev/null @@ -1,9626 +0,0 @@ - - - - - Text Editor - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - Jakub Steiner - - - http://jimmac.musichall.cz - - Text Editor - - - text - editor - gedit - - - - - - - - - - - - - - - - - - - - - Lapo Calamandrei - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - This - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TAN-GO - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -