dotfiles

My voidlinux workstation dotfiles
git clone git://korosama.xyz/dotfiles
Log | Files | Refs

config (2179B)


      1 # Set whether to or not to use udisksctl. The default is to autodetect whether
      2 # it is available. This can be '0', '1', or 'auto'.
      3 udisks='1'
      4 
      5 show_internal='1'
      6 show_removable='1'
      7 show_optical='1'
      8 show_commands='1'
      9 
     10 colourize='1'
     11 
     12 # Set whether to use unicode for pretty layout. This can be '0' or '1'.
     13 pretty='1'
     14 
     15 # Set default mount options. The default is to pass no options.
     16 #mount_options='--options nosuid,noexec,noatime'
     17 
     18 # Set devices to exclude. Any device whose "lsblk -P" output contains a string
     19 # listed here will be hidden. The following key-value-pairs are printed:
     20 # lsblk -dPno NAME,TYPE,FSTYPE,LABEL,MOUNTPOINT,PARTLABEL,UUID [device_name]
     21 # The strings are matched using "grep -E" regular expression.
     22 #exclude=()
     23 
     24 ###
     25 ### This example will match any device with "Photosmart" in any field.
     26 ### exclude=( 'Photosmart' )
     27 ###
     28 ### This example will match the device found at /dev/sda1.
     29 ### exclude=( 'NAME="sda1"' )
     30 ###
     31 ### This example will match /dev/sda1, /dev/sda2 and /dev/sda3.
     32 ### exclude=( 'NAME="sda[1-3]"' )
     33 ###
     34 ### This example matches several different devices. Note that the array can be
     35 ### split over multiple lines for convenience.
     36 ### exclude=( 'FSTYPE="ext3"' )
     37 ### exclude+=( 'LABEL="secret"' )
     38 ### exclude+=( 'MOUNTPOINT="/"' )
     39 ### exclude+=( 'UUID="0c4d6d9c-87a2-4579-b2ae-35b0790c718a"' )
     40 ###
     41 
     42 filemanager() {
     43    /usr/local/bin/st -e lf "$1" & >/dev/null 2>&1
     44 }
     45 
     46 run_post_mount='1'
     47 
     48 post_mount() {
     49   notify-send "💾 Hard Drive Mounted"
     50 }
     51 
     52 run_post_unmount='1'
     53 
     54 post_unmount() {
     55   notify-send "💾 Hard Drive Unmounted"
     56 }
     57 
     58 # Set custom commands. Set "customX_show" to '0' to disable or '1' to enable.
     59 # If enabled, the custom commands will be shown in the device sub-menu. The
     60 # description and command functions can be set to anything you desire. The
     61 # device name (e.g. /dev/sdb1) is passed as the first and only argument.
     62 # A maximum of 3 custom actions are configurable.
     63 
     64 #custom4_show='0'
     65 #custom4_desc='changeme'
     66 #custom4_command() {
     67 #    sudo mount --options remount,ro "$1" "/mnt/${1##*/}"
     68 #}
     69 
     70 #custom5_show='0'
     71 #custom5_desc='changeme'
     72 #custom5_command() {
     73 #
     74 #}
     75 
     76 #custom6_show='0'
     77 #custom6_desc='changeme'
     78 #custom6_command() {
     79 #
     80 #}