Use mate-terminal to save battery

This commit is contained in:
Natsu Kagami 2022-10-21 13:17:07 +02:00 committed by Natsu Kagami
parent fd6df30f66
commit 6aac481e83
4 changed files with 15 additions and 8 deletions

View file

@ -80,8 +80,6 @@
"~/.local/bin" "~/.local/bin"
]; ];
nki.programs.kitty.enable = true;
# Programs # Programs
programs = { programs = {
bat = { bat = {

View file

@ -22,6 +22,9 @@ in
home.username = "nki"; home.username = "nki";
home.homeDirectory = "/home/nki"; home.homeDirectory = "/home/nki";
# No gpu terminal renderers...
programs.my-sway.terminal = "${pkgs.mate.mate-terminal}/bin/mate-terminal";
# More packages # More packages
home.packages = (with pkgs; [ home.packages = (with pkgs; [
# CLI stuff # CLI stuff
@ -29,6 +32,7 @@ in
zip zip
# TeX # TeX
texlive.combined.scheme-full texlive.combined.scheme-full
mate.mate-terminal
firefox-wayland firefox-wayland
@ -71,11 +75,11 @@ in
}; };
# Kitty # Kitty
nki.programs.kitty = { # nki.programs.kitty = {
enable = true; # enable = true;
fontSize = 22; # fontSize = 22;
enableTabs = false; # enableTabs = false;
}; # };
# Yellow light! # Yellow light!
services.wlsunset = { services.wlsunset = {

View file

@ -38,7 +38,7 @@ with lib;
enableTabs = mkOption { enableTabs = mkOption {
type = types.bool; type = types.bool;
description = "Enable tabs"; description = "Enable tabs";
default = pkgs.stdenc.isDarwin; default = pkgs.stdenv.isDarwin;
}; };
}; };

View file

@ -127,8 +127,13 @@
## Wayland ## Wayland
qt5.qtwayland qt5.qtwayland
## Drivers...?
libimobiledevice
]; ];
services.usbmuxd.enable = true;
# Enable sway on login. # Enable sway on login.
environment.loginShellInit = '' environment.loginShellInit = ''
if [ -z $DISPLAY ] && [ "$(tty)" = "/dev/tty1" ]; then if [ -z $DISPLAY ] && [ "$(tty)" = "/dev/tty1" ]; then