Add one comment
This commit is contained in:
parent
c10a3e6e43
commit
0846008c78
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user