3 Commits b367d6edb8 ... c521c836fd

Author SHA1 Message Date
  Adam c521c836fd add alacritty 3 years ago
  Adam c309ac0db0 not source variables in profile 3 years ago
  Adam 7eb0bb606e output which sway to /dev/null 3 years ago
3 changed files with 5 additions and 5 deletions
  1. 1 1
      .config/fish/config.fish
  2. 3 0
      .local/bin/alacritty
  3. 1 4
      .profile

+ 1 - 1
.config/fish/config.fish

@@ -19,7 +19,7 @@ for name in (cat ~/.config/sh/functions | grep '()' | grep -v '#' | cut -d '(' -
 	end
 end
 
-if [ (tty) = "/dev/tty1" ] && which sway
+if [ (tty) = "/dev/tty1" ] && which sway >/dev/null 2>&1
 	exec sway
 end
 

+ 3 - 0
.local/bin/alacritty

@@ -0,0 +1,3 @@
+#!/bin/sh
+
+~/Code/dwd/alacritty/target/release/alacritty -e /usr/bin/fish

+ 1 - 4
.profile

@@ -1,9 +1,6 @@
 #!/bin/sh
 
-. ~/.config/sh/variables
-. ~/.config/sh/variables.`hostname`
-
-if [ "$(tty)" = "/dev/tty1" ] && which sway
+if [ "$(tty)" = "/dev/tty1" ] && which sway >/dev/null 2>&1
 then
 	exec sway
 fi