pyright changes, start.sh changes, misc.

This commit is contained in:
itdominator 2024-07-26 19:52:00 -05:00
parent 9d3a5b9f3b
commit 35456f2bca
4 changed files with 9 additions and 8 deletions

View File

@ -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`
<p>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.</p>
<p>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.
<h6>Install Setup</h6>
```
@ -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)
![4 SolarFM quad pane. ](images/pic4.png)

View File

@ -7,5 +7,7 @@
{
"root": "./src/versions/solarfm-0.0.1/solarfm"
}
]
],
"venvPath": ".",
"venv": ".venv"
}

View File

@ -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()
Gtk.main()

View File

@ -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 "$@";