Alterando Status do DWM
Publicado por Xerxes em 16/10/2019
[ Hits: 5.429 ]
while true; do xsetroot -name "$(date)" sleep 2 done
#!/bin/bash DATE=$(date +"%a %d %h %H:%M") VOL=$( amixer get Master | awk -F'[][]' 'END{ print $2 }') CPUUSE=$(cat /proc/loadavg | awk '{print $1}') MEMUSE=$(free -h | awk '(NR==2){ print $3 }') TEMPCPU=$(sed 's/000$/°C/' /sys/class/hwmon/hwmon0/temp2_input) DISKFREE=$(df -h | awk '{ if ($6 == "/") print $4 }') NETSTATE=$(cat /sys/class/net/enp1s0/operstate) echo " CPU: $CPUUSE% | TEMP: $TEMPCPU | /: $DISKFREE | MEM: $MEMUSE | VOL: $VOL | NET: $NETSTATE | $DATE"
while true; do xsetroot -name "$(sh ~/info.sh)" sleep 10 done &
setxkbmap -layout br while true; do xsetroot -name "$(sh ~/info.sh)" sleep 10 done & exec dwm
[Resolvido] Quadrados ao invés de caracteres no openSUSE
Controle de volume não funciona no LXDE?
Limitando a taxa de download do Apt-get
Coisas para fazer após instalar Fedora 16
Configurando corretamente o driver Intel em seu xorg.conf
Ubuntu funcionando perfeitamente em máquinas antigas
Notificação de e-mail (Gmail) com notify-send
Como instalar scanner Kodak i2600 via Terminal no Ubuntu
Xterm no XUbuntu: mudar fonte e cor de fundo
Como gerar um podcast a partir de um livro em PDF
Automatizando digitação de códigos 2FA no browser
Resolver problemas de Internet
Como compartilhar a tela do Ubuntu com uma Smart TV (LG, Samsung, etc.)
Como Instalar o Microsoft Teams no Linux Ubuntu
Músicas de Andrew Hulshult no DOOM (WAD)
Instalar o Apache, MySQL e PHP no Oracle Linux 8
Bloqueando telemetria no Deepin 23.1
Como converter imagens PNG/JPEG para SVG em linha de comando