aboutsummaryrefslogtreecommitdiff
path: root/.udisk-glue.conf
diff options
context:
space:
mode:
authorxero <x@xero.nu>2014-03-08 22:14:34 -0500
committerxero <x@xero.nu>2014-03-08 22:14:34 -0500
commitaedf4ef0ec9712789310b5b6d7d06af90f4f6261 (patch)
treeae25f438d4942195892dd9c311badcccf00dd4d8 /.udisk-glue.conf
parent02dd2db6564b9e3fd1e1582724bbd188f5de7db6 (diff)
downloaddotfiles_ascii-aedf4ef0ec9712789310b5b6d7d06af90f4f6261.tar.xz
dotfiles_ascii-aedf4ef0ec9712789310b5b6d7d06af90f4f6261.zip
add awesome wm config files and v0.1.0 of ghost theme.
Diffstat (limited to '.udisk-glue.conf')
-rw-r--r--.udisk-glue.conf24
1 files changed, 24 insertions, 0 deletions
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"
+}