feat: change initial workspace to 1 for sway and i3
This commit is contained in:
parent
e21342857d
commit
88615faff0
3 changed files with 8 additions and 0 deletions
|
|
@ -2,6 +2,9 @@
|
||||||
description = "Nix los hier";
|
description = "Nix los hier";
|
||||||
inputs = {
|
inputs = {
|
||||||
|
|
||||||
|
# TODO enable ability to switch between stable and unstable
|
||||||
|
# TODO enable ability to include or exclude unfree software
|
||||||
|
|
||||||
#nixpkgs.url = "github:nixos/nixpkgs/nixos-23.05";
|
#nixpkgs.url = "github:nixos/nixpkgs/nixos-23.05";
|
||||||
#nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
|
#nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||||
|
|
|
||||||
|
|
@ -183,5 +183,8 @@ in {
|
||||||
"${cfg.modifier}+Shift+a" = "exec ${pkgs.swaynotificationcenter}/bin/swaync-client -t -sw";
|
"${cfg.modifier}+Shift+a" = "exec ${pkgs.swaynotificationcenter}/bin/swaync-client -t -sw";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
extraConfig = ''
|
||||||
|
exec --no-startup-id ${pkgs.i3}/bin/i3-msg 'workspace 1'
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -310,6 +310,8 @@ in
|
||||||
bindsym ${cfg.modifier}+grave exec swaymsg '[app_id="$ddterm-id"] scratchpad show' || $ddterm && sleep .1 && swaymsg '[app_id="$ddterm-id"] $ddterm-resize'
|
bindsym ${cfg.modifier}+grave exec swaymsg '[app_id="$ddterm-id"] scratchpad show' || $ddterm && sleep .1 && swaymsg '[app_id="$ddterm-id"] $ddterm-resize'
|
||||||
bindsym ${cfg.modifier}+Escape exec swaymsg '[app_id="$ddterm-id"] scratchpad show' || $ddterm && sleep .1 && swaymsg '[app_id="$ddterm-id"] $ddterm-resize'
|
bindsym ${cfg.modifier}+Escape exec swaymsg '[app_id="$ddterm-id"] scratchpad show' || $ddterm && sleep .1 && swaymsg '[app_id="$ddterm-id"] $ddterm-resize'
|
||||||
# ^-- resize again, case moving to different output
|
# ^-- resize again, case moving to different output
|
||||||
|
|
||||||
|
workspace 1
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue