From d11fc9ba6d75d1707aa84801e12626957fece032 Mon Sep 17 00:00:00 2001 From: Pim Kunis Date: Wed, 12 Jun 2024 23:12:04 +0200 Subject: [PATCH] Add Atuin Disable fzf Add keybindings to move panes in tmux Fix gnome move to workspace 1 keybinding Set number of gnome workspaces Enable edge tiling in gnome --- home.nix | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/home.nix b/home.nix index bce4441..d19f243 100644 --- a/home.nix +++ b/home.nix @@ -66,9 +66,14 @@ nix-direnv.enable = true; }; - fzf = { + atuin = { enable = true; - enableBashIntegration = true; + + settings = { + auto_sync = true; + sync_frequency = "5m"; + sync_address = "https://atuin.kun.is"; + }; }; zsh = { @@ -111,6 +116,14 @@ bind _ split-window -h unbind - bind - split-window -v + unbind h + bind h select-pane -L + unbind j + bind j select-pane -D + unbind k + bind k select-pane -U + unbind l + bind l select-pane -R ''; }; @@ -179,10 +192,11 @@ dconf.settings = with lib.hm.gvariant; { "org/gnome/desktop/sound".allow-volume-above-100-percent = true; - "org.gnome.desktop.wm.preferences".auto-raise = true; + "org/gnome/desktop/wm.preferences".num-workspaces = 4; + "org/gnome/mutter".edge-tiling = true; "org/gnome/shell" = { - "disable-extension-version-validation" = true; + disable-extension-version-validation = true; enabled-extensions = [ "workspace-indicator@gnome-shell-extensions.gcampax.github.com" @@ -224,7 +238,7 @@ "org/gnome/desktop/wm/keybindings" = { close = [ "q" ]; minimize = mkEmptyArray type.string; - move-to-workspace-1 = [ " 1" ]; + move-to-workspace-1 = [ "1" ]; move-to-workspace-2 = [ "2" ]; move-to-workspace-3 = [ "3" ]; move-to-workspace-4 = [ "4" ];