forked from biglinux/render-menu-options
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add hooks to monitoring install nvidia hibrid
- Loading branch information
1 parent
016f75b
commit 05b7b41
Showing
4 changed files
with
24 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
[Trigger] | ||
Type = Path | ||
Operation = Install | ||
Operation = Upgrade | ||
|
||
Target = usr/bin/optimus-manager | ||
Target = usr/bin/prime-run | ||
Target = usr/bin/switcherooctl | ||
|
||
[Action] | ||
Description = Add Render Menu | ||
When = PostTransaction | ||
Exec = /usr/share/libalpm/scripts/render-menu-options-add.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/usr/bin/env bash | ||
|
||
sudo systemctl start render-menu-options.service | ||
sudo systemctl start render-menu-options-flatpak.service | ||
systemctl --user start render-menu-options-user.service |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters