diff --git a/program-config-files/alacritty.nix b/program-config-files/alacritty.nix index 22a026e..5c77e67 100644 --- a/program-config-files/alacritty.nix +++ b/program-config-files/alacritty.nix @@ -1 +1,17 @@ -{ config, pkgs, ... }: pkgs.writeText "alacritty-conf" '''' +{ config, pkgs, ... }: +pkgs.writeText "alacritty-conf" '' + [font] + size = 16 + + [cursor] + shape = "Beam" + blinking = "On" + + [keyboard] + bindings = [ + {key = "-", mods = "Super", action = "DecreaseFontSize"}, + {key = "+", mods = "Super", action = "IncreaseFontSize"}, + {key = "=", mods = "Super", action = "ResetFontSize"}, + {key = "Enter", mods = "Super | Shift", action = "SpawnNewInstance"}, + ] +'' diff --git a/program-config-files/i3.nix b/program-config-files/i3.nix index 8f32321..1cf990d 100644 --- a/program-config-files/i3.nix +++ b/program-config-files/i3.nix @@ -88,7 +88,6 @@ pkgs.writeText "i3-conf" '' bindcode 233 exec --no-startup-id brightnessctl set 5%+ bindsym $mod+Return exec "alacritty --config-file ${alacritty-conf}" - bindsym $mod+Shift+Return exec "alacritty --config-file ${alacritty-conf} --working-directory $PWD" bindsym $mod+d exec --no-startup-id "rofi -theme 'Arc-Dark' -show combi -combi-modes 'run' -modes combi" bindsym $mod+Shift+p mode "$mode_system"