From aedf4ef0ec9712789310b5b6d7d06af90f4f6261 Mon Sep 17 00:00:00 2001 From: xero Date: Sat, 8 Mar 2014 22:14:34 -0500 Subject: add awesome wm config files and v0.1.0 of ghost theme. --- .udisk-glue.conf | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .udisk-glue.conf (limited to '.udisk-glue.conf') diff --git a/.udisk-glue.conf b/.udisk-glue.conf new file mode 100644 index 0000000..b69d1dd --- /dev/null +++ b/.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" +} -- cgit v1.2.1