Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

Commit

Permalink
✨ feat(*): Add ublue-update to OS image
Browse files Browse the repository at this point in the history
  • Loading branch information
c0deplayer committed Oct 3, 2023
1 parent c916ae0 commit 0a2fed1
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 3 deletions.
1 change: 1 addition & 0 deletions config/common_modules/bling.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
type: bling
install:
- ublue-update
- dconf-update-service
5 changes: 2 additions & 3 deletions config/common_modules/systemd.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
type: systemd
system:
disabled:
- flatpak-system-update.timer
- rpm-ostreed-automatic.timer
enabled:
- ublue-update.service
7 changes: 7 additions & 0 deletions config/files/usr/etc/rpm-ostreed.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Entries in this file show the compile time defaults.
# You can change settings by editing this file.
# For option meanings, see rpm-ostreed.conf(5).

[Daemon]
AutomaticUpdatePolicy=none
#IdleExitTimeout=60
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/usr/bin/bash
shopt -s nullglob

# Flatpak Firefox
for firefox_gnome_theme in "$HOME/.var/app/org.mozilla.firefox/.mozilla/firefox/"*".default"*"/chrome/firefox-gnome-theme/"; do
if [ -d "$firefox_gnome_theme" ]; then
cd "$firefox_gnome_theme" || exit
git pull
fi
done
6 changes: 6 additions & 0 deletions config/files/usr/etc/ublue-update/ublue-update.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[checks]
min_battery_percent = 40.0
max_cpu_load_percent = 60.0
max_mem_percent = 80.0
[notify]
dbus_notify = true

0 comments on commit 0a2fed1

Please sign in to comment.