Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: environment -> profile #82

Merged
merged 4 commits into from
Sep 26, 2024
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: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ just build-release
sudo just install
```

_Write `COSMIC_DATA_CONTROL_ENABLED=1` in `/etc/environment`. (see [this issue](https://github.com/wiiznokes/clipboard-manager/issues/61))_

Reboot or restart the session for the `COSMIC_DATA_CONTROL_ENABLED=1` environment variable to take effect.
Restart the session for the `COSMIC_DATA_CONTROL_ENABLED` environment variable to take effect.

## Logs

Expand Down
6 changes: 3 additions & 3 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ share-dst := base-dir / 'share'
bin-dst := base-dir / 'bin' / NAME
desktop-dst := share-dst / 'applications' / APPID + '.desktop'
icon-dst := share-dst / 'icons/hicolor/scalable/apps' / APPID + '-symbolic.svg'
env-dst := base-dir / 'lib/environment.d' / NAME + '.conf'
env-dst := rootdir / 'etc/profile.d' / NAME + '.sh'
migrations-dst := share-dst / NAME / 'migrations'


Expand All @@ -31,7 +31,7 @@ install: install-migrations
install -Dm0755 {{bin-src}} {{bin-dst}}
install -Dm0644 res/desktop_entry.desktop {{desktop-dst}}
install -Dm0644 res/app_icon.svg {{icon-dst}}
install -Dm0644 res/env.conf {{env-dst}}
install -Dm0644 res/env.sh {{env-dst}}

install-migrations:
#!/usr/bin/env sh
Expand Down Expand Up @@ -119,4 +119,4 @@ build-and-install: uninstall-f
io.github.wiiznokes.cosmic-ext-applet-clipboard-manager.json

run:
flatpak run io.github.wiiznokes.cosmic-ext-applet-clipboard-manager
flatpak run io.github.wiiznokes.cosmic-ext-applet-clipboard-manager
1 change: 0 additions & 1 deletion res/env.conf

This file was deleted.

1 change: 1 addition & 0 deletions res/env.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export COSMIC_DATA_CONTROL_ENABLED=1