Migrate configs to dotdrop dotfiles

This commit is contained in:
2022-01-27 15:21:11 +03:00
parent 109dcf2032
commit 188f89e7dc
19 changed files with 15 additions and 1 deletions

View File

@ -0,0 +1,51 @@
# -*- conf -*-
# 2021-01-20: avoid errors on remote systems when using less etc when the foot
# terminfo is not available.
term=xterm-256color
# Use fc-list to check fonts and styles
{%@@ if profile == "knafeh" @@%}
font=Cascadia Mono:style=Roman:size=12
font-bold=Cascadia Mono:style=SemiBold:size=12
font-italic=Cascadia Mono:style=Italic:size=12
{%@@ elif profile == "balozi" @@%}
font=Cascadia Mono:style=Roman:size=13.5
font-bold=Cascadia Mono:style=SemiBold:size=13.5
font-italic=Cascadia Mono:style=Italic:size=13.5
{%@@ endif @@%}
# I don't know where any bold italic is used, but this should work if I ever
# find any.
{%@@ if profile == "knafeh" @@%}
font-bold-italic=Cascadia Mono:style=Bold Italic:size=12
{%@@ elif profile == "balozi" @@%}
font-bold-italic=Cascadia Mono:style=Bold Italic:size=13.5
{%@@ endif @@%}
# Selenized dark
[cursor]
color = 103c48 53d6c7
[colors]
background= 103c48
foreground= adbcbc
regular0= 184956
regular1= fa5750
regular2= 75b938
regular3= dbb32d
regular4= 4695f7
regular5= f275be
regular6= 41c7b9
regular7= 72898f
bright0= 2d5b69
bright1= ff665c
bright2= 84c747
bright3= ebc13d
bright4= 58a3ff
bright5= ff84cd
bright6= 53d6c7
bright7= cad8d9
dim0= 72898f

View File

@ -0,0 +1,10 @@
profile external-dell {
output eDP-1 disable
# Dell P2416D, 23.8 inches, 123.41 PPI (see https://www.sven.de/dpi/)
# "make model serial" from `swaymsg -t get_outputs`
output "Dell Inc. DELL P2416D 6RC2C54O0NWS" mode 2560x1440 position 0,0 scale 1.75
}
profile internal {
output eDP-1 enable mode 1920x1080 scale 1.33 position 0,0
}

View File

@ -0,0 +1,26 @@
# Format
font=Source Sans Pro Semi-Bold 10
border-color=#073642
background-color=#002B36AA
text-color=#FDF6E3
format=<b>%s</b> <span color="#93A1A1">(%a)</span>\n%b
default-timeout=5000
# Hidden format (used when there are too many notifications)
[hidden]
format=Hidden: %h [%t]
[urgency=low]
text-color=#93A1A1
[urgency=low actionable]
border-color=#93A1A1
[urgency=normal actionable]
border-color=#268BD2
[urgency=high]
border-color=#9C2220
[urgency=high actionable]
border-color=#6C71C4

278
dotfiles/config/sway/config Normal file
View File

