Add one comment

This commit is contained in:
Thomas Dehaeze 2020-03-30 00:07:56 +02:00
parent f97a526228
commit 47fd54ea4f

View File

@ -87,11 +87,13 @@ Finally, lock the screen using =i3lock=.
revert revert
#+end_src #+end_src
* Lock / Exit / Suspend / ... * TODO Lock / Exit / Suspend / ...
:PROPERTIES: :PROPERTIES:
:header-args: :tangle ~/scripts/quit.sh :header-args: :tangle ~/scripts/quit.sh
:END: :END:
- [ ] Seems duplicated with [[file:binaries.org::*=i3exit= - Manage lock, suspend, reboot, ...][=i3exit= - Manage lock, suspend, reboot, ...]]
#+begin_src bash #+begin_src bash
option=$(echo -e "Lock\nExit\nLogout\nSuspend\nHibernate\nReboot\nShutdown" | rofi -i -dmenu) option=$(echo -e "Lock\nExit\nLogout\nSuspend\nHibernate\nReboot\nShutdown" | rofi -i -dmenu)
@ -118,6 +120,11 @@ Finally, lock the screen using =i3lock=.
:header-args: :tangle ~/scripts/nas.sh :header-args: :tangle ~/scripts/nas.sh
:END: :END:
As an alternative, =sshfs= can be used:
#+begin_src bash :tangle no
sshfs -o allow_other,default_permissions nas:/Data ~/mnt/NAS
#+end_src
#+begin_src bash #+begin_src bash
if [ $1 == "mount" ]; then if [ $1 == "mount" ]; then
if mount /home/thomas/mnt/NAS/; then if mount /home/thomas/mnt/NAS/; then