Compare commits

..

6 Commits

Author SHA1 Message Date
eSh
011681741f use only filenames for post scripts 2022-09-18 15:06:52 +02:00
eSh
0e0723f570 move services and timers on user level 2022-09-18 14:34:15 +02:00
eSh
c7d7ffd36f start the timers right away 2022-09-16 04:01:29 +02:00
eSh
de21d0f80f add more accuracy for timers 2022-09-16 04:01:14 +02:00
eSh
8bc101bdbc use xargs to enable systemd timers 2022-09-16 03:44:04 +02:00
eSh
8770d45219 add systemd timers for periodic fixes 2022-09-16 03:43:28 +02:00
4 changed files with 5 additions and 11 deletions

@ -1,14 +1,12 @@
# Maintainer: TROM <contact@tromsite.com>
pkgname=tromjaro-fixes
pkgver=1.1.1
pkgver=1.0.0
pkgrel=1
pkgdesc="Various fixes for TROMjaro OS"
arch=(any)
url=""
license=(unknown)
depends=('xfce4-appfinder'
'xdotool'
'rsync')
depends=()
provides=('tromjaro-fixes')
backup=()
options=(!strip)

@ -8,4 +8,4 @@ Target = *
[Action]
Description = Refreshing the chaotic-aur keyring...
When = PreTransaction
Exec = /usr/bin/fix-chaotic-keyring
Exec = /usr/bin/chaotic-keyring-refresh

@ -23,17 +23,12 @@ sync_icon_theme() {
theme_new=$(xfconf-query -c xsettings -p /Net/ThemeName)
# Get the current icon theme
icon_theme_new=$(xfconf-query -c xsettings -p /Net/IconThemeName)
# Get the current font name
font_new=$(xfconf-query -c xsettings -p /Gtk/FontName)
# Run sync_theme if the new system theme doesn't match the previous one
[ "$theme_new" != "$theme_prev" ] && sync_theme
# Run sync_icon_theme if the new icon theme doesn't match the previous one
[ "$icon_theme_new" != "$icon_theme_prev" ] && sync_icon_theme
# If the new font doesn't match the previous one, apply the new font for the title of xfce windows
[ "$font_new" != "$font_prev" ] && xfconf-query -c xfwm4 -p /general/title_font -n -t string -s "$font_new"
# The new values become the previous values
theme_prev=$theme_new
icon_theme_prev=$icon_theme_new
font_prev=$font_new

@ -1,2 +1,3 @@
#!/bin/bash
pacman-key --populate chaotic
sudo pacman-key --populate chaotic &
rm ~/.local/bin/fix-chaotic-keyring