roundabout,
created on Wednesday, 18 December 2024, 14:42:21 (1734532941),
received on Wednesday, 18 December 2024, 16:45:04 (1734540304)
Author identity: vlad <vlad.muntoiu@gmail.com>
e29ecbe01d22af397028ce1a53207f771c70032b
.idea/.gitignore
@@ -1,8 +0,0 @@
# Default ignored files
/shelf/
/workspace.xml
# Editor-based HTTP Client requests
/httpRequests/
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml
.idea/inspectionProfiles/Project_Default.xml
@@ -1,119 +0,0 @@
<component name="InspectionProjectProfileManager">
<profile version="1.0">
<option name="myName" value="Project Default" />
<inspection_tool class="CssUnknownProperty" enabled="true" level="WARNING" enabled_by_default="true">
<option name="myCustomPropertiesEnabled" value="true" />
<option name="myIgnoreVendorSpecificProperties" value="false" />
<option name="myCustomPropertiesList">
<value>
<list size="1">
<item index="0" class="java.lang.String" itemvalue="r" />
</list>
</value>
</option>
</inspection_tool>
<inspection_tool class="HtmlUnknownAttribute" enabled="true" level="WARNING" enabled_by_default="true">
<option name="myValues">
<value>
<list size="7">
<item index="0" class="java.lang.String" itemvalue="hx-put" />
<item index="1" class="java.lang.String" itemvalue="hx-vals" />
<item index="2" class="java.lang.String" itemvalue="hx-trigger" />
<item index="3" class="java.lang.String" itemvalue="hx-post" />
<item index="4" class="java.lang.String" itemvalue="hx-headers" />
<item index="5" class="java.lang.String" itemvalue="hx-include" />
<item index="6" class="java.lang.String" itemvalue="hx-swap" />
</list>
</value>
</option>
<option name="myCustomValuesEnabled" value="true" />
</inspection_tool>
<inspection_tool class="HtmlUnknownTag" enabled="true" level="WARNING" enabled_by_default="true">
<option name="myValues">
<value>
<list size="19">
<item index="0" class="java.lang.String" itemvalue="nobr" />
<item index="1" class="java.lang.String" itemvalue="noembed" />
<item index="2" class="java.lang.String" itemvalue="comment" />
<item index="3" class="java.lang.String" itemvalue="noscript" />
<item index="4" class="java.lang.String" itemvalue="embed" />
<item index="5" class="java.lang.String" itemvalue="script" />
<item index="6" class="java.lang.String" itemvalue="page" />
<item index="7" class="java.lang.String" itemvalue="bigtext" />
<item index="8" class="java.lang.String" itemvalue="iconify-icon" />
<item index="9" class="java.lang.String" itemvalue="x-buttonbox" />
<item index="10" class="java.lang.String" itemvalue="x-frame" />
<item index="11" class="java.lang.String" itemvalue="x-vbox" />
<item index="12" class="java.lang.String" itemvalue="x-hbox" />
<item index="13" class="java.lang.String" itemvalue="x-notebook" />
<item index="14" class="java.lang.String" itemvalue="x-tab" />
<item index="15" class="java.lang.String" itemvalue="x-codeline" />
<item index="16" class="java.lang.String" itemvalue="x-viewport" />
<item index="17" class="java.lang.String" itemvalue="foreignObject" />
<item index="18" class="java.lang.String" itemvalue="x-rows" />
</list>
</value>
</option>
<option name="myCustomValuesEnabled" value="true" />
</inspection_tool>
<inspection_tool class="JupyterPackageInspection" enabled="false" level="WARNING" enabled_by_default="false" />
<inspection_tool class="PyInterpreterInspection" enabled="false" level="WARNING" enabled_by_default="false" />
<inspection_tool class="PyPackageRequirementsInspection" enabled="true" level="WARNING" enabled_by_default="true">
<option name="ignoredPackages">
<value>
<list size="10">
<item index="0" class="java.lang.String" itemvalue="pygame" />
<item index="1" class="java.lang.String" itemvalue="numpy" />
<item index="2" class="java.lang.String" itemvalue="requests" />
<item index="3" class="java.lang.String" itemvalue="CairoSVG" />
<item index="4" class="java.lang.String" itemvalue="flask_httpauth" />
<item index="5" class="java.lang.String" itemvalue="flask_migrate" />
<item index="6" class="java.lang.String" itemvalue="flask_babel" />
<item index="7" class="java.lang.String" itemvalue="flask_bcrypt" />
<item index="8" class="java.lang.String" itemvalue="flask_sqlalchemy" />
<item index="9" class="java.lang.String" itemvalue="jinja2-fragments" />
</list>
</value>
</option>
</inspection_tool>
<inspection_tool class="PyPep8Inspection" enabled="true" level="TEXT ATTRIBUTES" enabled_by_default="true" editorAttributes="CONSIDERATION_ATTRIBUTES">
<option name="ignoredErrors">
<list>
<option value="E501" />
<option value="E402" />
<option value="E741" />
</list>
</option>
</inspection_tool>
<inspection_tool class="PyPep8NamingInspection" enabled="true" level="WEAK WARNING" enabled_by_default="true">
<option name="ignoredErrors">
<list>
<option value="N802" />
<option value="N806" />
<option value="N803" />
</list>
</option>
</inspection_tool>
<inspection_tool class="PyShadowingBuiltinsInspection" enabled="true" level="WEAK WARNING" enabled_by_default="true">
<option name="ignoredNames">
<list>
<option value="input" />
</list>
</option>
</inspection_tool>
<inspection_tool class="PyStubPackagesAdvertiser" enabled="true" level="WARNING" enabled_by_default="true">
<option name="ignoredPackages">
<list>
<option value="PyGObject-stubs==0.0.8" />
</list>
</option>
</inspection_tool>
<inspection_tool class="PyUnresolvedReferencesInspection" enabled="true" level="WARNING" enabled_by_default="true">
<option name="ignoredIdentifiers">
<list>
<option value="main.struct" />
</list>
</option>
</inspection_tool>
</profile>
</component>
.idea/izvor.iml
@@ -2,9 +2,14 @@
<module type="PYTHON_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
<excludeFolder url="file://$MODULE_DIR$/.flatpak-builder" />
<excludeFolder url="file://$MODULE_DIR$/.venv" />
<excludeFolder url="file://$MODULE_DIR$/build" />
<excludeFolder url="file://$MODULE_DIR$/flatpak-builder" />
<excludeFolder url="file://$MODULE_DIR$/.git" />
</content>
<orderEntry type="jdk" jdkName="Python 3.12 (izvor)" jdkType="Python SDK" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>
.idea/misc.xml
@@ -1,7 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Black">
<option name="sdkName" value="Python 3.10 (izvor)" />
</component>
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.12 (izvor)" project-jdk-type="Python SDK" />
</project>
.idea/vcs.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
<mapping directory="" vcs="Git" />
</component>
</project>
com.roundabout_host.Izvor.yaml
@@ -0,0 +1,31 @@
app-id: com.roundabout_host.Izvor
runtime: org.freedesktop.Platform
runtime-version: "24.08"
sdk: org.freedesktop.Sdk
command: izvor
finish-args:
- --share=network
- --filesystem=home
- --socket=x11
- --socket=wayland
- --filesystem=xdg-config/fontconfig:ro
- --filesystem=xdg-config/fonts:ro
- --talk-name=org.freedesktop.DBus
- --own-name=org.freedesktop.DBus
- --socket=session-bus
build-options:
build-args:
- --share=network
modules:
- name: izvor
buildsystem: simple
build-commands:
- unset GTK_MODULES
- mkdir -p /app/bin /app/share/izvor
- cp -r ./* /app/share/izvor/
- pip install --prefix=/app --no-deps -r /app/share/izvor/requirements-flatpak.txt
- chmod +x /app/share/izvor/__init__.py
- ln -s /app/share/izvor/__init__.py /app/bin/izvor
sources:
- type: dir
path: src
src/__init__.py
@@ -1,3 +1,5 @@
#!/usr/bin/env python3
"""
Izvor - modular, GTK+ desktop search and launcher
Copyright (C) 2024 <root@roundabout-host.com>
@@ -26,8 +28,6 @@ import importlib
from pathlib import Path
from typing import AsyncIterable, AsyncIterator, Collection, TypeVar, Iterable, Callable, Any
from xdg.Config import icon_size
gi.require_version("Gtk", "3.0")
from gi.repository import Gtk, Gdk, Pango, GLib
import gettext
src/requirements-flatpak.txt
@@ -0,0 +1,3 @@
gbulb
xdg
asyncio-glib