media config

This commit is contained in:
Ivan Kirilov Dimitrov 2024-08-02 06:40:39 +02:00
parent 776e4cd49c
commit 588190e7b6
No known key found for this signature in database
GPG Key ID: 0BDAD4B211C49294

View File

@ -273,8 +273,7 @@ toplevel@{ moduleWithSystem, ... }: {
}; };
}; };
systemd = { enable = true; target = "sway-session.target"; }; systemd = { enable = true; target = "sway-session.target"; };
style = /* CSS */ style = ''
''
@define-color rosewater #f5e0dc; @define-color rosewater #f5e0dc;
@define-color flamingo #f2cdcd; @define-color flamingo #f2cdcd;
@define-color pink #f5c2e7; @define-color pink #f5c2e7;
@ -431,8 +430,8 @@ toplevel@{ moduleWithSystem, ... }: {
font = { package = pkgs.fira-code; name = "FiraCodeNFM-Reg"; }; font = { package = pkgs.fira-code; name = "FiraCodeNFM-Reg"; };
settings = { background_opacity = "0.90"; cursor_shape = "beam"; term = "screen-256color"; }; settings = { background_opacity = "0.90"; cursor_shape = "beam"; term = "screen-256color"; };
}; };
imv.enable = true; imv = { enable = true; settings = { options.fullscreen = true; }; };
mpv.enable = true; mpv = { enable = true; scripts = with pkgs.mpvScripts; [ uosc thumbfast ]; };
bash.profileExtra = '' [ "$(tty)" = "/dev/tty1" ] && exec sway ''; bash.profileExtra = '' [ "$(tty)" = "/dev/tty1" ] && exec sway '';
zsh.loginExtra = '' [ "$(tty)" = "/dev/tty1" ] && exec sway ''; zsh.loginExtra = '' [ "$(tty)" = "/dev/tty1" ] && exec sway '';
nushell.loginFile.text = '' if (tty) == "/dev/tty1" { sway } ''; nushell.loginFile.text = '' if (tty) == "/dev/tty1" { sway } '';