diff --git a/README.md b/README.md index 1931e24..7a316dd 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Additionally, if not building a .deb then just move the contents of user_config Copy the share/solarfm folder to your user .config/ directory too. `pyrightconfig.json` -

The pyrightconfig file needs to stay on same level as the .git folders in order to have settings detected when using pyright with lsp functionality.

+

The pyrightconfig file needs to stay on same level as the .git folders in order to have settings detected when using pyright with lsp functionality. "pyrightconfig.json" can prompt IDEs such as Zed on settings to use and where imports are located- look at venvPath and venv. "venvPath" is parent path of "venv" where "venv" is just the name of the folder under the parent path that is the python created venv.

Install Setup
``` @@ -32,4 +32,4 @@ A selected file in the active quad-pane will move to trash since it is the defau ![1 SolarFM single pane. ](images/pic1.png) ![2 SolarFM double pane. ](images/pic2.png) ![3 SolarFM triple pane. ](images/pic3.png) -![4 SolarFM quad pane. ](images/pic4.png) \ No newline at end of file +![4 SolarFM quad pane. ](images/pic4.png) diff --git a/pyrightconfig.json b/pyrightconfig.json index 6c993a3..4d8b8ec 100644 --- a/pyrightconfig.json +++ b/pyrightconfig.json @@ -7,5 +7,7 @@ { "root": "./src/versions/solarfm-0.0.1/solarfm" } - ] + ], + "venvPath": ".", + "venv": ".venv" } diff --git a/src/solarfm/core/window.py b/src/solarfm/core/window.py index d9b8807..6d3f3f5 100644 --- a/src/solarfm/core/window.py +++ b/src/solarfm/core/window.py @@ -1,5 +1,4 @@ # Python imports -import time import signal # Lib imports @@ -123,4 +122,4 @@ class Window(Gtk.ApplicationWindow): Gtk.main_quit() def main(self): - Gtk.main() \ No newline at end of file + Gtk.main() diff --git a/user_config/bin/solarfm b/user_config/bin/solarfm index cb94caf..60cf37e 100755 --- a/user_config/bin/solarfm +++ b/user_config/bin/solarfm @@ -20,9 +20,9 @@ function main() { files[$size]="${target}" done - G_SLICE=always-malloc - G_DEBUG=gc-friendly - GOBJECT_DEBUG=instance-count + export G_SLICE=always-malloc + export G_DEBUG=gc-friendly + export GOBJECT_DEBUG=instance-count python /opt/solarfm.zip "${files[@]}" } main "$@";