Compare commits
13 Commits
011681741f
...
be2b24d26d
Author | SHA1 | Date | |
---|---|---|---|
be2b24d26d | |||
3b6e886667 | |||
4ff7f7a0b3 | |||
184bdec3c4 | |||
5e22263904 | |||
9a62cf6bf1 | |||
496dcd36f7 | |||
291b1b56da | |||
b9163d1c3a | |||
65367cdb69 | |||
43b6d31c19 | |||
084cb192ce | |||
301bd1d572 |
6
PKGBUILD
6
PKGBUILD
@ -1,12 +1,14 @@
|
||||
# Maintainer: TROM <contact@tromsite.com>
|
||||
pkgname=tromjaro-fixes
|
||||
pkgver=1.0.0
|
||||
pkgver=1.1.1
|
||||
pkgrel=1
|
||||
pkgdesc="Various fixes for TROMjaro OS"
|
||||
arch=(any)
|
||||
url=""
|
||||
license=(unknown)
|
||||
depends=()
|
||||
depends=('xfce4-appfinder'
|
||||
'xdotool'
|
||||
'rsync')
|
||||
provides=('tromjaro-fixes')
|
||||
backup=()
|
||||
options=(!strip)
|
||||
|
@ -8,4 +8,4 @@ Target = *
|
||||
[Action]
|
||||
Description = Refreshing the chaotic-aur keyring...
|
||||
When = PreTransaction
|
||||
Exec = /usr/bin/chaotic-keyring-refresh
|
||||
Exec = /usr/bin/fix-chaotic-keyring
|
@ -23,12 +23,17 @@ 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,3 +1,2 @@
|
||||
#!/bin/bash
|
||||
sudo pacman-key --populate chaotic &
|
||||
rm ~/.local/bin/fix-chaotic-keyring
|
||||
pacman-key --populate chaotic
|
Loading…
x
Reference in New Issue
Block a user