aboutsummaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorxero <x@xero.nu>2014-03-22 23:16:29 -0400
committerxero <x@xero.nu>2014-03-22 23:16:29 -0400
commit2e88d9b4470d9243e59e8c685ba7de6c08438627 (patch)
treec08d28d64be61a2566c2ab01ea9969facc648143 /.config
parent8889badd45c16d37922666d3c78fc31d4d2409bd (diff)
downloaddotfiles_ascii-2e88d9b4470d9243e59e8c685ba7de6c08438627.tar.xz
dotfiles_ascii-2e88d9b4470d9243e59e8c685ba7de6c08438627.zip
move .udisk-glue.conf into .config dir
Diffstat (limited to '.config')
-rw-r--r--.config/.udisk-glue.conf24
1 files changed, 24 insertions, 0 deletions
diff --git a/.config/.udisk-glue.conf b/.config/.udisk-glue.conf
new file mode 100644
index 0000000..b69d1dd
--- /dev/null
+++ b/.config/.udisk-glue.conf
@@ -0,0 +1,24 @@
+filter disks {
+ optical = false
+ partition_table = false
+ usage = filesystem
+ }
+
+match disks {
+ automount = true
+ post_mount_command = "echo 'naughty.notify({title = \"░░░░▒▒▒▒▓▓▓▓████ disk mount ████▓▓▓▓▒▒▒▒░░░░\", text = \"usb mounted : %device_file on %mount_point\", timeout = 10})' | awesome-client"
+ post_unmount_command = "echo 'naughty.notify({title = \"░░░░▒▒▒▒▓▓▓▓████ disk unmount ████▓▓▓▓▒▒▒▒░░░░\", text = \"usb unmounted : %device_file from %mount_point\", timeout = 10})' | awesome-client"
+ post_removal_command = "echo 'naughty.notify({title = \"░░░░▒▒▒▒▓▓▓▓████ usb disconnected ████▓▓▓▓▒▒▒▒░░░░\", text = \"usb disconnected : %device_file\", timeout = 10})' | awesome-client"
+ }
+
+filter optical {
+ optical = true
+ }
+
+match optical {
+ automount = true
+ automount_options = ro
+ post_mount_command = "echo 'naughty.notify({title = \"░░░░▒▒▒▒▓▓▓▓████ cd-rom mount ████▓▓▓▓▒▒▒▒░░░░\", text = \"cd-rom mounted : %device_file on %mount_point\", timeout = 10})' | awesome-client"
+ post_unmount_command = "echo 'naughty.notify({title = \"░░░░▒▒▒▒▓▓▓▓████ cd-rom unmount ████▓▓▓▓▒▒▒▒░░░░\", text = \"cd-rom unmounted : %device_file from %mount_point\", timeout = 10})' | awesome-client"
+ post_removal_command = "echo 'naughty.notify({title = \"░░░░▒▒▒▒▓▓▓▓████ cd-rom eject ████▓▓▓▓▒▒▒▒░░░░\", text = \"cd-rom ejected : %device_file\", timeout = 10})' | awesome-client"
+}