diff --git a/README.md b/README.md index 03bc9e0..7ab03d2 100644 --- a/README.md +++ b/README.md @@ -28,10 +28,10 @@ Run `meson` to configure the build environment and then `ninja` to build and ins cd build ninja -To install, use `ninja install`, then execute with `com.github.dr-styki.screenrec` +To install, use `ninja install`, then execute with `com.github.dr_styki.screenrec` sudo ninja install - com.github.dr-styki.screenrec + com.github.dr_styki.screenrec ## Credits Originaly forked from [screenrecorder](https://github.com/Mohelm97/screenrecorder). Now greatly inspired by the code of [Screenshot](https://github.com/elementary/screenshot), [Kazam](https://github.com/hzbd/kazam) and [Screencast](https://github.com/artemanufrij/screencast). diff --git a/data/com.github.dr-styki.screenrec.appdata.xml.in b/data/com.github.dr_styki.screenrec.appdata.xml.in similarity index 100% rename from data/com.github.dr-styki.screenrec.appdata.xml.in rename to data/com.github.dr_styki.screenrec.appdata.xml.in diff --git a/data/com.github.dr-styki.screenrec.desktop.in b/data/com.github.dr_styki.screenrec.desktop.in similarity index 69% rename from data/com.github.dr-styki.screenrec.desktop.in rename to data/com.github.dr_styki.screenrec.desktop.in index 2499967..beceb41 100644 --- a/data/com.github.dr-styki.screenrec.desktop.in +++ b/data/com.github.dr_styki.screenrec.desktop.in @@ -1,8 +1,8 @@ [Desktop Entry] Name=ScreenRec Comment=Record videos of the screen -Exec=com.github.dr-styki.screenrec -Icon=com.github.dr-styki.screenrec +Exec=com.github.dr_styki.screenrec +Icon=com.github.dr_styki.screenrec Terminal=false Type=Application Categories=GTK;GNOME;Utility;AudioVideo;Video; @@ -12,12 +12,12 @@ X-GNOME-UsesNotifications=true [Desktop Action ScreenRecord] Name=Record the Whole Screen -Exec=com.github.dr-styki.screenrec --screen +Exec=com.github.dr_styki.screenrec --screen [Desktop Action WindowRecord] Name=Record the Current Window -Exec=com.github.dr-styki.screenrec --window +Exec=com.github.dr_styki.screenrec --window [Desktop Action AreaRecord] Name=Record a Selected Area -Exec=com.github.dr-styki.screenrec --area \ No newline at end of file +Exec=com.github.dr_styki.screenrec --area diff --git a/data/com.github.dr-styki.screenrec.gresource.xml b/data/com.github.dr_styki.screenrec.gresource.xml similarity index 96% rename from data/com.github.dr-styki.screenrec.gresource.xml rename to data/com.github.dr_styki.screenrec.gresource.xml index 3a32ea6..af30891 100644 --- a/data/com.github.dr-styki.screenrec.gresource.xml +++ b/data/com.github.dr_styki.screenrec.gresource.xml @@ -1,6 +1,6 @@ - + icons/symbolic/grab-area-symbolic.svg icons/symbolic/grab-screen-symbolic.svg icons/symbolic/grab-screen-symbolic-dark.svg diff --git a/data/com.github.dr-styki.screenrec.gschema.xml b/data/com.github.dr_styki.screenrec.gschema.xml similarity index 80% rename from data/com.github.dr-styki.screenrec.gschema.xml rename to data/com.github.dr_styki.screenrec.gschema.xml index e03de88..3189ad6 100644 --- a/data/com.github.dr-styki.screenrec.gschema.xml +++ b/data/com.github.dr_styki.screenrec.gschema.xml @@ -1,11 +1,11 @@ - + - + false @@ -32,8 +32,8 @@ "" - + "screen" - \ No newline at end of file + diff --git a/data/icons/128/com.github.dr-styki.screenrec.svg b/data/icons/128/com.github.dr_styki.screenrec.svg similarity index 100% rename from data/icons/128/com.github.dr-styki.screenrec.svg rename to data/icons/128/com.github.dr_styki.screenrec.svg diff --git a/data/icons/32/com.github.dr-styki.screenrec.svg b/data/icons/32/com.github.dr_styki.screenrec.svg similarity index 100% rename from data/icons/32/com.github.dr-styki.screenrec.svg rename to data/icons/32/com.github.dr_styki.screenrec.svg diff --git a/data/icons/48/com.github.dr-styki.screenrec.svg b/data/icons/48/com.github.dr_styki.screenrec.svg similarity index 100% rename from data/icons/48/com.github.dr-styki.screenrec.svg rename to data/icons/48/com.github.dr_styki.screenrec.svg diff --git a/data/icons/64/com.github.dr-styki.screenrec.svg b/data/icons/64/com.github.dr_styki.screenrec.svg similarity index 100% rename from data/icons/64/com.github.dr-styki.screenrec.svg rename to data/icons/64/com.github.dr_styki.screenrec.svg diff --git a/debian/rules b/debian/rules index 2c87931..9618e13 100755 --- a/debian/rules +++ b/debian/rules @@ -26,5 +26,5 @@ override_dh_auto_test: cd debian/build && ninja test override_dh_auto_install: - cd debian/build && DESTDIR=${CURDIR}/debian/com.github.dr-styki.screenrec ninja install + cd debian/build && DESTDIR=${CURDIR}/debian/com.github.dr_styki.screenrec ninja install diff --git a/meson.build b/meson.build index c63695b..db84869 100644 --- a/meson.build +++ b/meson.build @@ -1,6 +1,6 @@ # Project name, programming language and version project ( - 'com.github.dr-styki.screenrec', + 'com.github.dr_styki.screenrec', 'vala', 'c', version: '2.3.0', license: 'GPL-3.0' diff --git a/po/com.github.dr-styki.screenrec.pot b/po/com.github.dr_styki.screenrec.pot similarity index 100% rename from po/com.github.dr-styki.screenrec.pot rename to po/com.github.dr_styki.screenrec.pot diff --git a/src/Application.vala b/src/Application.vala index 6feaabe..8b87d14 100644 --- a/src/Application.vala +++ b/src/Application.vala @@ -39,7 +39,7 @@ namespace ScreenRec { public ScreenRecApp () { Object ( - application_id: "com.github.dr-styki.screenrec", + application_id: "com.github.dr_styki.screenrec", flags: ApplicationFlags.FLAGS_NONE ); } @@ -55,9 +55,9 @@ namespace ScreenRec { add_main_option_entries (options); - settings = new GLib.Settings ("com.github.dr-styki.screenrec"); + settings = new GLib.Settings ("com.github.dr_styki.screenrec"); weak Gtk.IconTheme default_theme = Gtk.IconTheme.get_default (); - default_theme.add_resource_path ("/com/github/dr-Styki/ScreenRec"); + default_theme.add_resource_path ("/com/github/dr_Styki/ScreenRec"); var quit_action = new SimpleAction ("quit", null); quit_action.activate.connect (() => { @@ -111,7 +111,7 @@ namespace ScreenRec { } else { var provider = new Gtk.CssProvider (); - provider.load_from_resource ("/com/github/dr-Styki/ScreenRec/stylesheet.css"); + provider.load_from_resource ("/com/github/dr_Styki/ScreenRec/stylesheet.css"); Gtk.StyleContext.add_provider_for_screen ( Gdk.Screen.get_default (), provider, Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION diff --git a/src/Tools/SendNotification.vala b/src/Tools/SendNotification.vala index 726524b..a64b3dd 100644 --- a/src/Tools/SendNotification.vala +++ b/src/Tools/SendNotification.vala @@ -24,7 +24,7 @@ namespace ScreenRec { public class SendNotification : GLib.Object { private Gtk.ApplicationWindow app; - private string app_id = "com.github.dr-styki.ScreenRec"; + private string app_id = "com.github.dr_styki.ScreenRec"; private Notification start_notification = new Notification (_("Recording started")); private Notification stop_notification = new Notification (_("Recording stopped"));