This commit is contained in:
2024-11-02 17:45:43 +01:00
parent d52099bbb9
commit 05c5cf81bf
20 changed files with 212 additions and 125 deletions

View File

@@ -3,10 +3,7 @@
source $HOME/dotfiles/bin/helpers/functions.sh
# Print logo
tput setaf 2
cat $HOME/dotfiles/bin/resources/logo.txt
println " " "cyan"
tput sgr0
echo "Menno's Dotfiles" | figlet | lolcat
# Print help
cat $HOME/dotfiles/bin/resources/help.txt

View File

@@ -1,17 +0,0 @@
#!/usr/bin/env bash
source $HOME/dotfiles/bin/helpers/functions.sh
# Kill any running swhkd and swhks processes
if pgrep -x "swhkd" > /dev/null; then
printfe "%s\n" "yellow" "swhkd is running, killing it..."
sudo pkill swhkd
fi
if pgrep -x "swhks" > /dev/null; then
printfe "%s\n" "yellow" "swhks is running, killing it..."
sudo pkill swhks
fi
printfe "%s\n" "green" "Starting hotkey daemon..."
swhks & pkexec swhkd -c ~/.config/swhkdrc

View File

@@ -1,21 +0,0 @@
#!/usr/bin/env bash
source $HOME/dotfiles/bin/helpers/functions.sh
source $HOME/dotfiles/bin/helpers/pipx_packages.sh
source $HOME/dotfiles/bin/helpers/cargo_packages.sh
source $HOME/dotfiles/bin/helpers/flatpak_packages.sh
source $HOME/dotfiles/bin/helpers/fonts.sh
# Check if parameter --verbose was passed
if [ "$2" = "--verbose" ]; then
verbose=true
else
verbose=false
fi
echo -e "\n"
print_fonts_status
print_pipx_status
print_cargo_status
print_flatpak_status

View File

@@ -260,6 +260,10 @@ else
--home-manager)
homemanager
;;
--nix)
sys_packages
homemanager
;;
--git)
git_repos
;;

View File

@@ -54,10 +54,6 @@ case $1 in
logo continue
push $@
;;
"status")
logo continue
status $@
;;
"help"|"--help"|"")
help $@
;;

View File

@@ -15,10 +15,7 @@ is_wsl() {
}
logo() {
tput setaf 2
cat $HOME/dotfiles/bin/resources/logo.txt
println " " "cyan"
tput sgr0
echo "Menno's Dotfiles" | figlet | lolcat
# Print if repo is dirty and the count of untracked files, modified files and staged files
if [[ $(git -C ~/dotfiles status --porcelain) ]]; then

View File

@@ -1,7 +0,0 @@
_ ___ _ __ _ _
/\/\ ___ _ __ _ __ ___( )__ / \___ | |_ / _(_) | ___ ___
/ \ / _ \ '_ \| '_ \ / _ \/ __| / /\ / _ \| __| |_| | |/ _ \/ __|
/ /\/\ \ __/ | | | | | | (_) \__ \ / /_// (_) | |_| _| | | __/\__ \
\/ \/\___|_| |_|_| |_|\___/|___/ /___,' \___/ \__|_| |_|_|\___||___/