From d497cf34a21168c67a10ed8616f925d6cbd95221 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Mon, 26 Aug 2019 13:59:08 -0500 Subject: [PATCH] mount & umount microSD --- config | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config b/config index 0bd6a3b..018c713 100644 --- a/config +++ b/config @@ -232,12 +232,14 @@ bindsym XF86AudioMute exec --no-startup-id amixer -q -D pulse sset Master toggle # Enable devices USB # Declare here the shortcut to mount-device, require udisks2 -set $mode_mount Launch: Shift unmount devices (u) USB, (c) DVD/CD +set $mode_mount Launch: Shift unmount devices (u) USB, (c) DVD/CD, (s) Stick mode "$mode_mount" { bindsym u exec --no-startup-id "udisksctl mount -b /dev/sdb1", mode "default" bindsym Shift+u exec --no-startup-id "udisksctl unmount -b /dev/sdb1", mode "default" bindsym c exec --no-startup-id "udisksctl mount -b /dev/sr0", mode "default" bindsym Shift+c exec --no-startup-id "udisksctl unmount -b /dev/sr0", mode "default" + bindsym s exec --no-startup-id "udisksctl mount -b /dev/sdb", mode "default" + bindsym Shift+s exec --no-startup-id "udisksctl unmount -b /dev/sdb", mode "default" # back to normal: Enter or Escape bindsym Return mode "default"