mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-09 22:12:56 +00:00
allow rofi-systemd to use kitty terminal
This commit is contained in:
parent
da89732001
commit
c53f1470ee
@ -10,9 +10,21 @@
|
||||
};
|
||||
|
||||
config = lib.mkIf (config.gui.enable && config.kitty.enable) {
|
||||
|
||||
# Set the Rofi-Systemd terminal for viewing logs
|
||||
environment.sessionVariables.ROFI_SYSTEMD_TERM =
|
||||
lib.mkIf pkgs.stdenv.isLinux "${pkgs.kitty}/bin/kitty";
|
||||
|
||||
home-manager.users.${config.user} = {
|
||||
# xsession.windowManager.i3.config.terminal = "kitty";
|
||||
# programs.rofi.terminal = "${pkgs.kitty}/bin/kitty";
|
||||
|
||||
# Set the i3 terminal
|
||||
xsession.windowManager.i3.config.terminal =
|
||||
lib.mkIf pkgs.stdenv.isLinux "kitty";
|
||||
|
||||
# Set the Rofi terminal for running programs
|
||||
programs.rofi.terminal =
|
||||
lib.mkIf pkgs.stdenv.isLinux "${pkgs.kitty}/bin/kitty";
|
||||
|
||||
programs.kitty = {
|
||||
enable = true;
|
||||
environment = { };
|
||||
|
@ -144,9 +144,13 @@
|
||||
|
||||
};
|
||||
|
||||
launcherCommand = "${pkgs.rofi}/bin/rofi -show run -modi run";
|
||||
launcherCommand = "${
|
||||
config.home-manager.users.${config.user}.programs.rofi.finalPackage
|
||||
}/bin/rofi -show run -modi run";
|
||||
systemdSearch = "${pkgs.rofi-systemd}/bin/rofi-systemd";
|
||||
altTabCommand = "${pkgs.rofi}/bin/rofi -show window -modi window";
|
||||
altTabCommand = "${
|
||||
config.home-manager.users.${config.user}.programs.rofi.finalPackage
|
||||
}/bin/rofi -show window -modi window";
|
||||
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user