Skip to content

Instantly share code, notes, and snippets.

View molaeiali's full-sized avatar

Ali Molaei molaeiali

View GitHub Profile
@molaeiali
molaeiali / keybase.md
Created September 5, 2018 13:23
Keybase

Keybase proof

I hereby claim:

  • I am molaeiali on github.
  • I am ali_molaei (https://keybase.io/ali_molaei) on keybase.
  • I have a public key ASC2TbDu_0CKjQtxKUxx52x_rWRkiZJFMof12v4JqagNvAo

To claim this, I am signing this object:

@molaeiali
molaeiali / BackspaceBack.py
Last active February 22, 2024 18:55
Adds ability to go up a directory by pressing Backspace button in nautilus. This will work with the new Nautilus 43/Gnome 43/Gtk4
# Nautilus Backspace Back Extension
#
# Place me in ~/.local/share/nautilus-python/extensions/,
# ensure you have python-nautilus package, restrart Nautilus, and enjoy :)
#
# This script was written by molaeiali and is released to the public domain
import os, gi
gi.require_version('Nautilus', '4.0')
from gi.repository import GObject, Nautilus, Gtk, Gio, GLib