Wezterm pane/tab closing keys

This commit is contained in:
Daniel Flanagan 2024-04-14 10:39:38 -05:00
parent 0225aa2010
commit 39e94c820f
2 changed files with 14 additions and 4 deletions

View file

@ -105,6 +105,16 @@ config.keys = {
mods = 'CTRL|SHIFT',
action = wezterm.action.ActivateCommandPalette
},
{
key = 'w',
mods = 'CTRL|SHIFT',
action = wezterm.action.CloseCurrentPane { confirm = true },
},
{
key = 'w',
mods = 'CTRL|ALT|SHIFT',
action = wezterm.action.CloseCurrentTab { confirm = true },
},
{
key = 'l',
mods = 'CTRL|SHIFT|ALT',

View file

@ -187,10 +187,10 @@ in {
powerOnBoot = false;
};
powerManagement.cpuFreqGovernor = "ondemand";
powerManagement.resumeCommands = ''
modprobe -rv mt7921e
modprobe -v mt7921e
'';
# powerManagement.resumeCommands = ''
# modprobe -rv mt7921e
# modprobe -v mt7921e
# '';
services.power-profiles-daemon = {
enable = true;