Set terminator as the default terminal emulator
Add temrinator configuration. Add terminator to packages.yml. Add lines on gtk.css file to fix the transparent window separators. Add a new switch_to_app script for changing to the window of a certain app instead of launching a new instance of it.
This commit is contained in:
parent
13682907d1
commit
798e0b5433
|
@ -1,10 +1,17 @@
|
|||
.window-frame {
|
||||
box-shadow: none;
|
||||
margin: 0;
|
||||
}
|
||||
/* .window-frame { */
|
||||
/* box-shadow: none; */
|
||||
/* margin: 0; */
|
||||
/* } */
|
||||
|
||||
/* Add padding to xfce4-terminal */
|
||||
/* Add padding to terminals */
|
||||
VteTerminal,
|
||||
vte-terminal {
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
/* Fix terminator separator color */
|
||||
separator {
|
||||
background-color: #222b2e;
|
||||
min-height: 1px;
|
||||
min-width: 1px;
|
||||
}
|
||||
|
|
|
@ -0,0 +1,35 @@
|
|||
[global_config]
|
||||
handle_size = 0
|
||||
window_state = maximise
|
||||
tab_position = hidden
|
||||
scroll_tabbar = True
|
||||
homogeneous_tabbar = False
|
||||
title_hide_sizetext = True
|
||||
title_transmit_fg_color = "#abb2bf"
|
||||
title_transmit_bg_color = "#1b2224"
|
||||
title_receive_bg_color = "#2eb398"
|
||||
title_inactive_fg_color = "#44474b"
|
||||
title_inactive_bg_color = "#222b2e"
|
||||
inactive_color_offset = 1.0
|
||||
[keybindings]
|
||||
[profiles]
|
||||
[[default]]
|
||||
background_color = "#272c34"
|
||||
background_darkness = 1.0
|
||||
background_type = transparent
|
||||
cursor_color = "#ffffff"
|
||||
font = FiraCode Nerd Font 9.5
|
||||
foreground_color = "#abb2bf"
|
||||
show_titlebar = False
|
||||
scrollbar_position = hidden
|
||||
palette = "#272c34:#e06c75:#98c379:#e5c07b:#61afef:#c678dd:#56b6c2:#abb2bf:#272c34:#e06c75:#98c379:#e5c07b:#61afef:#c678dd:#56b6c2:#abb2bf"
|
||||
use_system_font = False
|
||||
[layouts]
|
||||
[[default]]
|
||||
[[[window0]]]
|
||||
type = Window
|
||||
parent = ""
|
||||
[[[child1]]]
|
||||
type = Terminal
|
||||
parent = window0
|
||||
[plugins]
|
|
@ -1,5 +1,6 @@
|
|||
export QT_QPA_PLATFORMTHEME="qt5ct"
|
||||
export EDITOR=/usr/bin/nvim
|
||||
export GTK2_RC_FILES="$HOME/.gtkrc-2.0"
|
||||
# fix "xdg-open fork-bomb" export your preferred browser from here
|
||||
export BROWSER=/usr/bin/firefox
|
||||
exoirt TERMINAL=/usr/bin/terminator
|
||||
export EDITOR=/usr/bin/nvim
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Find any window of the app:
|
||||
# wmctrl lists all open windows
|
||||
# transform to lowercase
|
||||
# get only the line that matches the window of the passed app (grep and head)
|
||||
# keep only the window id
|
||||
window_id=$(wmctrl -lx | sed -e 's/\(.*\)/\L\1/' | grep $1 | head -1 | cut -d " " -f 1)
|
||||
|
||||
|
||||
if [[ -n $window_id ]]; then
|
||||
wmctrl -ia $window_id
|
||||
else
|
||||
$1
|
||||
fi
|
|
@ -5,7 +5,7 @@ xfce extra:
|
|||
- evince
|
||||
- file-roller
|
||||
- grsync
|
||||
- tilix
|
||||
- terminator
|
||||
|
||||
i3-gaps extra:
|
||||
- thunar
|
||||
|
|
Loading…
Reference in New Issue