How to easily download videos from Youtube as mp3!
This is just a little script I made. It's nothing special.
​
Depends on youtube-dl and id3v2
#!/bin/bash
cd ~/Music
read -p 'Link: ' link
read -p 'Title of the song: ' title
read -p 'Artist of the song: ' artist
read -p 'Album: ' album
youtube-dl -x --audio-format mp3 --audio-quality 0 -o ~/Music/"$title.%(ext)s" $link
id3v2 -t "$title" -a "$artist" -A "$album" "$title".mp3
tell me what you think about it
https://redd.it/ltnr3a
@r_linux
This is just a little script I made. It's nothing special.
​
Depends on youtube-dl and id3v2
#!/bin/bash
cd ~/Music
read -p 'Link: ' link
read -p 'Title of the song: ' title
read -p 'Artist of the song: ' artist
read -p 'Album: ' album
youtube-dl -x --audio-format mp3 --audio-quality 0 -o ~/Music/"$title.%(ext)s" $link
id3v2 -t "$title" -a "$artist" -A "$album" "$title".mp3
tell me what you think about it
https://redd.it/ltnr3a
@r_linux
reddit
How to easily download videos from Youtube as mp3!
This is just a little script I made. It's nothing special. Depends on youtube-dl and id3v2 #!/bin/bash cd ~/Music read -p...
Forwarded from Deleted Account
Awesome rust stuff:
- TUI File Manager - https://github.com/sayanarijit/xplr
- Neofetch for github projects - https://github.com/o2sh/onefetch
- Shell but in rust - https://github.com/redox-os/ion
- TUI File Manager - https://github.com/sayanarijit/xplr
- Neofetch for github projects - https://github.com/o2sh/onefetch
- Shell but in rust - https://github.com/redox-os/ion
GitHub
GitHub - sayanarijit/xplr: A hackable, minimal, fast TUI file explorer
A hackable, minimal, fast TUI file explorer. Contribute to sayanarijit/xplr development by creating an account on GitHub.
Forwarded from Deleted Account
search rust here https://github.com/fosslife/awesome-ricing
GitHub
GitHub - fosslife/awesome-ricing: A curated list of awesome tools and technology to help you out with ricing on linux
A curated list of awesome tools and technology to help you out with ricing on linux - fosslife/awesome-ricing
How to get pretty tty login art at bootup?
-
- but cannot run commands directly
- so redirect the output of any ascii command to
eg.-
-
/etc/issue shows pretty output in tty- but cannot run commands directly
- so redirect the output of any ascii command to
issue fileeg.-
neofetch > /etc/issue
but to run that command in each startup put it into /etc/rc.local
i use this fm6000 -r -c random -s zsh -de=dwm -n > /etc/issue
and put it into /etc/rc.local
Enjoy! #notes# My Artix/Arch Linux Installation #Notes
1. Base Install
- keyboard configuration
{Ignore the Above method It just for me heres what i recommend for others}
# creating partition table -
├── boot (for uefi only) -
├── root -
├── swap -
└── storage [optional] -
# Installing filesystem on newly created partitions
For Uefi users
├──
└──
For BIOS users
├──
├──
└──
# Mounting partitions
├──
└──
└──
- Installing base system
or
├──
- Add users
#after reboot command for network
2. Post Base Install
- Install GUI Desktop Enviroment or Window manager
#notes
1. Base Install
- keyboard configuration
loadkeys us
- partitions making (It differs from persons choice)fdisk /dev/sda
d 2 n enter +51G w
mkfs.ext4 /dev/sda1
mount /dev/sda1 /mnt
mkdir /mnt/home
mkdir /mnt/boot
{Ignore the Above method It just for me heres what i recommend for others}
# creating partition table -
cfdisk /dev/sda
├── #create partitions according to your need ├── boot (for uefi only) -
/dev/sda1 [at least 350mb]├── root -
/dev/sda1 [at least 50Gig]├── swap -
/dev/sda2 [at least 2Gig]└── storage [optional] -
/dev/sda3 [remaining disk part usually 100Gig]# Installing filesystem on newly created partitions
For Uefi users
├──
mkfs.fat -F 32 /dev/sda1 <- boot [Only for uefi users]└──
fatlabel /dev/sda1 BOOT <- must be labeled as bootFor BIOS users
├──
mkfs.ext4 -L ROOT /dev/sda1 <- root ├──
mkswap -L SWAP /dev/sda2 <- swap└──
mkfs.ext4 -L EXTRASTORAGE /dev/sda3 <- extra for storage, optional# Mounting partitions
├──
swapon /dev/sda2 -> starting swap if created└──
mount /dev/sda1 /mnt -> mounting root└──
mkdir /mnt/home /mnt/boot -> creating needed folders - Installing base system
basestrap /mnt base base-devel runit elogind-runit linux linux-firmware vim
- Generate fstabfstabgen /mnt
fstabgen -U /mnt >> /mnt/etc/fstab
- chrooting into installed systemartools-chroot /mnt
bash
vim /etc/pacman.d/mirrorlist
- configuring timezoneln -sf /usr/share/zoneinfo/country/city/etc/localtime
hwclock --systohc
- localizationvim /etc/locale.gen
locale-gen
vim /etc/locale.conf
LANG = en_us.UTF-8
- Configure Networkpacman -S NetworkManager NetworkManger-runit
ln -S /etc/runit/sv/NetworkManager /etc/runit/runsvdir/current #before rebootln -S /etc/runit/sv/NetworkManager /run/runit/service # after rebootvim /etc/hostname
desktop
vim /etc/hosts
127.0.0.1 localhost
::1 localhost
127.0.0.1 desktop.localdomain desktop
- Installing Grubpacman -S grub
grub-install --target=i386-pc /dev/sda # for biosor
grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=grub # for uefi├──
grub-mkconfig -o /boot/grub/grub.cfg
│ pacman -S artix-grub-theme
│ vim /etc/default/grub
│ GRUB_THEME="/usr/share/grub/themes/artix/theme.txt
└── # reconfigure grub after installing grub theme- Add users
passwd
useradd -m username
passwd username
usermod -a -G video,audio,input,power,storage,optical,ip,scanner,dbus,adbusers,uucp,vboxusers username
usermod -a -G log mpd network scanner power users video storage ip optical wheel username
- Installing display serverpacman -S xorg
- Installing Video Driverspacman -S xf86-video-intel
- Network Configuration#after reboot command for network
2. Post Base Install
- Install GUI Desktop Enviroment or Window manager
#notes