- Notifications
You must be signed in to change notification settings - Fork0
Foot terminal integration for Kakoune
License
kkga/foot.kak
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Addfoot.kak
to your autoload or source it manually.
foot-terminal
: creates a new foot window- alias:
terminal
- alias:
foot-terminal-popup
: creates a new foot window as popup (see below)- aliases:
terminal-popup
,popup
- aliases:
foot-terminal-panel
: creates a new foot window as panel (see below)- aliases:
terminal-panel
,panel
- aliases:
foot_normal_cmd
(string): shell command to run forfoot-terminal
- default:
footclient
- default:
foot_popup_cmd
(string): shell command to run forfoot-terminal-popup
- default:
footclient
- default:
foot_panel_cmd
(string): shell command to run forfoot-terminal-panel
- default:
footclient
- default:
foot_normal_flags
(str-list): additional foot flags forfoot_normal_cmd
- default:
''
- default:
foot_popup_flags
(str-list): additional foot flags forfoot_popup_cmd
- default:
'--app-id=popup'
- default:
foot_panel_flags
(str-list): additional foot flags forfoot_panel_cmd
- default:
'--app-id=panel'
- default:
The default configuration assumes that foot is running inserver mode and spawns new windows by runningfootclient
.
Defaultterminal-popup
andterminal-panel
commands add specificapp-id
'sto the foot window (popup
andpanel
), which can be used by a window managerfor further adjustments.
For example, inSway the following configuration can work:
exec foot --server# autostart foot serverfor_window [app_id="popup"] floatingenable# float popup windows
It's possible to override the default options to use custom commands and/orflags for spawning new windows.
To use a new foot process instead of a server client, add the following in yourkakrc
:
set-optionglobal foot_normal_cmd'foot'set-optionglobal foot_popup_cmd'foot'set-optionglobal foot_panel_cmd'foot'
To pass custom flags to foot popup windows:
set-optionglobal foot_popup_flags'--app-id=popup''-o colors.alpha=0.8'# use transparent background for popup
To use a completely different command:
set-optionglobal foot_panel_cmd'sway-panel-term'# use custom command for panelset-option -removeglobal foot_panel_flags# remove default flags
About
Foot terminal integration for Kakoune