Update dbus environment

This commit is contained in:
Alexander Bantyev 2021-11-24 00:17:20 +03:00
parent db415969e8
commit 1a14d17ae2
Signed by: balsoft
GPG Key ID: E081FF12ADCB4AD5
3 changed files with 14 additions and 8 deletions

View File

@ -0,0 +1,10 @@
{ pkgs, ... }: {
home-manager.users.balsoft.wayland.windowManager.sway.config.startup = [{
command = toString (pkgs.writeShellScript "slack" ''
firefox https://tweag.slack.com &
sleep 10
swaymsg '[title=Slack.*] move to workspace '
swaymsg '[title=Slack.*] fullscreen disable'
'');
}];
}

View File

@ -93,18 +93,13 @@ in {
};
startup = (map (command: { inherit command; }) config.startupApplications)
++ [
{
command = toString (pkgs.writeShellScript "slack" ''
firefox https://tweag.slack.com &
sleep 10
swaymsg '[title=Slack.*] move to workspace '
swaymsg '[title=Slack.*] fullscreen disable'
'');
}
{
command =
"swayidle -w before-sleep '${lock_fork}' lock '${lock_fork}' unlock 'pkill -9 swaylock'";
}
{
command = "dbus-update-activation-environment --systemd WAYLAND_DISPLAY GDK_BACKEND";
}
];
keybindings = let

View File

@ -34,6 +34,7 @@
gtk
i3blocks
qt
slack
kdeconnect
light
mako