update
This commit is contained in:
parent
dd6c76f7a3
commit
c6c401c1b4
@ -18,9 +18,7 @@ set $term alacritty
|
|||||||
set $menu rofi -show drun -font "Ubuntu Mono 15" -show-icons
|
set $menu rofi -show drun -font "Ubuntu Mono 15" -show-icons
|
||||||
|
|
||||||
### Output configuration
|
### Output configuration
|
||||||
#
|
output * bg ~/.local/share/wallpapers/lambda-bg-dark.png fill
|
||||||
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
|
|
||||||
output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
|
|
||||||
#
|
#
|
||||||
# Example configuration:
|
# Example configuration:
|
||||||
#
|
#
|
||||||
|
9
sway-status.sh
Executable file
9
sway-status.sh
Executable file
@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
bat_level=$(cat /sys/class/power_supply/BAT*/capacity)
|
||||||
|
bat_state=$(cat /sys/class/power_supply/BAT*/status)
|
||||||
|
|
||||||
|
date=$(date +'%d.%m.%Y %H:%M:%S')
|
||||||
|
|
||||||
|
echo "$bat_level%" $bat_state "|" $date ""
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user