mirror of
https://github.com/nmasur/dotfiles
synced 2026-09-09 00:06:08 +00:00
remove zellij-switch
This commit is contained in:
@@ -41,8 +41,6 @@ in
|
|||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
|
|
||||||
home.packages = [ pkgs.zellij-switch ];
|
|
||||||
|
|
||||||
programs.fish = {
|
programs.fish = {
|
||||||
shellAbbrs.z = "zellij";
|
shellAbbrs.z = "zellij";
|
||||||
functions = {
|
functions = {
|
||||||
@@ -170,19 +168,23 @@ in
|
|||||||
keybinds = {
|
keybinds = {
|
||||||
locked = lib.mkIf (pkgs.stdenv.hostPlatform.isLinux && !config.programs.ghostty.enable) {
|
locked = lib.mkIf (pkgs.stdenv.hostPlatform.isLinux && !config.programs.ghostty.enable) {
|
||||||
# For servers that I SSH into, use c-a-G to unlock
|
# For servers that I SSH into, use c-a-G to unlock
|
||||||
"bind \"Ctrl Alt G\"" = lib.mkIf (pkgs.stdenv.hostPlatform.isLinux && !config.programs.ghostty.enable) {
|
"bind \"Ctrl Alt G\"" =
|
||||||
SwitchToMode = {
|
lib.mkIf (pkgs.stdenv.hostPlatform.isLinux && !config.programs.ghostty.enable)
|
||||||
_args = [ "normal" ];
|
{
|
||||||
};
|
SwitchToMode = {
|
||||||
};
|
_args = [ "normal" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
normal = lib.mkIf (pkgs.stdenv.hostPlatform.isLinux && !config.programs.ghostty.enable) {
|
normal = lib.mkIf (pkgs.stdenv.hostPlatform.isLinux && !config.programs.ghostty.enable) {
|
||||||
# For servers that I SSH into, use c-a-G to lock
|
# For servers that I SSH into, use c-a-G to lock
|
||||||
"bind \"Ctrl Alt G\"" = lib.mkIf (pkgs.stdenv.hostPlatform.isLinux && !config.programs.ghostty.enable) {
|
"bind \"Ctrl Alt G\"" =
|
||||||
SwitchToMode = {
|
lib.mkIf (pkgs.stdenv.hostPlatform.isLinux && !config.programs.ghostty.enable)
|
||||||
_args = [ "locked" ];
|
{
|
||||||
};
|
SwitchToMode = {
|
||||||
};
|
_args = [ "locked" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
session = {
|
session = {
|
||||||
"bind \"w\"" = {
|
"bind \"w\"" = {
|
||||||
|
|||||||
Reference in New Issue
Block a user