@ -0,0 +1,278 @@
# Default config for sway
#
# Copy this to ~/.config/sway/config and edit it to your liking.
#
# Read `man 5 sway` for a complete reference.
### Variables
#
# Logo key. Use Mod1 for Alt.
set $mod Mod1
# Home row direction keys, like vim
set $left h
set $down j
set $up k
set $right l
# Your preferred terminal emulator
set $term foot
# Your preferred application launcher
# Note: pass the final command to swaymsg so that the resulting window can be opened
# on the original workspace that the command was run on.
set $menu wofi --show drun -i | xargs swaymsg exec --
### Display
font pango:Source Sans Pro Semi-Bold 10
### Layout of apps
# check app_id with: swaymsg -t get_tree | grep "app_id"
assign [app_id="firefox"] 1
assign [app_id="Alacritty"] 2
assign [app_id="foot"] 2
assign [app_id="geary"] 3
assign [app_id="thunderbird"] 3
for_window [app_id="gnome-calculator"] floating enable
for_window [app_id="firefox" title="About Firefox"] floating enable
for_window [app_id="firefox" title="^Picture-in-Picture$"] floating enable; sticky enable
# Send the sharing indicator in Chrome and Firefox to the scratchpad
# https://www.reddit.com/r/swaywm/comments/kee35j/permanently_floating_windows/
for_window [title=".+[Ss]haring (Indicator|your screen)"] floating enable, move to scratchpad
for_window [title="Extension: \(PassFF\).*"] floating enable
for_window [title="Office 365 - Manual authentication"] floating enable
for_window [app_id="org.jellyfin.jellyfinmediaplayer"] inhibit_idle visible
for_window [title="(?:Open|Save) (?:File|Folder|As)"] floating enable, resize set width 1030 height 710
for_window [shell="xwayland"] title_format "%title [XWayland]"
### Output configuration
#
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
#
# Example configuration:
#
# output HDMI-A-1 resolution 1920x1080 position 1920,0
#
# You can get the names of your outputs by running: swaymsg -t get_outputs
# Wayland overlay bar for sound and brightness level
set $WOBSOCK $XDG_RUNTIME_DIR/wob.sock
### Idle configuration
#
# Example configuration:
#
# exec swayidle -w \
# timeout 300 'swaylock -f -c 000000' \
# timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
# before-sleep 'swaylock -f -c 000000'
#
# This will lock your screen after 300 seconds of inactivity, then turn off
# your displays after another 300 seconds, and turn your screens back on when
# resumed. It will also lock your screen before your computer goes to sleep.
### Input configuration
#
# Example configuration:
#
# input "2:14:SynPS/2_Synaptics_TouchPad" {
# dwt enabled
# tap enabled
# natural_scroll enabled
# middle_emulation enabled
# }
#
# You can get the names of your inputs by running: swaymsg -t get_inputs
# Read `man 5 sway-input` for more information about this section.
input type:touchpad {
# note that DWT only works for internal touchpads (see libinput issue #524)
dwt enabled
tap enabled
natural_scroll enabled
middle_emulation enabled
}
input type:keyboard {
xkb_layout "us,bg(phonetic),ara"
xkb_options grp:caps_toggle,grp_led:caps
}
### Key bindings
#
# Basics:
#
# Start a terminal
bindsym $mod+Return exec $term
# Kill focused window
bindsym $mod+Shift+q kill
# Start your launcher
bindsym $mod+d exec $menu
# Drag floating windows by holding down $mod and left mouse button.
# Resize them with right mouse button + $mod.
# Despite the name, also works for non-floating windows.
# Change normal to inverse to use left mouse button for resizing and right
# mouse button for dragging.
floating_modifier $mod normal
# Reload the configuration file
bindsym $mod+Shift+c reload
# Exit sway (logs you out of your Wayland session)
bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -b 'Yes, exit sway' 'swaymsg exit'
bindsym XF86AudioRaiseVolume exec pamixer -ui 5 && pamixer --get-volume > $WOBSOCK
bindsym XF86AudioLowerVolume exec pamixer -ud 5 && pamixer --get-volume > $WOBSOCK
bindsym XF86AudioMute exec pamixer --toggle-mute && ( pamixer --get-mute && echo 0 > $WOBSOCK ) || pamixer --get-volume > $WOBSOCK
bindsym XF86AudioMicMute exec pactl set-source-mute @DEFAULT_SOURCE@ toggle
bindsym XF86MonBrightnessUp exec light -S "$(light -G | awk '{ print int(($1 + .72) * 1.4) }')" && light -G | cut -d'.' -f1 > $WOBSOCK
bindsym XF86MonBrightnessDown exec light -S "$(light -G | awk '{ print int($1 / 1.4) }')" && light -G | cut -d'.' -f1 > $WOBSOCK
#
# Moving around:
#
# Move your focus around
bindsym $mod+$left focus left
bindsym $mod+Shift+Tab focus left
bindsym $mod+$down focus down
bindsym $mod+$up focus up
bindsym $mod+$right focus right
bindsym $mod+Tab focus right
# Or use $mod+[up|down|left|right]
bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right focus right
# Move the focused window with the same, but add Shift
bindsym $mod+Shift+$left move left
bindsym $mod+Shift+$down move down
bindsym $mod+Shift+$up move up
bindsym $mod+Shift+$right move right
# Ditto, with arrow keys
bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right
#
# Workspaces:
#
# Switch to workspace
bindsym $mod+1 workspace 1
bindsym $mod+2 workspace 2
bindsym $mod+3 workspace 3
bindsym $mod+4 workspace 4
bindsym $mod+5 workspace 5
bindsym $mod+6 workspace 6
bindsym $mod+7 workspace 7
bindsym $mod+8 workspace 8
bindsym $mod+9 workspace 9
bindsym $mod+0 workspace 10
# Move focused container to workspace
bindsym $mod+Shift+1 move container to workspace 1
bindsym $mod+Shift+2 move container to workspace 2
bindsym $mod+Shift+3 move container to workspace 3
bindsym $mod+Shift+4 move container to workspace 4
bindsym $mod+Shift+5 move container to workspace 5
bindsym $mod+Shift+6 move container to workspace 6
bindsym $mod+Shift+7 move container to workspace 7
bindsym $mod+Shift+8 move container to workspace 8
bindsym $mod+Shift+9 move container to workspace 9
bindsym $mod+Shift+0 move container to workspace 10
# Note: workspaces can have any name you want, not just numbers.
# We just use 1-10 as the default.
#
# Layout stuff:
#
# Start with tabbed layout in new workspaces
workspace_layout tabbed
# You can "split" the current object of your focus with
# $mod+b or $mod+v, for horizontal and vertical splits
# respectively.
bindsym $mod+b splith
bindsym $mod+v splitv
# Switch the current container between different layout styles
bindsym $mod+s layout stacking
bindsym $mod+w layout tabbed
bindsym $mod+e layout toggle split
# Fix accidental tiling containers like T[Alacritty Alacritty gedit]
# See: https://www.reddit.com/r/swaywm/comments/kzr2xl/how_do_i_undo_talacritty_alacritty_alacritty/
bindsym $mod+ctrl+a [tiling workspace="__focused__"] move workspace "reorder"; [workspace="reorder"] move workspace current
# Make the current focus fullscreen
bindsym $mod+f fullscreen
# Toggle the current focus between tiling and floating mode
bindsym $mod+Shift+space floating toggle
# Swap focus between the tiling area and the floating area
bindsym $mod+space focus mode_toggle
# Move focus to the parent container
bindsym $mod+a focus parent
#
# Scratchpad:
#
# Sway has a "scratchpad", which is a bag of holding for windows.
# You can send windows there and get them back later.
# Move the currently focused window to the scratchpad
bindsym $mod+Shift+minus move scratchpad
# Show the next scratchpad window or hide the focused scratchpad window.
# If there are multiple scratchpad windows, this command cycles through them.
bindsym $mod+minus scratchpad show
#
# Resizing containers:
#
mode "resize" {
# left will shrink the containers width
# right will grow the containers width
# up will shrink the containers height
# down will grow the containers height
bindsym $left resize shrink width 10px
bindsym $down resize grow height 10px
bindsym $up resize shrink height 10px
bindsym $right resize grow width 10px
# Ditto, with arrow keys
bindsym Left resize shrink width 10px
bindsym Down resize grow height 10px
bindsym Up resize shrink height 10px
bindsym Right resize grow width 10px
# Return to default mode
bindsym Return mode "default"
bindsym Escape mode "default"
}
bindsym $mod+r mode "resize"
#
# Status Bar:
#
# Read `man 5 sway-bar` for more information about this section.
bar {
position bottom
# When the status_command prints a new line to stdout, swaybar updates.
# The default just shows the current date and time.
status_command while ~/.config/sway/status.py; do sleep 1; done
colors {
statusline #ffffff
background #323232
inactive_workspace #32323200 #32323200 #5c5c5c
}
}
include /etc/sway/config.d/*
# Start sway-session.target, to which kanshi.service and swayidle.service bind.
exec_always "systemctl --user import-environment; systemctl --user start sway-session.target"

67
dotfiles/config/sway/status.py Executable file
View File

@ -0,0 +1,67 @@
#!/usr/bin/env python3
#
# Requires the following packages on Arch Linux:
# - ttf-twemoji (and make sure there are no other emoji fonts like noto-fonts-emoji
# - iwd (iwctl)
# - pulsemixer
# - python-psutil
from datetime import datetime
from subprocess import check_output
from sys import stdout
from psutil import sensors_battery
def write(data):
stdout.write("%s\n" % data)
stdout.flush()
def refresh():
try:
ssid = (
check_output(
"iwctl station wlan0 show | grep -o 'Connected network.*$' | sed 's/^Connected network\s\+//'",
shell=True,
)
.strip()
.decode("utf-8")
)
except Exception:
ssid = "None"
wifi_status = f"{ssid} 📶"
battery_percent = int(sensors_battery().percent)
battery_icon = "🔋"
battery_status = f"{battery_percent} {battery_icon}"
power_status = "🔌" if sensors_battery().power_plugged else ""
try:
# pulsemixer returns "10 10" so we need to split the output to get "10"
volume_level = (
check_output("pulsemixer --get-volume", shell=True).strip().decode("utf-8")
)
volume_level = int(volume_level.split(" ")[0])
if volume_level >= 70:
volume_icon = "🔊"
elif volume_level >= 30 and volume_level < 70:
volume_icon = "🔉"
elif volume_level < 30 and volume_level >= 1:
volume_icon = "🔈"
else:
volume_icon = "🔇"
except Exception:
volume_level = ""
volume_icon = ""
volume_status = f"{volume_level} {volume_icon}"
date = datetime.now().strftime("%Y-%m-%d %l:%M:%S %p")
write(f"{wifi_status} {volume_status} {battery_status} {power_status} {date}")
refresh()

View File

@ -0,0 +1,11 @@
[Unit]
Description=Dynamic output configuration for Wayland compositors
Documentation=https://github.com/emersion/kanshi
BindsTo=sway-session.target
[Service]
Type=simple
ExecStart=/usr/bin/kanshi
[Install]
WantedBy=sway-session.target

View File

@ -0,0 +1,8 @@
# See: https://github.com/swaywm/sway/wiki/Systemd-integration
# See: https://wiki.archlinux.org/title/Sway#Manage_Sway-specific_daemons_with_systemd
[Unit]
Description=sway compositor session
Documentation=man:systemd.special(7)
BindsTo=graphical-session.target
Wants=graphical-session-pre.target
After=graphical-session-pre.target

View File

@ -0,0 +1,17 @@
[Unit]
Description=Idle manager for Wayland
Documentation=man:swayidle(1)
BindsTo=sway-session.target
[Service]
Type=simple
ExecStart=/usr/bin/swayidle -w \
timeout 300 'swaylock -f -c 000000 \
-i /home/aorth/Downloads/3121px-Jerusalem-2013-Temple_Mount-Dome_of_the_Rock-Detail_01.jpg' \
timeout 600 'swaymsg "output * dpms off"' \
resume 'swaymsg "output * dpms on"' \
before-sleep 'swaylock -f -c 000000 \
-i /home/aorth/Downloads/3121px-Jerusalem-2013-Temple_Mount-Dome_of_the_Rock-Detail_01.jpg'
[Install]
WantedBy=sway-session.target

View File

@ -0,0 +1,12 @@
[Unit]
Description=A lightweight overlay volume/backlight/progress/anything bar for Wayland
Documentation=man:wob(1)
BindsTo=sway-session.target
ConditionEnvironment=WAYLAND_DISPLAY
[Service]
StandardInput=socket
ExecStart=/usr/bin/wob
[Install]
WantedBy=sway-session.target

View File

@ -0,0 +1,6 @@
[Socket]
ListenFIFO=%t/wob.sock
SocketMode=0600
[Install]
WantedBy=sockets.target

View File

@ -0,0 +1,17 @@
#show=drun
#filter_rate=100
#allow_markup=true
#no_actions=true
#halign=fill
#orientation=vertical
#content_halign=fill
#insensitive=true
allow_images=true
image_size=40
#width=300
#height=200
insensitive=true
mode=drun,run
columns=1
padding:5
lines=6

View File

@ -0,0 +1,33 @@
window {
border: 2px solid #2aa198;
border-radius: 12px;
background-color: rgba(4, 30, 37, 0.88);
}
#input {
color: #859900;
border: 2px solid #2aa198;
border-radius: 12px;
background-color: rgba(4, 30, 37, 0.88);
font-size: 18px;
}
#outer-box {
margin: 10px;
}
#scroll {
margin: 5px 0px;
font-size: 16px;
color: #859900;
}
#scroll label {
margin: 1px 1px;
}
#entry:selected {
color: #000000;
background-color: #d33682;
}

3
dotfiles/pam_environment Normal file
View File

@ -0,0 +1,3 @@
MOZ_ENABLE_WAYLAND=1
QT_QPA_PLATFORM=wayland-egl
XDG_CURRENT_DESKTOP=sway

12
dotfiles/psqlrc Normal file
View File

@ -0,0 +1,12 @@
\set QUIET 1
\timing on
\set ON_ERROR_ROLLBACK interactive
\set VERBOSITY verbose
\set PROMPT1 '%[%033[1;35m%]%M/%/%R%[%033[0m%]% ☘ '
\set PROMPT2 '%[%033[1;30m%]...%[%033[0m%] %R '
\set HISTFILE ~/.psql_history- :DBNAME
\set HISTCONTROL ignoredups
\set COMP_KEYWORD_CASE upper
\pset null ␀
\pset linestyle unicode
\unset QUIET

134
dotfiles/tmux.conf Normal file
View File

@ -0,0 +1,134 @@
unbind C-b
set-option -g prefix ^A
bind a send-prefix
# Bind appropriate commands similar to screen.
# lockscreen ^X x
unbind ^X
bind ^X lock-server
unbind x
bind x lock-server
# screen ^C c
unbind ^C
bind ^C new-window
unbind c
bind c new-window
# detach ^D d
unbind ^D
bind ^D detach
# displays *
unbind *
bind * list-clients
# next ^@ ^N sp n
unbind ^@
bind ^@ next-window
unbind ^N
bind ^N next-window
unbind " "
bind " " next-window
unbind n
bind n next-window
# title A
unbind A
bind A command-prompt "rename-window %%"
# other ^A
unbind ^A
bind ^A last-window
# prev ^H ^P p ^?
unbind ^H
bind ^H previous-window
unbind ^P
bind ^P previous-window
unbind p
bind p previous-window
unbind BSpace
bind BSpace previous-window
# windows ^W w
unbind ^W
bind ^W list-windows
unbind w
bind w list-windows
# kill K k
unbind K
bind K confirm-before "kill-window"
unbind k
bind k confirm-before "kill-window"
# redisplay ^L l
unbind ^L
bind ^L refresh-client
unbind l
bind l refresh-client
# " windowlist -b
unbind '"'
bind '"' choose-window
# use Escape for entering copy mode, like screen
bind Escape copy-mode
# less time between commands in a command sequence
set -s escape-time 0
# use vi-style key bindings
set-option -g mode-keys vi
# start numbering windows a 1
set -g base-index 1
# Rather than constraining window size to the maximum size of any client
# connected to the *session*, constrain window size to the maximum size
# of any client connected to *that window*. Much more reasonable.
set-window-option -g aggressive-resize on
# the visual bell causes a micro delay when typing. Tab completion triggers
# the bell and typing halts for a second and it's really annoying.
set-option -g visual-bell off
# status bar
set-option -g status-justify left
set-option -g status-left ''
set-option -g status-right '#[fg=colour47]#H #[fg=red]#(cut -d " " -f 1-3 /proc/loadavg) #[fg=colour227]%Y-%m-%d %H:%M#[default]'
# scrollback buffer
set-option -g history-limit 4096
# 2020-07-10: According to the tmux FAQ, inside tmux TERM must be "screen",
# "tmux" or similar (such as "tmux-256color"). Systems with older terminfo
# like CentOS 7 don't support tmux-256color so let's keep screen-256color
# for now.
set-option -g default-terminal "screen-256color"
#### COLOUR (Solarized dark)
# default statusbar colors
set-option -g status-style "bg=black fg=yellow default"
# default window title colors
set-window-option -g window-status-style "fg=brightblue bg=default"
# active window title colors
set-window-option -g window-status-current-style "fg=brightred bg=default"
# pane border
set-option -g pane-border-style "fg=black"
set-option -g pane-active-border-style "fg=brightgreen"
# message text
set-option -g message-style "bg=black fg=brightred"
# pane number display
set-option -g display-panes-active-colour blue #blue
set-option -g display-panes-colour brightred #orange
# clock
set-window-option -g clock-mode-colour green #green

3
dotfiles/vim/.netrwhist Normal file
View File

@ -0,0 +1,3 @@
let g:netrw_dirhistmax =10
let g:netrw_dirhistcnt =1
let g:netrw_dirhist_1='/home/aorth/.config/foot'

View File

@ -0,0 +1,720 @@
" Name: Selenized dark/light, beta version
" Author: Jan Warchoł <jan.warchol@gmail.com>
" Maintainer: Jan Warchoł <jan.warchol@gmail.com>
" License: Vim License (see `:help license`)
" Last Updated: Sat 25 Apr 2020 17:38:38
" Generated by Colortemplate v2.0.0
hi clear
if exists('syntax_on')
syntax reset
endif
let g:colors_name = 'selenized'
let s:t_Co = exists('&t_Co') && !empty(&t_Co) && &t_Co > 1 ? &t_Co : 2
let s:italics = (&t_ZH != '' && &t_ZH != '') || has('gui_running') || has('nvim')
if (has('termguicolors') && &termguicolors) || has('gui_running')
if &background ==# 'dark'
let g:terminal_ansi_colors = ['#184956', '#fa5750', '#75b938', '#dbb32d',
\ '#4695f7', '#f275be', '#41c7b9', '#72898f', '#2d5b69', '#ff665c',
\ '#84c747', '#ebc13d', '#58a3ff', '#ff84cd', '#53d6c7', '#cad8d9']
if has('nvim')
let g:terminal_color_0 = '#184956'
let g:terminal_color_1 = '#fa5750'
let g:terminal_color_2 = '#75b938'
let g:terminal_color_3 = '#dbb32d'
let g:terminal_color_4 = '#4695f7'
let g:terminal_color_5 = '#f275be'
let g:terminal_color_6 = '#41c7b9'
let g:terminal_color_7 = '#72898f'
let g:terminal_color_8 = '#2d5b69'
let g:terminal_color_9 = '#ff665c'
let g:terminal_color_10 = '#84c747'
let g:terminal_color_11 = '#ebc13d'
let g:terminal_color_12 = '#58a3ff'
let g:terminal_color_13 = '#ff84cd'
let g:terminal_color_14 = '#53d6c7'
let g:terminal_color_15 = '#cad8d9'
endif
hi Normal guifg=#adbcbc guibg=#103c48 guisp=NONE gui=NONE cterm=NONE
hi IncSearch guifg=#ed8649 guibg=NONE guisp=NONE gui=reverse cterm=reverse
hi Search guifg=#dbb32d guibg=NONE guisp=NONE gui=reverse cterm=reverse
hi! link QuickFixLine Search
hi Visual guifg=NONE guibg=#2d5b69 guisp=NONE gui=NONE cterm=NONE
hi MatchParen guifg=#ebc13d guibg=#2d5b69 guisp=NONE gui=bold cterm=bold
hi Cursor guifg=NONE guibg=NONE guisp=NONE gui=reverse ctermfg=NONE ctermbg=NONE cterm=reverse
hi! link lCursor Cursor
hi CursorLine guifg=NONE guibg=#184956 guisp=NONE gui=NONE cterm=NONE
hi CursorColumn guifg=NONE guibg=#184956 guisp=NONE gui=NONE cterm=NONE
hi Folded guifg=NONE guibg=#184956 guisp=NONE gui=NONE cterm=NONE
hi ColorColumn guifg=NONE guibg=#2d5b69 guisp=NONE gui=NONE cterm=NONE
hi LineNr guifg=#72898f guibg=#184956 guisp=NONE gui=NONE cterm=NONE
hi CursorLineNr guifg=#cad8d9 guibg=NONE guisp=NONE gui=NONE cterm=NONE
hi VertSplit guifg=#72898f guibg=#72898f guisp=NONE gui=NONE cterm=NONE
hi StatusLine guifg=NONE guibg=NONE guisp=NONE gui=reverse ctermfg=NONE ctermbg=NONE cterm=reverse
hi StatusLineNC guifg=NONE guibg=#2d5b69 guisp=NONE gui=NONE cterm=NONE
hi! link StatusLineTerm StatusLine
hi! link StatusLineTermNC StatusLineNC
hi TabLineSel guifg=#cad8d9 guibg=#184956 guisp=NONE gui=bold,reverse cterm=bold,reverse
hi TabLine guifg=#72898f guibg=NONE guisp=NONE gui=reverse cterm=reverse
hi TabLineFill guifg=#72898f guibg=NONE guisp=NONE gui=reverse cterm=reverse
hi ToolbarButton guifg=NONE guibg=NONE guisp=NONE gui=reverse ctermfg=NONE ctermbg=NONE cterm=reverse
hi ToolbarLine guifg=NONE guibg=#2d5b69 guisp=NONE gui=NONE cterm=NONE
hi Pmenu guifg=#72898f guibg=#184956 guisp=NONE gui=NONE cterm=NONE
hi PmenuSel guifg=NONE guibg=#2d5b69 guisp=NONE gui=NONE cterm=NONE
hi PmenuThumb guifg=NONE guibg=#72898f guisp=NONE gui=NONE cterm=NONE
hi PmenuSbar guifg=NONE guibg=#2d5b69 guisp=NONE gui=NONE cterm=NONE
hi DiffAdd guifg=#75b938 guibg=#184956 guisp=NONE gui=NONE cterm=NONE
hi DiffChange guifg=NONE guibg=#184956 guisp=NONE gui=NONE cterm=NONE
hi DiffDelete guifg=#fa5750 guibg=#184956 guisp=NONE gui=NONE cterm=NONE
hi DiffText guifg=#184956 guibg=#dbb32d guisp=NONE gui=NONE cterm=NONE
hi Comment guifg=#72898f guibg=NONE guisp=NONE gui=italic cterm=italic
hi Constant guifg=#41c7b9 guibg=NONE guisp=NONE gui=NONE cterm=NONE
hi! link String Constant
hi! link Number Constant
hi! link Boolean Constant
hi! link Character Constant
hi! link Float Constant
hi Identifier guifg=#58a3ff guibg=NONE guisp=NONE gui=NONE cterm=NONE
hi! link Function Identifier
hi Statement guifg=#ebc13d guibg=NONE guisp=NONE gui=NONE cterm=NONE
hi! link Conditional Statement
hi! link Repeat Statement
hi! link Keyword Statement
hi! link Label Statement
hi! link Exception Statement
hi! link Operator Statement
hi PreProc guifg=#ed8649 guibg=NONE guisp=NONE gui=NONE cterm=NONE
hi! link Define PreProc
hi! link PreCondit PreProc
hi! link Include PreProc
hi! link Macro Include
hi Type guifg=#75b938 guibg=NONE guisp=NONE gui=NONE cterm=NONE
hi! link Typedef Type
hi! link StorageClass Type
hi! link Structure Type
hi Special guifg=#fa5750 guibg=NONE guisp=NONE gui=NONE cterm=NONE
hi! link SpecialChar Special
hi! link Delimiter Special
hi! link SpecialComment Special
hi! link Debug Special
hi! link Tag Special
hi Error guifg=#fa5750 guibg=NONE guisp=NONE gui=bold cterm=bold
hi Todo guifg=#f275be guibg=NONE guisp=NONE gui=bold cterm=bold
hi Underlined guifg=#af88eb guibg=NONE guisp=NONE gui=underline cterm=underline
hi Ignore guifg=#2d5b69 guibg=NONE guisp=NONE gui=NONE cterm=NONE
hi VimCommand guifg=#dbb32d guibg=NONE guisp=NONE gui=NONE cterm=NONE
hi RubyDefine guifg=#cad8d9 guibg=NONE guisp=NONE gui=bold cterm=bold
if !s:italics
hi Comment gui=NONE cterm=NONE
endif
if get(g:, 'selenized_green_keywords', 0)
hi Statement guifg=#75b938 guibg=NONE guisp=NONE gui=NONE cterm=NONE
hi Type guifg=#dbb32d guibg=NONE guisp=NONE gui=NONE cterm=NONE
endif
hi Terminal guifg=NONE guibg=NONE guisp=NONE gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
hi Conceal guifg=NONE guibg=NONE guisp=NONE gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
hi Directory guifg=NONE guibg=NONE guisp=NONE gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
hi EndOfBuffer guifg=NONE guibg=NONE guisp=NONE gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
hi ErrorMsg guifg=NONE guibg=NONE guisp=NONE gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
hi FoldColumn guifg=NONE guibg=NONE guisp=NONE gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
hi ModeMsg guifg=NONE guibg=NONE guisp=NONE gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
hi MoreMsg guifg=NONE guibg=NONE guisp=NONE gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
hi NonText guifg=NONE guibg=NONE guisp=NONE gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
hi Question guifg=NONE guibg=NONE guisp=NONE gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
hi SignColumn guifg=NONE guibg=NONE guisp=NONE gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
hi SpecialKey guifg=NONE guibg=NONE guisp=NONE gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
hi SpellBad guifg=NONE guibg=NONE guisp=#fa5750 gui=undercurl ctermfg=NONE ctermbg=NONE cterm=undercurl
hi SpellCap guifg=NONE guibg=NONE guisp=#fa5750 gui=undercurl ctermfg=NONE ctermbg=NONE cterm=undercurl
hi SpellLocal guifg=NONE guibg=NONE guisp=#dbb32d gui=undercurl ctermfg=NONE ctermbg=NONE cterm=undercurl
hi SpellRare guifg=NONE guibg=NONE guisp=#41c7b9 gui=undercurl ctermfg=NONE ctermbg=NONE cterm=undercurl
hi Title guifg=NONE guibg=NONE guisp=NONE gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
hi VisualNOS guifg=NONE guibg=NONE guisp=NONE gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
hi WarningMsg guifg=NONE guibg=NONE guisp=NONE gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
hi WildMenu guifg=NONE guibg=NONE guisp=NONE gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
unlet s:t_Co s:italics
finish
endif
" Light background
let g:terminal_ansi_colors = ['#e9e4d0', '#d2212d', '#489100', '#ad8900',
\ '#0072d4', '#ca4898', '#009c8f', '#909995', '#cfcebe', '#cc1729',
\ '#428b00', '#a78300', '#006dce', '#c44392', '#00978a', '#3a4d53']
if has('nvim')
let g:terminal_color_0 = '#e9e4d0'
let g:terminal_color_1 = '#d2212d'
let g:terminal_color_2 = '#489100'
let g:terminal_color_3 = '#ad8900'
let g:terminal_color_4 = '#0072d4'
let g:terminal_color_5 = '#ca4898'
let g:terminal_color_6 = '#009c8f'
let g:terminal_color_7 = '#909995'
let g:terminal_color_8 = '#cfcebe'
let g:terminal_color_9 = '#cc1729'
let g:terminal_color_10 = '#428b00'
let g:terminal_color_11 = '#a78300'
let g:terminal_color_12 = '#006dce'
let g:terminal_color_13 = '#c44392'
let g:terminal_color_14 = '#00978a'
let g:terminal_color_15 = '#3a4d53'
endif
hi Normal guifg=#53676d guibg=#fbf3db guisp=NONE gui=NONE cterm=NONE
hi IncSearch guifg=#c25d1e guibg=NONE guisp=NONE gui=reverse cterm=reverse
hi Search guifg=#ad8900 guibg=NONE guisp=NONE gui=reverse cterm=reverse
hi! link QuickFixLine Search
hi Visual guifg=NONE guibg=#cfcebe guisp=NONE gui=NONE cterm=NONE
hi MatchParen guifg=#a78300 guibg=#cfcebe guisp=NONE gui=bold cterm=bold
hi Cursor guifg=NONE guibg=NONE guisp=NONE gui=reverse ctermfg=NONE ctermbg=NONE cterm=reverse
hi! link lCursor Cursor
hi CursorLine guifg=NONE guibg=#e9e4d0 guisp=NONE gui=NONE cterm=NONE
hi CursorColumn guifg=NONE guibg=#e9e4d0 guisp=NONE gui=NONE cterm=NONE
hi Folded guifg=NONE guibg=#e9e4d0 guisp=NONE gui=NONE cterm=NONE
hi ColorColumn guifg=NONE guibg=#cfcebe guisp=NONE gui=NONE cterm=NONE
hi LineNr guifg=#909995 guibg=#e9e4d0 guisp=NONE gui=NONE cterm=NONE
hi CursorLineNr guifg=#3a4d53 guibg=NONE guisp=NONE gui=NONE cterm=NONE
hi VertSplit guifg=#909995 guibg=#909995 guisp=NONE gui=NONE cterm=NONE
hi StatusLine guifg=NONE guibg=NONE guisp=NONE gui=reverse ctermfg=NONE ctermbg=NONE cterm=reverse
hi StatusLineNC guifg=NONE guibg=#cfcebe guisp=NONE gui=NONE cterm=NONE
hi! link StatusLineTerm StatusLine
hi! link StatusLineTermNC StatusLineNC
hi TabLineSel guifg=#3a4d53 guibg=#e9e4d0 guisp=NONE gui=bold,reverse cterm=bold,reverse
hi TabLine guifg=#909995 guibg=NONE guisp=NONE gui=reverse cterm=reverse
hi TabLineFill guifg=#909995 guibg=NONE guisp=NONE gui=reverse cterm=reverse
hi ToolbarButton guifg=NONE guibg=NONE guisp=NONE gui=reverse ctermfg=NONE ctermbg=NONE cterm=reverse
hi ToolbarLine guifg=NONE guibg=#cfcebe guisp=NONE gui=NONE cterm=NONE
hi Pmenu guifg=#909995 guibg=#e9e4d0 guisp=NONE gui=NONE cterm=NONE
hi PmenuSel guifg=NONE guibg=#cfcebe guisp=NONE gui=NONE cterm=NONE
hi PmenuThumb guifg=NONE guibg=#909995 guisp=NONE gui=NONE cterm=NONE
hi PmenuSbar guifg=NONE guibg=#cfcebe guisp=NONE gui=NONE cterm=NONE
hi DiffAdd guifg=#489100 guibg=#e9e4d0 guisp=NONE gui=NONE cterm=NONE
hi DiffChange guifg=NONE guibg=#e9e4d0 guisp=NONE gui=NONE cterm=NONE
hi DiffDelete guifg=#d2212d guibg=#e9e4d0 guisp=NONE gui=NONE cterm=NONE
hi DiffText guifg=#e9e4d0 guibg=#ad8900 guisp=NONE gui=NONE cterm=NONE
hi Comment guifg=#909995 guibg=NONE guisp=NONE gui=italic cterm=italic
hi Constant guifg=#009c8f guibg=NONE guisp=NONE gui=NONE cterm=NONE
hi! link String Constant
hi! link Number Constant
hi! link Boolean Constant
hi! link Character Constant
hi! link Float Constant
hi Identifier guifg=#006dce guibg=NONE guisp=NONE gui=NONE cterm=NONE
hi! link Function Identifier
hi Statement guifg=#a78300 guibg=NONE guisp=NONE gui=NONE cterm=NONE
hi! link Conditional Statement
hi! link Repeat Statement
hi! link Keyword Statement
hi! link Label Statement
hi! link Exception Statement
hi! link Operator Statement
hi PreProc guifg=#c25d1e guibg=NONE guisp=NONE gui=NONE cterm=NONE
hi! link Define PreProc
hi! link PreCondit PreProc
hi! link Include PreProc
hi! link Macro Include
hi Type guifg=#489100 guibg=NONE guisp=NONE gui=NONE cterm=NONE
hi! link Typedef Type
hi! link StorageClass Type
hi! link Structure Type
hi Special guifg=#d2212d guibg=NONE guisp=NONE gui=NONE cterm=NONE
hi! link SpecialChar Special
hi! link Delimiter Special
hi! link SpecialComment Special
hi! link Debug Special
hi! link Tag Special
hi Error guifg=#d2212d guibg=NONE guisp=NONE gui=bold cterm=bold
hi Todo guifg=#ca4898 guibg=NONE guisp=NONE gui=bold cterm=bold
hi Underlined guifg=#8762c6 guibg=NONE guisp=NONE gui=underline cterm=underline
hi Ignore guifg=#cfcebe guibg=NONE guisp=NONE gui=NONE cterm=NONE
hi VimCommand guifg=#ad8900 guibg=NONE guisp=NONE gui=NONE cterm=NONE
hi RubyDefine guifg=#3a4d53 guibg=NONE guisp=NONE gui=bold cterm=bold
if !s:italics
hi Comment gui=NONE cterm=NONE
endif
if get(g:, 'selenized_green_keywords', 0)
hi Statement guifg=#489100 guibg=NONE guisp=NONE gui=NONE cterm=NONE
hi Type guifg=#ad8900 guibg=NONE guisp=NONE gui=NONE cterm=NONE
endif
hi Terminal guifg=NONE guibg=NONE guisp=NONE gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
hi Conceal guifg=NONE guibg=NONE guisp=NONE gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
hi Directory guifg=NONE guibg=NONE guisp=NONE gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
hi EndOfBuffer guifg=NONE guibg=NONE guisp=NONE gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
hi ErrorMsg guifg=NONE guibg=NONE guisp=NONE gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
hi FoldColumn guifg=NONE guibg=NONE guisp=NONE gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
hi ModeMsg guifg=NONE guibg=NONE guisp=NONE gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
hi MoreMsg guifg=NONE guibg=NONE guisp=NONE gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
hi NonText guifg=NONE guibg=NONE guisp=NONE gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
hi Question guifg=NONE guibg=NONE guisp=NONE gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
hi SignColumn guifg=NONE guibg=NONE guisp=NONE gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
hi SpecialKey guifg=NONE guibg=NONE guisp=NONE gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
hi SpellBad guifg=NONE guibg=NONE guisp=#d2212d gui=undercurl ctermfg=NONE ctermbg=NONE cterm=undercurl
hi SpellCap guifg=NONE guibg=NONE guisp=#d2212d gui=undercurl ctermfg=NONE ctermbg=NONE cterm=undercurl
hi SpellLocal guifg=NONE guibg=NONE guisp=#ad8900 gui=undercurl ctermfg=NONE ctermbg=NONE cterm=undercurl
hi SpellRare guifg=NONE guibg=NONE guisp=#009c8f gui=undercurl ctermfg=NONE ctermbg=NONE cterm=undercurl
hi Title guifg=NONE guibg=NONE guisp=NONE gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
hi VisualNOS guifg=NONE guibg=NONE guisp=NONE gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
hi WarningMsg guifg=NONE guibg=NONE guisp=NONE gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
hi WildMenu guifg=NONE guibg=NONE guisp=NONE gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
unlet s:t_Co s:italics
finish
endif
if s:t_Co >= 256
if &background ==# 'dark'
hi Normal ctermfg=250 ctermbg=237 cterm=NONE
if !has('patch-8.0.0616') && !has('nvim') " Fix for Vim bug
set background=dark
endif
hi IncSearch ctermfg=173 ctermbg=NONE cterm=reverse
hi Search ctermfg=178 ctermbg=NONE cterm=reverse
hi! link QuickFixLine Search
hi Visual ctermfg=NONE ctermbg=240 cterm=NONE
hi MatchParen ctermfg=178 ctermbg=240 cterm=bold
hi Cursor ctermfg=NONE ctermbg=NONE cterm=reverse
hi! link lCursor Cursor
hi CursorLine ctermfg=NONE ctermbg=238 cterm=NONE
hi CursorColumn ctermfg=NONE ctermbg=238 cterm=NONE
hi Folded ctermfg=NONE ctermbg=238 cterm=NONE
hi ColorColumn ctermfg=NONE ctermbg=240 cterm=NONE
hi LineNr ctermfg=245 ctermbg=238 cterm=NONE
hi CursorLineNr ctermfg=252 ctermbg=NONE cterm=NONE
hi VertSplit ctermfg=245 ctermbg=245 cterm=NONE
hi StatusLine ctermfg=NONE ctermbg=NONE cterm=reverse
hi StatusLineNC ctermfg=NONE ctermbg=240 cterm=NONE
hi! link StatusLineTerm StatusLine
hi! link StatusLineTermNC StatusLineNC
hi TabLineSel ctermfg=252 ctermbg=238 cterm=bold,reverse
hi TabLine ctermfg=245 ctermbg=NONE cterm=reverse
hi TabLineFill ctermfg=245 ctermbg=NONE cterm=reverse
hi ToolbarButton ctermfg=NONE ctermbg=NONE cterm=reverse
hi ToolbarLine ctermfg=NONE ctermbg=240 cterm=NONE
hi Pmenu ctermfg=245 ctermbg=238 cterm=NONE
hi PmenuSel ctermfg=NONE ctermbg=240 cterm=NONE
hi PmenuThumb ctermfg=NONE ctermbg=245 cterm=NONE
hi PmenuSbar ctermfg=NONE ctermbg=240 cterm=NONE
hi DiffAdd ctermfg=70 ctermbg=238 cterm=NONE
hi DiffChange ctermfg=NONE ctermbg=238 cterm=NONE
hi DiffDelete ctermfg=203 ctermbg=238 cterm=NONE
hi DiffText ctermfg=238 ctermbg=178 cterm=NONE
hi Comment ctermfg=245 ctermbg=NONE cterm=italic
hi Constant ctermfg=44 ctermbg=NONE cterm=NONE
hi! link String Constant
hi! link Number Constant
hi! link Boolean Constant
hi! link Character Constant
hi! link Float Constant
hi Identifier ctermfg=39 ctermbg=NONE cterm=NONE
hi! link Function Identifier
hi Statement ctermfg=178 ctermbg=NONE cterm=NONE
hi! link Conditional Statement
hi! link Repeat Statement
hi! link Keyword Statement
hi! link Label Statement
hi! link Exception Statement
hi! link Operator Statement
hi PreProc ctermfg=173 ctermbg=NONE cterm=NONE
hi! link Define PreProc
hi! link PreCondit PreProc
hi! link Include PreProc
hi! link Macro Include
hi Type ctermfg=70 ctermbg=NONE cterm=NONE
hi! link Typedef Type
hi! link StorageClass Type
hi! link Structure Type
hi Special ctermfg=203 ctermbg=NONE cterm=NONE
hi! link SpecialChar Special
hi! link Delimiter Special
hi! link SpecialComment Special
hi! link Debug Special
hi! link Tag Special
hi Error ctermfg=203 ctermbg=NONE cterm=bold
hi Todo ctermfg=205 ctermbg=NONE cterm=bold
hi Underlined ctermfg=141 ctermbg=NONE cterm=underline
hi Ignore ctermfg=240 ctermbg=NONE cterm=NONE
hi VimCommand ctermfg=178 ctermbg=NONE cterm=NONE
hi RubyDefine ctermfg=252 ctermbg=NONE cterm=bold
if !s:italics
hi Comment cterm=NONE
endif
if get(g:, 'selenized_green_keywords', 0)
hi Statement ctermfg=70 ctermbg=NONE cterm=NONE
hi Type ctermfg=178 ctermbg=NONE cterm=NONE
endif
hi Terminal ctermfg=NONE ctermbg=NONE cterm=NONE
hi Conceal ctermfg=NONE ctermbg=NONE cterm=NONE
hi Directory ctermfg=NONE ctermbg=NONE cterm=NONE
hi EndOfBuffer ctermfg=NONE ctermbg=NONE cterm=NONE
hi ErrorMsg ctermfg=NONE ctermbg=NONE cterm=NONE
hi FoldColumn ctermfg=NONE ctermbg=NONE cterm=NONE
hi ModeMsg ctermfg=NONE ctermbg=NONE cterm=NONE
hi MoreMsg ctermfg=NONE ctermbg=NONE cterm=NONE
hi NonText ctermfg=NONE ctermbg=NONE cterm=NONE
hi Question ctermfg=NONE ctermbg=NONE cterm=NONE
hi SignColumn ctermfg=NONE ctermbg=NONE cterm=NONE
hi SpecialKey ctermfg=NONE ctermbg=NONE cterm=NONE
hi SpellBad ctermfg=NONE ctermbg=NONE cterm=underline
hi SpellCap ctermfg=NONE ctermbg=NONE cterm=underline
hi SpellLocal ctermfg=NONE ctermbg=NONE cterm=underline
hi SpellRare ctermfg=NONE ctermbg=NONE cterm=underline
hi Title ctermfg=NONE ctermbg=NONE cterm=NONE
hi VisualNOS ctermfg=NONE ctermbg=NONE cterm=NONE
hi WarningMsg ctermfg=NONE ctermbg=NONE cterm=NONE
hi WildMenu ctermfg=NONE ctermbg=NONE cterm=NONE
unlet s:t_Co s:italics
finish
endif
" Light background
hi Normal ctermfg=241 ctermbg=230 cterm=NONE
hi IncSearch ctermfg=166 ctermbg=NONE cterm=reverse
hi Search ctermfg=136 ctermbg=NONE cterm=reverse
hi! link QuickFixLine Search
hi Visual ctermfg=NONE ctermbg=252 cterm=NONE
hi MatchParen ctermfg=136 ctermbg=252 cterm=bold
hi Cursor ctermfg=NONE ctermbg=NONE cterm=reverse
hi! link lCursor Cursor
hi CursorLine ctermfg=NONE ctermbg=187 cterm=NONE
hi CursorColumn ctermfg=NONE ctermbg=187 cterm=NONE
hi Folded ctermfg=NONE ctermbg=187 cterm=NONE
hi ColorColumn ctermfg=NONE ctermbg=252 cterm=NONE
hi LineNr ctermfg=246 ctermbg=187 cterm=NONE
hi CursorLineNr ctermfg=239 ctermbg=NONE cterm=NONE
hi VertSplit ctermfg=246 ctermbg=246 cterm=NONE
hi StatusLine ctermfg=NONE ctermbg=NONE cterm=reverse
hi StatusLineNC ctermfg=NONE ctermbg=252 cterm=NONE
hi! link StatusLineTerm StatusLine
hi! link StatusLineTermNC StatusLineNC
hi TabLineSel ctermfg=239 ctermbg=187 cterm=bold,reverse
hi TabLine ctermfg=246 ctermbg=NONE cterm=reverse
hi TabLineFill ctermfg=246 ctermbg=NONE cterm=reverse
hi ToolbarButton ctermfg=NONE ctermbg=NONE cterm=reverse
hi ToolbarLine ctermfg=NONE ctermbg=252 cterm=NONE
hi Pmenu ctermfg=246 ctermbg=187 cterm=NONE
hi PmenuSel ctermfg=NONE ctermbg=252 cterm=NONE
hi PmenuThumb ctermfg=NONE ctermbg=246 cterm=NONE
hi PmenuSbar ctermfg=NONE ctermbg=252 cterm=NONE
hi DiffAdd ctermfg=64 ctermbg=187 cterm=NONE
hi DiffChange ctermfg=NONE ctermbg=187 cterm=NONE
hi DiffDelete ctermfg=160 ctermbg=187 cterm=NONE
hi DiffText ctermfg=187 ctermbg=136 cterm=NONE
hi Comment ctermfg=246 ctermbg=NONE cterm=italic
hi Constant ctermfg=37 ctermbg=NONE cterm=NONE
hi! link String Constant
hi! link Number Constant
hi! link Boolean Constant
hi! link Character Constant
hi! link Float Constant
hi Identifier ctermfg=25 ctermbg=NONE cterm=NONE
hi! link Function Identifier
hi Statement ctermfg=136 ctermbg=NONE cterm=NONE
hi! link Conditional Statement
hi! link Repeat Statement
hi! link Keyword Statement
hi! link Label Statement
hi! link Exception Statement
hi! link Operator Statement
hi PreProc ctermfg=166 ctermbg=NONE cterm=NONE
hi! link Define PreProc
hi! link PreCondit PreProc
hi! link Include PreProc
hi! link Macro Include
hi Type ctermfg=64 ctermbg=NONE cterm=NONE
hi! link Typedef Type
hi! link StorageClass Type
hi! link Structure Type
hi Special ctermfg=160 ctermbg=NONE cterm=NONE
hi! link SpecialChar Special
hi! link Delimiter Special
hi! link SpecialComment Special
hi! link Debug Special
hi! link Tag Special
hi Error ctermfg=160 ctermbg=NONE cterm=bold
hi Todo ctermfg=169 ctermbg=NONE cterm=bold
hi Underlined ctermfg=98 ctermbg=NONE cterm=underline
hi Ignore ctermfg=252 ctermbg=NONE cterm=NONE
hi VimCommand ctermfg=136 ctermbg=NONE cterm=NONE
hi RubyDefine ctermfg=239 ctermbg=NONE cterm=bold
if !s:italics
hi Comment cterm=NONE
endif
if get(g:, 'selenized_green_keywords', 0)
hi Statement ctermfg=64 ctermbg=NONE cterm=NONE
hi Type ctermfg=136 ctermbg=NONE cterm=NONE
endif
hi Terminal ctermfg=NONE ctermbg=NONE cterm=NONE
hi Conceal ctermfg=NONE ctermbg=NONE cterm=NONE
hi Directory ctermfg=NONE ctermbg=NONE cterm=NONE
hi EndOfBuffer ctermfg=NONE ctermbg=NONE cterm=NONE
hi ErrorMsg ctermfg=NONE ctermbg=NONE cterm=NONE
hi FoldColumn ctermfg=NONE ctermbg=NONE cterm=NONE
hi ModeMsg ctermfg=NONE ctermbg=NONE cterm=NONE
hi MoreMsg ctermfg=NONE ctermbg=NONE cterm=NONE
hi NonText ctermfg=NONE ctermbg=NONE cterm=NONE
hi Question ctermfg=NONE ctermbg=NONE cterm=NONE
hi SignColumn ctermfg=NONE ctermbg=NONE cterm=NONE
hi SpecialKey ctermfg=NONE ctermbg=NONE cterm=NONE
hi SpellBad ctermfg=NONE ctermbg=NONE cterm=underline
hi SpellCap ctermfg=NONE ctermbg=NONE cterm=underline
hi SpellLocal ctermfg=NONE ctermbg=NONE cterm=underline
hi SpellRare ctermfg=NONE ctermbg=NONE cterm=underline
hi Title ctermfg=NONE ctermbg=NONE cterm=NONE
hi VisualNOS ctermfg=NONE ctermbg=NONE cterm=NONE
hi WarningMsg ctermfg=NONE ctermbg=NONE cterm=NONE
hi WildMenu ctermfg=NONE ctermbg=NONE cterm=NONE
unlet s:t_Co s:italics
finish
endif
if s:t_Co >= 16
if &background ==# 'dark'
hi Normal ctermfg=NONE ctermbg=NONE cterm=NONE
hi IncSearch ctermfg=DarkMagenta ctermbg=NONE cterm=reverse
hi Search ctermfg=DarkYellow ctermbg=NONE cterm=reverse
hi! link QuickFixLine Search
hi Visual ctermfg=NONE ctermbg=DarkGrey cterm=NONE
hi MatchParen ctermfg=LightYellow ctermbg=DarkGrey cterm=bold
hi Cursor ctermfg=NONE ctermbg=NONE cterm=reverse
hi! link lCursor Cursor
hi CursorLine ctermfg=NONE ctermbg=Black cterm=NONE
hi CursorColumn ctermfg=NONE ctermbg=Black cterm=NONE
hi Folded ctermfg=NONE ctermbg=Black cterm=NONE
hi ColorColumn ctermfg=NONE ctermbg=DarkGrey cterm=NONE
hi LineNr ctermfg=LightGrey ctermbg=Black cterm=NONE
hi CursorLineNr ctermfg=White ctermbg=NONE cterm=NONE
hi VertSplit ctermfg=LightGrey ctermbg=LightGrey cterm=NONE
hi StatusLine ctermfg=NONE ctermbg=NONE cterm=reverse
hi StatusLineNC ctermfg=NONE ctermbg=DarkGrey cterm=NONE
hi! link StatusLineTerm StatusLine
hi! link StatusLineTermNC StatusLineNC
hi TabLineSel ctermfg=White ctermbg=Black cterm=bold,reverse
hi TabLine ctermfg=LightGrey ctermbg=NONE cterm=reverse
hi TabLineFill ctermfg=LightGrey ctermbg=NONE cterm=reverse
hi ToolbarButton ctermfg=NONE ctermbg=NONE cterm=reverse
hi ToolbarLine ctermfg=NONE ctermbg=DarkGrey cterm=NONE
hi Pmenu ctermfg=LightGrey ctermbg=Black cterm=NONE
hi PmenuSel ctermfg=NONE ctermbg=DarkGrey cterm=NONE
hi PmenuThumb ctermfg=NONE ctermbg=LightGrey cterm=NONE
hi PmenuSbar ctermfg=NONE ctermbg=DarkGrey cterm=NONE
hi DiffAdd ctermfg=DarkGreen ctermbg=Black cterm=NONE
hi DiffChange ctermfg=NONE ctermbg=Black cterm=NONE
hi DiffDelete ctermfg=DarkRed ctermbg=Black cterm=NONE
hi DiffText ctermfg=Black ctermbg=DarkYellow cterm=NONE
hi Comment ctermfg=LightGrey ctermbg=NONE cterm=italic
hi Constant ctermfg=DarkCyan ctermbg=NONE cterm=NONE
hi! link String Constant
hi! link Number Constant
hi! link Boolean Constant
hi! link Character Constant
hi! link Float Constant
hi Identifier ctermfg=LightBlue ctermbg=NONE cterm=NONE
hi! link Function Identifier
hi Statement ctermfg=LightYellow ctermbg=NONE cterm=NONE
hi! link Conditional Statement
hi! link Repeat Statement
hi! link Keyword Statement
hi! link Label Statement
hi! link Exception Statement
hi! link Operator Statement
hi PreProc ctermfg=DarkMagenta ctermbg=NONE cterm=NONE
hi! link Define PreProc
hi! link PreCondit PreProc
hi! link Include PreProc
hi! link Macro Include
hi Type ctermfg=DarkGreen ctermbg=NONE cterm=NONE
hi! link Typedef Type
hi! link StorageClass Type
hi! link Structure Type
hi Special ctermfg=DarkRed ctermbg=NONE cterm=NONE
hi! link SpecialChar Special
hi! link Delimiter Special
hi! link SpecialComment Special
hi! link Debug Special
hi! link Tag Special
hi Error ctermfg=DarkRed ctermbg=NONE cterm=bold
hi Todo ctermfg=DarkMagenta ctermbg=NONE cterm=bold
hi Underlined ctermfg=LightBlue ctermbg=NONE cterm=underline
hi Ignore ctermfg=DarkGrey ctermbg=NONE cterm=NONE
hi VimCommand ctermfg=DarkYellow ctermbg=NONE cterm=NONE
hi RubyDefine ctermfg=White ctermbg=NONE cterm=bold
if !s:italics
hi Comment cterm=NONE
endif
if get(g:, 'selenized_green_keywords', 0)
hi Statement ctermfg=DarkGreen ctermbg=NONE cterm=NONE
hi Type ctermfg=DarkYellow ctermbg=NONE cterm=NONE
endif
hi Terminal ctermfg=NONE ctermbg=NONE cterm=NONE
hi Conceal ctermfg=NONE ctermbg=NONE cterm=NONE
hi Directory ctermfg=NONE ctermbg=NONE cterm=NONE
hi EndOfBuffer ctermfg=NONE ctermbg=NONE cterm=NONE
hi ErrorMsg ctermfg=NONE ctermbg=NONE cterm=NONE
hi FoldColumn ctermfg=NONE ctermbg=NONE cterm=NONE
hi ModeMsg ctermfg=NONE ctermbg=NONE cterm=NONE
hi MoreMsg ctermfg=NONE ctermbg=NONE cterm=NONE
hi NonText ctermfg=NONE ctermbg=NONE cterm=NONE
hi Question ctermfg=NONE ctermbg=NONE cterm=NONE
hi SignColumn ctermfg=NONE ctermbg=NONE cterm=NONE
hi SpecialKey ctermfg=NONE ctermbg=NONE cterm=NONE
hi SpellBad ctermfg=NONE ctermbg=NONE cterm=underline
hi SpellCap ctermfg=NONE ctermbg=NONE cterm=underline
hi SpellLocal ctermfg=NONE ctermbg=NONE cterm=underline
hi SpellRare ctermfg=NONE ctermbg=NONE cterm=underline
hi Title ctermfg=NONE ctermbg=NONE cterm=NONE
hi VisualNOS ctermfg=NONE ctermbg=NONE cterm=NONE
hi WarningMsg ctermfg=NONE ctermbg=NONE cterm=NONE
hi WildMenu ctermfg=NONE ctermbg=NONE cterm=NONE
unlet s:t_Co s:italics
finish
endif
" Light background
hi Normal ctermfg=NONE ctermbg=NONE cterm=NONE
hi IncSearch ctermfg=DarkMagenta ctermbg=NONE cterm=reverse
hi Search ctermfg=DarkYellow ctermbg=NONE cterm=reverse
hi! link QuickFixLine Search
hi Visual ctermfg=NONE ctermbg=DarkGrey cterm=NONE
hi MatchParen ctermfg=LightYellow ctermbg=DarkGrey cterm=bold
hi Cursor ctermfg=NONE ctermbg=NONE cterm=reverse
hi! link lCursor Cursor
hi CursorLine ctermfg=NONE ctermbg=Black cterm=NONE
hi CursorColumn ctermfg=NONE ctermbg=Black cterm=NONE
hi Folded ctermfg=NONE ctermbg=Black cterm=NONE
hi ColorColumn ctermfg=NONE ctermbg=DarkGrey cterm=NONE
hi LineNr ctermfg=LightGrey ctermbg=Black cterm=NONE
hi CursorLineNr ctermfg=White ctermbg=NONE cterm=NONE
hi VertSplit ctermfg=LightGrey ctermbg=LightGrey cterm=NONE
hi StatusLine ctermfg=NONE ctermbg=NONE cterm=reverse
hi StatusLineNC ctermfg=NONE ctermbg=DarkGrey cterm=NONE
hi! link StatusLineTerm StatusLine
hi! link StatusLineTermNC StatusLineNC
hi TabLineSel ctermfg=White ctermbg=Black cterm=bold,reverse
hi TabLine ctermfg=LightGrey ctermbg=NONE cterm=reverse
hi TabLineFill ctermfg=LightGrey ctermbg=NONE cterm=reverse
hi ToolbarButton ctermfg=NONE ctermbg=NONE cterm=reverse
hi ToolbarLine ctermfg=NONE ctermbg=DarkGrey cterm=NONE
hi Pmenu ctermfg=LightGrey ctermbg=Black cterm=NONE
hi PmenuSel ctermfg=NONE ctermbg=DarkGrey cterm=NONE
hi PmenuThumb ctermfg=NONE ctermbg=LightGrey cterm=NONE
hi PmenuSbar ctermfg=NONE ctermbg=DarkGrey cterm=NONE
hi DiffAdd ctermfg=DarkGreen ctermbg=Black cterm=NONE
hi DiffChange ctermfg=NONE ctermbg=Black cterm=NONE
hi DiffDelete ctermfg=DarkRed ctermbg=Black cterm=NONE
hi DiffText ctermfg=Black ctermbg=DarkYellow cterm=NONE
hi Comment ctermfg=LightGrey ctermbg=NONE cterm=italic
hi Constant ctermfg=DarkCyan ctermbg=NONE cterm=NONE
hi! link String Constant
hi! link Number Constant
hi! link Boolean Constant
hi! link Character Constant
hi! link Float Constant
hi Identifier ctermfg=LightBlue ctermbg=NONE cterm=NONE
hi! link Function Identifier
hi Statement ctermfg=LightYellow ctermbg=NONE cterm=NONE
hi! link Conditional Statement
hi! link Repeat Statement
hi! link Keyword Statement
hi! link Label Statement
hi! link Exception Statement
hi! link Operator Statement
hi PreProc ctermfg=DarkMagenta ctermbg=NONE cterm=NONE
hi! link Define PreProc
hi! link PreCondit PreProc
hi! link Include PreProc
hi! link Macro Include
hi Type ctermfg=DarkGreen ctermbg=NONE cterm=NONE
hi! link Typedef Type
hi! link StorageClass Type
hi! link Structure Type
hi Special ctermfg=DarkRed ctermbg=NONE cterm=NONE
hi! link SpecialChar Special
hi! link Delimiter Special
hi! link SpecialComment Special
hi! link Debug Special
hi! link Tag Special
hi Error ctermfg=DarkRed ctermbg=NONE cterm=bold
hi Todo ctermfg=DarkMagenta ctermbg=NONE cterm=bold
hi Underlined ctermfg=LightBlue ctermbg=NONE cterm=underline
hi Ignore ctermfg=DarkGrey ctermbg=NONE cterm=NONE
hi VimCommand ctermfg=DarkYellow ctermbg=NONE cterm=NONE
hi RubyDefine ctermfg=White ctermbg=NONE cterm=bold
if !s:italics
hi Comment cterm=NONE
endif
if get(g:, 'selenized_green_keywords', 0)
hi Statement ctermfg=DarkGreen ctermbg=NONE cterm=NONE
hi Type ctermfg=DarkYellow ctermbg=NONE cterm=NONE
endif
hi Terminal ctermfg=NONE ctermbg=NONE cterm=NONE
hi Conceal ctermfg=NONE ctermbg=NONE cterm=NONE
hi Directory ctermfg=NONE ctermbg=NONE cterm=NONE
hi EndOfBuffer ctermfg=NONE ctermbg=NONE cterm=NONE
hi ErrorMsg ctermfg=NONE ctermbg=NONE cterm=NONE
hi FoldColumn ctermfg=NONE ctermbg=NONE cterm=NONE
hi ModeMsg ctermfg=NONE ctermbg=NONE cterm=NONE
hi MoreMsg ctermfg=NONE ctermbg=NONE cterm=NONE
hi NonText ctermfg=NONE ctermbg=NONE cterm=NONE
hi Question ctermfg=NONE ctermbg=NONE cterm=NONE
hi SignColumn ctermfg=NONE ctermbg=NONE cterm=NONE
hi SpecialKey ctermfg=NONE ctermbg=NONE cterm=NONE
hi SpellBad ctermfg=NONE ctermbg=NONE cterm=underline
hi SpellCap ctermfg=NONE ctermbg=NONE cterm=underline
hi SpellLocal ctermfg=NONE ctermbg=NONE cterm=underline
hi SpellRare ctermfg=NONE ctermbg=NONE cterm=underline
hi Title ctermfg=NONE ctermbg=NONE cterm=NONE
hi VisualNOS ctermfg=NONE ctermbg=NONE cterm=NONE
hi WarningMsg ctermfg=NONE ctermbg=NONE cterm=NONE
hi WildMenu ctermfg=NONE ctermbg=NONE cterm=NONE
unlet s:t_Co s:italics
finish
endif
" Background: dark
" Color: bg_0 #103c48 237 none
" Color: bg_1 #184956 238 Black
" Color: bg_2 #2d5b69 240 DarkGrey
" Color: dim_0 #72898f 245 LightGrey
" Color: fg_0 #adbcbc 250 none
" Color: fg_1 #cad8d9 252 White
" Color: red #fa5750 ~ DarkRed
" Color: green #75b938 ~ DarkGreen
" Color: yellow #dbb32d ~ DarkYellow
" Color: blue #4695f7 33 DarkBlue
" Color: magenta #f275be ~ DarkMagenta
" Color: cyan #41c7b9 ~ DarkCyan
" Color: br_red #ff665c ~ LightRed
" Color: br_green #84c747 ~ LightGreen
" Color: br_yellow #ebc13d ~ LightYellow
" Color: br_blue #58a3ff 39 LightBlue
" Color: br_magenta #ff84cd ~ LightMagenta
" Color: br_cyan #53d6c7 ~ LightCyan
" Color: orange #ed8649 ~ DarkMagenta
" Color: violet #af88eb ~ LightBlue
" Color: br_orange #fd9456 ~ LightMagenta
" Color: br_violet #bd96fa ~ LightBlue
" Term colors: bg_1 red green yellow blue magenta cyan dim_0
" Term colors: bg_2 br_red br_green br_yellow br_blue br_magenta br_cyan fg_1
" Background: light
" Color: bg_0 #fbf3db ~ none
" Color: bg_1 #e9e4d0 ~ Black
" Color: bg_2 #cfcebe ~ DarkGrey
" Color: dim_0 #909995 ~ LightGrey
" Color: fg_0 #53676d ~ none
" Color: fg_1 #3a4d53 ~ White
" Color: red #d2212d ~ DarkRed
" Color: green #489100 ~ DarkGreen
" Color: yellow #ad8900 ~ DarkYellow
" Color: blue #0072d4 ~ DarkBlue
" Color: magenta #ca4898 ~ DarkMagenta
" Color: cyan #009c8f ~ DarkCyan
" Color: br_red #cc1729 ~ LightRed
" Color: br_green #428b00 ~ LightGreen
" Color: br_yellow #a78300 ~ LightYellow
" Color: br_blue #006dce ~ LightBlue
" Color: br_magenta #c44392 ~ LightMagenta
" Color: br_cyan #00978a ~ LightCyan
" Color: orange #c25d1e ~ DarkMagenta
" Color: violet #8762c6 ~ LightBlue
" Color: br_orange #bc5819 ~ LightMagenta
" Color: br_violet #825dc0 ~ LightBlue
" Term colors: bg_1 red green yellow blue magenta cyan dim_0
" Term colors: bg_2 br_red br_green br_yellow br_blue br_magenta br_cyan fg_1
" vim: et ts=2 sw=2

42
dotfiles/vimrc Normal file
View File

@ -0,0 +1,42 @@
set number " show line numbers
set tabstop=4 " number of visual spaces per tab
set softtabstop=4 " number of spaces in tab when editing
set shiftwidth=4 " number of spaces in an indent
set expandtab " tabs are spaces
set backspace=2 " backspace like in a graphical text editor
set wildmode=longest,list " change filename autocomplete to be more like bash
set mouse=v " some vim defaults to mouse=a, which sucks for copying and pasting in Xorg
syntax on
filetype on " enable file type detection
filetype plugin on " enable file type plugins
filetype indent on " enable file type indents
set background=dark
" restrict vim to 16 ANSI colors in the palette instead of approximating 256
set t_Co=16
colorscheme selenized
" for per-directory vimrc files
" see: https://jezenthomas.com/how-i-write-invoices-in-vim/
set exrc " Enable use of directory-specific .vimrc
set secure " Only run autocommands owned by me
" from: https://github.com/jfrazelle/.vim/blob/master/vimrc
set noswapfile " Don't use swapfile
set nobackup " Don't create annoying backup files
set nowritebackup
set splitright " Split vertical windows right to the current windows
set splitbelow " Split horizontal windows below to the current windows
set encoding=utf-8 " Set default encoding to UTF-8
set fileformats=unix,dos,mac " Prefer Unix over Windows over OS 9 formats
set nocompatible
set incsearch " Shows the match while typing
set hlsearch " Highlight found searches
set ignorecase " Search case insensitive...
set smartcase " ... but not when search pattern contains upper case characters
" speed up syntax highlighting
set nocursorcolumn
set nocursorline

101
dotfiles/zshrc Normal file
View File

@ -0,0 +1,101 @@
HISTFILE=~/.zsh_history
HISTSIZE=5000
SAVEHIST=5000
setopt append_history # append
setopt hist_ignore_all_dups # no duplicate
setopt hist_ignore_space # ignore space prefixed commands
setopt hist_reduce_blanks # trim blanks
setopt inc_append_history # add commands as they are typed, don't wait until shell exit
setopt share_history # share hist between sessions
setopt ignoreeof # don't exit the shell on ^D (EOF)
# emacs bindings
bindkey -e
# make delete key work
bindkey "^[[3~" delete-char
bindkey "^[3;5~" delete-char
# make Ctrl-arrow work
bindkey "^[[1;5C" forward-word
bindkey "^[[1;5D" backward-word
# autocomplete
autoload -Uz compinit
compinit
# OS-specific things
if [[ "$OSTYPE" =~ ^linux.*$ ]]; then
PATH=~/.local/bin:$PATH
# System Node.js with local "global" package prefix, for DSpace build environment:
# $ npm config set prefix ~/.node_modules
# $ npm install -g bower grunt grunt-cli
PATH=$PATH:~/.node_modules/bin
if [[ -n $WAYLAND_DISPLAY ]]; then
export MOZ_ENABLE_WAYLAND=1
# 2021-06-22: fix "Firefox is already running" message
# See: https://mastransky.wordpress.com/2020/03/16/wayland-x11-how-to-run-firefox-in-mixed-environment/
export MOZ_DBUS_REMOTE=1
export KITTY_ENABLE_WAYLAND=1
export QT_QPA_PLATFORM=wayland-egl
export CLUTTER_BACKEND=wayland
# 2020-02-10: https://github.com/swaywm/sway/wiki#issues-with-java-applications
export _JAVA_AWT_WM_NONREPARENTING=1
export SDL_VIDEODRIVER=wayland
fi
fi
alias ls='ls -F --color=auto'
alias less='less -R' # preserves colors in GNU coreutils' `less`
# selenized dircolors
# see: https://github.com/jan-warchol/selenized/tree/master/other-apps/dircolors
export LS_COLORS="$LS_COLORS:ow=1;7;34:st=30;44:su=30;41"
# Environment
export PS1='[%n@%m: %~]$ '
export EDITOR=vim
export PAGER=less
# resize images using GraphicsMagick
#
# $ smartresize DSC_0788.JPG 1920x1080 outputdir [quality]
#
# Similar to the one from SmashingMagazine, but ported to GraphicsMagick
# see: http://www.smashingmagazine.com/2015/06/efficient-image-resizing-with-imagemagick/
smartresize() {
if [[ -z $4 ]]; then QUALITY=82; else QUALITY=$4; fi
gm mogrify -filter Triangle -define filter:support=2 -thumbnail $2 -unsharp 2x0.5+0.7+0 -dither -quality $QUALITY -define jpeg:fancy-upsampling=off -define png:compression-filter=5 -define png:compression-level=9 -define png:compression-strategy=1 -define png:exclude-chunk=all -interlace Line -strip -output-directory $3 $1
}
# optimize jpeg using GraphicsMagick
#
# $ jpegoptimize DSC_0788.JPG outputdir [quality]
#
# Similar to smartresize above, but just optmizes the jpeg
jpegoptimize() {
if [[ -z $3 ]]; then QUALITY=82; else QUALITY=$3; fi
gm mogrify -filter Triangle -define filter:support=2 -unsharp 2x0.5+0.7+0 -dither -quality $QUALITY -define jpeg:fancy-upsampling=off -interlace Line -strip -output-directory $2 $1
}
# generate random password 15 characters long
# See: https://unix.stackexchange.com/questions/230673/how-to-generate-a-random-string
genpass() {
</dev/urandom tr -dc 'A-Za-z0-9!"#$%&'\''()*+,-./:;<=>?@[\]^_`{|}~' | head -c 15 ; echo
}
# set GPG TTY
export GPG_TTY=$(tty)
# Refresh gpg-agent tty in case user switches into an X Session
gpg-connect-agent updatestartuptty /bye >/dev/null
# Speed up JVM start for short-lived Java programs
# See: https://zeroturnaround.com/rebellabs/your-maven-build-is-slow-speed-it-up/
export MAVEN_OPTS="-XX:+TieredCompilation -XX:TieredStopAtLevel=1"
export PATH
export MANPATH