Add Lazygit + Lazydocker

This commit is contained in:
Kujiu 2023-09-11 00:44:45 +02:00
parent 0e5321ae8e
commit f8eff459a2
Signed by: kujiu
GPG key ID: ABBB2CAC6855599F
10 changed files with 96 additions and 11 deletions

View file

@ -20,6 +20,7 @@ Some configurations for these tools:
- nvimpager (pager based on neovim)
- konsole
- elinks and browsh
- tmux and tmuxinator
- pms
You need to install:

View file

@ -0,0 +1,21 @@
gui:
language: 'auto' # one of 'auto' | 'en' | 'pl' | 'nl' | 'de' | 'tr'
theme:
activeBorderColor:
- "#71839b"
- bold
inactiveBorderColor:
- "#738091"
selectedLineBgColor:
- "#3c5372"
optionsTextColor:
- "#dfdfe0"
screenMode: "fullscreen" # one of 'normal' | 'half' | 'fullscreen'
stats:
graphs:
- caption: CPU (%)
statPath: DerivedStats.CPUPercentage
color: "#719cd6"
- caption: Memory (%)
statPath: DerivedStats.MemoryPercentage
color: "#81b29a"

View file

@ -0,0 +1,30 @@
gui:
# stuff relating to the UI
windowSize: 'full' # one of 'normal' | 'half' | 'full' default is 'normal'
timeFormat: '02/01/06' # https://pkg.go.dev/time#Time.Format
shortTimeFormat: '15:04'
theme:
activeBorderColor:
- "#71839b"
- bold
inactiveBorderColor:
- "#738091"
searchingActiveBorderColor:
- "#d6d6d7"
- bold
optionsTextColor:
- "#dfdfe0"
selectedLineBgColor:
- "#3c5372" # set to `default` to have no background colour
selectedRangeBgColor:
- "#3c5372"
cherryPickedCommitBgColor:
- "#9d79d6"
cherryPickedCommitFgColor:
- "#131a24"
unstagedChangesColor:
- "#719cd6"
defaultFgColor:
- "#cdcecf"
border: 'single' # one of 'single' | 'double' | 'rounded' | 'hidden'
animateExplosion: true # shows an explosion animation when nuking the working tree

View file

@ -76,3 +76,6 @@ set -g window-status-bell-style "NONE"
set -g window-status-format "#{?window_bell_flag,$WINDOW_BELL_FORMAT,$WINDOW_ACTIVITY_FORMAT_COND}"
set -g window-status-current-format "#[fg=$BG0,bg=$ORANGE,nobold,nounderscore,noitalics]#[bold]#I#W#F#[fg=$ORANGE,bg=$BG0,nobold,nounderscore,noitalics]"
set -g popup-style "fg=$FG1,bg=$SEL0"
set -g popup-border-style "fg=$BG4,bg=$SEL0"

View file

@ -16,9 +16,10 @@ set -g status-position top
bind-key a send-prefix
set -g display-time 1000
set -g default-terminal xterm-direct
set -g default-terminal tmux-direct
set -g mode-keys vi
set -g status-keys vi
set -g set-titles off
set-option -g allow-rename off
set-window-option -g monitor-activity on

View file

@ -41,7 +41,7 @@ pgp-provider=gpg
# Set the $TERM environment variable used for the embedded terminal.
#
# Default: xterm-256color
term=xterm-direct
term=tmux-direct
# Display OSC8 strings in the embedded terminal
#

View file

@ -31,7 +31,7 @@ style listTitle @dfdfe0 bold
style listTotal @719cd6
style mute @c94f6d
style shortName @9d79d6 bold
style state default
style state @cdcecf
style switches @f4a261
style tagMissing @c94f6d
style topbar @cdcecf
@ -39,12 +39,12 @@ style version @738091
style volume @81b29a
# Other styles
style commandText default
style commandText @cdcecf
style errorText @131a24 @c94f6d bold
style readout default
style readout @cdcecf
style searchText @d67ad2 bold
style sequenceText @dbc074
style statusbar default
style statusbar @cdcecf
style visualText @dbc074
# Unbind some default keys

View file

@ -1,11 +1,11 @@
name: chat
windows:
- news: TERM=xterm-256color newsboat
- xmpp: TERM=xterm-256color poezio
- mail1: aerc
- news: TERM=tmux-256color newsboat
- xmpp: TERM=tmux-256color poezio
- mail1: TERM=xterm-direct aerc
- mail2: neomutt
- toot: toot tui
- cal: ikhal
- music: pms
- music: TERM=xterm-direct pms
- other:

View file

@ -52,7 +52,7 @@ visibility_private = ["", "", "", "#dbc074", ""]
visibility_direct = ["", "", "", "#f4a261", ""]
# Styles
bold = ["", "", "", ",bold", ""]
bold = ["", "", "", "#cdcecf,bold", ""]
dim = ["", "", "", "#d6d6d7", ""]
highlight = ["", "", "", "#81b29a,italics", ""]
success = ["", "", "", "#81b29a", ""]

View file

@ -2307,6 +2307,35 @@
## terminal.xterm-direct.type <num>
set terminal.xterm-direct.type = 2
## terminal.tmux-direct
# Options specific to this terminal type (according to $TERM value).
## terminal.tmux-direct.charset <codepage>
set terminal.tmux-direct.charset = "System"
## terminal.tmux-direct.underline [0|1]
set terminal.tmux-direct.underline = 1
## terminal.tmux-direct.italic [0|1]
set terminal.tmux-direct.italic = 1
## terminal.tmux-direct.transparency [0|1]
set terminal.tmux-direct.transparency = 1
## terminal.tmux-direct.colors <num>
#TODO: Must be changed to 4 when supported
set terminal.tmux-direct.colors = 3
## terminal.tmux-direct.block_cursor [0|1]
set terminal.tmux-direct.block_cursor = 0
## terminal.tmux-direct.restrict_852 [0|1]
set terminal.tmux-direct.restrict_852 = 0
## terminal.tmux-direct.combine [0|1]
set terminal.tmux-direct.combine = 0
## terminal.tmux-direct.utf_8_io [0|1]
set terminal.tmux-direct.utf_8_io = 1
## terminal.tmux-direct.m11_hack [0|1]
set terminal.tmux-direct.m11_hack = 0
## terminal.tmux-direct.latin1_title [0|1]
set terminal.tmux-direct.latin1_title = 0
## terminal.tmux-direct.type <num>
set terminal.tmux-direct.type = 2
## terminal.konsole-direct.charset <codepage>
set terminal.konsole-direct.charset = "System"
## terminal.konsole-direct.underline [0|1]