diff --git a/bash/.bashrc b/bash/.bashrc index eae6e6e..a7469a5 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -60,3 +60,9 @@ source ~/.bash_prompt # set PATH so it includes user's private bin directories PATH="$HOME/bin:$HOME/.local/bin:$PATH" + +# Export our directory to Termite for opening new terminals +if [[ $TERM == xterm-termite ]]; then + . /etc/profile.d/vte.sh + __vte_prompt_command +fi diff --git a/install.sh b/install.sh index 504324c..45d419e 100755 --- a/install.sh +++ b/install.sh @@ -8,6 +8,7 @@ stow -t ~ git stow -t ~ i3 stow -t ~ i3blocks stow -t ~ ranger +stow -t ~ termite stow -t ~ tridactyl stow -t ~ vim stow -t ~ zsh diff --git a/shell/.profile b/shell/.profile index f50a1c4..287c7ed 100644 --- a/shell/.profile +++ b/shell/.profile @@ -4,6 +4,8 @@ PATH="$HOME/scripts:$PATH" # Export our favorite editor export EDITOR=vim export VISUAL=$EDITOR # Also use it when asking for a GUI +# Export our terminal for i3-sensible-terminal +export TERMINAL=termite # Color ls output depending on filetype with dircolors [ -e "/etc/DIR_COLORS" ] && DIR_COLORS="/etc/DIR_COLORS" diff --git a/termite/.config/termite/config b/termite/.config/termite/config new file mode 100644 index 0000000..72bdbaf --- /dev/null +++ b/termite/.config/termite/config @@ -0,0 +1,93 @@ +[options] +#allow_bold = true +audible_bell = false +bold_is_bright = false +#cell_height_scale = 1.0 +#cell_width_scale = 1.0 +clickable_url = true +dynamic_title = true +font = Monospace 9 +#fullscreen = true +icon_name = terminal +mouse_autohide = true +#scroll_on_output = false +#scroll_on_keystroke = true +# Length of the scrollback buffer, 0 disabled the scrollback buffer +# and setting it to a negative value means "infinite scrollback" +scrollback_lines = 10000 +search_wrap = true +urgent_on_bell = true +#hyperlinks = false + +# $BROWSER is used by default if set, with xdg-open as a fallback +#browser = xdg-open + +# "system", "on" or "off" +cursor_blink = system + +# "block", "underline" or "ibeam" +cursor_shape = block + +# Hide links that are no longer valid in url select overlay mode +#filter_unmatched_urls = true + +# Emit escape sequences for extra modified keys +#modify_other_keys = false + +# set size hints for the window +#size_hints = false + +# "off", "left" or "right" +scrollbar = off + +[colors] +# special +foreground = #c5c8c6 +foreground_bold = #c5c8c6 +cursor = #c5c8c6 +background = #1d1f21 + +# black +color0 = #282a2e +color8 = #373b41 + +# red +color1 = #a54242 +color9 = #cc6666 + +# green +color2 = #8c9440 +color10 = #b5bd68 + +# yellow +color3 = #de935f +color11 = #f0c674 + +# blue +color4 = #5f819d +color12 = #81a2be + +# magenta +color5 = #85678f +color13 = #b294bb + +# cyan +color6 = #5e8d87 +color14 = #8abeb7 + +# white +color7 = #707880 +color15 = #c5c8c6 + +[hints] +#font = Monospace 12 +#foreground = #dcdccc +#background = #3f3f3f +#active_foreground = #e68080 +#active_background = #3f3f3f +#padding = 2 +#border = #3f3f3f +#border_width = 0.5 +#roundness = 2.0 + +# vim: ft=dosini cms=#%s diff --git a/zsh/.zshrc b/zsh/.zshrc index dee0299..f00b92e 100755 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -92,3 +92,9 @@ cat /etc/issue # import my prompt source ~/.zsh_prompt + +# Export our directory to Termite for opening new terminals +if [[ $TERM == xterm-termite ]]; then + . /etc/profile.d/vte.sh + __vte_osc7 +fi