Upgrade to Debian 12, with minor updates
- Upgraded project to Debian 12 - .vscode added to .gitignore - LICENSE formatting updated - Copyright refreshed for 2023 - Added Libvirt settings - Refactored packages to inventory-specific - Committed missing autostart-scripts
This commit is contained in:
11
roles/common/templates/pinnedapps.sh.j2
Normal file
11
roles/common/templates/pinnedapps.sh.j2
Normal file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
PINNED="{% for item in pinned %}{{ item }}{{ ',' if not loop.last else '' }}{% endfor %}"
|
||||
FILE="~/.config/plasma-org.kde.plasma.desktop-appletsrc"
|
||||
HEADER="[Containments][2][Applets][5][Configuration][General]"
|
||||
SECTIONUNDER="[Containments][2][Applets][6]"
|
||||
if [ -f "$FILE" ]; then
|
||||
if ! grep -q "$PINNED" "$FILE"; then
|
||||
sed -i "/^$HEADER\nlaunchers=.*/i\n\n$SECTIONUNDER" "$FILE"
|
||||
fi
|
||||
fi
|
Reference in New Issue
Block a user