Compare commits

...

2 commits

View file

@ -59,6 +59,13 @@ class MainWindow(Gtk.ApplicationWindow):
key_controller.connect("key-pressed", self._on_key_pressed)
self.add_controller(key_controller)
# Hide mouse cursor
display = Gdk.Display.get_default()
if display:
cursor = Gdk.Cursor.new_from_name("none")
if cursor:
self.set_cursor(cursor)
# Main horizontal box to split the screen
main_box = Gtk.Box(orientation=Gtk.Orientation.HORIZONTAL)
@ -491,9 +498,6 @@ class MainWindow(Gtk.ApplicationWindow):
def _populate_file_list(self) -> None:
items: list[FileItem] = []
# Add parent directory
items.append(FileItem("..", FileType.DIRECTORY, Path("..").resolve()))
for entry in os.scandir():
if entry.name.startswith("."):
continue