Skip to content

Commit

Permalink
Use wezterm as the default terminal emulator
Browse files Browse the repository at this point in the history
  • Loading branch information
hankertrix committed Nov 1, 2024
1 parent e9e7096 commit f583a1c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
9 changes: 6 additions & 3 deletions .config/i3/config
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ font pango: Noto Sans Regular 10
# set the mod key to the winkey:
set $mod Mod4

# set the terminal emulator to use:
set $terminal wezterm

#####################
# workspace layout: #
#####################
Expand Down Expand Up @@ -171,7 +174,7 @@ bindcode $mod+Shift+90 move container to workspace $ws10
######################################

# start a terminal
bindsym $mod+space exec kitty
bindsym $mod+space exec $terminal

# kill focused window
bindsym $mod+q kill
Expand Down Expand Up @@ -333,7 +336,7 @@ set $ws10 "10:󰓓   "
#workspace $ws5 output HDMI-0

# bind program to workspace and focus to them on startup:
assign [class="kitty"] $ws1
assign [class="$terminal"] $ws1
assign [class="(?i)firefox"] $ws2
assign [class="Emacs"] $ws3
assign [class="Thunar"] $ws4
Expand All @@ -342,7 +345,7 @@ assign [class="steam"] $ws10
# assign [class="TelegramDesktop"] $ws6

# automatic set focus new window if it opens on another workspace than the current:
for_window [class=kitty] focus
for_window [class=$terminal] focus
for_window [class=(?i)firefox] focus
for_window [class=Emacs] focus
for_window [class=Thunar] focus
Expand Down
6 changes: 3 additions & 3 deletions .profile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

# Use kitty as the default terminal
export TERM=xterm-kitty
export TERMINAL=kitty
# Set the default terminal
export TERM=xterm-256color
export TERMINAL=wezterm

# Use Firefox as the default browser
export BROWSER=firefox
Expand Down

0 comments on commit f583a1c

Please sign in to comment.