Multiple kinds of desktop applications now

Not just web apps
This commit is contained in:
David Heinemeier Hansson
2024-06-13 20:39:05 +02:00
parent 164919da45
commit 1f4e421140
11 changed files with 29 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
cat <<EOF > ~/.local/share/applications/Basecamp.desktop
cat <<EOF >~/.local/share/applications/Basecamp.desktop
[Desktop Entry]
Version=1.0
Name=Basecamp
@@ -6,7 +6,7 @@ Comment=Basecamp Project Management
Exec=google-chrome --app="https://launchpad.37signals.com" --name=Basecamp
Terminal=false
Type=Application
Icon=/home/$USER/.local/share/omakub/web-apps/icons/Basecamp.png
Icon=/home/$USER/.local/share/omakub/applications/icons/Basecamp.png
Categories=GTK;
MimeType=text/html;text/xml;application/xhtml_xml;
StartupNotify=true

View File

@@ -6,7 +6,7 @@ Comment=HEY Email + Calendar
Exec=google-chrome --app="https://app.hey.com/" --name=HEY
Terminal=false
Type=Application
Icon=/home/$USER/.local/share/omakub/web-apps/icons/HEY.png
Icon=/home/$USER/.local/share/omakub/applications/icons/HEY.png
Categories=GTK;
MimeType=text/html;text/xml;application/xhtml_xml;
StartupNotify=true

12
applications/Omakub.sh Normal file
View File

@@ -0,0 +1,12 @@
cat <<EOF >~/.local/share/applications/Omakub.desktop
[Desktop Entry]
Version=1.0
Name=Omakub
Comment=Omakub Controls
Exec=alacritty --config-file /home/$USER/.local/share/omakub/defaults/alacritty-pane.toml -e omakub
Terminal=false
Type=Application
Icon=/home/$USER/.local/share/omakub/applications/icons/Omakub.png
Categories=GTK;
StartupNotify=true
EOF

View File

@@ -1,4 +1,4 @@
cat <<EOF > ~/.local/share/applications/WhatsApp.desktop
cat <<EOF >~/.local/share/applications/WhatsApp.desktop
[Desktop Entry]
Version=1.0
Name=WhatsApp
@@ -6,7 +6,7 @@ Comment=WhatsApp Messenger
Exec=google-chrome --app="https://web.whatsapp.com" --name=WhatsApp
Terminal=false
Type=Application
Icon=/home/$USER/.local/share/omakub/web-apps/icons/WhatsApp.png
Icon=/home/$USER/.local/share/omakub/applications/icons/WhatsApp.png
Categories=GTK;
MimeType=text/html;text/xml;application/xhtml_xml;
StartupNotify=true

View File

Before

Width:  |  Height:  |  Size: 64 KiB

After

Width:  |  Height:  |  Size: 64 KiB

View File

Before

Width:  |  Height:  |  Size: 196 KiB

After

Width:  |  Height:  |  Size: 196 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 183 KiB

View File

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

@@ -0,0 +1,11 @@
import = [ "~/.config/alacritty/theme.toml", "~/.config/alacritty/font.toml", "~/.local/share/omakub/defaults/alacritty.toml" ]
[window]
opacity = 0.95
padding.x = 30
padding.y = 30
dimensions.columns = 90
dimensions.lines = 25
[font]
size = 10

1
install/apps-desktop.sh Normal file
View File

@@ -0,0 +1 @@
for script in ~/.local/share/omakub/applications/*.sh; do source $script; done

View File

@@ -1 +0,0 @@
for script in ~/.local/share/omakub/web-apps/*.sh; do source $script; done