Skip to content

Commit

Permalink
Use kitty on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
simonrw committed May 22, 2024
1 parent cff2d51 commit a931484
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion home/bspwm.nix
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ in {
services.sxhkd = {
enable = true;
keybindings = {
"${mod} + Return" = "alacritty";
"${mod} + Return" = config.me.defaults.terminal;
"${mod} + c" = browser;
"${mod} + @space" = "rofi -show drun";
"${mod} + Escape" = "pkill -USR1 -x sxhkd";
Expand Down
5 changes: 4 additions & 1 deletion home/home.nix
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,10 @@ in {
vscode-theme = "Dracula";
defaults = {
browser = "firefox";
terminal = "alacritty";
terminal =
if isLinux
then "kitty"
else "alacritty";
};
is-dark-theme = true;
}
Expand Down
2 changes: 1 addition & 1 deletion home/i3.nix
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ in {
"${mod}+Ctrl+Shift+E" = "exit";

"${mod}+c" = browser-command;
"${mod}+Return" = "exec alacritty";
"${mod}+Return" = "exec ${config.me.defaults.terminal}";
"${mod}+d" = "exec ${pkgs.rofi}/bin/rofi -show drun";
"${mod}+space" = "exec ${pkgs.rofi}/bin/rofi -show drun";

Expand Down
1 change: 0 additions & 1 deletion system/nixos/astoria/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,6 @@ in {
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
alacritty
barrier
chromium
google-chrome
Expand Down

0 comments on commit a931484

Please sign in to comment.