From: Tobias Sachs Date: Sun, 18 Dec 2022 11:41:10 +0000 (+0100) Subject: lxterminal X-Git-Url: https://src.twobees.de/?p=dotfiles.git;a=commitdiff_plain;h=22bf1c00445b3742b8c92cf762e01e1e917337ef lxterminal --- diff --git a/install/ui b/install/ui index 538db7c..2eda013 100644 --- a/install/ui +++ b/install/ui @@ -4,3 +4,4 @@ network-manager-gnome pasystray xfce4-power-manager xserver-xorg-input-synaptics +lxterminal diff --git a/stow/bin/.bin/sensible-terminal.sh b/stow/bin/.bin/sensible-terminal.sh new file mode 100755 index 0000000..ec3997b --- /dev/null +++ b/stow/bin/.bin/sensible-terminal.sh @@ -0,0 +1,14 @@ +#!/bin/sh +# +# copied from /usr/bin/i3-sensible-terminal and modified for my needs +# +for terminal in lxterminal xfce4-terminal terminator x-terminal-emulator konsole gnome-terminal urxvt rxvt termit Eterm aterm uxterm xterm roxterm termite terminology st qterminal lilyterm tilix terminix kitty guake tilda alacritty hyper; do + if command -v "$terminal" > /dev/null 2>&1; then + if command -v "$terminal" > /dev/null 2>&1; then + notify-send -t 300 "$0 exec '$terminal'" + fi + exec "$terminal" "$@" + fi +done + +i3-nagbar -m "$0 could not find a terminal emulator. Please install one." diff --git a/stow/i3/.config/i3/config b/stow/i3/.config/i3/config index 488b985..2392d0e 100644 --- a/stow/i3/.config/i3/config +++ b/stow/i3/.config/i3/config @@ -42,8 +42,8 @@ exec --no-startup-id nitrogen --restore exec --no-startup-id "/usr/bin/setxkbmap -layout us,de" exec --no-startup-id "/usr/bin/setxkbmap -option 'grp:alt_shift_toggle'" -default_border pixel 2 -default_floating_border pixel 7 +default_border pixel 8 +default_floating_border pixel 12 @@ -57,7 +57,7 @@ bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOU # Use Mouse+$mod to drag floating windows to their wanted position floating_modifier $mod -bindsym $mod+Return exec /usr/bin/i3-sensible-terminal +bindsym $mod+Return exec ~/.bin/sensible-terminal.sh # start a terminal # use hefault and hope for the best. ... # bindsym $mod+Return exec /usr/bin/gnome-terminal diff --git a/stow/lxterminal/.config/lxterminal/lxterminal.conf b/stow/lxterminal/.config/lxterminal/lxterminal.conf new file mode 100644 index 0000000..63a7e18 --- /dev/null +++ b/stow/lxterminal/.config/lxterminal/lxterminal.conf @@ -0,0 +1,58 @@ +[general] +fontname=Monospace 9 +selchars=-A-Za-z0-9,./?%&#:_ +scrollback=10000 +bgcolor=rgb(0,43,54) +bgalpha=65535 +fgcolor=rgb(131,148,150) +disallowbold=false +cursorblinks=false +cursorunderline=false +audiblebell=false +tabpos=top +hidescrollbar=true +hidemenubar=true +hideclosebutton=true +hidepointer=false +disablef10=false +disablealt=false + +palette_color_0=rgb(7,54,66) +palette_color_1=rgb(220,50,47) +palette_color_2=rgb(133,153,0) +palette_color_3=rgb(181,137,0) +palette_color_4=rgb(38,139,210) +palette_color_5=rgb(211,54,130) +palette_color_6=rgb(42,161,152) +palette_color_7=rgb(238,232,213) +palette_color_8=rgb(0,43,54) +palette_color_9=rgb(203,75,22) +palette_color_10=rgb(88,110,117) +palette_color_11=rgb(101,123,131) +palette_color_12=rgb(131,148,150) +palette_color_13=rgb(108,113,196) +palette_color_14=rgb(147,161,161) +palette_color_15=rgb(253,246,227) +color_preset=Solarized Dark +geometry_columns=80 +geometry_rows=24 +disableconfirm=false + +boldbright=false +visualbell=false + +[shortcut] +new_window_accel=N +new_tab_accel=T +close_tab_accel=W +close_window_accel=Q +copy_accel=C +paste_accel=V +name_tab_accel=I +previous_tab_accel=Left +next_tab_accel=Right +move_tab_left_accel=Page_Up +move_tab_right_accel=Page_Down +zoom_in_accel=plus +zoom_out_accel=underscore +zoom_reset_accel=parenright