wip
This commit is contained in:
@@ -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
|
||||
|
@@ -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
|
@@ -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
|
@@ -260,6 +260,10 @@ else
|
||||
--home-manager)
|
||||
homemanager
|
||||
;;
|
||||
--nix)
|
||||
sys_packages
|
||||
homemanager
|
||||
;;
|
||||
--git)
|
||||
git_repos
|
||||
;;
|
||||
|
4
bin/dotf
4
bin/dotf
@@ -54,10 +54,6 @@ case $1 in
|
||||
logo continue
|
||||
push $@
|
||||
;;
|
||||
"status")
|
||||
logo continue
|
||||
status $@
|
||||
;;
|
||||
"help"|"--help"|"")
|
||||
help $@
|
||||
;;
|
||||
|
@@ -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
|
||||
|
@@ -1,7 +0,0 @@
|
||||
|
||||
_ ___ _ __ _ _
|
||||
/\/\ ___ _ __ _ __ ___( )__ / \___ | |_ / _(_) | ___ ___
|
||||
/ \ / _ \ '_ \| '_ \ / _ \/ __| / /\ / _ \| __| |_| | |/ _ \/ __|
|
||||
/ /\/\ \ __/ | | | | | | (_) \__ \ / /_// (_) | |_| _| | | __/\__ \
|
||||
\/ \/\___|_| |_|_| |_|\___/|___/ /___,' \___/ \__|_| |_|_|\___||___/
|
||||
|
Reference in New Issue
Block a user