PechaScripts/gentermcolour

36 lines
837 B
Bash
Executable File

#!/bin/sh
# Generates terminator config file with wal's colours
source $HOME/.cache/wal/colors.sh
cat > $HOME/.config/terminator/config << CONF
[global_config]
[keybindings]
[layouts]
[[default]]
[[[child1]]]
parent = window0
profile = default
type = Terminal
[[[window0]]]
parent = ""
type = Window
[plugins]
[profiles]
[[default]]
background_color = "$background"
background_type = transparent
cursor_color = "$foreground"
font = Hack 7
foreground_color = "$foreground"
icon_bell = False
palette = "$background:$color1:$color2:$color3:$color4:$color5:$color6:$foreground:$color7:$color2:$color2:$color7:$color4:$color5:$color6:$foreground"
scrollback_lines = 1000
scrollbar_position = hidden
show_titlebar = False
use_system_font = False
CONF