Add dark theme.

This commit is contained in:
Cyteen May 2020-02-18 03:10:28 +00:00
parent 0228991446
commit 7958efdae1
1 changed files with 60 additions and 7 deletions

View File

@ -1,7 +1,10 @@
#!/usr/bin/env bash
apt-get -y install hexchat
mkdir -p $HOME/.config/hexchat
cat > $HOME/.config/hexchat/chanopt.conf <<'EOF'
HEXCHAT_HOME=$HOME/.config/hexchat
mkdir -p ${HEXCHAT_HOME}
cat > ${HEXCHAT_HOME}/chanopt.conf <<'EOF'
network = freenode
channel = #devuan
text_hidejoinpart = 1
@ -20,8 +23,8 @@ text_hidejoinpart = 1
EOF
mkdir -p $HOME/.config/hexchat/
cat > $HOME/.config/hexchat/servlist.conf << 'EOF'
mkdir -p ${HEXCHAT_HOME}/
cat > ${HEXCHAT_HOME}/servlist.conf << 'EOF'
v=2.10.1
N=2600net
@ -744,7 +747,7 @@ S=irc.xertion.org/+6697
S=irc.xertion.org
EOF
cat > $HOME/.config/hexchat/hexchat.conf <<'EOF'
cat > ${HEXCHAT_HOME}/hexchat.conf <<'EOF'
version = 2.10.1
away_auto_unmark = 0
away_omit_alerts = 0
@ -958,5 +961,55 @@ url_logging = 0
EOF
#bash -c `perl -p -i -e 's/irc_conf_mode =.""/irc_conf_mode = "1"/g' $HOME/.xchat2/xchat.conf`
#bash -c `perl -p -i -e 's/irc_conf_mode =.""/irc_conf_mode = "1"/g' $HOME/.config/hexchat/h/xchat.conf`
perl -p -i -e 's/irc_conf_mode =.""/irc_conf_mode = "1"/g' $HOME/.config/hexchat/hexchat.conf
#bash -c `perl -p -i -e 's/irc_conf_mode =.""/irc_conf_mode = "1"/g' ${HEXCHAT_HOME}/h/xchat.conf`
perl -p -i -e 's/irc_conf_mode =.""/irc_conf_mode = "1"/g' ${HEXCHAT_HOME}/hexchat.conf
## Theme: Smog.hct https://dl.hexchat.net/themes/Smog.hct
cat > ${HEXCHAT_HOME}/[Content_Types].xml <<EOF
<?xml version="1.0" encoding="utf-8"?><Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types"><Default Extension="conf" ContentType="" /></Types>
EOF
cat > ${HEXCHAT_HOME}/colors.conf <<EOF
color_0 = e9e9 e9e9 e9e9
color_1 = 0000 0000 0000
color_2 = 132e a2f0 dd19
color_3 = 2a3d 8ccc 2a3d
color_4 = c7c7 3232 3232
color_5 = c7c7 3232 3232
color_6 = 8000 2666 7fff
color_7 = 6666 3636 1f1f
color_8 = d999 a6d3 4147
color_9 = 3d70 cccc 3d70
color_10 = 199a 5555 5555
color_11 = 2eef 8ccc 74df
color_12 = 451e 451e e666
color_13 = b0b0 3737 b0b0
color_14 = 4c4c 4c4c 4c4c
color_15 = 9595 9595 9595
color_16 = e9e9 e9e9 e9e9
color_17 = 0000 0000 0000
color_18 = 123c 9023 eaaa
color_19 = 2a3d 8ccc 2a3d
color_20 = f259 5518 15e8
color_21 = f469 62a3 17f9
color_22 = 8000 2666 7fff
color_23 = 8c35 8a8d 8a78
color_24 = d999 a6d3 4147
color_25 = 3d70 cccc 3d70
color_26 = 199a 5555 5555
color_27 = 2eef 8ccc 74df
color_28 = 451e 451e e666
color_29 = b0b0 3737 b0b0
color_30 = ffff ffff ffff
color_31 = 9595 9595 9595
color_256 = ffff ffff ffff
color_257 = 3535 6e6e c1c1
color_258 = c7c7 c7c7 c7c7
color_259 = 3333 3333 3333
color_260 = f13e ea5e 2a4e
color_261 = 9999 0000 0000
color_262 = 0000 0000 ffff
color_263 = ffff 0000 0000
color_264 = 9595 9595 9595
EOF