fix(tutanota): add desktop file
This commit is contained in:
parent
7631eee402
commit
3bc3966e44
2 changed files with 11 additions and 5 deletions
|
@ -17,7 +17,7 @@ exec-once = $HOME/.config/lisgd/config &
|
||||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||||
|
|
||||||
# Execute your favorite apps at launch
|
# Execute your favorite apps at launch
|
||||||
exec-once = bash -c "sleep 3; nm-applet"
|
exec-once = bash -c "sleep 3; XDG_DATA_DIRS=/home/matt/.nix/configs/share nm-applet"
|
||||||
exec-once = bash -c "sleep 4; blueberry-tray"
|
exec-once = bash -c "sleep 4; blueberry-tray"
|
||||||
exec-once = bash -c "sleep 5; nextcloud --background"
|
exec-once = bash -c "sleep 5; nextcloud --background"
|
||||||
exec-once = bash -c "sleep 6; tutanota-desktop -a"
|
exec-once = bash -c "sleep 6; tutanota-desktop -a"
|
||||||
|
@ -27,6 +27,9 @@ exec-once = eww daemon
|
||||||
exec-once = eww open tablet-toggle
|
exec-once = eww open tablet-toggle
|
||||||
exec-once = eww open notif-panel
|
exec-once = eww open notif-panel
|
||||||
|
|
||||||
|
# sometimes waybar starts after and stops me from pressing eww buttons
|
||||||
|
exec-once = bash -c "sleep 0.5; eww reload"
|
||||||
|
|
||||||
exec-once = gnome-keyring-daemon --start --components=secrets
|
exec-once = gnome-keyring-daemon --start --components=secrets
|
||||||
exec-once = squeekboard
|
exec-once = squeekboard
|
||||||
|
|
||||||
|
@ -34,7 +37,7 @@ exec-once = $menu
|
||||||
exec-once = hyprpaper
|
exec-once = hyprpaper
|
||||||
|
|
||||||
# after boot, there are 2 bars for some reason, so I kill them and rerun the command
|
# after boot, there are 2 bars for some reason, so I kill them and rerun the command
|
||||||
exec-once = bash -c "killall -r -0 waybar && killall -r waybar; waybar"
|
exec-once = bash -c "killall -r -0 waybar && killall -r waybar; XDG_DATA_DIRS=/home/matt/.nix/configs/share waybar"
|
||||||
exec-once = swaync
|
exec-once = swaync
|
||||||
|
|
||||||
exec-once = wl-paste --watch cliphist store
|
exec-once = wl-paste --watch cliphist store
|
||||||
|
|
|
@ -27,7 +27,9 @@ let
|
||||||
inherit pname version src;
|
inherit pname version src;
|
||||||
};
|
};
|
||||||
|
|
||||||
in appimageTools.wrapType2 {
|
in
|
||||||
|
|
||||||
|
appimageTools.wrapType2 {
|
||||||
inherit name src;
|
inherit name src;
|
||||||
|
|
||||||
profile = ''
|
profile = ''
|
||||||
|
@ -37,13 +39,14 @@ in appimageTools.wrapType2 {
|
||||||
targetPkgs = pkgs: [ libGL libsecret ffmpeg curl alsa-lib udev ];
|
targetPkgs = pkgs: [ libGL libsecret ffmpeg curl alsa-lib udev ];
|
||||||
|
|
||||||
extraInstallCommands = ''
|
extraInstallCommands = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin $out/share/applications
|
||||||
|
|
||||||
cp -r ${extracted}/* $out/
|
cp -r ${extracted}/* $out/
|
||||||
|
|
||||||
ln -s $out/tutanota-desktop $out/bin/tutanota-desktop
|
ln -s $out/tutanota-desktop $out/bin/tutanota-desktop
|
||||||
|
|
||||||
substituteInPlace $out/tutanota-desktop.desktop \
|
mv $out/tutanota-desktop.desktop $out/share/applications/
|
||||||
|
substituteInPlace $out/share/applications/tutanota-desktop.desktop \
|
||||||
--replace AppRun ${pname}
|
--replace AppRun ${pname}
|
||||||
|
|
||||||
source "${makeWrapper}/nix-support/setup-hook"
|
source "${makeWrapper}/nix-support/setup-hook"
|
||||||
|
|
Loading…
Reference in a new issue