adding a better way to ensure the desktop is ready in niri
This commit is contained in:
parent
71d08f706d
commit
43071e88f6
1 changed files with 8 additions and 4 deletions
|
|
@ -3,6 +3,13 @@
|
|||
|
||||
let
|
||||
laptop = builtins.readFile "/etc/hostname" == "syl\n";
|
||||
reset-dbus-systemd-units = pkgs.writeShellScriptBin "reset-dbus-systemd" ''
|
||||
sleep 3
|
||||
dbus-update-activation-environment --systemd --all
|
||||
systemctl --user restart jellyfin-mpv-shim
|
||||
systemctl --user restart syncthingtray
|
||||
systemctl --user restart nextcloud-client
|
||||
'';
|
||||
cosmic-extra-niri = pkgs.writeShellScriptBin "cosmic-extra-niri" ''
|
||||
set -e
|
||||
|
||||
|
|
@ -140,7 +147,6 @@ in
|
|||
"Super+Shift+P".action.screenshot = [];
|
||||
};
|
||||
spawn-at-startup = [
|
||||
{ argv = ["dbus-update-activation-environment --systemd --all"]; }
|
||||
{ argv = ["waybar"]; }
|
||||
{ argv = ["hyprpaper"]; }
|
||||
{ argv = ["${pkgs.xwayland-satellite}/bin/xwayland-satellite"]; }
|
||||
|
|
@ -151,13 +157,11 @@ in
|
|||
{ argv = ["cosmic-idle"]; }
|
||||
{ argv = ["kwalletd6"]; }
|
||||
{ argv = ["swww-daemon"]; }
|
||||
{ argv = ["systemctl --user start jellyfin-mpv-shim"]; }
|
||||
{ argv = ["systemctl --user start nextcloud-client"]; }
|
||||
{ argv = ["systemctl --user start syncthingtray"]; }
|
||||
{ argv = ["rbw-agent"]; }
|
||||
{ argv = ["kdeconnect-indicator"]; }
|
||||
{ argv = ["wl-paste --watch cliphist store"]; }
|
||||
{ argv = ["swww img /home/chris/pics/wallpapers/tech.jpg --resize crop -t grow --transition-bezier .14,0,.14,.99"]; }
|
||||
{ argv = ["${reset-dbus-systemd-units}/bin/reset-dbus-systemd"]; }
|
||||
];
|
||||
workspaces = {
|
||||
"main" = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue