Update dbus environment
This commit is contained in:
parent
db415969e8
commit
1a14d17ae2
10
profiles/applications/slack.nix
Normal file
10
profiles/applications/slack.nix
Normal 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'
|
||||
'');
|
||||
}];
|
||||
}
|
@ -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
|
||||
|
@ -34,6 +34,7 @@
|
||||
gtk
|
||||
i3blocks
|
||||
qt
|
||||
slack
|
||||
kdeconnect
|
||||
light
|
||||
mako
|
||||
|
Loading…
Reference in New Issue
Block a user