Update 2025-02-24

Update 2025-02-03

Update 2025-02-04

Update 2025-02-09

Update 2025-02-14

Update 2025-02-15

Update 2025-02-22

Update 2025-02-24
This commit is contained in:
2025-02-02 16:12:25 +02:00
parent 73a0cc0977
commit 5f54bb78ad
69 changed files with 5418 additions and 2753 deletions

View File

@@ -1,17 +0,0 @@
#!/bin/bash
battery() {
BAT=`ls /sys/class/power_supply | grep BAT | head -n 1`
cat /sys/class/power_supply/${BAT}/capacity
}
battery_stat() {
BAT=`ls /sys/class/power_supply | grep BAT | head -n 1`
cat /sys/class/power_supply/${BAT}/status
}
if [[ "$1" == "--bat" ]]; then
battery
elif [[ "$1" == "--bat-st" ]]; then
battery_stat
fi

0
config/eww/scripts/change-active-workspace Executable file → Normal file
View File

0
config/eww/scripts/get-active-workspace Executable file → Normal file
View File

0
config/eww/scripts/get-window-title Executable file → Normal file
View File

0
config/eww/scripts/get-workspaces Executable file → Normal file
View File

3
config/eww/scripts/mem-ad Executable file → Normal file
View File

@@ -1,5 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash
total="$(free -m | grep Mem: | awk '{ print $2 }')"
used="$(free -m | grep Mem: | awk '{ print $3 }')"

4
config/eww/scripts/memory Executable file → Normal file
View File

@@ -1,3 +1,3 @@
#!/bin/sh
#!/usr/bin/env bash
printf "%.0f\n" $(free -m | grep Mem | awk '{print ($3/$2)*100}')
awk '/Mem:/ {printf "%.0f\n", ($3/$2)*100}' <(free -m)

0
config/eww/scripts/music_info Executable file → Normal file
View File

0
config/eww/scripts/music_info.bak Executable file → Normal file
View File

0
config/eww/scripts/pop Executable file → Normal file
View File

0
config/eww/scripts/wifi Executable file → Normal file
View File

0
config/eww/scripts/workspace Executable file → Normal file
View File