Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Announcements: Breaking changes #1641

Open
MaxVerevkin opened this issue Oct 13, 2022 · 16 comments
Open

Announcements: Breaking changes #1641

MaxVerevkin opened this issue Oct 13, 2022 · 16 comments
Labels
breaking Breaking changes

Comments

@MaxVerevkin
Copy link
Collaborator

No description provided.

@MaxVerevkin MaxVerevkin added the breaking Breaking changes label Oct 13, 2022
Repository owner locked and limited conversation to collaborators Oct 13, 2022
@MaxVerevkin MaxVerevkin pinned this issue Oct 13, 2022
@MaxVerevkin
Copy link
Collaborator Author

#1640

temperature: collapsed option is removed and now you can use format_alt = " $icon " to maintain the behavior

@MaxVerevkin
Copy link
Collaborator Author

#1644

memory: clickable, display_type, format_mem and format_swap are removed and now you can use format and format_alt to maintain the behavior

@MaxVerevkin
Copy link
Collaborator Author

283cb76

music: remove hide_when_empty option as discussed in #1661

@MaxVerevkin
Copy link
Collaborator Author

MaxVerevkin commented Jan 6, 2023

#1686

  • pass has been removed form click handler config options.
  • apt ,dnf, pacman: Clicking on the block does not cause an update by default anymore. To replicate that behavior use
    [[block.click]]
    # Updates the block on left click
    button = "left"
    update = true
  • rofication: Clicking on the block does not open rofication-gui by default anymore. To replicate that behavior use
    [[block.click]]
    button = "left"
    cmd = "rofication-gui"

@MaxVerevkin
Copy link
Collaborator Author

#1698

  • Instead of positional arguments, format templates now use named arguments, i.e. $speed_down.eng(w:3,p:K,hide_unit:true) instead of $speed_down.eng(3,_B,K). See documentation here.
  • rot-str formatter has been removed. To replicate its behavior, use rot_interval argument of str. For example $ssid.str(max_w:10, rot_interval:0.2).

@MaxVerevkin
Copy link
Collaborator Author

#1713 replaces cpu icon withcpu_low, cpu_med and cpu_high. Don't forget to run ./install.sh. If you were overriding cpu icon, you now have to override these three icons instead.

@MaxVerevkin
Copy link
Collaborator Author

#1718

  • music: seek_step was replaced with seek_step_secs.

@MaxVerevkin
Copy link
Collaborator Author

MaxVerevkin commented Feb 16, 2023

#1723 changes time block formatting and removes locale option.

Before

[[block]]
block = "time"
locale = "fr_BE"
format = " $icon %d/%m %R "

After

[[block]]
block = "time"
format = " $icon $timestamp.datetime(f:'%d/%m %R', l:fr_BE) "

@MaxVerevkin
Copy link
Collaborator Author

MaxVerevkin commented Feb 18, 2023

e00b90d renamed awesome to awesome4.

@MaxVerevkin
Copy link
Collaborator Author

#1720 removed icons backlight_{empty,full,1,2,...,13}, bat_{10,20,...,90,full}, cpu_{low,med,high}, volume_{empty,half,full}, microphone_{empty,half,full}.

Don't forget to run ./install.sh. If you used to override any of these icons, override backlight, cpu, volume and microphone instead. These icons now accept a list of values, for example

cpu = [
	"\U000F0F86", # nf-md-speedometer_slow
	"\U000F0F85", # nf-md-speedometer_medium
	"\U000F04C5", # nf-md-speedometer
]

@MaxVerevkin
Copy link
Collaborator Author

fca5c28

  • taskwarrior: remove hide_when_zero, add format_singular and format_everything_done config options.

@MaxVerevkin
Copy link
Collaborator Author

MaxVerevkin commented Apr 27, 2023

  • Sound: mappings_use_regex now defaults to true.
  • block = "..." is now required to be the first field of block configs. However, an error in a block's config will not break the entire bar limitation removed in v0.31.2.

@MaxVerevkin
Copy link
Collaborator Author

#1938

  • Pacman block now creates checkup-db directory per user. This may break your scripts if they rely on the db path. Instead of /tmp/checkup-db-i3statusrs it is now /tmp/checkup-db-i3statusrs-$USER.

@MaxVerevkin
Copy link
Collaborator Author

#1860 (kdeconnect)

  • Removed hide_disconnected option and connected formatting flag.
  • Added format_disconnected and format_missing options.

@MaxVerevkin
Copy link
Collaborator Author

#1988 deprecates apt, dnf and pacman blocks in favor of the new packages block.

@MaxVerevkin
Copy link
Collaborator Author

#2008

  • Battery: time has been deprecated in favor of time_remaining.
  • Tea timer: hours, minutes, and seconds have been deprecated in favor of time.
  • Uptime: text has been deprecated in favor of uptime.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
breaking Breaking changes
Projects
None yet
Development

No branches or pull requests

1 participant