-
Notifications
You must be signed in to change notification settings - Fork 10
/
config-install.sh
executable file
·82 lines (52 loc) · 2.09 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
#!/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_cursor_theme
}
theme_config_install_wm_theme () {
## ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml
## <property name="theme" type="string" value="Pastel_Dark"/>
xfconf-query -c 'xfwm4' -p '/general/theme' -s 'Pastel_Dark'
echo "xfconf-query -c 'xfwm4' -p '/general/theme' -s 'Pastel_Dark'"
}
theme_config_install_ui_theme () {
## ~/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml
## <property name="ThemeName" type="string" value="Honda-Super-Cub"/>
xfconf-query -c 'xsettings' -p '/Net/ThemeName' -s 'Honda-Super-Cub'
echo "xfconf-query -c 'xsettings' -p '/Net/ThemeName' -s 'Honda-Super-Cub'"
}
theme_config_install_icon_theme () {
## ~/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml
## <property name="IconThemeName" type="string" value="Papirus-Dark"/>
xfconf-query -c 'xsettings' -p '/Net/IconThemeName' -s 'Papirus-Dark'
echo "xfconf-query -c 'xsettings' -p '/Net/IconThemeName' -s 'Papirus-Dark'"
}
theme_config_install_cursor_theme () {
## ~/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml
## <property name="CursorThemeName" type="string" value="breeze_cursors"/>
## <property name="CursorThemeSize" type="int" value="24"/>
echo "xfconf-query -c 'xsettings' -p '/Gtk/CursorThemeName' -s 'breeze_cursors'"
xfconf-query -c 'xsettings' -p '/Gtk/CursorThemeName' -s "breeze_cursors"
echo "xfconf-query -c 'xsettings' -p '/Gtk/CursorThemeSize' -s '24'"
xfconf-query -c 'xsettings' -p '/Gtk/CursorThemeSize' -s "24"
}
##
### Tail: theme
################################################################################
################################################################################
### Head: main
##
main_config_install () {
theme_config_install
}
## start
main_config_install
##
### Tail: main
################################################################################