Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ jobs:
DIR="onset-${VERSION}-linux-${{ matrix.arch }}"
mkdir "$DIR"
cp target/release/onset "$DIR/"
cp data/com.github.xPathin.onset.desktop "$DIR/"
cp data/icons/hicolor/scalable/apps/com.github.xPathin.onset.svg "$DIR/"
cp data/com.github.kulmin.onset.desktop "$DIR/"
cp data/icons/hicolor/scalable/apps/com.github.kulmin.onset.svg "$DIR/"
cp LICENSE "$DIR/"
tar czf "${DIR}.tar.gz" "$DIR"
- uses: actions/upload-artifact@v4
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[package]
name = "onset"
version = "1.0.3"
version = "2.0.0"
edition = "2024"
authors = ["Patrick Fischer"]
description = "Lightweight XDG autostart manager"
license = "MIT"
repository = "https://github.com/xPathin/onset"
repository = "https://github.com/kulmin/onset"
keywords = ["autostart", "xdg", "gtk", "linux", "desktop"]
categories = ["gui", "config"]

Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<p align="center">
<img src="data/icons/hicolor/scalable/apps/com.github.xPathin.onset.svg" width="128" height="128" alt="Onset">
<img src="data/icons/hicolor/scalable/apps/com.github.kulmin.onset.svg" width="128" height="128" alt="Onset">
</p>

<h1 align="center">Onset</h1>

<p align="center">
<a href="https://github.com/xPathin/onset/actions/workflows/ci.yml"><img src="https://github.com/xPathin/onset/actions/workflows/ci.yml/badge.svg" alt="CI"></a>
<a href="https://github.com/xPathin/onset/actions/workflows/release.yml"><img src="https://github.com/xPathin/onset/actions/workflows/release.yml/badge.svg" alt="Release"></a>
<a href="https://github.com/xPathin/onset/releases/latest"><img src="https://img.shields.io/github/v/release/xPathin/onset" alt="GitHub Release"></a>
<a href="https://github.com/kulmin/onset/actions/workflows/ci.yml"><img src="https://github.com/kulmin/onset/actions/workflows/ci.yml/badge.svg" alt="CI"></a>
<a href="https://github.com/kulmin/onset/actions/workflows/release.yml"><img src="https://github.com/kulmin/onset/actions/workflows/release.yml/badge.svg" alt="Release"></a>
<a href="https://github.com/kulmin/onset/releases/latest"><img src="https://img.shields.io/github/v/release/kulmin/onset" alt="GitHub Release"></a>
<a href="https://aur.archlinux.org/packages/onset"><img src="https://img.shields.io/aur/version/onset" alt="AUR"></a>
<a href="https://aur.archlinux.org/packages/onset-git"><img src="https://img.shields.io/aur/version/onset-git" alt="AUR git"></a>
<a href="LICENSE"><img src="https://img.shields.io/github/license/xPathin/onset" alt="License: MIT"></a>
<a href="LICENSE"><img src="https://img.shields.io/github/license/kulmin/onset" alt="License: MIT"></a>
</p>

<p align="center">A lightweight GTK4/libadwaita application for managing XDG autostart entries on Linux.</p>
Expand Down Expand Up @@ -39,7 +39,7 @@ paru -S onset-git # latest main branch

### Pre-built Binaries

