auto start hyprland in tty2 on allegro
This commit is contained in:
parent
4730bf5984
commit
b93258bfea
1 changed files with 7 additions and 4 deletions
11
fish.nix
11
fish.nix
|
|
@ -1,13 +1,16 @@
|
||||||
{ pkgs, ... }:
|
{ lib, pkgs, variant, ... }:
|
||||||
{
|
{
|
||||||
programs.fish = {
|
programs.fish = {
|
||||||
enable = true;
|
enable = true;
|
||||||
loginShellInit = ''
|
loginShellInit = ''
|
||||||
set -gx fish_greeting
|
set -gx fish_greeting
|
||||||
if test $(tty) = /dev/tty1
|
'' +
|
||||||
Hyprland
|
(if variant == "allegro" then ''
|
||||||
|
source ${pkgs.nix}/etc/profile.d/nix.fish
|
||||||
|
if test $(tty) = /dev/tty2
|
||||||
|
nixGLIntel Hyprland
|
||||||
end
|
end
|
||||||
'';
|
'' else "");
|
||||||
|
|
||||||
interactiveShellInit = ''
|
interactiveShellInit = ''
|
||||||
# bind ctrl+s to fg
|
# bind ctrl+s to fg
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue