Nothing ever works on the first commit

This commit is contained in:
Cameron Reed 2024-02-05 23:40:43 -07:00
parent f32658c636
commit 049c9396a2
6 changed files with 10 additions and 6 deletions

View File

@ -2,7 +2,7 @@
{ {
programs.alacritty = { programs.alacritty = {
enable = config.term == "alacritty"; enable = (config.term == "alacritty");
settings = { settings = {
window = { window = {
@ -10,13 +10,13 @@
dynamic_padding = true; dynamic_padding = true;
}; };
"colors.primary" = { colors.primary = {
foreground = "#cccccc"; foreground = "#cccccc";
background = "#333333"; background = "#333333";
}; };
cursor = { cursor = {
"style.blinking" = "On"; style.blinking = "On";
blink_interval = 500; blink_interval = 500;
blink_timeout = 15; blink_timeout = 15;
}; };

View File

@ -121,7 +121,7 @@
]; ];
bind = [ bind = [
"$mod, Return, exec, ${config.runInTerm} ${pkgs.tmux}" "$mod, Return, exec, ${config.runInTerm} ${pkgs.tmux}/bin/tmux"
"$mod, B, exec, $browser" "$mod, B, exec, $browser"
"$mod, E, killactive," "$mod, E, killactive,"
"$mod, Q, exec, hyprctl kill" "$mod, Q, exec, hyprctl kill"

View File

@ -2,7 +2,7 @@
{ {
programs.kitty = { programs.kitty = {
enable = config.term == "kitty"; enable = (config.term == "kitty");
settings = { settings = {
background = "#333333"; background = "#333333";

View File

@ -53,7 +53,7 @@
menu = config.wayland.windowManager.sway.config.menu; menu = config.wayland.windowManager.sway.config.menu;
in lib.mkOptionDefault { in lib.mkOptionDefault {
"${mod}+c" = "mark --toggle caffeine"; "${mod}+c" = "mark --toggle caffeine";
"${mod}+Return" = "exec ${config.runInTerm} ${pkgs.tmux}"; "${mod}+Return" = "exec ${config.runInTerm} ${pkgs.tmux}/bin/tmux";
"${mod}+n" = "exec ${pkgs.firefox}/bin/firefox"; "${mod}+n" = "exec ${pkgs.firefox}/bin/firefox";
"${mod}+d" = "exec pkill wmenu || ${menu}"; "${mod}+d" = "exec pkill wmenu || ${menu}";
"${mod}+Shift+q" = "kill"; "${mod}+Shift+q" = "kill";

View File

@ -8,6 +8,8 @@
keyMode = "vi"; keyMode = "vi";
mouse = true; mouse = true;
sensibleOnTop = false;
extraConfig = '' extraConfig = ''
set -g prefix C-a set -g prefix C-a
set -g prefix2 C-k set -g prefix2 C-k

View File

@ -31,4 +31,6 @@
home.packages = with pkgs; [ home.packages = with pkgs; [
eza eza
]; ];
term = "alacritty";
} }