updating
This commit is contained in:
parent
7e6b91a1c6
commit
54218677ff
7 changed files with 24 additions and 11 deletions
7
scripts/batcurrent
Executable file
7
scripts/batcurrent
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
echo - | awk "{printf \"%.1f\", \
|
||||
$(( \
|
||||
$(cat /sys/class/power_supply/BAT1/current_now) * \
|
||||
$(cat /sys/class/power_supply/BAT1/voltage_now) \
|
||||
)) / 1000000000000 }" ; echo " W "
|
|
@ -41,7 +41,7 @@ if [ $XDG_SESSION_TYPE = "x11" ]; then
|
|||
# done
|
||||
)
|
||||
else
|
||||
SECRET=$(list_passwords | rofi -i -p "${prompt}" -dmenu -theme ~/.config/rofi/launchers-git/$style.rasi)
|
||||
SECRET=$(list_passwords | rofi -no-lazy-grab -i -p "${prompt}" -dmenu -theme ~/.config/rofi/launchers-git/$style.rasi)
|
||||
fi
|
||||
|
||||
# Ask whether pass, user or both are required
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
systemsettings5 --list | rg - | awk '{print $1}' | rofi -dmenu | xargs -r systemsettings5
|
||||
systemsettings5 --list | rg - | awk '{print $1}' | rofi -dmenu -theme ~/.config/rofi/launchers-git/laptop-rbw-wayland.rasi | xargs -r systemsettings5
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue