Compare commits
6 Commits
be2b24d26d
...
011681741f
Author | SHA1 | Date | |
---|---|---|---|
011681741f | |||
0e0723f570 | |||
c7d7ffd36f | |||
de21d0f80f | |||
8bc101bdbc | |||
8770d45219 |
6
PKGBUILD
6
PKGBUILD
@ -1,14 +1,12 @@
|
|||||||
# Maintainer: TROM <contact@tromsite.com>
|
# Maintainer: TROM <contact@tromsite.com>
|
||||||
pkgname=tromjaro-fixes
|
pkgname=tromjaro-fixes
|
||||||
pkgver=1.1.1
|
pkgver=1.0.0
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Various fixes for TROMjaro OS"
|
pkgdesc="Various fixes for TROMjaro OS"
|
||||||
arch=(any)
|
arch=(any)
|
||||||
url=""
|
url=""
|
||||||
license=(unknown)
|
license=(unknown)
|
||||||
depends=('xfce4-appfinder'
|
depends=()
|
||||||
'xdotool'
|
|
||||||
'rsync')
|
|
||||||
provides=('tromjaro-fixes')
|
provides=('tromjaro-fixes')
|
||||||
backup=()
|
backup=()
|
||||||
options=(!strip)
|
options=(!strip)
|
||||||
|
@ -8,4 +8,4 @@ Target = *
|
|||||||
[Action]
|
[Action]
|
||||||
Description = Refreshing the chaotic-aur keyring...
|
Description = Refreshing the chaotic-aur keyring...
|
||||||
When = PreTransaction
|
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)
|
theme_new=$(xfconf-query -c xsettings -p /Net/ThemeName)
|
||||||
# Get the current icon theme
|
# Get the current icon theme
|
||||||
icon_theme_new=$(xfconf-query -c xsettings -p /Net/IconThemeName)
|
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
|
# Run sync_theme if the new system theme doesn't match the previous one
|
||||||
[ "$theme_new" != "$theme_prev" ] && sync_theme
|
[ "$theme_new" != "$theme_prev" ] && sync_theme
|
||||||
# Run sync_icon_theme if the new icon theme doesn't match the previous one
|
# Run sync_icon_theme if the new icon theme doesn't match the previous one
|
||||||
[ "$icon_theme_new" != "$icon_theme_prev" ] && sync_icon_theme
|
[ "$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
|
# The new values become the previous values
|
||||||
theme_prev=$theme_new
|
theme_prev=$theme_new
|
||||||
icon_theme_prev=$icon_theme_new
|
icon_theme_prev=$icon_theme_new
|
||||||
font_prev=$font_new
|
|
||||||
|
@ -1,2 +1,3 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
pacman-key --populate chaotic
|
sudo pacman-key --populate chaotic &
|
||||||
|
rm ~/.local/bin/fix-chaotic-keyring
|
||||||
|
Loading…
x
Reference in New Issue
Block a user