Use the -m option in xfconf-query to monitor for changes #5
No reviewers
Labels
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: TROMjaro/fixes-package#5
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "rokosun-patch-1"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I also improved the overall code syntax, there's no need for the old functions anymore.
@tio: Test this and let me know if you find any bugs, when you're satisfied with the script then you can merge it.
@ -20,2 +4,2 @@
sed -i "s/^icon_theme=.*$/icon_theme=$icon_theme/" "$HOME"/.config/qt6ct/qt6ct.conf
}
# Check if the system theme has been changed
if [ "$line" = 'set: /Net/ThemeName' ]; then
A minor thing: to replace
if;then;fi
withswitch;case
statement:More details and examples are here.
This just adds some structure and also an easier to update if some more settings changes will be necessary to subsctibe to. But I leave it up to you to decide, you can skip it if you want 😉
Oh of course it makes sense to use a case statement here, why didn't I think of it before? lol 😄
Oh, man.. Happens to me too quite often 😅