-
Notifications
You must be signed in to change notification settings - Fork 10
/
config-install.sh
executable file
·66 lines (42 loc) · 1.53 KB
/
config-install.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#!/usr/bin/env bash
set -e
################################################################################
### Head: theme
##
theme_config_install () {
theme_config_install_wm_theme
theme_config_install_ui_theme
theme_config_install_icon_theme
}
theme_config_install_wm_theme () {
## ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml
## <property name="theme" type="string" value="2bxfwm-Lucy"/>
xfconf-query -c 'xfwm4' -p '/general/theme' -s '2bxfwm-Lucy'
echo "xfconf-query -c 'xfwm4' -p '/general/theme' -s '2bxfwm-Lucy'"
}
theme_config_install_ui_theme () {
## ~/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml
## <property name="ThemeName" type="string" value="Fantome"/>
xfconf-query -c 'xsettings' -p '/Net/ThemeName' -s 'Fantome'
echo "xfconf-query -c 'xsettings' -p '/Net/ThemeName' -s 'Fantome'"
}
theme_config_install_icon_theme () {
## ~/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml
## <property name="IconThemeName" type="string" value="Black-Frost-Suru"/>
xfconf-query -c 'xsettings' -p '/Net/IconThemeName' -s 'Black-Frost-Suru'
echo "xfconf-query -c 'xsettings' -p '/Net/IconThemeName' -s 'Black-Frost-Suru'"
}
##
### Tail: theme
################################################################################
################################################################################
### Head: main
##
main_config_install () {
theme_config_install
}
## start
main_config_install
##
### Tail: main
################################################################################