Download from the [latest release](https://github.com/xPathin/onset/releases/latest).
Download from the [latest release](https://github.com/kulmin/onset/releases/latest).

### From Source

Expand All @@ -52,8 +52,8 @@ cargo build --release

# Install
sudo install -Dm755 target/release/onset /usr/bin/onset
sudo install -Dm644 data/com.github.xPathin.onset.desktop /usr/share/applications/com.github.xPathin.onset.desktop
sudo install -Dm644 data/icons/hicolor/scalable/apps/com.github.xPathin.onset.svg /usr/share/icons/hicolor/scalable/apps/com.github.xPathin.onset.svg
sudo install -Dm644 data/com.github.kulmin.onset.desktop /usr/share/applications/com.github.kulmin.onset.desktop
sudo install -Dm644 data/icons/hicolor/scalable/apps/com.github.kulmin.onset.svg /usr/share/icons/hicolor/scalable/apps/com.github.kulmin.onset.svg
```

## Usage
Expand Down
10 changes: 5 additions & 5 deletions aur/onset-git/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Maintainer: Patrick Fischer <aur at pathin dot me>
pkgname=onset-git
pkgver=r0.0000000
pkgrel=2
pkgrel=1
pkgdesc="Lightweight GTK4 autostart manager for Linux"
arch=('x86_64' 'aarch64')
url="https://github.com/kulmin/onset"
Expand Down Expand Up @@ -35,9 +35,9 @@ check() {
package() {
cd onset
install -Dm755 "target/release/onset" "$pkgdir/usr/bin/onset"
install -Dm644 "data/com.github.xPathin.onset.desktop" \
"$pkgdir/usr/share/applications/com.github.xPathin.onset.desktop"
install -Dm644 "data/icons/hicolor/scalable/apps/com.github.xPathin.onset.svg" \
"$pkgdir/usr/share/icons/hicolor/scalable/apps/com.github.xPathin.onset.svg"
install -Dm644 "data/com.github.kulmin.onset.desktop" \
"$pkgdir/usr/share/applications/com.github.kulmin.onset.desktop"
install -Dm644 "data/icons/hicolor/scalable/apps/com.github.kulmin.onset.svg" \
"$pkgdir/usr/share/icons/hicolor/scalable/apps/com.github.kulmin.onset.svg"
install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
8 changes: 4 additions & 4 deletions aur/onset/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Maintainer: Patrick Fischer <aur at pathin dot me>
pkgname=onset
pkgver=0.1.1
pkgrel=2
pkgver=2.0.0
pkgrel=1
pkgdesc="Lightweight GTK4 autostart manager for Linux"
arch=('x86_64' 'aarch64')
url="https://github.com/kulmin/onset"
Expand All @@ -26,7 +26,7 @@ check() {
package() {
cd "$pkgname-$pkgver"
install -Dm755 "target/release/$pkgname" "$pkgdir/usr/bin/$pkgname"
install -Dm644 "data/com.github.xPathin.onset.desktop" "$pkgdir/usr/share/applications/com.github.xPathin.onset.desktop"
install -Dm644 "data/icons/hicolor/scalable/apps/com.github.xPathin.onset.svg" "$pkgdir/usr/share/icons/hicolor/scalable/apps/com.github.xPathin.onset.svg"
install -Dm644 "data/com.github.kulmin.onset.desktop" "$pkgdir/usr/share/applications/com.github.kulmin.onset.desktop"
install -Dm644 "data/icons/hicolor/scalable/apps/com.github.kulmin.onset.svg" "$pkgdir/usr/share/icons/hicolor/scalable/apps/com.github.kulmin.onset.svg"
install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Name=Onset
GenericName=Autostart Manager
Comment=Manage XDG autostart entries
Exec=onset
Icon=com.github.xPathin.onset
Icon=com.github.kulmin.onset
Categories=Settings;System;GTK;
Keywords=autostart;startup;boot;login;session;
StartupNotify=true
Expand Down
2 changes: 1 addition & 1 deletion src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use libadwaita as adw;

use crate::ui::MainWindow;

const APP_ID: &str = "com.github.xPathin.onset";
pub const APP_ID: &str = "com.github.kulmin.onset";

pub fn run() -> i32 {
let app = adw::Application::builder()
Expand Down
7 changes: 4 additions & 3 deletions src/ui/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ use gtk4::prelude::*;
use libadwaita as adw;
use libadwaita::prelude::*;

use crate::app::APP_ID;
use crate::desktop_entry::CreateOptions;
use crate::discovery::{discover_applications, discover_autostart_entries};
use crate::model::{Application, AutostartEntry};
Expand Down Expand Up @@ -166,11 +167,11 @@ impl MainWindow {
let dialog = adw::AboutWindow::builder()
.application_name("Onset")
.version(env!("ONSET_VERSION"))
.application_icon("com.github.xPathin.onset")
.application_icon(APP_ID)
.developer_name("Patrick Fischer")
.license_type(gtk4::License::MitX11)
.website("https://github.com/xPathin/onset")
.issue_url("https://github.com/xPathin/onset/issues")
.website("https://github.com/kulmin/onset")
.issue_url("https://github.com/kulmin/onset/issues")
.transient_for(&window_clone)
.modal(true)
.build();
Expand Down
Loading