mirror of
https://codeberg.org/privacy1st/arch
synced 2024-12-23 01:16:04 +01:00
14 lines
460 B
Plaintext
14 lines
460 B
Plaintext
## arg 1: the new package version
|
|
post_install() {
|
|
# Show desktop icons on primary desktop,
|
|
# otherwise some of them might be invisible (as they are too far down the screen)
|
|
xfconf-query --create -c xfce4-desktop -p /desktop-icons/primary -t 'bool' -s 'true'
|
|
# Double the scaling factor
|
|
xfconf-query -c xsettings -p /Gdk/WindowScalingFactor -s 2
|
|
}
|
|
|
|
## arg 1: the old package version
|
|
post_remove() {
|
|
# TODO: restore previous xfconf values
|
|
true
|
|
} |