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 = {
|
programs = {
|
||||||
fish.loginShellInit = ''
|
|
||||||
if status is-login
|
|
||||||
if test -z "$Display" -a "$XDG_VTNR" = 1
|
|
||||||
exec sway
|
|
||||||
end
|
|
||||||
end
|
|
||||||
'';
|
|
||||||
rofi = {
|
rofi = {
|
||||||
#enable = true;
|
#enable = true;
|
||||||
package = pkgs.rofi-wayland;
|
package = pkgs.rofi-wayland;
|
||||||
|
|
|
@ -1,6 +1,12 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
programs.fish.loginShellInit = ''
|
||||||
|
if test -z "$Display" -a "$XDG_VTNR" = 1
|
||||||
|
exec sway
|
||||||
|
end
|
||||||
|
'';
|
||||||
|
|
||||||
wayland.windowManager.sway = {
|
wayland.windowManager.sway = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraOptions = [ "--unsupported-gpu" "-D" "noscanout" ];
|
extraOptions = [ "--unsupported-gpu" "-D" "noscanout" ];
|
||||||
|
|
Loading…
Reference in a new issue