commit d2412943cb6a34b5d58ef042fa53ddb3cc17e634
parent 49261c9a973f5e138a5db22064b29f744c683388
Author: Vincent Demeester <vincent@sbr.pm>
Date: Tue, 18 Sep 2018 14:44:29 +0200
Fix alacritty and i3 combo
- Use `--class` for alacritty scratch window
- Fix config by removing floating point x/y
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/i3.nix b/i3.nix
@@ -130,7 +130,7 @@
assign [class="Firefox" window_role="browser"] → $WS1
## quick terminal (tmux)
- exec --no-startup-id alacritty --title metask --command tmux
+ exec --no-startup-id alacritty --title metask --class metask --command tmux
for_window [instance="metask"] floating enable;
for_window [instance="metask"] move scratchpad; [instance="metask"] scratchpad show; move position 0px 0px; move scratchpad
bindcode $mod+49 [instance="metask"] scratchpad show
diff --git a/xorg/alacritty.yml b/xorg/alacritty.yml
@@ -25,11 +25,11 @@ font:
family: Fira Code
size: 11.0
offset:
- x: 0.0
- y: 0.0
+ x: 0
+ y: 0
glyph_offset:
- x: 0.0
- y: 0.0
+ x: 0
+ y: 0
use_thin_strokes: true
render_timer: false