Browse Source

Add udiskie support.

parazyd 1 year ago
parent
commit
7eb9d8361b

+ 14 - 0
etc/polkit-1/localauthority/50-local.d/10-udisks.pkla

@@ -0,0 +1,14 @@
1
+[udisks1]
2
+Identity=unix-group:plugdev
3
+Action=org.freedesktop.udisks.filesystem-mount;org.freedesktop.udisks.luks-unlock;org.freedesktop.udisks.drive-eject;org.freedesktop.udisks.drive-detach
4
+ResultAny=yes
5
+
6
+[udisks2]
7
+Identity=unix-group:plugdev
8
+Action=org.freedesktop.udisks2.filesystem-mount;org.freedesktop.udisks2.encrypted-unlock;org.freedesktop.udisks2.eject-media;org.freedesktop.udisks2.power-off-drive
9
+ResultAny=yes
10
+
11
+[udisks2-other-seat]
12
+Identity=unix-group:plugdev
13
+Action=org.freedesktop.udisks2.filesystem-mount-other-seat;org.freedesktop.udisks2.filesystem-unmount-others;org.freedesktop.udisks2.encrypted-unlock-other-seat;org.freedesktop.udisks2.eject-media-other-seat;org.freedesktop.udisks2.power-off-drive-other-seat
14
+ResultAny=yes

+ 8 - 0
home/luther/.config/udiskie/config.yml

@@ -0,0 +1,8 @@
1
+program_options:
2
+ tray:        true
3
+ menu:        nested
4
+ automount:   false
5
+ notify:      true
6
+ password_cache: 30
7
+ #password_cache: false
8
+ password_prompt: "zenity --entry --hide-text --text 'Enter password for {device_presentation}:'"

+ 2 - 0
usr/local/share/heads/awesome.xinitrc

@@ -10,5 +10,7 @@ xsetroot -cursor_name left_ptr
10 10
 sudo /usr/local/lib/heads/heads-welcome
11 11
 
12 12
 wicd-gtk -t &
13
+dunst &
14
+udiskie &
13 15
 
14 16
 exec awesome

+ 2 - 0
usr/local/share/heads/openbox.xinitrc

@@ -10,6 +10,8 @@ sudo /usr/local/lib/heads/heads-welcome
10 10
 #start-pulseaudio-x11
11 11
 
12 12
 lxpanel &
13
+dunst &
14
+udiskie &
13 15
 pcmanfm --desktop &
14 16
 
15 17
 exec openbox-session