From b4508111aff9372fffd68b93c61a69a87c5ca6a5 Mon Sep 17 00:00:00 2001 From: Simon Cornet Date: Sun, 24 Mar 2024 20:57:01 +0100 Subject: [PATCH] [repo] small reorganisation hyprland scripts --- {hyprland => apps/hyprland}/centre_app.sh | 0 {hyprland => apps/hyprland}/monitor.sh | 0 {hyprland => apps/hyprland}/nmtui.sh | 0 .../hyprland}/startup/nextcloud_desktop.sh | 0 {hyprland => apps/hyprland}/startup/solaar.sh | 0 nix/home/hyprland/hyprland-bindings.nix | 2 +- nix/home/hyprland/hyprland-execution.nix | 20 +++++++++---------- 7 files changed, 11 insertions(+), 11 deletions(-) rename {hyprland => apps/hyprland}/centre_app.sh (100%) rename {hyprland => apps/hyprland}/monitor.sh (100%) rename {hyprland => apps/hyprland}/nmtui.sh (100%) rename {hyprland => apps/hyprland}/startup/nextcloud_desktop.sh (100%) rename {hyprland => apps/hyprland}/startup/solaar.sh (100%) diff --git a/hyprland/centre_app.sh b/apps/hyprland/centre_app.sh similarity index 100% rename from hyprland/centre_app.sh rename to apps/hyprland/centre_app.sh diff --git a/hyprland/monitor.sh b/apps/hyprland/monitor.sh similarity index 100% rename from hyprland/monitor.sh rename to apps/hyprland/monitor.sh diff --git a/hyprland/nmtui.sh b/apps/hyprland/nmtui.sh similarity index 100% rename from hyprland/nmtui.sh rename to apps/hyprland/nmtui.sh diff --git a/hyprland/startup/nextcloud_desktop.sh b/apps/hyprland/startup/nextcloud_desktop.sh similarity index 100% rename from hyprland/startup/nextcloud_desktop.sh rename to apps/hyprland/startup/nextcloud_desktop.sh diff --git a/hyprland/startup/solaar.sh b/apps/hyprland/startup/solaar.sh similarity index 100% rename from hyprland/startup/solaar.sh rename to apps/hyprland/startup/solaar.sh diff --git a/nix/home/hyprland/hyprland-bindings.nix b/nix/home/hyprland/hyprland-bindings.nix index 1bc7d98..652a959 100644 --- a/nix/home/hyprland/hyprland-bindings.nix +++ b/nix/home/hyprland/hyprland-bindings.nix @@ -20,7 +20,7 @@ bind = $mainMod, J, togglesplit bind = $mainMod, K, exec, alacritty --class scratchbox bind = $mainMod, M, exit, - bind = $mainMod, N, exec, alacritty --class nmtui --command ~/.dotfiles/hyprland/nmtui.sh + bind = $mainMod, N, exec, alacritty --class nmtui --command ~/.dotfiles/apps/hyprland/nmtui.sh bind = $mainMod, P, pseudo bind = $mainMod, Q, killactive bind = $mainMod, S, exec, ~/.dotfiles/apps/screenshot/screenshot.sh area diff --git a/nix/home/hyprland/hyprland-execution.nix b/nix/home/hyprland/hyprland-execution.nix index be42976..5ce1252 100644 --- a/nix/home/hyprland/hyprland-execution.nix +++ b/nix/home/hyprland/hyprland-execution.nix @@ -7,7 +7,7 @@ exec = ~/.dotfiles/apps/waybar/startup.sh # set monitor workspaces - exec = ~/.dotfiles/hyprland/monitor.sh + exec = ~/.dotfiles/apps/hyprland/monitor.sh # start tailscale exec-once = tailscale up @@ -26,19 +26,19 @@ exec-once = wpctl set-volume @DEFAULT_AUDIO_SINK@ 80% # solaar - exec-once = ~/.dotfiles/hyprland/startup/solaar.sh + exec-once = ~/.dotfiles/apps/hyprland/startup/solaar.sh # nextcloud desktop - exec-once = ~/.dotfiles/hyprland/startup/nextcloud_desktop.sh + exec-once = ~/.dotfiles/apps/hyprland/startup/nextcloud_desktop.sh # center apps - exec = ~/.dotfiles/hyprland/centre_app.sh --class "solaar" --title "solaar" - exec = ~/.dotfiles/hyprland/centre_app.sh --class "nostt" --title "Alacritty" - exec = ~/.dotfiles/hyprland/centre_app.sh --class "nmtui" --title "Alacritty" - exec = ~/.dotfiles/hyprland/centre_app.sh --class "Rofi" --title "rofi -  Apps" - exec = ~/.dotfiles/hyprland/centre_app.sh --class "scratchbox" --title "Alacritty" - exec = ~/.dotfiles/hyprland/centre_app.sh --class "blueman-manager" --title "Bluetooth Devices" - exec = ~/.dotfiles/hyprland/centre_app.sh --class "com.gabm.satty" --title "satty" + exec = ~/.dotfiles/apps/hyprland/centre_app.sh --class "solaar" --title "solaar" + exec = ~/.dotfiles/apps/hyprland/centre_app.sh --class "nostt" --title "Alacritty" + exec = ~/.dotfiles/apps/hyprland/centre_app.sh --class "nmtui" --title "Alacritty" + exec = ~/.dotfiles/apps/hyprland/centre_app.sh --class "Rofi" --title "rofi -  Apps" + exec = ~/.dotfiles/apps/hyprland/centre_app.sh --class "scratchbox" --title "Alacritty" + exec = ~/.dotfiles/apps/hyprland/centre_app.sh --class "blueman-manager" --title "Bluetooth Devices" + exec = ~/.dotfiles/apps/hyprland/centre_app.sh --class "com.gabm.satty" --title "satty" # start default apps exec-once = [workspace 1 silent] bitwarden