From 2386191bb6ed8ce6a9ee2efa13a80d22ace4d93c Mon Sep 17 00:00:00 2001 From: Tran Hau Date: Thu, 7 May 2020 01:38:17 +0700 Subject: [PATCH] big --- Applications/README.md | 33 ++++++++++++++++++++++++++------- Applications/aur.md | 11 ----------- Applications/bluetooth.md | 15 --------------- Applications/fish.md | 25 ------------------------- Applications/fwupd.md | 25 ------------------------- Applications/fzf.md | 13 +++++++++++++ Applications/iwd.md | 14 -------------- Applications/neovim.md | 2 +- Applications/pacman.md | 19 ------------------- Applications/piper.md | 9 --------- {Applications => Misc}/amd.md | 0 install-archlinux.md | 18 ++++++++++++++++++ 12 files changed, 58 insertions(+), 126 deletions(-) delete mode 100644 Applications/aur.md delete mode 100644 Applications/bluetooth.md delete mode 100644 Applications/fish.md delete mode 100644 Applications/fwupd.md create mode 100644 Applications/fzf.md delete mode 100644 Applications/iwd.md delete mode 100644 Applications/pacman.md delete mode 100644 Applications/piper.md rename {Applications => Misc}/amd.md (100%) diff --git a/Applications/README.md b/Applications/README.md index 24feaa3..cd0bfbe 100644 --- a/Applications/README.md +++ b/Applications/README.md @@ -2,23 +2,42 @@ [Neovim](neovim.md): like `vim`. +[git](git.md) + +[tmux](tmux.md) + [bat](https://github.com/sharkdp/bat): `cat` with colors. [fd](https://github.com/sharkdp/fd): simple `find`. -[fzf](https://github.com/junegunn/fzf): command-line finder. +[fzf](fzf.md): command-line finder. -Read [fzf](https://wiki.archlinux.org/index.php/Fzf). +[diff-so-fancy](https://github.com/so-fancy/diff-so-fancy): `diff` with human readable. -```sh -export FZF_DEFAULT_COMMAND='fd -H' -export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND" -``` +[exa](https://github.com/ogham/exa): `ls` replacement. [tldr](https://github.com/tldr-pages/tldr): simple `man`. -[HTTPie](https://httpie.org/): call API in terminal. +[HTTPie](https://httpie.org/): call API. + +[rsync](rsync.md) [Rclone](https://rclone.org/): `rsync` for cloud storage. [Prettier](https://prettier.io/): format code. + +--- + +[Flatpak and Snap](flatpak-snap.md) + +[systemd-boot](systemd-boot.md) + +[blueman](https://github.com/blueman-project/blueman) + +[DNSCrypt](dnscrypt.md) + +[OpenVPN](openvpn.md) + +[Instaloader](instaloader.md) + +[Cheat](cheat.md) diff --git a/Applications/aur.md b/Applications/aur.md deleted file mode 100644 index 71df113..0000000 --- a/Applications/aur.md +++ /dev/null @@ -1,11 +0,0 @@ -# AUR - -AUR is [Arch User Repository](https://wiki.archlinux.org/index.php/Arch_User_Repository). - -## Install - -Clone aur package and install: - -```sh -makepkg -sric -``` diff --git a/Applications/bluetooth.md b/Applications/bluetooth.md deleted file mode 100644 index 029d876..0000000 --- a/Applications/bluetooth.md +++ /dev/null @@ -1,15 +0,0 @@ -# Bluetooth - -Assume you use Archlinux. - -Read [Bluetooth](https://wiki.archlinux.org/index.php/Bluetooth). - -Start/enable service: - -```sh -systemctl start bluetooth.service - -systemctl enable bluetooth.service -``` - -GUI: use [blueman](https://github.com/blueman-project/blueman) diff --git a/Applications/fish.md b/Applications/fish.md deleted file mode 100644 index 7e8b5be..0000000 --- a/Applications/fish.md +++ /dev/null @@ -1,25 +0,0 @@ -# fish - -Read [fish](https://wiki.archlinux.org/index.php/fish). - -## Configuration - -Web interface: - -```sh -fish_config -``` - -Command completion, require [man page](https://wiki.archlinux.org/index.php/Man_page): - -```sh -fish_update_completions -``` - -## Tips and tricks - -Disable greeting: - -```sh -set -U fish_greeting -``` diff --git a/Applications/fwupd.md b/Applications/fwupd.md deleted file mode 100644 index e240540..0000000 --- a/Applications/fwupd.md +++ /dev/null @@ -1,25 +0,0 @@ -# fwupd - -Assume you use Archlinux. - -Read [fwupd](https://wiki.archlinux.org/index.php/Fwupd). - -Install `fwupd`, `gnome-firmware` for GUI. - -Download the latest metadata: - -```sh -fwupdmgr refresh -``` - -List updates available: - -```sh -fwupdmgr get-updates -``` - -Install updates: - -```sh -fwupdmgr update -``` diff --git a/Applications/fzf.md b/Applications/fzf.md new file mode 100644 index 0000000..aff0f7a --- /dev/null +++ b/Applications/fzf.md @@ -0,0 +1,13 @@ +# [fzf](https://wiki.archlinux.org/index.php/Fzf) + +Add to `~/.bashrc`: + +```bash +[[ -f /usr/share/fzf/key-bindings.bash ]] && \ + source /usr/share/fzf/key-bindings.bash +[[ -f /usr/share/fzf/completion.bash ]] && \ + source /usr/share/fzf/completion.bash + +export FZF_DEFAULT_COMMAND='fd -H' +export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND" +``` diff --git a/Applications/iwd.md b/Applications/iwd.md deleted file mode 100644 index 285509d..0000000 --- a/Applications/iwd.md +++ /dev/null @@ -1,14 +0,0 @@ -# iwd - -Assume you use Archlinux. - -Read [iwd](https://wiki.archlinux.org/index.php/Iwd). - -Read [NetworkManager: Using iwd as the Wi-Fi backend](https://wiki.archlinux.org/index.php/NetworkManager#Using_iwd_as_the_Wi-Fi_backend). - -Edit `/etc/NetworkManager/conf.d/wifi_backend.conf`: - -```txt -[device] -wifi.backend=iwd -``` diff --git a/Applications/neovim.md b/Applications/neovim.md index b33138c..0ec05e1 100644 --- a/Applications/neovim.md +++ b/Applications/neovim.md @@ -2,6 +2,6 @@ Add to `~/.bashrc`: -```sh +```bash export EDITOR=nvim ``` diff --git a/Applications/pacman.md b/Applications/pacman.md deleted file mode 100644 index 82207f9..0000000 --- a/Applications/pacman.md +++ /dev/null @@ -1,19 +0,0 @@ -# pacman - -Assume you use Archlinux. - -Read [pacman](https://wiki.archlinux.org/index.php/pacman). - -Uncomment or add if not exist options in `/etc/pacman.conf`: - -```txt -# Misc options -Color -ILoveCandy -``` - -Upgrading packages: - -```sh -sudo pacman -Syu -``` diff --git a/Applications/piper.md b/Applications/piper.md deleted file mode 100644 index 99a42d9..0000000 --- a/Applications/piper.md +++ /dev/null @@ -1,9 +0,0 @@ -# Piper - -> Piper is a GTK+ application to configure gaming mice. - -Assume you use Archlinux. - -[Supported Devices](https://github.com/libratbag/libratbag/tree/master/data/devices). - -Install [piper](https://www.archlinux.org/packages/community/any/piper/). diff --git a/Applications/amd.md b/Misc/amd.md similarity index 100% rename from Applications/amd.md rename to Misc/amd.md diff --git a/install-archlinux.md b/install-archlinux.md index f0489e3..8041b6b 100644 --- a/install-archlinux.md +++ b/install-archlinux.md @@ -117,6 +117,24 @@ Read [Fonts](https://wiki.archlinux.org/index.php/Fonts). ## [List of applications](https://wiki.archlinux.org/index.php/List_of_applications) +### [pacman](https://wiki.archlinux.org/index.php/pacman) + +Uncomment or add if not exist options in `/etc/pacman.conf`: + +```txt +# Misc options +Color +ILoveCandy +``` + +### [AUR](https://wiki.archlinux.org/index.php/Arch_User_Repository) + +Install AUR package: + +```sh +makepkg -sric +``` + ## In the end This guide is updated regularly I promise.