This website works better with JavaScript.
Home
Explore
Help
Sign In
yigitcolakoglu
/
dotfiles
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Updated status bar scripts
main
Yiğit Çolakoğlu
4 years ago
parent
6ceaf67ac3
commit
5255e3d728
7 changed files
with
21 additions
and
21 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-2
chroot/plist.sh
+1
-1
scripts/status-bar/arch
+10
-10
scripts/status-bar/battery
+1
-1
scripts/status-bar/cpu-temp
+1
-1
scripts/status-bar/fecha
+2
-2
scripts/status-bar/red
+4
-4
scripts/status-bar/volume
+ 2
- 2
chroot/plist.sh
View File
@ -1,4 +1,4 @@
#!/bin/bash
pacman -Qqe
|
grep -v
"
$(
pacman -Qqm
)
"
> nonAUR.txt
pacman -Qqm > AUR.txt
pacman -Qqe
|
grep -v
"
$(
pacman -Qqm
)
"
>
~/.dotfiles/chroot/
nonAUR.txt
pacman -Qqm >
~/.dotfiles/chroot/
AUR.txt
+ 1
- 1
scripts/status-bar/arch
View File
@ -1,6 +1,6 @@
#!/bin/sh
icon=
icon=
if ! updates=$(checkupdates 2> /dev/null | wc -l ); then
updates=0
+ 10
- 10
scripts/status-bar/battery
View File
@ -3,16 +3,16 @@
bat=$(cat /sys/class/power_supply/BAT0/capacity)
status=$(cat /sys/class/power_supply/BAT0/status)
ramp10=
ramp20=
ramp30=
ramp40=
ramp50=
ramp60=
ramp70=
ramp80=
ramp90=
ramp100=
ramp10=
ramp20=
ramp30=
ramp40=
ramp50=
ramp60=
ramp70=
ramp80=
ramp90=
ramp100=
if [[ $bat -lt 10 ]]; then
echo " $ramp10 $bat% "
+ 1
- 1
scripts/status-bar/cpu-temp
View File
@ -1,6 +1,6 @@
#! /bin/sh
temp=$(sed 's/000$/°C/' /sys/class/thermal/thermal_zone0/temp)
icon=
icon=
echo "$icon $temp "
+ 1
- 1
scripts/status-bar/fecha
View File
@ -1,6 +1,6 @@
#! /bin/sh
icon=
icon=
cmd=$(date +"%b %e, %R")
+ 2
- 2
scripts/status-bar/red
View File
@ -1,9 +1,9 @@
#! /bin/sh
if [[ $(cat /sys/class/net/wlp*/operstate) == "up" ]]; then
echo "
"
echo "
直
"
else
echo "
"
echo "
睊
"
fi
+ 4
- 4
scripts/status-bar/volume
View File
@ -4,10 +4,10 @@
#vol=$(amixer get Master | awk -F'[][]' 'END{ print $2 }' )
mute=$(pamixer --get-mute)
vol=$(pamixer --get-volume)
iconmute=
ramp1=
ramp2=
ramp3=
iconmute=
婢
ramp1=
奄
ramp2=
奔
ramp3=
墳
#if [[ $mute == "true" ]]; then
# echo " $iconmute $vol% "
Write
Preview
Loading…
Cancel
Save