From 683e03eab2f7032748f3863f6932d793e282335c Mon Sep 17 00:00:00 2001 From: Hyperling Date: Mon, 10 Nov 2025 21:37:25 -0700 Subject: [PATCH] Move function files to their own folder. Move the copy to General from Workstation. Leave dwm-status function under Workstation. --- files/{dwm => functions}/battery.function | 0 files/{dwm => functions}/storage.function | 0 files/{dwm => functions}/volume.function | 0 tasks/general/acct_mgmt/users.yml | 10 ++++++++++ tasks/workstation/shared/software/dwm.yml | 4 ++-- 5 files changed, 12 insertions(+), 2 deletions(-) rename files/{dwm => functions}/battery.function (100%) rename files/{dwm => functions}/storage.function (100%) rename files/{dwm => functions}/volume.function (100%) diff --git a/files/dwm/battery.function b/files/functions/battery.function similarity index 100% rename from files/dwm/battery.function rename to files/functions/battery.function diff --git a/files/dwm/storage.function b/files/functions/storage.function similarity index 100% rename from files/dwm/storage.function rename to files/functions/storage.function diff --git a/files/dwm/volume.function b/files/functions/volume.function similarity index 100% rename from files/dwm/volume.function rename to files/functions/volume.function diff --git a/tasks/general/acct_mgmt/users.yml b/tasks/general/acct_mgmt/users.yml index 4d69484..0568c7b 100644 --- a/tasks/general/acct_mgmt/users.yml +++ b/tasks/general/acct_mgmt/users.yml @@ -1173,3 +1173,13 @@ - .bashrc - .zshrc - .vimrc + +- name: General | Account Management | Users | Files | Helper Functions + copy: + src: "{{ item }}" + dest: "{{ global_bin }}" + owner: root + group: "{{ root_group }}" + mode: 0755 + with_fileglob: + - "functions/*.function" diff --git a/tasks/workstation/shared/software/dwm.yml b/tasks/workstation/shared/software/dwm.yml index c015a83..1e5d77d 100644 --- a/tasks/workstation/shared/software/dwm.yml +++ b/tasks/workstation/shared/software/dwm.yml @@ -80,9 +80,9 @@ mode: 0644 -## Helper Functions for Status Bar ## +## Status Bar ## -- name: Workstation | Linux | Software | DWM | Status Bar Functions +- name: Workstation | Linux | Software | DWM | Status Bar Function copy: src: "{{ item }}" dest: "{{ global_bin }}"