mirror of
https://github.com/rileyrg/linux-init.git
synced 2024-09-29 05:37:29 +02:00
nvm
This commit is contained in:
parent
0c37a30030
commit
346fe810f5
6 changed files with 14 additions and 10 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -12,6 +12,8 @@
|
|||
!/etc/acpi/actions
|
||||
!/etc/acpi/actions/*
|
||||
|
||||
!/etc/crypttab*
|
||||
|
||||
!/etc/apt
|
||||
!/etc/apt/*
|
||||
!/etc/apt/sources.list.d
|
||||
|
|
|
@ -87,8 +87,8 @@ export PATH="${PATH}:${ANDROID_HOME}/platform-tools"
|
|||
export ANDROID_STUDIO_HOME="${HOME}/bin/thirdparty/android-studio"
|
||||
export PATH="${PATH}:${ANDROID_STUDIO_HOME}/bin"
|
||||
|
||||
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||
export NVM_DIR="$HOME/.config/nvm"
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||
|
||||
export PATH="/snap/bin:$PATH"
|
||||
|
||||
|
|
12
README.md
12
README.md
|
@ -1970,7 +1970,7 @@ but in both cases we check if it exists in the sway tree, and, if not, set it it
|
|||
notify-send -t 3000 "${@}" || true
|
||||
|
||||
|
||||
<a id="orgcd9936c"></a>
|
||||
<a id="orga8fd2a7"></a>
|
||||
|
||||
### ~/bin/sway/sway-screen
|
||||
|
||||
|
@ -2016,7 +2016,7 @@ See <https://www.reddit.com/r/swaywm/comments/10ys0oy/comment/j80lu88/?context=3
|
|||
|
||||
### ~/bin/sway/sway-screen-menu
|
||||
|
||||
Gui to select a display and enable/disable it. Calls down to [~/bin/sway/sway-screen](#orgcd9936c).
|
||||
Gui to select a display and enable/disable it. Calls down to [~/bin/sway/sway-screen](#orga8fd2a7).
|
||||
|
||||
:ID: 82455cae-1c48-48b2-a8b3-cb5d44eeaee9
|
||||
|
||||
|
@ -2679,8 +2679,8 @@ Reverse engineering packges [radare2](https://radare.gitbooks.io/radare2book/con
|
|||
|
||||
[nvm](https://github.com/nvm-sh/nvm#installing-and-updating) allows you to quickly install and use different versions of node via the command line.
|
||||
|
||||
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||
export NVM_DIR="$HOME/.config/nvm"
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||
|
||||
|
||||
### snap
|
||||
|
@ -3326,7 +3326,7 @@ strip debug info and store elsewhere
|
|||
|
||||
pulse/pipeline volume control.
|
||||
Pass in a volume string to change the volume (man pactl) or on/off/toggle. It wont allow larger than 100% volume. Always returns the current volume volume/status.
|
||||
See [examples](#org3ef5059).
|
||||
See [examples](#orgd6569df).
|
||||
|
||||
#!/usr/bin/env bash
|
||||
# Maintained in linux-config.org
|
||||
|
@ -3360,7 +3360,7 @@ See [examples](#org3ef5059).
|
|||
echo "$(getVolume)"
|
||||
|
||||
|
||||
<a id="org3ef5059"></a>
|
||||
<a id="orgd6569df"></a>
|
||||
|
||||
### Examples:
|
||||
|
||||
|
|
1
etc/crypttab.t14s
Normal file
1
etc/crypttab.t14s
Normal file
|
@ -0,0 +1 @@
|
|||
home UUID=f52a08b3-7fee-44f7-adbd-175629b8ea79 /home.key:UUID=82cde4c8-aa2c-4564-b03a-2e866ad29ff3 luks,discard,keyscript=/lib/cryptsetup/scripts/passdev,keyfile-timeout=10
|
1
etc/crypttab.x1c6
Normal file
1
etc/crypttab.x1c6
Normal file
|
@ -0,0 +1 @@
|
|||
home UUID=4bfb4d7c-9faf-4797-938e-937ae859502b /home.key:UUID=82cde4c8-aa2c-4564-b03a-2e866ad29ff3 luks,discard,keyscript=/lib/cryptsetup/scripts/passdev,keyfile-timeout=10
|
|
@ -3439,8 +3439,8 @@ https://hasil-sharma.github.io/2017-05-13-python-ipdb/
|
|||
[[https://github.com/nvm-sh/nvm#installing-and-updating][nvm]] allows you to quickly install and use different versions of node via the command line.
|
||||
|
||||
#+begin_src bash :tangle "DotFiles/.profile"
|
||||
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||
export NVM_DIR="$HOME/.config/nvm"
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||
#+end_src
|
||||
*** snap
|
||||
#+begin_src bash :tangle "DotFiles/.profile"
|
||||
|
|
Loading…
Reference in a new issue