From a855bc4c62627fda5cd19634e592bc699e153e18 Mon Sep 17 00:00:00 2001 From: Matt Nish-Lapidus Date: Mon, 14 Jul 2025 19:47:00 -0400 Subject: [PATCH] moving shell scripts --- homes/emenel/default.nix | 6 +----- modules/home/niri.nix | 2 +- modules/home/shell-conf.nix | 6 ++++++ .../home/shell-conf/scripts}/dim-all-monitors | 0 .../home/shell-conf/scripts}/launch-default-apps | 0 .../home/shell-conf/scripts}/lock-power-off-monitors | 0 .../bin => modules/home/shell-conf/scripts}/lock-suspend | 0 .../bin => modules/home/shell-conf/scripts}/mirror-laptop | 0 .../home/shell-conf/scripts}/niri-delayed-launch-at-startup | 0 .../home/shell-conf/scripts}/niri-screenshot-window | 0 .../bin => modules/home/shell-conf/scripts}/on-unlock | 0 .../dot_local/bin => modules/home/shell-conf/scripts}/piku | 0 .../bin => modules/home/shell-conf/scripts}/reaper | 0 .../bin => modules/home/shell-conf/scripts}/wezapp | 0 .../bin => modules/home/shell-conf/scripts}/wezappfloat | 0 .../bin => modules/home/shell-conf/scripts}/wezlauncher | 0 16 files changed, 8 insertions(+), 6 deletions(-) rename {homes/emenel/dotfiles/dot_local/bin => modules/home/shell-conf/scripts}/dim-all-monitors (100%) rename {homes/emenel/dotfiles/dot_local/bin => modules/home/shell-conf/scripts}/launch-default-apps (100%) rename {homes/emenel/dotfiles/dot_local/bin => modules/home/shell-conf/scripts}/lock-power-off-monitors (100%) rename {homes/emenel/dotfiles/dot_local/bin => modules/home/shell-conf/scripts}/lock-suspend (100%) rename {homes/emenel/dotfiles/dot_local/bin => modules/home/shell-conf/scripts}/mirror-laptop (100%) rename {homes/emenel/dotfiles/dot_local/bin => modules/home/shell-conf/scripts}/niri-delayed-launch-at-startup (100%) rename {homes/emenel/dotfiles/dot_local/bin => modules/home/shell-conf/scripts}/niri-screenshot-window (100%) rename {homes/emenel/dotfiles/dot_local/bin => modules/home/shell-conf/scripts}/on-unlock (100%) rename {homes/emenel/dotfiles/dot_local/bin => modules/home/shell-conf/scripts}/piku (100%) rename {homes/emenel/dotfiles/dot_local/bin => modules/home/shell-conf/scripts}/reaper (100%) rename {homes/emenel/dotfiles/dot_local/bin => modules/home/shell-conf/scripts}/wezapp (100%) rename {homes/emenel/dotfiles/dot_local/bin => modules/home/shell-conf/scripts}/wezappfloat (100%) rename {homes/emenel/dotfiles/dot_local/bin => modules/home/shell-conf/scripts}/wezlauncher (100%) diff --git a/homes/emenel/default.nix b/homes/emenel/default.nix index 89ee33e..c245404 100644 --- a/homes/emenel/default.nix +++ b/homes/emenel/default.nix @@ -1,4 +1,4 @@ -{ nix-config, config, lib, pkgs, inputs, ... }:{ +{ nix-config, lib, pkgs, inputs, ... }:{ imports = with nix-config.homeModules; [ git-conf @@ -67,10 +67,6 @@ file = { ".signature".source = ./dotfiles/dot_signature; - ".local/bin" = { - source = ./dotfiles/dot_local/bin; - recursive = true; - }; ".ssh/config".source = ./dotfiles/dot_ssh/config; }; diff --git a/modules/home/niri.nix b/modules/home/niri.nix index bb33995..76cc606 100644 --- a/modules/home/niri.nix +++ b/modules/home/niri.nix @@ -309,7 +309,7 @@ in }; "${app-prefix}+G" = { hotkey-overlay.title = "Dirvish"; - action = spawn ""; + action = wezlaunch "dirvish"; }; "${app-prefix}+F" = { hotkey-overlay.title = "Yazi"; diff --git a/modules/home/shell-conf.nix b/modules/home/shell-conf.nix index cff65ff..f276b93 100644 --- a/modules/home/shell-conf.nix +++ b/modules/home/shell-conf.nix @@ -186,6 +186,12 @@ }; }; + ".local/bin" = { + source = ./shell-conf/scripts; + recursive = true; + }; + + xdg.configFile."starship.toml".source = ./shell-conf/starship/starship.toml; xdg.configFile."wezterm" = { recursive = true; diff --git a/homes/emenel/dotfiles/dot_local/bin/dim-all-monitors b/modules/home/shell-conf/scripts/dim-all-monitors similarity index 100% rename from homes/emenel/dotfiles/dot_local/bin/dim-all-monitors rename to modules/home/shell-conf/scripts/dim-all-monitors diff --git a/homes/emenel/dotfiles/dot_local/bin/launch-default-apps b/modules/home/shell-conf/scripts/launch-default-apps similarity index 100% rename from homes/emenel/dotfiles/dot_local/bin/launch-default-apps rename to modules/home/shell-conf/scripts/launch-default-apps diff --git a/homes/emenel/dotfiles/dot_local/bin/lock-power-off-monitors b/modules/home/shell-conf/scripts/lock-power-off-monitors similarity index 100% rename from homes/emenel/dotfiles/dot_local/bin/lock-power-off-monitors rename to modules/home/shell-conf/scripts/lock-power-off-monitors diff --git a/homes/emenel/dotfiles/dot_local/bin/lock-suspend b/modules/home/shell-conf/scripts/lock-suspend similarity index 100% rename from homes/emenel/dotfiles/dot_local/bin/lock-suspend rename to modules/home/shell-conf/scripts/lock-suspend diff --git a/homes/emenel/dotfiles/dot_local/bin/mirror-laptop b/modules/home/shell-conf/scripts/mirror-laptop similarity index 100% rename from homes/emenel/dotfiles/dot_local/bin/mirror-laptop rename to modules/home/shell-conf/scripts/mirror-laptop diff --git a/homes/emenel/dotfiles/dot_local/bin/niri-delayed-launch-at-startup b/modules/home/shell-conf/scripts/niri-delayed-launch-at-startup similarity index 100% rename from homes/emenel/dotfiles/dot_local/bin/niri-delayed-launch-at-startup rename to modules/home/shell-conf/scripts/niri-delayed-launch-at-startup diff --git a/homes/emenel/dotfiles/dot_local/bin/niri-screenshot-window b/modules/home/shell-conf/scripts/niri-screenshot-window similarity index 100% rename from homes/emenel/dotfiles/dot_local/bin/niri-screenshot-window rename to modules/home/shell-conf/scripts/niri-screenshot-window diff --git a/homes/emenel/dotfiles/dot_local/bin/on-unlock b/modules/home/shell-conf/scripts/on-unlock similarity index 100% rename from homes/emenel/dotfiles/dot_local/bin/on-unlock rename to modules/home/shell-conf/scripts/on-unlock diff --git a/homes/emenel/dotfiles/dot_local/bin/piku b/modules/home/shell-conf/scripts/piku similarity index 100% rename from homes/emenel/dotfiles/dot_local/bin/piku rename to modules/home/shell-conf/scripts/piku diff --git a/homes/emenel/dotfiles/dot_local/bin/reaper b/modules/home/shell-conf/scripts/reaper similarity index 100% rename from homes/emenel/dotfiles/dot_local/bin/reaper rename to modules/home/shell-conf/scripts/reaper diff --git a/homes/emenel/dotfiles/dot_local/bin/wezapp b/modules/home/shell-conf/scripts/wezapp similarity index 100% rename from homes/emenel/dotfiles/dot_local/bin/wezapp rename to modules/home/shell-conf/scripts/wezapp diff --git a/homes/emenel/dotfiles/dot_local/bin/wezappfloat b/modules/home/shell-conf/scripts/wezappfloat similarity index 100% rename from homes/emenel/dotfiles/dot_local/bin/wezappfloat rename to modules/home/shell-conf/scripts/wezappfloat diff --git a/homes/emenel/dotfiles/dot_local/bin/wezlauncher b/modules/home/shell-conf/scripts/wezlauncher similarity index 100% rename from homes/emenel/dotfiles/dot_local/bin/wezlauncher rename to modules/home/shell-conf/scripts/wezlauncher