-
Notifications
You must be signed in to change notification settings - Fork 77
Closed
Labels
Description
Is it doable to expose a function that will update fields that matches a certain pattern on lines ?
For instance, here's the typical kind of headers I do have in my configuration files.
################################################################################
#
# ██████╗ ██╗ ██╗ ███╗ ██╗ ███████╗ ████████╗ ██████╗ ██████╗
# ██╔══██╗ ██║ ██║ ████╗ ██║ ██╔════╝ ╚══██╔══╝ ██╔══██╗ ██╔════╝
# ██║ ██║ ██║ ██║ ██╔██╗ ██║ ███████╗ ██║ ██████╔╝ ██║
# ██║ ██║ ██║ ██║ ██║╚██╗██║ ╚════██║ ██║ ██╔══██╗ ██║
# ██████╔╝ ╚██████╔╝ ██║ ╚████║ ███████║ ██║ ██║ ██║ ╚██████╗
# ╚═════╝ ╚═════╝ ╚═╝ ╚═══╝ ╚══════╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝
#
# Author: anchnk
# Date: 24.07.2017
# Dunst: v1.2.0
# File: dunstrc
# Last Modified Date: 24.07.2017
# Last Modified By: anchnk
# Location: $HOME/.config/dunst/dunstrc
#
################################################################################
Having a function that would update Author
, Date
, File
, Last Modified Date
, Last Modified By
fields' values without changing the structure of my headers would be awesome.
I understand that would not be top priority but I do believe it would add more flexibility to the plugin and also would avoid the need to wrote a script for that. Well at least if that use case can benefits to others.