diff --git a/modules/home/scripts/scripts/compress.sh b/modules/home/scripts/scripts/compress.sh deleted file mode 100755 index 5c31e62..0000000 --- a/modules/home/scripts/scripts/compress.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/env bash - -if (( $# == 1 )) then - # echo -ne "Archive name: " - # read name - # tar -cvzf "$name.tar.gz" $1 - tar -cvzf "$1.tar.gz" $1 -else - echo "Wrong number of arguments..." -fi \ No newline at end of file diff --git a/modules/home/scripts/scripts/extract.sh b/modules/home/scripts/scripts/extract.sh deleted file mode 100755 index ecc25dd..0000000 --- a/modules/home/scripts/scripts/extract.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env bash - -for i in "$@" ; do - tar -xvzf $i - break -done diff --git a/modules/home/scripts/scripts/maxfetch.sh b/modules/home/scripts/scripts/maxfetch.sh deleted file mode 100755 index 486f411..0000000 --- a/modules/home/scripts/scripts/maxfetch.sh +++ /dev/null @@ -1,53 +0,0 @@ -#!/usr/bin/env bash - -unicode=" " -version="1.2.0" - -_black=$(tput setaf 0) -red=$(tput setaf 1) -green=$(tput setaf 2) -yellow=$(tput setaf 3) -blue=$(tput setaf 4) -magenta=$(tput setaf 5) -cyan=$(tput setaf 6) -_white=$(tput setaf 7) -_bright=$(tput bold) -normal=$(tput sgr0) -_underline=$(tput smul) - -up=$(uptime | awk -F'( |,|:)+' '{ - d=h=m=0; - if ($7=="min") - m=$6; - else { - if ($7~/^day/) { d=$6; h=$8; m=$9} - else {h=$6;m=$7} - } - } - { print h+0,"h",m+0,"m" } -') -up=$(sed -e "s/ h/h/g" <<< ${up}) -up=$(sed -e "s/ m/m/g" <<< ${up}) - -pkgs=$(nix-store --query --requisites /run/current-system | wc -l) - -fetch() { - echo "${cyan}$(tput bold) _ ___ ____ ____ ${normal}$(tput sgr0)" - echo "${cyan}$(tput bold) / |/ (_)_ __/ __ \/ __/ ${normal}$(tput sgr0)" - echo "${cyan}$(tput bold) / / /\ \ / /_/ /\ \ ${normal}$(tput sgr0)" - echo "${cyan}$(tput bold) /_/|_/_//_\_"'\\'"____/___/ ${normal}$(tput sgr0)" - echo "" - echo " ╭─────────────╮ " - echo " │ ${red} ${normal} user │ ${red}$(whoami)${normal}" - echo " │ ${yellow} ${normal} distro │ ${yellow}$(sed -nE "s@PRETTY_NAME=\"([^\"]*)\"@\1@p" /etc/os-release)${normal} " - echo " │ ${green} ${normal} kernel │ ${green}$(uname -r)${normal} " - echo " │ ${cyan}󱂬 ${normal} de/wm │ ${cyan}$XDG_CURRENT_DESKTOP${normal} " - echo " │ ${blue} ${normal} uptime │ ${blue}${up}${normal} " - echo " │ ${magenta} ${normal} shell │ ${magenta}$(echo ${SHELL##*/})${normal} " - echo " │ ${red}󰏖 ${normal} pkgs │ ${red}${pkgs}${normal} " - echo " ├─────────────┤ " - echo " │ ${_white} ${normal}colors │${_white}$unicode${normal}${red}$unicode${normal}${yellow}$unicode${normal}${green}$unicode${normal}${cyan}$unicode${normal}${blue}$unicode${normal}${magenta}$unicode${normal}${_black}$unicode${normal}" - echo " ╰─────────────╯ " -} - -fetch && exit 0 \ No newline at end of file diff --git a/modules/home/scripts/scripts/music.sh b/modules/home/scripts/scripts/music.sh deleted file mode 100755 index 4cebae1..0000000 --- a/modules/home/scripts/scripts/music.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/env bash - -if (ps aux | grep audacious | grep -v grep > /dev/null) then - pkill audacious -else - hyprctl dispatch exec "[workspace 5 silent] audacious -t" - sleep 0.5 - audtool playlist-repeat-status |grep "on" || audtool playlist-repeat-toggle - audtool playlist-shuffle-status|grep "on" || audtool playlist-shuffle-toggle -fi \ No newline at end of file diff --git a/modules/home/scripts/scripts/vm-start.sh b/modules/home/scripts/scripts/vm-start.sh deleted file mode 100755 index ba2fd15..0000000 --- a/modules/home/scripts/scripts/vm-start.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/usr/bin/env zsh - -# VM name -vm_name="win10" -export LIBVIRT_DEFAULT_URI="qemu:///system" - -# change workspace -hyprctl dispatch workspace 6 - -virsh start ${vm_name} -virt-viewer -f -w -a ${vm_name} \ No newline at end of file