dotfiles

My ~/.config directory

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. 9
function t -d "Move file or files to trash"
    # Prefer kioclient because it also handles deleting expired files
    # kioclient only works when running in a desktop, not over SSH
    if type -q kioclient; and set -q DISPLAY
        kioclient move $argv trash:/
    else
        gio trash $argv
    end
end