Skip to content

Commit

Permalink
feat(alacritty): create tmux_alacritty wrapper
Browse files Browse the repository at this point in the history
This script will launch Alacritty with a custom X window class and
attach to the default tmux session.
  • Loading branch information
eliasnorrby committed Nov 23, 2020
1 parent eec2ca1 commit 622c9f1
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
3 changes: 3 additions & 0 deletions shell/alacritty/tmux_alacritty.sh
@@ -0,0 +1,3 @@
#!/bin/sh

alacritty --class TmuxAlacritty,TmuxAlacritty -e zsh -i -c ta
3 changes: 3 additions & 0 deletions shell/alacritty/topic.config.yml
Expand Up @@ -3,6 +3,9 @@ alacritty_config:
path: shell/alacritty
links:
- alacritty.yml
- src: tmux_alacritty.sh
dest: "{{ xdg_bin_home }}/"
rename: tmux_alacritty
brew_casks:
- alacritty
pacman_packages:
Expand Down
1 change: 1 addition & 0 deletions wm/bspwm/bspwmrc
Expand Up @@ -26,6 +26,7 @@ bspc config gapless_monocle true

bspc rule -a Gimp desktop='^8' state=floating follow=on
bspc rule -a Chromium desktop='^2'
bspc rule -a tmux_alacritty desktop='^5'
bspc rule -a mplayer2 state=floating
bspc rule -a Kupfer.py focus=on
bspc rule -a Screenkey manage=off
Expand Down
3 changes: 2 additions & 1 deletion wm/picom/picom.conf
Expand Up @@ -25,7 +25,8 @@ fade-out-step = 0.06;
#################################

opacity-rule = [
"90:class_g = 'Alacritty'"
"90:class_g = 'Alacritty'",
"90:class_g = 'TmuxAlacritty'"
];

frame-opacity = 0.7;
Expand Down

0 comments on commit 622c9f1

Please sign in to comment.