diff --git a/.gitignore b/.gitignore
index fa3b2bb..ffe1af7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,4 @@
.flatpak-builder
.vscode
-build
-__pycache__
\ No newline at end of file
+builddir
+__pycache__
diff --git a/README.md b/README.md
index d7a5ccb..e4a904e 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
-
-
Weather
+
+
Mousam
Beautiful lightweight weather app based on Python and Gtk
@@ -17,11 +17,11 @@ I hope you ❤️ the weather app, if you think it is worth supporting you can d
---
-
+
## Features
@@ -34,11 +34,11 @@ I hope you ❤️ the weather app, if you think it is worth supporting you can d
### **Flatpak:**
-
+
* Or you can use the terminal:
```
-flatpak install flathub io.github.amit9838.weather
+flatpak install flathub io.github.amit9838.mousam
```
### **Snap:**
@@ -59,16 +59,16 @@ sudo snap install mousam
### Build
```
-meson build
-ninja -C build
+rm -rf builddir
+meson setup -Dprefix=$HOME/.local builddir
+meson compile -C builddir --verbose
```
### Install
```
-sudo ninja -C build install
+meson install -C builddir
```
### Run
```
-weather
+mousam
```
-
diff --git a/data/icons/hicolor/scalable/weather_icons/arrow.svg b/data/icons/hicolor/scalable/mousam_icons/arrow.svg
similarity index 100%
rename from data/icons/hicolor/scalable/weather_icons/arrow.svg
rename to data/icons/hicolor/scalable/mousam_icons/arrow.svg
diff --git a/data/icons/hicolor/scalable/weather_icons/clear-day.svg b/data/icons/hicolor/scalable/mousam_icons/clear-day.svg
similarity index 100%
rename from data/icons/hicolor/scalable/weather_icons/clear-day.svg
rename to data/icons/hicolor/scalable/mousam_icons/clear-day.svg
diff --git a/data/icons/hicolor/scalable/weather_icons/clear-night.svg b/data/icons/hicolor/scalable/mousam_icons/clear-night.svg
similarity index 100%
rename from data/icons/hicolor/scalable/weather_icons/clear-night.svg
rename to data/icons/hicolor/scalable/mousam_icons/clear-night.svg
diff --git a/data/icons/hicolor/scalable/weather_icons/drizzle.svg b/data/icons/hicolor/scalable/mousam_icons/drizzle.svg
similarity index 100%
rename from data/icons/hicolor/scalable/weather_icons/drizzle.svg
rename to data/icons/hicolor/scalable/mousam_icons/drizzle.svg
diff --git a/data/icons/hicolor/scalable/weather_icons/fog-day.svg b/data/icons/hicolor/scalable/mousam_icons/fog-day.svg
similarity index 100%
rename from data/icons/hicolor/scalable/weather_icons/fog-day.svg
rename to data/icons/hicolor/scalable/mousam_icons/fog-day.svg
diff --git a/data/icons/hicolor/scalable/weather_icons/fog-night.svg b/data/icons/hicolor/scalable/mousam_icons/fog-night.svg
similarity index 100%
rename from data/icons/hicolor/scalable/weather_icons/fog-night.svg
rename to data/icons/hicolor/scalable/mousam_icons/fog-night.svg
diff --git a/data/icons/hicolor/scalable/weather_icons/fog.svg b/data/icons/hicolor/scalable/mousam_icons/fog.svg
similarity index 100%
rename from data/icons/hicolor/scalable/weather_icons/fog.svg
rename to data/icons/hicolor/scalable/mousam_icons/fog.svg
diff --git a/data/icons/hicolor/scalable/weather_icons/overcast-day-fog.svg b/data/icons/hicolor/scalable/mousam_icons/overcast-day-fog.svg
similarity index 100%
rename from data/icons/hicolor/scalable/weather_icons/overcast-day-fog.svg
rename to data/icons/hicolor/scalable/mousam_icons/overcast-day-fog.svg
diff --git a/data/icons/hicolor/scalable/weather_icons/overcast-day-rain.svg b/data/icons/hicolor/scalable/mousam_icons/overcast-day-rain.svg
similarity index 100%
rename from data/icons/hicolor/scalable/weather_icons/overcast-day-rain.svg
rename to data/icons/hicolor/scalable/mousam_icons/overcast-day-rain.svg
diff --git a/data/icons/hicolor/scalable/weather_icons/overcast-day-snow.svg b/data/icons/hicolor/scalable/mousam_icons/overcast-day-snow.svg
similarity index 100%
rename from data/icons/hicolor/scalable/weather_icons/overcast-day-snow.svg
rename to data/icons/hicolor/scalable/mousam_icons/overcast-day-snow.svg
diff --git a/data/icons/hicolor/scalable/weather_icons/overcast-day.svg b/data/icons/hicolor/scalable/mousam_icons/overcast-day.svg
similarity index 100%
rename from data/icons/hicolor/scalable/weather_icons/overcast-day.svg
rename to data/icons/hicolor/scalable/mousam_icons/overcast-day.svg
diff --git a/data/icons/hicolor/scalable/weather_icons/overcast-drizzle.svg b/data/icons/hicolor/scalable/mousam_icons/overcast-drizzle.svg
similarity index 100%
rename from data/icons/hicolor/scalable/weather_icons/overcast-drizzle.svg
rename to data/icons/hicolor/scalable/mousam_icons/overcast-drizzle.svg
diff --git a/data/icons/hicolor/scalable/weather_icons/overcast-fog.svg b/data/icons/hicolor/scalable/mousam_icons/overcast-fog.svg
similarity index 100%
rename from data/icons/hicolor/scalable/weather_icons/overcast-fog.svg
rename to data/icons/hicolor/scalable/mousam_icons/overcast-fog.svg
diff --git a/data/icons/hicolor/scalable/weather_icons/overcast-night-fog.svg b/data/icons/hicolor/scalable/mousam_icons/overcast-night-fog.svg
similarity index 100%
rename from data/icons/hicolor/scalable/weather_icons/overcast-night-fog.svg
rename to data/icons/hicolor/scalable/mousam_icons/overcast-night-fog.svg
diff --git a/data/icons/hicolor/scalable/weather_icons/overcast-night-rain.svg b/data/icons/hicolor/scalable/mousam_icons/overcast-night-rain.svg
similarity index 100%
rename from data/icons/hicolor/scalable/weather_icons/overcast-night-rain.svg
rename to data/icons/hicolor/scalable/mousam_icons/overcast-night-rain.svg
diff --git a/data/icons/hicolor/scalable/weather_icons/overcast-night-snow.svg b/data/icons/hicolor/scalable/mousam_icons/overcast-night-snow.svg
similarity index 100%
rename from data/icons/hicolor/scalable/weather_icons/overcast-night-snow.svg
rename to data/icons/hicolor/scalable/mousam_icons/overcast-night-snow.svg
diff --git a/data/icons/hicolor/scalable/weather_icons/overcast-night.svg b/data/icons/hicolor/scalable/mousam_icons/overcast-night.svg
similarity index 100%
rename from data/icons/hicolor/scalable/weather_icons/overcast-night.svg
rename to data/icons/hicolor/scalable/mousam_icons/overcast-night.svg
diff --git a/data/icons/hicolor/scalable/weather_icons/overcast-rain.svg b/data/icons/hicolor/scalable/mousam_icons/overcast-rain.svg
similarity index 100%
rename from data/icons/hicolor/scalable/weather_icons/overcast-rain.svg
rename to data/icons/hicolor/scalable/mousam_icons/overcast-rain.svg
diff --git a/data/icons/hicolor/scalable/weather_icons/overcast-snow.svg b/data/icons/hicolor/scalable/mousam_icons/overcast-snow.svg
similarity index 100%
rename from data/icons/hicolor/scalable/weather_icons/overcast-snow.svg
rename to data/icons/hicolor/scalable/mousam_icons/overcast-snow.svg
diff --git a/data/icons/hicolor/scalable/weather_icons/overcast.svg b/data/icons/hicolor/scalable/mousam_icons/overcast.svg
similarity index 100%
rename from data/icons/hicolor/scalable/weather_icons/overcast.svg
rename to data/icons/hicolor/scalable/mousam_icons/overcast.svg
diff --git a/data/icons/hicolor/scalable/weather_icons/partly-cloudy-day-drizzle.svg b/data/icons/hicolor/scalable/mousam_icons/partly-cloudy-day-drizzle.svg
similarity index 100%
rename from data/icons/hicolor/scalable/weather_icons/partly-cloudy-day-drizzle.svg
rename to data/icons/hicolor/scalable/mousam_icons/partly-cloudy-day-drizzle.svg
diff --git a/data/icons/hicolor/scalable/weather_icons/partly-cloudy-day-fog.svg b/data/icons/hicolor/scalable/mousam_icons/partly-cloudy-day-fog.svg
similarity index 100%
rename from data/icons/hicolor/scalable/weather_icons/partly-cloudy-day-fog.svg
rename to data/icons/hicolor/scalable/mousam_icons/partly-cloudy-day-fog.svg
diff --git a/data/icons/hicolor/scalable/weather_icons/partly-cloudy-day-rain.svg b/data/icons/hicolor/scalable/mousam_icons/partly-cloudy-day-rain.svg
similarity index 100%
rename from data/icons/hicolor/scalable/weather_icons/partly-cloudy-day-rain.svg
rename to data/icons/hicolor/scalable/mousam_icons/partly-cloudy-day-rain.svg
diff --git a/data/icons/hicolor/scalable/weather_icons/partly-cloudy-day-snow.svg b/data/icons/hicolor/scalable/mousam_icons/partly-cloudy-day-snow.svg
similarity index 100%
rename from data/icons/hicolor/scalable/weather_icons/partly-cloudy-day-snow.svg
rename to data/icons/hicolor/scalable/mousam_icons/partly-cloudy-day-snow.svg
diff --git a/data/icons/hicolor/scalable/weather_icons/partly-cloudy-day.svg b/data/icons/hicolor/scalable/mousam_icons/partly-cloudy-day.svg
similarity index 100%
rename from data/icons/hicolor/scalable/weather_icons/partly-cloudy-day.svg
rename to data/icons/hicolor/scalable/mousam_icons/partly-cloudy-day.svg
diff --git a/data/icons/hicolor/scalable/weather_icons/partly-cloudy-night-drizzle.svg b/data/icons/hicolor/scalable/mousam_icons/partly-cloudy-night-drizzle.svg
similarity index 100%
rename from data/icons/hicolor/scalable/weather_icons/partly-cloudy-night-drizzle.svg
rename to data/icons/hicolor/scalable/mousam_icons/partly-cloudy-night-drizzle.svg
diff --git a/data/icons/hicolor/scalable/weather_icons/partly-cloudy-night-fog.svg b/data/icons/hicolor/scalable/mousam_icons/partly-cloudy-night-fog.svg
similarity index 100%
rename from data/icons/hicolor/scalable/weather_icons/partly-cloudy-night-fog.svg
rename to data/icons/hicolor/scalable/mousam_icons/partly-cloudy-night-fog.svg
diff --git a/data/icons/hicolor/scalable/weather_icons/partly-cloudy-night-rain.svg b/data/icons/hicolor/scalable/mousam_icons/partly-cloudy-night-rain.svg
similarity index 100%
rename from data/icons/hicolor/scalable/weather_icons/partly-cloudy-night-rain.svg
rename to data/icons/hicolor/scalable/mousam_icons/partly-cloudy-night-rain.svg
diff --git a/data/icons/hicolor/scalable/weather_icons/partly-cloudy-night-snow.svg b/data/icons/hicolor/scalable/mousam_icons/partly-cloudy-night-snow.svg
similarity index 100%
rename from data/icons/hicolor/scalable/weather_icons/partly-cloudy-night-snow.svg
rename to data/icons/hicolor/scalable/mousam_icons/partly-cloudy-night-snow.svg
diff --git a/data/icons/hicolor/scalable/weather_icons/partly-cloudy-night.svg b/data/icons/hicolor/scalable/mousam_icons/partly-cloudy-night.svg
similarity index 100%
rename from data/icons/hicolor/scalable/weather_icons/partly-cloudy-night.svg
rename to data/icons/hicolor/scalable/mousam_icons/partly-cloudy-night.svg
diff --git a/data/icons/hicolor/scalable/weather_icons/rain.svg b/data/icons/hicolor/scalable/mousam_icons/rain.svg
similarity index 100%
rename from data/icons/hicolor/scalable/weather_icons/rain.svg
rename to data/icons/hicolor/scalable/mousam_icons/rain.svg
diff --git a/data/icons/hicolor/scalable/weather_icons/raindrop.svg b/data/icons/hicolor/scalable/mousam_icons/raindrop.svg
similarity index 100%
rename from data/icons/hicolor/scalable/weather_icons/raindrop.svg
rename to data/icons/hicolor/scalable/mousam_icons/raindrop.svg
diff --git a/data/icons/hicolor/scalable/weather_icons/raindrops.svg b/data/icons/hicolor/scalable/mousam_icons/raindrops.svg
similarity index 100%
rename from data/icons/hicolor/scalable/weather_icons/raindrops.svg
rename to data/icons/hicolor/scalable/mousam_icons/raindrops.svg
diff --git a/data/icons/hicolor/scalable/weather_icons/snow.svg b/data/icons/hicolor/scalable/mousam_icons/snow.svg
similarity index 100%
rename from data/icons/hicolor/scalable/weather_icons/snow.svg
rename to data/icons/hicolor/scalable/mousam_icons/snow.svg
diff --git a/data/icons/hicolor/scalable/weather_icons/snowflake.svg b/data/icons/hicolor/scalable/mousam_icons/snowflake.svg
similarity index 100%
rename from data/icons/hicolor/scalable/weather_icons/snowflake.svg
rename to data/icons/hicolor/scalable/mousam_icons/snowflake.svg
diff --git a/data/icons/hicolor/scalable/weather_icons/thunderstorms-day-overcast-rain.svg b/data/icons/hicolor/scalable/mousam_icons/thunderstorms-day-overcast-rain.svg
similarity index 100%
rename from data/icons/hicolor/scalable/weather_icons/thunderstorms-day-overcast-rain.svg
rename to data/icons/hicolor/scalable/mousam_icons/thunderstorms-day-overcast-rain.svg
diff --git a/data/icons/hicolor/scalable/weather_icons/thunderstorms-day-overcast-snow.svg b/data/icons/hicolor/scalable/mousam_icons/thunderstorms-day-overcast-snow.svg
similarity index 100%
rename from data/icons/hicolor/scalable/weather_icons/thunderstorms-day-overcast-snow.svg
rename to data/icons/hicolor/scalable/mousam_icons/thunderstorms-day-overcast-snow.svg
diff --git a/data/icons/hicolor/scalable/weather_icons/thunderstorms-day-rain.svg b/data/icons/hicolor/scalable/mousam_icons/thunderstorms-day-rain.svg
similarity index 100%
rename from data/icons/hicolor/scalable/weather_icons/thunderstorms-day-rain.svg
rename to data/icons/hicolor/scalable/mousam_icons/thunderstorms-day-rain.svg
diff --git a/data/icons/hicolor/scalable/weather_icons/thunderstorms-day-snow.svg b/data/icons/hicolor/scalable/mousam_icons/thunderstorms-day-snow.svg
similarity index 100%
rename from data/icons/hicolor/scalable/weather_icons/thunderstorms-day-snow.svg
rename to data/icons/hicolor/scalable/mousam_icons/thunderstorms-day-snow.svg
diff --git a/data/icons/hicolor/scalable/weather_icons/thunderstorms-night-overcast-rain.svg b/data/icons/hicolor/scalable/mousam_icons/thunderstorms-night-overcast-rain.svg
similarity index 100%
rename from data/icons/hicolor/scalable/weather_icons/thunderstorms-night-overcast-rain.svg
rename to data/icons/hicolor/scalable/mousam_icons/thunderstorms-night-overcast-rain.svg
diff --git a/data/icons/hicolor/scalable/weather_icons/thunderstorms-night-overcast-snow.svg b/data/icons/hicolor/scalable/mousam_icons/thunderstorms-night-overcast-snow.svg
similarity index 100%
rename from data/icons/hicolor/scalable/weather_icons/thunderstorms-night-overcast-snow.svg
rename to data/icons/hicolor/scalable/mousam_icons/thunderstorms-night-overcast-snow.svg
diff --git a/data/icons/hicolor/scalable/weather_icons/thunderstorms-night-rain.svg b/data/icons/hicolor/scalable/mousam_icons/thunderstorms-night-rain.svg
similarity index 100%
rename from data/icons/hicolor/scalable/weather_icons/thunderstorms-night-rain.svg
rename to data/icons/hicolor/scalable/mousam_icons/thunderstorms-night-rain.svg
diff --git a/data/icons/hicolor/scalable/weather_icons/thunderstorms-night-snow.svg b/data/icons/hicolor/scalable/mousam_icons/thunderstorms-night-snow.svg
similarity index 100%
rename from data/icons/hicolor/scalable/weather_icons/thunderstorms-night-snow.svg
rename to data/icons/hicolor/scalable/mousam_icons/thunderstorms-night-snow.svg
diff --git a/data/icons/hicolor/scalable/weather_icons/thunderstorms-overcast-rain.svg b/data/icons/hicolor/scalable/mousam_icons/thunderstorms-overcast-rain.svg
similarity index 100%
rename from data/icons/hicolor/scalable/weather_icons/thunderstorms-overcast-rain.svg
rename to data/icons/hicolor/scalable/mousam_icons/thunderstorms-overcast-rain.svg
diff --git a/data/icons/hicolor/scalable/weather_icons/thunderstorms-overcast-snow.svg b/data/icons/hicolor/scalable/mousam_icons/thunderstorms-overcast-snow.svg
similarity index 100%
rename from data/icons/hicolor/scalable/weather_icons/thunderstorms-overcast-snow.svg
rename to data/icons/hicolor/scalable/mousam_icons/thunderstorms-overcast-snow.svg
diff --git a/data/icons/hicolor/scalable/weather_icons/thunderstorms-rain.svg b/data/icons/hicolor/scalable/mousam_icons/thunderstorms-rain.svg
similarity index 100%
rename from data/icons/hicolor/scalable/weather_icons/thunderstorms-rain.svg
rename to data/icons/hicolor/scalable/mousam_icons/thunderstorms-rain.svg
diff --git a/data/icons/hicolor/scalable/weather_icons/thunderstorms-snow.svg b/data/icons/hicolor/scalable/mousam_icons/thunderstorms-snow.svg
similarity index 100%
rename from data/icons/hicolor/scalable/weather_icons/thunderstorms-snow.svg
rename to data/icons/hicolor/scalable/mousam_icons/thunderstorms-snow.svg
diff --git a/data/icons/hicolor/scalable/weather_icons/thunderstorms.svg b/data/icons/hicolor/scalable/mousam_icons/thunderstorms.svg
similarity index 100%
rename from data/icons/hicolor/scalable/weather_icons/thunderstorms.svg
rename to data/icons/hicolor/scalable/mousam_icons/thunderstorms.svg
diff --git a/data/icons/hicolor/scalable/weather_icons/wind.svg b/data/icons/hicolor/scalable/mousam_icons/wind.svg
similarity index 100%
rename from data/icons/hicolor/scalable/weather_icons/wind.svg
rename to data/icons/hicolor/scalable/mousam_icons/wind.svg
diff --git a/data/icons/meson.build b/data/icons/meson.build
index efa7286..4dc4705 100644
--- a/data/icons/meson.build
+++ b/data/icons/meson.build
@@ -7,7 +7,7 @@ install_data(
install_dir: join_paths(get_option('datadir'), 'icons', scalable_dir),
)
-scalable_dir = join_paths('hicolor','scalable', 'weather_icons')
+scalable_dir = join_paths('hicolor','scalable', 'mousam_icons')
install_data(
join_paths(scalable_dir, 'arrow.svg'),
diff --git a/data/io.github.amit9838.mousam.appdata.xml.in b/data/io.github.amit9838.mousam.appdata.xml.in
index 5198fca..ee4326d 100644
--- a/data/io.github.amit9838.mousam.appdata.xml.in
+++ b/data/io.github.amit9838.mousam.appdata.xml.in
@@ -17,31 +17,31 @@
- https://raw.githubusercontent.com/amit9838/weather/master/screenshots/ss5-overcast.png
+ https://raw.githubusercontent.com/amit9838/mousam/master/screenshots/ss5-overcast.png
Overcast day
- https://raw.githubusercontent.com/amit9838/weather/master/screenshots/ss3-clear_sky-imperial.png
+ https://raw.githubusercontent.com/amit9838/mousam/master/screenshots/ss3-clear_sky-imperial.png
Clear Sky - imperial
- https://raw.githubusercontent.com/amit9838/weather/master/screenshots/ss2-thunderstorm.png
+ https://raw.githubusercontent.com/amit9838/mousam/master/screenshots/ss2-thunderstorm.png
Thunderstorm
- https://raw.githubusercontent.com/amit9838/weather/master/screenshots/ss1-dark_mode.png
+ https://raw.githubusercontent.com/amit9838/mousam/master/screenshots/ss1-dark_mode.png
Dark mode
- https://raw.githubusercontent.com/amit9838/weather/master/screenshots/ss4-light_mode.png
+ https://raw.githubusercontent.com/amit9838/mousam/master/screenshots/ss4-light_mode.png
Light mode
- io.github.amit9838.weather.desktop
- https://amit9838.github.io/weather/
- https://github.com/amit9838/weather/issues
- https://github.com/amit9838/weather/tree/master/po
- https://github.com/amit9838/weather
+ io.github.amit9838.mousam.desktop
+ https://amit9838.github.io/mousam/
+ https://github.com/amit9838/mousam/issues
+ https://github.com/amit9838/mousam/tree/master/po
+ https://github.com/amit9838/mousam
Amit Chaudhary
pointing
@@ -72,7 +72,7 @@
The new design follows a card design pattern, highlighting important data utilizing graphs and bars.
A new backend that is more optimized and offers a better user experience.
A new set of icons shipped with the app covers a wide range of conditions and is independent of system icons.
- Now, weather better scales with various screen sizes (desktop).
+ Now, mousam better scales with various screen sizes (desktop).
Covers more cities and locations.
The sunrise and sunset current time of the selected location is shown in the local time zone of the selected location.
Various bug fixes
diff --git a/data/io.github.amit9838.mousam.desktop.in b/data/io.github.amit9838.mousam.desktop.in
index b4196fe..f0dcaba 100644
--- a/data/io.github.amit9838.mousam.desktop.in
+++ b/data/io.github.amit9838.mousam.desktop.in
@@ -1,7 +1,7 @@
[Desktop Entry]
Name=Mousam
Exec=mousam
-Comment=Beautiful and lightweight mousam app
+Comment=Beautiful and lightweight weather app
Icon=io.github.amit9838.mousam
Terminal=false
Type=Application
diff --git a/data/io.github.amit9838.mousam.gschema.xml b/data/io.github.amit9838.mousam.gschema.xml
index 769e562..bcda1e2 100644
--- a/data/io.github.amit9838.mousam.gschema.xml
+++ b/data/io.github.amit9838.mousam.gschema.xml
@@ -30,4 +30,3 @@
-
diff --git a/data/meson.build b/data/meson.build
index 0f03dd8..e5e7c54 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -37,4 +37,4 @@ if compile_schemas.found()
args: ['--strict', '--dry-run', meson.current_source_dir()])
endif
-subdir('icons')
\ No newline at end of file
+subdir('icons')
diff --git a/io.github.amit9838.weather.json b/io.github.amit9838.mousam.json
similarity index 100%
rename from io.github.amit9838.weather.json
rename to io.github.amit9838.mousam.json
diff --git a/meson.build b/meson.build
index 6bc6b5c..a1418e6 100644
--- a/meson.build
+++ b/meson.build
@@ -7,15 +7,11 @@ project('mousam',
i18n = import('i18n')
gnome = import('gnome')
-
-
subdir('data')
subdir('src')
subdir('po')
-
-
-install_subdir('data/weather_icons', install_dir: get_option('datadir') / 'icons/hicolor/scalable')
+install_subdir('data/mousam_icons', install_dir: get_option('datadir') / 'icons/hicolor/scalable')
gnome.post_install(
glib_compile_schemas: true,
diff --git a/po/POTFILES b/po/POTFILES
index 76a6aa3..7ccbd54 100644
--- a/po/POTFILES
+++ b/po/POTFILES
@@ -1,9 +1,29 @@
-data/io.github.amit9838.weather.desktop.in
-data/io.github.amit9838.weather.appdata.xml.in
-data/io.github.amit9838.weather.gschema.xml
-src/uiCurrent_w.py
-src/uiForecast_w.py
+data/io.github.amit9838.mousam.desktop.in
+data/io.github.amit9838.mousam.appdata.xml.in
+data/io.github.amit9838.mousam.gschema.xml
+src/backendAirPollution.py
+src/backendFindCity.py
+src/backendWeather.py
+src/constants.py
+src/css.py
+src/frontendCardAirPollution.py
+src/frontendCardDayNight.py
+src/frontendCardSquare.py
+src/frontendCurrentCond.py
+src/frontendForecast.py
+src/frontendHourlyDetails.py
+src/frontendUiDrawbarLine.py
+src/frontendUiDrawBar.py
+src/frontendUiDrawDayNight.py
+src/frontendUiDrawImageIcon.py
+src/frontendUiDrawPollutionBar.py
+src/main.py
+src/Models.py
+src/mousam.in
+src/mousam.py
+src/units.py
src/utils.py
-src/weather.py
+src/weatherData.py
src/windowAbout.py
+src/windowLocations.py
src/windowPreferences.py
diff --git a/po/Weather.pot b/po/Weather.pot
deleted file mode 100644
index b15a7cb..0000000
--- a/po/Weather.pot
+++ /dev/null
@@ -1,459 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR , YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2023-10-09 12:31+0300\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME \n"
-"Language-Team: LANGUAGE \n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: data/io.github.amit9838.weather.desktop.in:3
-#: data/io.github.amit9838.weather.appdata.xml.in:6 src/weather.py:31
-#: src/weather.py:116 src/windowAbout.py:8
-msgid "Weather"
-msgstr ""
-
-#: data/io.github.amit9838.weather.desktop.in:5
-#: data/io.github.amit9838.weather.appdata.xml.in:7
-msgid "Beautiful and lightweight weather app"
-msgstr ""
-
-#: data/io.github.amit9838.weather.appdata.xml.in:9
-msgid "Current Weather conditions and forcasts."
-msgstr ""
-
-#: data/io.github.amit9838.weather.appdata.xml.in:10
-msgid "Features:"
-msgstr ""
-
-#: data/io.github.amit9838.weather.appdata.xml.in:12
-msgid ""
-"See weather with dynamically changing gradient-based background according "
-"current weather conditions"
-msgstr ""
-
-#: data/io.github.amit9838.weather.appdata.xml.in:13
-msgid "See today, tomorrow and 5-day forcasts"
-msgstr ""
-
-#: data/io.github.amit9838.weather.appdata.xml.in:14
-msgid "See conditions in metric or imperial systems"
-msgstr ""
-
-#: data/io.github.amit9838.weather.appdata.xml.in:15
-msgid "Option to use Personal API Key"
-msgstr ""
-
-#: data/io.github.amit9838.weather.appdata.xml.in:21
-msgid "Overcast day"
-msgstr ""
-
-#: data/io.github.amit9838.weather.appdata.xml.in:25
-msgid "Haze night"
-msgstr ""
-
-#: data/io.github.amit9838.weather.appdata.xml.in:29
-msgid "Clear sky night"
-msgstr ""
-
-#: data/io.github.amit9838.weather.appdata.xml.in:33
-msgid "Dark mode"
-msgstr ""
-
-#: data/io.github.amit9838.weather.appdata.xml.in:37
-msgid "Light mode"
-msgstr ""
-
-#: data/io.github.amit9838.weather.appdata.xml.in:45
-msgid "Amit Chaudhary"
-msgstr ""
-
-#: data/io.github.amit9838.weather.gschema.xml:7
-#: data/io.github.amit9838.weather.gschema.xml:8
-msgid "Default api"
-msgstr ""
-
-#: data/io.github.amit9838.weather.gschema.xml:12
-msgid "personal api"
-msgstr ""
-
-#: data/io.github.amit9838.weather.gschema.xml:16
-msgid "Use personal api Key"
-msgstr ""
-
-#: data/io.github.amit9838.weather.gschema.xml:17
-msgid "Set whether to use personal api key"
-msgstr ""
-
-#: data/io.github.amit9838.weather.gschema.xml:21
-msgid "Is personal api key valid"
-msgstr ""
-
-#: data/io.github.amit9838.weather.gschema.xml:22
-msgid "True if personal api key is being used is valid."
-msgstr ""
-
-#: data/io.github.amit9838.weather.gschema.xml:27
-msgid "List of cities and their coordinates."
-msgstr ""
-
-#: data/io.github.amit9838.weather.gschema.xml:28
-msgid ""
-"Stores locations added by user in json stringified string format in string"
-msgstr ""
-
-#: data/io.github.amit9838.weather.gschema.xml:32
-msgid "Selected city"
-msgstr ""
-
-#: data/io.github.amit9838.weather.gschema.xml:33
-msgid "Selected city name"
-msgstr ""
-
-#: data/io.github.amit9838.weather.gschema.xml:37
-msgid "Use Gradient Background"
-msgstr ""
-
-#: data/io.github.amit9838.weather.gschema.xml:38
-msgid ""
-"Apply gradient background on main window corresponding to weather condition"
-msgstr ""
-
-#: data/io.github.amit9838.weather.gschema.xml:42
-msgid "Last Updated"
-msgstr ""
-
-#: data/io.github.amit9838.weather.gschema.xml:43
-msgid "last updated time"
-msgstr ""
-
-#: data/io.github.amit9838.weather.gschema.xml:47
-msgid "Mesaurement sysytem to use - metric,imperial"
-msgstr ""
-
-#: data/io.github.amit9838.weather.gschema.xml:48
-msgid "metric(km, °C), imperial(mile, °F)"
-msgstr ""
-
-#: src/uiCurrent_w.py:74
-#, python-brace-format
-msgid "Feels like {0:.1f}{1}"
-msgstr ""
-
-#: src/uiCurrent_w.py:152
-msgid "Humidity"
-msgstr ""
-
-#: src/uiCurrent_w.py:152 src/uiForecast_w.py:197
-#, python-brace-format
-msgid "{0}%"
-msgstr ""
-
-#: src/uiCurrent_w.py:153
-msgid "Pressure"
-msgstr ""
-
-#: src/uiCurrent_w.py:153
-#, python-brace-format
-msgid "{0} hPa"
-msgstr ""
-
-#: src/uiCurrent_w.py:154
-msgid "Wind speed"
-msgstr ""
-
-#: src/uiCurrent_w.py:154
-#, python-brace-format
-msgid "{0:.1f} {1} {2}"
-msgstr ""
-
-#: src/uiCurrent_w.py:155
-msgid "Visibility"
-msgstr ""
-
-#: src/uiCurrent_w.py:156 src/uiCurrent_w.py:172
-msgid "Air Quality"
-msgstr ""
-
-#: src/uiCurrent_w.py:183
-msgid "rain in next 1 hour"
-msgstr ""
-
-#: src/uiCurrent_w.py:187
-msgid "snow in next 1 hour"
-msgstr ""
-
-#: src/uiCurrent_w.py:194
-msgid "No snow for atleast 1 hour"
-msgstr ""
-
-#: src/uiCurrent_w.py:196
-msgid "No rain/snow for atleast 1 hour"
-msgstr ""
-
-#: src/uiCurrent_w.py:198
-msgid "No rain for atleast 1 hour"
-msgstr ""
-
-#: src/uiForecast_w.py:26 src/uiForecast_w.py:122
-msgid "Today"
-msgstr ""
-
-#: src/uiForecast_w.py:31 src/uiForecast_w.py:124
-msgid "Tomorrow"
-msgstr ""
-
-#: src/uiForecast_w.py:36
-msgid "5 Days"
-msgstr ""
-
-#: src/uiForecast_w.py:127
-msgid "AM"
-msgstr ""
-
-#: src/uiForecast_w.py:130
-msgid "PM"
-msgstr ""
-
-#: src/uiForecast_w.py:209
-#, python-brace-format
-msgid "{0:.1f} {1}"
-msgstr ""
-
-#: src/uiForecast_w.py:214
-#, python-brace-format
-msgid "{0:.0f}°"
-msgstr ""
-
-#: src/utils.py:30
-msgid "Request timeout!"
-msgstr ""
-
-#: src/utils.py:34
-msgid "No internet connection!"
-msgstr ""
-
-#: src/utils.py:57
-msgid "N"
-msgstr ""
-
-#: src/utils.py:57
-msgid "NNE"
-msgstr ""
-
-#: src/utils.py:57
-msgid "NE"
-msgstr ""
-
-#: src/utils.py:57
-msgid "ENE"
-msgstr ""
-
-#: src/utils.py:57
-msgid "E"
-msgstr ""
-
-#: src/utils.py:57
-msgid "ESE"
-msgstr ""
-
-#: src/utils.py:57
-msgid "SE"
-msgstr ""
-
-#: src/utils.py:57
-msgid "SSE"
-msgstr ""
-
-#: src/utils.py:58
-msgid "S"
-msgstr ""
-
-#: src/utils.py:58
-msgid "SSW"
-msgstr ""
-
-#: src/utils.py:58
-msgid "SW"
-msgstr ""
-
-#: src/utils.py:58
-msgid "WSW"
-msgstr ""
-
-#: src/utils.py:58
-msgid "W"
-msgstr ""
-
-#: src/utils.py:58
-msgid "WNW"
-msgstr ""
-
-#: src/utils.py:58
-msgid "NW"
-msgstr ""
-
-#: src/utils.py:58
-msgid "NNW"
-msgstr ""
-
-#: src/weather.py:66
-msgid "Refresh"
-msgstr ""
-
-#: src/weather.py:85
-msgid "Preferences"
-msgstr ""
-
-#: src/weather.py:91
-msgid "About Weather"
-msgstr ""
-
-#: src/weather.py:123
-msgid "No internet!"
-msgstr ""
-
-#: src/weather.py:133
-msgid "Refresh within 5 seconds is ignored!"
-msgstr ""
-
-#: src/weather.py:142
-msgid "Refreshing..."
-msgstr ""
-
-#: src/windowAbout.py:13
-msgid "Beautiful and light weight weather app build using Gtk and python"
-msgstr ""
-
-#: src/windowAbout.py:17
-msgid "Copyright © 2023 Weather Developers"
-msgstr ""
-
-#: src/windowAbout.py:20
-msgid "translator_credits"
-msgstr ""
-
-#: src/windowPreferences.py:31 src/windowPreferences.py:36
-msgid "Locations"
-msgstr ""
-
-#: src/windowPreferences.py:41
-msgid "Add"
-msgstr ""
-
-#: src/windowPreferences.py:56
-msgid "Appearance"
-msgstr ""
-
-#: src/windowPreferences.py:65
-msgid "Dynamic Background"
-msgstr ""
-
-#: src/windowPreferences.py:66
-msgid ""
-"Background changes based on current weather condition (Restart required)"
-msgstr ""
-
-#: src/windowPreferences.py:78
-msgid "Units & Measurements"
-msgstr ""
-
-#: src/windowPreferences.py:82
-msgid "°C"
-msgstr ""
-
-#: src/windowPreferences.py:83
-msgid "METRIC system with units like celcuis, km/h, kilometer"
-msgstr ""
-
-#: src/windowPreferences.py:91
-msgid "°F"
-msgstr ""
-
-#: src/windowPreferences.py:92
-msgid "IMPERIAL system with units like fahrenheit, mph, mile"
-msgstr ""
-
-#: src/windowPreferences.py:103
-msgid "Misc"
-msgstr ""
-
-#: src/windowPreferences.py:115
-msgid "Personal API Key"
-msgstr ""
-
-#: src/windowPreferences.py:116
-msgid "Use your personal api key from openweathermap.org (Restart Required)"
-msgstr ""
-
-#: src/windowPreferences.py:123
-msgid "API Key"
-msgstr ""
-
-#: src/windowPreferences.py:132
-msgid "Save"
-msgstr ""
-
-#: src/windowPreferences.py:137
-msgid "Enter your api-key"
-msgstr ""
-
-#: src/windowPreferences.py:141
-msgid "Active"
-msgstr ""
-
-#: src/windowPreferences.py:146
-msgid "Invalid Key"
-msgstr ""
-
-#: src/windowPreferences.py:166
-msgid "Remove location"
-msgstr ""
-
-#: src/windowPreferences.py:198
-msgid "Selected - {}"
-msgstr ""
-
-#: src/windowPreferences.py:203
-msgid "Add New Location"
-msgstr ""
-
-#: src/windowPreferences.py:221
-msgid "Search for a city"
-msgstr ""
-
-#: src/windowPreferences.py:226 src/windowPreferences.py:228
-msgid "Search"
-msgstr ""
-
-#: src/windowPreferences.py:273
-msgid "No results found !"
-msgstr ""
-
-#: src/windowPreferences.py:287
-#, python-brace-format
-msgid "Added - {0}"
-msgstr ""
-
-#: src/windowPreferences.py:289
-msgid "City already added!"
-msgstr ""
-
-#: src/windowPreferences.py:307
-#, python-brace-format
-msgid "Removed - {0}"
-msgstr ""
-
-#: src/windowPreferences.py:332
-msgid "Saved Successfully"
-msgstr ""
diff --git a/po/mousam.pot b/po/mousam.pot
new file mode 100644
index 0000000..d9ffba7
--- /dev/null
+++ b/po/mousam.pot
@@ -0,0 +1,272 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR , YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2024-02-03 21:54+0530\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME \n"
+"Language-Team: LANGUAGE \n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: data/io.github.amit9838.mousam.desktop.in:3
+msgid "Mousam"
+msgstr ""
+
+#: data/io.github.amit9838.mousam.desktop.in:5
+#: data/io.github.amit9838.mousam.appdata.xml.in:7
+msgid "Beautiful and lightweight weather app"
+msgstr ""
+
+#: data/io.github.amit9838.mousam.desktop.in:10
+msgid "Weather;Mousam;Rain;Cloud;Forecast;"
+msgstr ""
+
+#: data/io.github.amit9838.mousam.appdata.xml.in:6
+msgid "Weather"
+msgstr ""
+
+#: data/io.github.amit9838.mousam.appdata.xml.in:9
+msgid "Current Weather conditions and forcasts."
+msgstr ""
+
+#: data/io.github.amit9838.mousam.appdata.xml.in:10
+msgid "Features:"
+msgstr ""
+
+#: data/io.github.amit9838.mousam.appdata.xml.in:12
+msgid ""
+"Displays real-time temperature, humidity, and wind speed,UV index,pressure "
+"and more"
+msgstr ""
+
+#: data/io.github.amit9838.mousam.appdata.xml.in:13
+msgid ""
+"Utilizes graphical representations, such as temperature , precipitation "
+"graphs and wind-speed with direction to provide an hourly forecast for the "
+"next 24 hours"
+msgstr ""
+
+#: data/io.github.amit9838.mousam.appdata.xml.in:14
+msgid "Also provides tomorrow and 7-day forcasts"
+msgstr ""
+
+#: data/io.github.amit9838.mousam.appdata.xml.in:15
+msgid "See conditions in metric or imperial systems"
+msgstr ""
+
+#: data/io.github.amit9838.mousam.appdata.xml.in:21
+msgid "Overcast day"
+msgstr ""
+
+#: data/io.github.amit9838.mousam.appdata.xml.in:25
+msgid "Clear Sky - imperial"
+msgstr ""
+
+#: data/io.github.amit9838.mousam.appdata.xml.in:29
+msgid "Thunderstorm"
+msgstr ""
+
+#: data/io.github.amit9838.mousam.appdata.xml.in:33
+msgid "Dark mode"
+msgstr ""
+
+#: data/io.github.amit9838.mousam.appdata.xml.in:37
+msgid "Light mode"
+msgstr ""
+
+#: data/io.github.amit9838.mousam.appdata.xml.in:45
+msgid "Amit Chaudhary"
+msgstr ""
+
+#: data/io.github.amit9838.mousam.gschema.xml:7
+msgid "List of cities and their coordinates."
+msgstr ""
+
+#: data/io.github.amit9838.mousam.gschema.xml:8
+msgid ""
+"Stores locations added by user in json stringified string format in string"
+msgstr ""
+
+#: data/io.github.amit9838.mousam.gschema.xml:12
+msgid "Selected city"
+msgstr ""
+
+#: data/io.github.amit9838.mousam.gschema.xml:13
+msgid "Selected city cords"
+msgstr ""
+
+#: data/io.github.amit9838.mousam.gschema.xml:17
+msgid "Use Gradient Background"
+msgstr ""
+
+#: data/io.github.amit9838.mousam.gschema.xml:18
+msgid ""
+"Apply gradient background on main window corresponding to weather condition"
+msgstr ""
+
+#: data/io.github.amit9838.mousam.gschema.xml:23
+msgid "Launch the app in maximized mode."
+msgstr ""
+
+#: data/io.github.amit9838.mousam.gschema.xml:28
+msgid "Mesaurement sysytem to use - metric,imperial"
+msgstr ""
+
+#: data/io.github.amit9838.mousam.gschema.xml:29
+msgid "metric(km, °C), imperial(mile, °F)"
+msgstr ""
+
+#: src/frontendForecast.py:33 src/frontendForecast.py:122
+msgid "Tomorrow"
+msgstr ""
+
+#: src/frontendForecast.py:39
+msgid "Weekly"
+msgstr ""
+
+#: src/frontendForecast.py:120
+msgid "Today"
+msgstr ""
+
+#: src/frontendHourlyDetails.py:46
+msgid "Hourly"
+msgstr ""
+
+#: src/frontendHourlyDetails.py:53
+msgid "Wind"
+msgstr ""
+
+#: src/frontendHourlyDetails.py:60
+msgid "Precipitation"
+msgstr ""
+
+#: src/mousam.py:72
+msgid "Preferences"
+msgstr ""
+
+#: src/mousam.py:80
+msgid "About Mousam"
+msgstr ""
+
+#: src/mousam.py:310
+msgid "Refresh within 5 seconds is ignored!"
+msgstr ""
+
+#: src/mousam.py:314
+msgid "Refreshing..."
+msgstr ""
+
+#: src/windowAbout.py:13
+msgid "Beautiful and light weight weather app build using Gtk and python"
+msgstr ""
+
+#: src/windowAbout.py:17
+msgid "Copyright © 2024 Mousam Developers"
+msgstr ""
+
+#: src/windowAbout.py:20
+msgid "translator_credits"
+msgstr ""
+
+#: src/windowLocations.py:19 src/windowLocations.py:35
+msgid "Locations"
+msgstr ""
+
+#: src/windowLocations.py:41
+msgid "Add"
+msgstr ""
+
+#: src/windowLocations.py:66
+msgid "Remove location"
+msgstr ""
+
+#: src/windowLocations.py:113
+msgid "Switch city within 2 seconds is ignored!"
+msgstr ""
+
+#: src/windowLocations.py:116
+msgid "Selected - {}"
+msgstr ""
+
+#: src/windowLocations.py:126
+msgid "Add New Location"
+msgstr ""
+
+#: src/windowLocations.py:143
+msgid "Search for a city"
+msgstr ""
+
+#: src/windowLocations.py:149 src/windowLocations.py:151
+msgid "Search"
+msgstr ""
+
+#: src/windowLocations.py:206
+msgid "No results found !"
+msgstr ""
+
+#: src/windowLocations.py:230
+#, python-brace-format
+msgid "Added - {0}"
+msgstr ""
+
+#: src/windowLocations.py:232
+msgid "Location already added!"
+msgstr ""
+
+#: src/windowLocations.py:241
+msgid "Add more locations to delete!"
+msgstr ""
+
+#: src/windowLocations.py:265
+#, python-brace-format
+msgid "Deleted - {0}"
+msgstr ""
+
+#: src/windowPreferences.py:35
+msgid "Appearance"
+msgstr ""
+
+#: src/windowPreferences.py:59
+msgid "Open Maximized"
+msgstr ""
+
+#: src/windowPreferences.py:60
+msgid "Launch the weather app in maximized mode (Restart required)"
+msgstr ""
+
+#: src/windowPreferences.py:73
+msgid "Units & Measurements"
+msgstr ""
+
+#: src/windowPreferences.py:77
+msgid "°C"
+msgstr ""
+
+#: src/windowPreferences.py:78
+msgid "METRIC system with units like celcuis, km/h, kilometer"
+msgstr ""
+
+#: src/windowPreferences.py:86
+msgid "°F"
+msgstr ""
+
+#: src/windowPreferences.py:87
+msgid "IMPERIAL system with units like fahrenheit, mph, miles"
+msgstr ""
+
+#: src/windowPreferences.py:116
+msgid "Switching within 2 seconds is ignored!"
+msgstr ""
+
+#: src/windowPreferences.py:119
+msgid "Switched to - {}"
+msgstr ""
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index a340add..5ce052d 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -12,7 +12,7 @@ architectures:
parts:
mousam:
- source: https://github.com/amit9838/weather.git
+ source: https://github.com/amit9838/mousam.git
source-depth: 1
#source-tag: used when there will be a new release with these fixes
plugin: meson
@@ -22,10 +22,9 @@ parts:
pip install --prefix=$CRAFT_PART_INSTALL/usr requests==2.30.0
override-build: |
craftctl default
- chmod +x $CRAFT_PART_INSTALL/snap/mousam/current/usr/bin/weather
- sed -e '1c#!/usr/bin/python3' -i $CRAFT_PART_INSTALL/usr/local/bin/*
- sed -e '1c#!/usr/bin/env python3' -i ${CRAFT_PART_INSTALL}/snap/mousam/current/usr/bin/weather
- parse-info: [ usr/share/appdata/io.github.amit9838.weather.appdata.xml ]
+ chmod +x $CRAFT_PART_INSTALL/snap/mousam/current/usr/bin/mousam
+ sed -e '1c#!/usr/bin/env python3' -i ${CRAFT_PART_INSTALL}/snap/mousam/current/usr/bin/mousam
+ parse-info: [ usr/share/appdata/io.github.amit9838.mousam.appdata.xml ]
organize:
snap/mousam/current: .
usr/local: usr
@@ -37,13 +36,13 @@ slots:
mousam:
interface: dbus
bus: session
- name: io.github.amit9838.weather
+ name: io.github.amit9838.mousam
apps:
mousam:
- command: usr/bin/weather
- common-id: io.github.amit9838.weather
- desktop: usr/share/applications/io.github.amit9838.weather.desktop
+ command: usr/bin/mousam
+ common-id: io.github.amit9838.mousam
+ desktop: usr/share/applications/io.github.amit9838.mousam.desktop
extensions: [ gnome ]
environment:
PYTHONPATH: $SNAP/usr/lib/python3.10/dist-packages:$PYTHONPATH
diff --git a/src/Models.py b/src/Models.py
index 69438ff..1b961be 100644
--- a/src/Models.py
+++ b/src/Models.py
@@ -1,4 +1,4 @@
-# Models for All weather data data
+# Models for All weather data
class CurrentWeather:
total_instances = 0
diff --git a/src/application.css b/src/application.css
index 0a946b8..16ffdf4 100644
--- a/src/application.css
+++ b/src/application.css
@@ -181,4 +181,4 @@
}
.bg-pink {
background-color: #FE7BE5; /* Replace with your desired color */
-}
\ No newline at end of file
+}
diff --git a/src/constants.py b/src/constants.py
index 2d50e34..3ccab32 100644
--- a/src/constants.py
+++ b/src/constants.py
@@ -1,7 +1,7 @@
import os
-icon_loc = "@icon_location@/share/icons/hicolor/scalable/weather_icons/"
+icon_loc = "@icon_location@/share/icons/hicolor/scalable/mousam_icons/"
icons = {
"0": icon_loc + "clear-day.svg",
diff --git a/src/meson.build b/src/meson.build
index b65f86c..758ffb7 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -23,10 +23,10 @@ configure_file(
configuration: conf,
install: true,
install_dir: get_option('bindir'),
- install_mode: 'r-xr--r--'
+ install_mode: 'r-xr-xr--'
)
-weather_sources = [
+mousam_sources = [
'main.py',
'mousam.py',
'weatherData.py',
@@ -59,7 +59,7 @@ weather_sources = [
'windowLocations.py'
]
-install_data(weather_sources, install_dir: moduledir)
+install_data(mousam_sources, install_dir: moduledir)
icon_conf = configuration_data()
icon_conf.set('icon_location', get_option('prefix'))
diff --git a/src/mousam.in b/src/mousam.in
index 85452f9..93c8cec 100755
--- a/src/mousam.in
+++ b/src/mousam.in
@@ -1,6 +1,6 @@
#!@PYTHON@
-# weather.in
+# mousam.in
#
# Copyright 2024 Amit
#
diff --git a/src/mousam.py b/src/mousam.py
index f0a1ce4..1e64dd2 100644
--- a/src/mousam.py
+++ b/src/mousam.py
@@ -77,7 +77,7 @@ def __init__(self, *args, **kwargs):
action = Gio.SimpleAction.new("about", None)
action.connect("activate", self._on_about_clicked)
self.add_action(action)
- menu.append(_("About Weather"), "win.about")
+ menu.append(_("About Mousam"), "win.about")
# Toast overlay
self.toast_overlay = Adw.ToastOverlay.new()
diff --git a/src/windowAbout.py b/src/windowAbout.py
index c64a972..82fe2c6 100644
--- a/src/windowAbout.py
+++ b/src/windowAbout.py
@@ -5,16 +5,16 @@
def AboutWindow(parent,*args):
dialog = Adw.AboutWindow.new()
- dialog.set_application_name("Weather")
+ dialog.set_application_name("Mousam")
dialog.set_application_icon("io.github.amit9838.mousam")
dialog.set_version("1.0.1")
dialog.set_developer_name("Amit Chaudhary")
dialog.set_license_type(Gtk.License(Gtk.License.GPL_3_0))
dialog.set_comments(_("Beautiful and light weight weather app build using Gtk and python"))
- dialog.set_website("https://amit9838.github.io/weather/")
- dialog.set_issue_url("https://github.com/amit9838/weather/issues")
+ dialog.set_website("https://amit9838.github.io/mousam/")
+ dialog.set_issue_url("https://github.com/amit9838/mousam/issues")
# dialog.add_credit_section("Contributors", ["name url"])
- dialog.set_copyright(_("Copyright © 2024 Weather Developers"))
+ dialog.set_copyright(_("Copyright © 2024 Mousam Developers"))
dialog.set_developers(["Amit Chaudhary"])
# Translators: Please enter your credits here. (format: "Name https://example.com" or "Name ", no quotes)
dialog.set_translator_credits(_("translator_credits"))
diff --git a/website/index.html b/website/index.html
index e851528..acd6862 100644
--- a/website/index.html
+++ b/website/index.html
@@ -11,15 +11,15 @@
integrity="sha512-Avb2QiuDEEvB4bZJYdft2mNjVShBftLdPG8FJ0V7irTLQ8Uo0qcPxh4Plq7G5tGm0rU+1SPhVotteLpBERwTkw=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
- Weather App
+ Mousam App