mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-24 00:29:43 -04:00
Moved sway shellHook to gui module
This commit is contained in:
parent
24ec8eb686
commit
65ccdc1f63
3 changed files with 6 additions and 3 deletions
5
homeConfig/modules/gui/config/shellHook.nix
Normal file
5
homeConfig/modules/gui/config/shellHook.nix
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
''
|
||||
if [ -z "$DISPLAY" ] && [ "$(tty)" = "/dev/tty1" ]; then
|
||||
exec sway
|
||||
fi
|
||||
''
|
||||
|
|
@ -9,6 +9,7 @@ in
|
|||
config = mkIf cfg.enable {
|
||||
wayland.windowManager.sway = import ./config/sway.nix { inherit pkgs config lib; };
|
||||
programs.rofi = import ./config/rofi.nix { inherit pkgs config lib; };
|
||||
programs.bash.profileExtra = import ./config/shellHook.nix;
|
||||
|
||||
gtk = {
|
||||
enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue