From 5b0af20acb0484ea9738ecb014cb284cf92c9777 Mon Sep 17 00:00:00 2001 From: Tomas Rivera <137088692+Totorile1@users.noreply.github.com> Date: Thu, 5 Mar 2026 10:44:13 +0100 Subject: [PATCH] worked on some shortcuts and keybindings --- hosts/laptop/configuration.nix | 4 ++-- hosts/laptop/home.nix | 1 + modules/home-manager/hyprland.nix | 4 +++- modules/home-manager/zsh.nix | 2 +- modules/scripts/tomato.nix | 2 +- 5 files changed, 8 insertions(+), 5 deletions(-) diff --git a/hosts/laptop/configuration.nix b/hosts/laptop/configuration.nix index 66cec8e..9b65362 100755 --- a/hosts/laptop/configuration.nix +++ b/hosts/laptop/configuration.nix @@ -28,8 +28,8 @@ environment.pathsToLink = [ "/share/applications" "/share/xdg-desktop-portal" ]; - - +# removes uxterm +services.xserver.excludePackages = [ pkgs.xterm ]; # Bootloader. boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; diff --git a/hosts/laptop/home.nix b/hosts/laptop/home.nix index 004d32c..e454874 100755 --- a/hosts/laptop/home.nix +++ b/hosts/laptop/home.nix @@ -148,6 +148,7 @@ home.sessionVariables = { EDITOR = "neovim"; # Git update function # Prompts for commit message; defaults if empty + TERMINAL = "kitty"; }; diff --git a/modules/home-manager/hyprland.nix b/modules/home-manager/hyprland.nix index e4c0892..051b456 100644 --- a/modules/home-manager/hyprland.nix +++ b/modules/home-manager/hyprland.nix @@ -141,7 +141,7 @@ in ", F11, exec, hyprshot -m output" "$mod_SHIFT, S, exec, hyprshot -m region --clipboard only" # framework 16 rgb macropad - "$mod, P, exec, swaync-client -t" + #"$mod, P, exec, swaync-client -t" # bugs the SUPER key. "Ctrl+$mod, 3, exec, pavucontrol" "Ctrl+$mod, 5, exec, gnome-characters" "Ctrl+$mod, 6, exec, custom-killall" @@ -408,6 +408,8 @@ in "float,class:^(io.missioncenter.MissionCenter)$" # MissionCenter-Gtk "float,class:^(custom-librewolfprofiles)$" "size 400 175, class:^(custom-librewolfprofiles)$" +"float,initialTitle:^(custom-pomodoro)$" +"size 600 600,initialTitle:^(custom-pomodoro)$" # add a float for tomato when in kitty #"plugin:imgborders:noimgborders, tag:noborder" ]; diff --git a/modules/home-manager/zsh.nix b/modules/home-manager/zsh.nix index 4c48ee3..885ba37 100644 --- a/modules/home-manager/zsh.nix +++ b/modules/home-manager/zsh.nix @@ -24,7 +24,7 @@ custom-cat() { l = "ls -CF"; ls = "ls -hA -s --color"; cat = "custom-cat"; - pomodoro = "kitty -e 'tomato'"; + pomodoro = "custom-tomato"; librewolf = "kitty --class \"custom-librewolfprofiles\" --name \"Select LibreWolf profile\" --hold custom-librewolfprofiles"; }; }; diff --git a/modules/scripts/tomato.nix b/modules/scripts/tomato.nix index aecffb3..e1d5a67 100644 --- a/modules/scripts/tomato.nix +++ b/modules/scripts/tomato.nix @@ -9,6 +9,6 @@ writeShellApplication { tomato-c ]; text = '' -kitty -e tomato +kitty --name "custom-pomodoro" -e tomato ''; }