diff options
| author | Zach DeCook <zachdecook@librem.one> | 2023-05-20 18:36:36 -0400 |
|---|---|---|
| committer | Zach DeCook <zachdecook@librem.one> | 2023-05-20 18:36:36 -0400 |
| commit | af9302cfc1089be0c1fd0dd29c79c4f81d85e450 (patch) | |
| tree | 7cdd5aab3e2be12a626675e79ec70f8b923c1c17 /Makefile | |
| parent | eb356bc05e18e3d6ddb8f4812a4c2c6336e836d7 (diff) | |
| download | osk0-wvkbd-wrapper-af9302cfc1089be0c1fd0dd29c79c4f81d85e450.tar.gz | |
Desktop file: Add this and create Makefile for installing and linking it
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..8945ff3 --- /dev/null +++ b/Makefile @@ -0,0 +1,7 @@ +install: + cp osk0-wvkbd-wrapper.sh /usr/bin/ + cp osk0-wvkbd-wrapper.desktop /usr/share/applications/ + +link: + test -L /etc/alternatives/Phosh-OSK && ln -fs /usr/share/applications/osk0-wvkbd-wrapper.desktop /etc/alternatives/Phosh-OSK + test /etc/alternatives/Phosh-OSK -ef /usr/share/applications/sm.puri.OSK0.desktop || ln -fs /usr/share/applications/osk0-wvkbd-wrapper.desktop /usr/share/applications/sm.puri.OSK0.desktop |
