Change the default terminal to [Foot terminal](https://codeberg.org/dnkl/foot), a Wayland-first terminal which is the default for the Sway project. Compared to xfce4-terminal, Foot is faster and more lightweight (both in size and resource usage). It also has native Sixel support, which allows rendering images in the terminal.

I have added a foot.ini which preserves the color scheme that had been set up on xfce4-terminal (with the purple background and transparency), except using the Material color scheme for terminal fonts. The bright colors of the fonts look good on the purple, and are easier to read than the old font colors.

Other changes in this PR:
* Add foot to package lists; remove xfce4-terminal
* Autostart foot-server in Sway config
* Change default terminal in Sway config
* Change Waybar on-click actions to use footclient instead of xfce4-terminal
* Update cheatsheet, keyhint files
* Update Wofi, Thunar configs to use footclient instead of xfce4-terminal
This commit is contained in:
BluishHumility
2024-07-29 22:17:44 -04:00
parent 4f8c150510
commit 24888b484b
13 changed files with 213 additions and 128 deletions

View File

@@ -23,12 +23,9 @@
MOD key is set to the WINKEY/LINKEY
# start floating xfce4-terminal
# Launch the terminal
MOD+Return
# start fixed termite-terminal
MOD+Shift+Return
# kill focused window
MOD+q

View File

@@ -40,8 +40,8 @@ for_window [title="File Operation Progress"] floating enable, border pixel 1, st
for_window [app_id="firefox" title="^Library$"] floating enable, border pixel 1, sticky enable, resize set width 40 ppt height 30 ppt
for_window [app_id="floating_shell_portrait"] floating enable, border pixel 1, sticky enable, resize set width 30 ppt height 40 ppt
for_window [title="Picture in picture"] floating enable, sticky enable
for_window [title="nmtui"] floating enable, resize set width 50 ppt height 70 ppt
for_window [title="htop"] floating enable, resize set width 50 ppt height 70 ppt
for_window [title="waybar_htop"] floating enable, resize set width 70 ppt height 70 ppt
for_window [title="waybar_nmtui"] floating enable
for_window [app_id="xsensors"] floating enable
for_window [title="Save File"] floating enable
for_window [app_id="firefox" title="Firefox — Sharing Indicator"] kill

View File

@@ -15,8 +15,11 @@ set $volume_up $(pactl set-sink-volume @DEFAULT_SINK@ +5% && $sink_volume)
set $volume_mute $(pactl set-sink-mute @DEFAULT_SINK@ toggle && pactl get-sink-mute @DEFAULT_SINK@ | sed -En "/no/ s/.*/$($sink_volume)/p; /yes/ s/.*/0/p")
set $mic_mute $(pactl set-source-mute @DEFAULT_SOURCE@ toggle && pactl get-source-mute @DEFAULT_SOURCE@ | sed -En "/no/ s/.*/$($source_volume)/p; /yes/ s/.*/0/p")
# Your preferred terminal emulators
set $term-float xfce4-terminal
# Start foot server
exec_always --no-startup-id foot --server
# Set default terminal emulator
set $term footclient
# Your preferred application launcher
# Note: pass the final command to swaymsg so that the resulting window can be opened
@@ -42,8 +45,8 @@ exec swayidle -w\
#
# Basics:
#
# Start a floating terminal
bindsym $mod+Return exec $term-float
# Launch the terminal
bindsym $mod+Return exec $term
# Open the power menu
bindsym $mod+Shift+e exec $powermenu