1
1
Fork 0

Update sway config

This commit is contained in:
Jonathan Schleifer 2022-11-29 00:26:34 +00:00
parent 2408c0965c
commit 295ab6c657

View file

@ -23,7 +23,7 @@ set $menu dmenu_path | wofi --show drun | xargs swaymsg exec --
### Output configuration ### Output configuration
# #
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/) # Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
output * bg "/home/js/Bilder/Hintergrund/Dunkler Wald.jpg" fill output * bg "/home/js/Bilder/Hintergrund/Wald, Nebel \& Sonnenstrahlen.jpg" fill
# #
# Example configuration: # Example configuration:
# #
@ -63,7 +63,7 @@ input type:touchpad {
click_method clickfinger click_method clickfinger
} }
font pango:Source Code Pro 9 font pango:Cascadia Mono 9
### Key bindings ### Key bindings
# #
@ -212,7 +212,7 @@ bar {
# When the status_command prints a new line to stdout, swaybar updates. # When the status_command prints a new line to stdout, swaybar updates.
# The default just shows the current date and time. # The default just shows the current date and time.
status_command while date +'%Y-%m-%d %k:%M'; do sleep 1; done status_command while echo "$(</sys/class/power_supply/BAT0/capacity)% $(awk '{ printf $1*10^-6 \"W\" }' /sys/class/power_supply/BAT0/power_now) $(date +'%Y-%m-%d %k:%M')"; do sleep 1; done
colors { colors {
statusline #ffffff statusline #ffffff