Skip to content

Commit

Permalink
desktop: Replace alacritty with ghostty
Browse files Browse the repository at this point in the history
  • Loading branch information
juanibiapina committed Jan 10, 2025
1 parent 6825ec3 commit b55c343
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Software:
- OS: [NixOS](https://nixos.org/)
- WM: [Sway](https://swaywm.org/)
- Shell: [zsh](https://wiki.archlinux.org/title/Zsh)
- Terminal: [Alacritty](https://alacritty.org/)
- Terminal: [Ghostty](https://ghostty.org/)
- Editor: [neovim](https://neovim.io/)
- Browser: [Firefox](https://www.mozilla.org/en-US/firefox/developer/)
- File Manager: [Nautilus](https://apps.gnome.org/Nautilus/)
Expand Down
1 change: 1 addition & 0 deletions dotfiles/ghostty/.config/ghostty/config
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ confirm-close-surface = false
cursor-style-blink = false
font-family = "SauceCodePro Nerd Font"
font-size = 17
gtk-single-instance = false
mouse-hide-while-typing = true
resize-overlay = never
shell-integration = none
Expand Down
12 changes: 6 additions & 6 deletions dotfiles/sway/.config/sway/config
Original file line number Diff line number Diff line change
Expand Up @@ -54,16 +54,16 @@ workspace 12 output DP-2
# swaymsg -t get_tree

assign [app_id="^firefox-aurora$"] 1
assign [app_id="^Alacritty-Terminal$"] 2
assign [app_id="^Alacritty-DigitalGarden$"] 3
assign [app_id="^com.ghostty-terminal$"] 2
assign [app_id="^com.ghostty-digitalgarden$"] 3
assign [class="^Slack$"] 4
#assign [class="^...$"] 5
assign [app_id="^com.rtosta.zapzap$"] 6
assign [class="^Spotify$"] 7
assign [app_id="^org.keepassxc.KeePassXC$"] 8
assign [app_id="^org.gnome.Nautilus$"] 9

assign [app_id="^Alacritty-Runner$"] 12
assign [app_id="^com.ghostty-runner$"] 12

### Floating windows

Expand All @@ -85,8 +85,8 @@ for_window [class = "Godot" title = "Please Confirm..."] floating enable
### Autostart applications

set $cmd1 "firefox-developer-edition"
set $cmd2 "alacritty --class Alacritty-Terminal --hold -e zsh -l -i -c 'dev open juanibiapina/dotfiles'"
set $cmd3 "alacritty --class Alacritty-DigitalGarden --hold -e zsh -l -i -c 'dev digitalgarden'"
set $cmd2 ghostty --class=com.ghostty-terminal --wait-after-command -e zsh -l -i -c '"dev open juanibiapina/dotfiles"'
set $cmd3 ghostty --class=com.ghostty-digitalgarden --wait-after-command -e zsh -l -i -c '"dev digitalgarden"'
set $cmd4 "slack"
set $cmd5 "godot4"
set $cmd6 "zapzap"
Expand All @@ -104,7 +104,7 @@ exec $cmd7
exec $cmd8
exec $cmd9

exec "alacritty --class Alacritty-Runner --hold -e zsh -l -i -c 'dev tmux runner'"
exec ghostty --class=com.ghostty-runner --wait-after-command -e zsh -l -i -c '"dev tmux runner"'

exec dropbox
exec udiskie --tray
Expand Down

0 comments on commit b55c343

Please sign in to comment.