Update alacritty conf

This commit is contained in:
Vili Sinervä 2024-12-10 20:59:08 +02:00
parent 058753122c
commit cf1018d78d
No known key found for this signature in database
GPG key ID: DF8FEAF54EFAC996
2 changed files with 17 additions and 2 deletions

View file

@ -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"},
]
''

View file

@ -88,7 +88,6 @@ pkgs.writeText "i3-conf" ''
bindcode 233 exec --no-startup-id brightnessctl set 5%+ bindcode 233 exec --no-startup-id brightnessctl set 5%+
bindsym $mod+Return exec "alacritty --config-file ${alacritty-conf}" 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+d exec --no-startup-id "rofi -theme 'Arc-Dark' -show combi -combi-modes 'run' -modes combi"
bindsym $mod+Shift+p mode "$mode_system" bindsym $mod+Shift+p mode "$mode_system"