forked from igosnusantara/fedorautils
-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added some plugins #11
Open
marcosfede
wants to merge
4
commits into
monsieurh:master
Choose a base branch
from
marcosfede:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/usr/bin/env sh | ||
add-apt-repository -y ppa:webupd8team/atom | ||
apt-get -y update | ||
apt-get -y install atom |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"icon": "atom", | ||
"label": "Atom", | ||
"description": "Atom text editor", | ||
"license": "Free", | ||
"category": "Programming", | ||
"scripts": { | ||
"exec": { | ||
"label": "Install", | ||
"command": "run-as-root -s atom.sh" | ||
}, | ||
"undo": { | ||
"label": "Remove", | ||
"command": "run-as-root ppa-purge -y ppa:webupd8team/atom" | ||
}, | ||
"status": { | ||
"command": "dpkg -s atom" | ||
} | ||
} | ||
} | ||
|
||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/bin/bash | ||
apt-get install apt-transport-https ca-certificates | ||
curl -fsSL https://yum.dockerproject.org/gpg | apt-key add - | ||
add-apt-repository \ | ||
"deb https://apt.dockerproject.org/repo/ \ | ||
ubuntu-xenial \ | ||
main" | ||
apt-get update | ||
apt-get -y install docker-engine jq | ||
groupadd docker | ||
gpasswd -a ${USER} docker | ||
service docker restart | ||
platform=Linux-x86_64 | ||
compose_url=$(curl -s https://api.github.com/repos/docker/compose/releases/latest | jq -r ".assets[] | select(.name | test(\"${platform}\")) | .browser_download_url") | ||
echo $compose_url | ||
curl -L $compose_url -o /usr/local/bin/docker-compose | ||
chmod +x /usr/local/bin/docker-compose | ||
machine_url=$(curl -s https://api.github.com/repos/docker/machine/releases/latest | jq -r ".assets[] | select(.name | test(\"${platform}\")) | .browser_download_url") | ||
curl -L $machine_url >/tmp/docker-machine && | ||
chmod +x /tmp/docker-machine && | ||
cp /tmp/docker-machine /usr/local/bin/docker-machine | ||
newgrp docker |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"icon": "docker", | ||
"label": "Docker+machine+compose", | ||
"description": "Docker + docker-machine + docker-compose", | ||
"license": "Free", | ||
"category": "Programming", | ||
"scripts": { | ||
"exec": { | ||
"label": "Install", | ||
"command": "run-as-root -s docker.sh" | ||
}, | ||
"undo": { | ||
"label": "Remove", | ||
"command": "run-as-root apt purge -y docker-engine jq" | ||
}, | ||
"status": { | ||
"command": "dpkg -s docker-engine" | ||
} | ||
} | ||
} | ||
|
||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/bash | ||
add-apt-repository ppa:philip.scott/elementary-tweaks | ||
apt-get update | ||
apt-get install elementary-tweaks |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"icon": "elementary", | ||
"label": "Elementary Tweaks", | ||
"description": "elementaryOS Tweaks", | ||
"license": "Free", | ||
"category": "Apps", | ||
"scripts": { | ||
"exec": { | ||
"label": "Install", | ||
"command": "run-as-root -s lokitweaks.sh" | ||
}, | ||
"undo": { | ||
"label": "Remove", | ||
"command": "run-as-root ppa-purge -y ppa:philip.scott/elementary-tweaks" | ||
}, | ||
"status": { | ||
"command": "dpkg -s elementary-tweaks" | ||
} | ||
} | ||
} | ||
|
||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
keyword=FiraCode | ||
apt-get install -y jq | ||
url=$(curl -s https://api.github.com/repos/tonsky/FiraCode/releases/latest | jq -r ".assets[] | select(.name | test(\"${keyword}\")) | .browser_download_url") | ||
curl -L $url -o /tmp/firacode.zip | ||
unzip /tmp/firacode.zip -d /tmp/firacode | ||
mkdir ~/.fonts | ||
cp /tmp/firacode/otf/* ~/.fonts |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"icon": "font", | ||
"label": "FiraCode", | ||
"description": "FiraCode font with ligatures", | ||
"license": "Free", | ||
"category": "Programming", | ||
"scripts": { | ||
"exec": { | ||
"label": "Install", | ||
"command": "run-as-root -s fira.sh" | ||
}, | ||
"undo": { | ||
"label": "Remove", | ||
"command": "run-as-root rm ~/.fonts/FiraCode*" | ||
} | ||
// "status": { | ||
// "command": "dpkg -s zsh" | ||
// } | ||
} | ||
} | ||
|
||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/usr/bin/env bash | ||
apt install fish -y | ||
# install fisherman plugin manager | ||
curl -Lo ~/.config/fish/functions/fisher.fish --create-dirs git.io/fisher | ||
# install ohmyfish | ||
curl -L http://get.oh-my.fish | fish | ||
#install some themes | ||
omf install agnoster | ||
omf install nai | ||
# install bass to get bash compatibility | ||
fisher edc/bass | ||
fisher fzf |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"icon": "fish", | ||
"label": "Fish+Ohmyfish", | ||
"description": "Fish shell + plugins", | ||
"license": "Free", | ||
"category": "Programming", | ||
"scripts": { | ||
"exec": { | ||
"label": "Install", | ||
"command": "run-as-root -s fishsetup.sh" | ||
}, | ||
"undo": { | ||
"label": "Remove", | ||
"command": "run-as-root apt purge -y fish" | ||
}, | ||
"status": { | ||
"command": "dpkg -s fish" | ||
} | ||
} | ||
} | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/bash | ||
gpasswd -a $USER input # Log out and back in to assign this group | ||
apt-get install libinput-tools -y | ||
apt-get install xdotool -y | ||
apt-get install -y ruby | ||
gem install fusuma |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"icon": "touchpad", | ||
"label": "Fusuma", | ||
"description": "Fusuma multitouch gestures", | ||
"license": "Free", | ||
"category": "Utilities", | ||
"scripts": { | ||
"exec": { | ||
"label": "Install", | ||
"command": "run-as-root -s fusuma.sh" | ||
}, | ||
"undo": { | ||
"label": "Remove", | ||
"command": "run-as-root apt purge -y libinput-tools xdotool ruby" | ||
}, | ||
"status": { | ||
"command": "dpkg -s fusuma" | ||
} | ||
} | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"icon": "neovim", | ||
"label": "Neovim", | ||
"description": "Neovim text editor + vimplug plugin manager", | ||
"license": "Free", | ||
"category": "Programming", | ||
"scripts": { | ||
"exec": { | ||
"label": "Install", | ||
"command": "run-as-root -s neovim.sh" | ||
}, | ||
"undo": { | ||
"label": "Remove", | ||
"command": "run-as-root apt purge -y neovim" | ||
}, | ||
"status": { | ||
"command": "dpkg -s neovim" | ||
} | ||
} | ||
} | ||
|
||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/bash | ||
apt-get install -y software-properties-common | ||
add-apt-repository -y ppa:neovim-ppa/stable | ||
apt-get update | ||
apt-get install vim neovim curl -y | ||
mkdir -p ~/.config/nvim/ | ||
rm ~/.config/nvim/init.vim ~/.vimrc | ||
curl -fLo ~/.config/nvim/autoload/plug.vim --create-dirs \ | ||
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim | ||
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \ | ||
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim | ||
curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \ | ||
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"icon": "node", | ||
"label": "Node v7", | ||
"description": "Node version 7", | ||
"license": "Free", | ||
"category": "Programming", | ||
"scripts": { | ||
"exec": { | ||
"label": "Install", | ||
"command": "run-as-root -s node7.sh" | ||
}, | ||
"undo": { | ||
"label": "Remove", | ||
"command": "run-as-root apt purge -y nodejs" | ||
}, | ||
"status": { | ||
"command": "dpkg -s nodejs" | ||
} | ||
} | ||
} | ||
|
||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
curl -sL https://deb.nodesource.com/setup_7.x | -E bash - | ||
apt-get install -y nodejs | ||
apt-get install -y build-essential |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"icon": "icons", | ||
"label": "Paper icons", | ||
"description": "Paper icon theme", | ||
"license": "Free", | ||
"category": "Utilities", | ||
"scripts": { | ||
"exec": { | ||
"label": "Install", | ||
"command": "run-as-root -s papericons.sh" | ||
}, | ||
"undo": { | ||
"label": "Remove", | ||
"command": "run-as-root ppa-purge -y ppa:snwh/pulp" | ||
}, | ||
"status": { | ||
"command": "dpkg -s paper-icon-theme" | ||
} | ||
} | ||
} | ||
|
||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/bash | ||
add-apt-repository ppa:snwh/pulp | ||
# update repository info | ||
apt-get update | ||
# install icon theme | ||
apt-get install paper-icon-theme |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"icon": "qbittorrent", | ||
"label": "Qbittorrent", | ||
"description": "Qbittorrent torrent client", | ||
"license": "Free", | ||
"category": "Apps", | ||
"scripts": { | ||
"exec": { | ||
"label": "Install", | ||
"command": "run-as-root apt-get install -y qbittorrent" | ||
}, | ||
"undo": { | ||
"label": "Remove", | ||
"command": "run-as-root apt purge -y qbittorrent" | ||
}, | ||
"status": { | ||
"command": "dpkg -s qbittorrent" | ||
} | ||
} | ||
} | ||
|
||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"icon": "terminal", | ||
"label": "Terminix", | ||
"description": "Terminix", | ||
"license": "Free", | ||
"category": "Programming", | ||
"scripts": { | ||
"exec": { | ||
"label": "Install", | ||
"command": "run-as-root -s terminix.sh" | ||
}, | ||
"undo": { | ||
"label": "Remove", | ||
"command": "run-as-root apt purge -y terminix" | ||
}, | ||
"status": { | ||
"command": "dpkg -s terminix" | ||
} | ||
} | ||
} | ||
|
||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/bash | ||
add-apt-repository ppa:webupd8team/terminix | ||
apt-get update | ||
apt-get install terminix |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"icon": "vscode", | ||
"label": "Vscode", | ||
"description": "Visual Studio Code", | ||
"license": "Free", | ||
"category": "Programming", | ||
"scripts": { | ||
"exec": { | ||
"label": "Install", | ||
"command": "run-as-root -s vscode.sh" | ||
}, | ||
"undo": { | ||
"label": "Remove", | ||
"command": "run-as-root apt purge -y code" | ||
}, | ||
"status": { | ||
"command": "dpkg -s code" | ||
} | ||
} | ||
} | ||
|
||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/bash | ||
# Install key | ||
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg | ||
mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg | ||
# Install repo | ||
sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list' | ||
# Update apt-get | ||
apt-get update | ||
# Install | ||
apt-get install code # or code-insiders |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could you develop on why it is needed when installing the app itself?