home: move sway autostart to sway.nix
This commit is contained in:
parent
db271c57a1
commit
35d37be0df
2 changed files with 6 additions and 7 deletions
|
@ -256,13 +256,6 @@
|
|||
#};
|
||||
|
||||
programs = {
|
||||
fish.loginShellInit = ''
|
||||
if status is-login
|
||||
if test -z "$Display" -a "$XDG_VTNR" = 1
|
||||
exec sway
|
||||
end
|
||||
end
|
||||
'';
|
||||
rofi = {
|
||||
#enable = true;
|
||||
package = pkgs.rofi-wayland;
|
||||
|
|
|
@ -1,6 +1,12 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
programs.fish.loginShellInit = ''
|
||||
if test -z "$Display" -a "$XDG_VTNR" = 1
|
||||
exec sway
|
||||
end
|
||||
'';
|
||||
|
||||
wayland.windowManager.sway = {
|
||||
enable = true;
|
||||
extraOptions = [ "--unsupported-gpu" "-D" "noscanout" ];
|
||||
|
|
Loading…
Reference in a new issue