the GREAT CONFIG MIGRATION; (scwrypts v5 and some neat new config stuffs)
This commit is contained in:
4
config/user/X11/xcompose.conf
Normal file
4
config/user/X11/xcompose.conf
Normal file
@@ -0,0 +1,4 @@
|
||||
include "%L"
|
||||
|
||||
<Multi_key> <n> <n> : "ñ"
|
||||
<Multi_key> <N> <N> : "Ñ"
|
2
config/user/X11/xconfig.conf
Normal file
2
config/user/X11/xconfig.conf
Normal file
@@ -0,0 +1,2 @@
|
||||
setxkbmap -option compose:ralt
|
||||
return 0
|
3
config/user/X11/xinitrc
Normal file
3
config/user/X11/xinitrc
Normal file
@@ -0,0 +1,3 @@
|
||||
#!/bin/zsh
|
||||
source "${HOME}/.zshrc" &>/dev/null
|
||||
source "${DOTWRYN}/config/xinitrc.i3wm"
|
5
config/user/alacritty/alacritty.toml
Normal file
5
config/user/alacritty/alacritty.toml
Normal file
@@ -0,0 +1,5 @@
|
||||
import = [
|
||||
"/home/w0ryn/.config/alacritty/default.toml",
|
||||
"/home/w0ryn/.config/alacritty/theme.toml",
|
||||
"/home/w0ryn/.config/alacritty/local.toml",
|
||||
]
|
15
config/user/alacritty/default.toml
Normal file
15
config/user/alacritty/default.toml
Normal file
@@ -0,0 +1,15 @@
|
||||
[font.bold]
|
||||
family = "Monaspace Argon"
|
||||
|
||||
[font.glyph_offset]
|
||||
x = 0
|
||||
y = 1
|
||||
|
||||
[font.italic]
|
||||
family = "Monaspace Radon"
|
||||
|
||||
[font.normal]
|
||||
family = "Monaspace Neon"
|
||||
|
||||
[window]
|
||||
opacity = 0.8
|
28
config/user/alacritty/theme.toml
Normal file
28
config/user/alacritty/theme.toml
Normal file
@@ -0,0 +1,28 @@
|
||||
# do not edit; generated by scwrypts
|
||||
# theme : main
|
||||
[colors.cursor]
|
||||
cursor = '0xeeddff'
|
||||
|
||||
[colors.primary]
|
||||
background = '0x000505'
|
||||
foreground = '0xd0f0f0'
|
||||
|
||||
[colors.normal]
|
||||
black = '0x000505'
|
||||
red = '0xc80064'
|
||||
green = '0x11bb98'
|
||||
yellow = '0x6911aa'
|
||||
blue = '0x2262bb'
|
||||
magenta = '0x9922dd'
|
||||
cyan = '0x22ccba'
|
||||
white = '0xd0f0f0'
|
||||
|
||||
[colors.bright]
|
||||
black = '0x424253'
|
||||
red = '0xff44ff'
|
||||
green = '0x44dddd'
|
||||
yellow = '0xaa44ff'
|
||||
blue = '0x229df6'
|
||||
magenta = '0xdd88ff'
|
||||
cyan = '0x88ffff'
|
||||
white = '0x7e707e'
|
6
config/user/bat/config
Normal file
6
config/user/bat/config
Normal file
@@ -0,0 +1,6 @@
|
||||
--theme="ansi"
|
||||
|
||||
--italic-text=always
|
||||
|
||||
--map-syntax "*.clisp:lisp"
|
||||
--map-syntax "Dockerfile*:Dockerfile"
|
3
config/user/bpython/config
Normal file
3
config/user/bpython/config
Normal file
@@ -0,0 +1,3 @@
|
||||
[general]
|
||||
|
||||
hist_file = ~/.local/state/python/bpythhon_hist
|
BIN
config/user/code-activator-zsh/settings.zsh
Normal file
BIN
config/user/code-activator-zsh/settings.zsh
Normal file
Binary file not shown.
78
config/user/compton/compton.conf
Normal file
78
config/user/compton/compton.conf
Normal file
@@ -0,0 +1,78 @@
|
||||
backend = "glx";
|
||||
vsync = true;
|
||||
|
||||
shadow = false;
|
||||
shadow-radius = 50;
|
||||
shadow-offset-x = -50;
|
||||
shadow-offset-y = 10;
|
||||
shadow-opacity = 0.4;
|
||||
shadow-red = 0;
|
||||
shadow-green = 0.1;
|
||||
shadow-blue = 0.2;
|
||||
shadow-exclude = [
|
||||
"name = 'Notification'",
|
||||
"_GTK_FRAME_EXTENTS@:c",
|
||||
"class_g = 'i3-frame'",
|
||||
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
|
||||
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_STICKY'",
|
||||
"!I3_FLOATING_WINDOW@:c",
|
||||
];
|
||||
shadow-ignore-shaped = false;
|
||||
|
||||
blur-background = false;
|
||||
blur-background-fixed = true;
|
||||
blur-kern = "7x7box";
|
||||
blur-background-exclude = [
|
||||
"class_g = 'i3-frame'",
|
||||
"window_type = 'dock'",
|
||||
"window_type = 'desktop'",
|
||||
"_GTK_FRAME_EXTENTS@:c"
|
||||
];
|
||||
|
||||
# Duplicating the _NET_WM_STATE entries because compton cannot deal with atom arrays :-/
|
||||
opacity-rule = [
|
||||
"100:name *= 'VIM'",
|
||||
"97:class_g = 'Termite' && !_NET_WM_STATE@:32a",
|
||||
"99:class_g = 'google-chrome'",
|
||||
|
||||
"0:_NET_WM_STATE@[0]:32a = '_NET_WM_STATE_HIDDEN'",
|
||||
"0:_NET_WM_STATE@[1]:32a = '_NET_WM_STATE_HIDDEN'",
|
||||
"0:_NET_WM_STATE@[2]:32a = '_NET_WM_STATE_HIDDEN'",
|
||||
"0:_NET_WM_STATE@[3]:32a = '_NET_WM_STATE_HIDDEN'",
|
||||
"0:_NET_WM_STATE@[4]:32a = '_NET_WM_STATE_HIDDEN'",
|
||||
|
||||
"90:_NET_WM_STATE@[0]:32a = '_NET_WM_STATE_STICKY'",
|
||||
"90:_NET_WM_STATE@[1]:32a = '_NET_WM_STATE_STICKY'",
|
||||
"90:_NET_WM_STATE@[2]:32a = '_NET_WM_STATE_STICKY'",
|
||||
"90:_NET_WM_STATE@[3]:32a = '_NET_WM_STATE_STICKY'",
|
||||
"90:_NET_WM_STATE@[4]:32a = '_NET_WM_STATE_STICKY'"
|
||||
];
|
||||
|
||||
fading = true;
|
||||
fade-delta = 2;
|
||||
fade-in-step = 0.01;
|
||||
fade-out-step = 1;
|
||||
fade-exclude = [];
|
||||
|
||||
mark-wmwin-focused = true;
|
||||
mark-ovredir-focused = true;
|
||||
use-ewmh-active-win = true;
|
||||
detect-rounded-corners = true;
|
||||
detect-client-opacity = true;
|
||||
refresh-rate = 0;
|
||||
dbe = false;
|
||||
glx-no-stencil = true;
|
||||
glx-copy-from-front = false;
|
||||
unredir-if-possible = false;
|
||||
focus-exclude = [
|
||||
"class_g = 'google-chrome'"
|
||||
];
|
||||
detect-transient = true;
|
||||
detect-client-leader = true;
|
||||
invert-color-include = [];
|
||||
|
||||
wintypes: {
|
||||
tooltip = { fade = true; shadow = false; opacity = 1.00; focus = true; };
|
||||
dock = { shadow = false };
|
||||
dnd = { shadow = false };
|
||||
};
|
27
config/user/flameshot/flameshot.ini
Normal file
27
config/user/flameshot/flameshot.ini
Normal file
@@ -0,0 +1,27 @@
|
||||
[General]
|
||||
contrastOpacity=188
|
||||
contrastUiColor=#11bb98
|
||||
disabledTrayIcon=false
|
||||
drawColor=#e9a02f
|
||||
drawThickness=15
|
||||
filenamePattern=%Y-%m-%d_%I%H.SCREENSHOT
|
||||
saveAsFileExtension=png
|
||||
savePath=/home/w0ryn/Pictures/screenshot
|
||||
showSidePanelButton=false
|
||||
showStartupLaunchMessage=false
|
||||
uiColor=#490099
|
||||
undoLimit=100
|
||||
uploadClientSecret=
|
||||
userColors=picker, #aa44ff, #6911aa, #220069, #44dddd, #00aa79, #006922, #c80064, #ff44ff, #d0f0f0
|
||||
|
||||
[Shortcuts]
|
||||
TYPE_ARROW=E
|
||||
TYPE_CIRCLE=S
|
||||
TYPE_DRAWER=W
|
||||
TYPE_INVERT=X
|
||||
TYPE_MARKER=D
|
||||
TYPE_PENCIL=Q
|
||||
TYPE_PIXELATE=Z
|
||||
TYPE_RECTANGLE=A
|
||||
TYPE_SELECTION=R
|
||||
TYPE_TEXT=F
|
50
config/user/git/config
Normal file
50
config/user/git/config
Normal file
@@ -0,0 +1,50 @@
|
||||
[user]
|
||||
email = yage@yage.io
|
||||
name = yage
|
||||
signingkey = ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICk2AL/QX5yr2UR2FsHg74bVLpQUpr1/lbgvoFi85J0c
|
||||
|
||||
[push]
|
||||
default = current
|
||||
|
||||
[difftool]
|
||||
trustExitCode = true
|
||||
prompt = false
|
||||
|
||||
[diff]
|
||||
tool = vimdiff
|
||||
|
||||
[merge]
|
||||
tool = vimdiff
|
||||
|
||||
[pull]
|
||||
default = current
|
||||
rebase = true
|
||||
|
||||
[rebase]
|
||||
autostash = true
|
||||
|
||||
[color]
|
||||
diff = always
|
||||
status = always
|
||||
branch = always
|
||||
|
||||
[submodule]
|
||||
recurse = true
|
||||
|
||||
[alias]
|
||||
serve = !git daemon --verbose --export-all --base-path=.git --reuseaddr --strict-paths .git/
|
||||
|
||||
[init]
|
||||
defaultBranch = main
|
||||
|
||||
[safe]
|
||||
directory = /opt/flutter
|
||||
|
||||
[gpg]
|
||||
format = ssh
|
||||
|
||||
[gpg "ssh"]
|
||||
program = /opt/1Password/op-ssh-sign
|
||||
|
||||
[commit]
|
||||
gpgsign = true
|
61
config/user/htop/htoprc
Normal file
61
config/user/htop/htoprc
Normal file
@@ -0,0 +1,61 @@
|
||||
# Beware! This file is rewritten by htop when settings are changed in the interface.
|
||||
# The parser is also very primitive, and not human-friendly.
|
||||
htop_version=3.2.1
|
||||
config_reader_min_version=3
|
||||
fields=0 48 17 18 38 39 40 2 46 47 49 1
|
||||
hide_kernel_threads=1
|
||||
hide_userland_threads=0
|
||||
shadow_other_users=0
|
||||
show_thread_names=0
|
||||
show_program_path=1
|
||||
highlight_base_name=1
|
||||
highlight_deleted_exe=1
|
||||
highlight_megabytes=1
|
||||
highlight_threads=1
|
||||
highlight_changes=1
|
||||
highlight_changes_delay_secs=5
|
||||
find_comm_in_cmdline=1
|
||||
strip_exe_from_cmdline=1
|
||||
show_merged_command=1
|
||||
header_margin=1
|
||||
screen_tabs=0
|
||||
detailed_cpu_time=0
|
||||
cpu_count_from_one=0
|
||||
show_cpu_usage=1
|
||||
show_cpu_frequency=0
|
||||
show_cpu_temperature=0
|
||||
degree_fahrenheit=0
|
||||
update_process_names=0
|
||||
account_guest_in_cpu_meter=0
|
||||
color_scheme=0
|
||||
enable_mouse=0
|
||||
delay=15
|
||||
hide_function_bar=1
|
||||
header_layout=two_33_67
|
||||
column_meters_0=CPU Memory NetworkIO
|
||||
column_meter_modes_0=3 3 3
|
||||
column_meters_1=AllCPUs4 Blank Memory Swap Blank LoadAverage Hostname Battery Uptime
|
||||
column_meter_modes_1=1 2 1 1 2 2 2 2 2
|
||||
tree_view=1
|
||||
sort_key=47
|
||||
tree_sort_key=0
|
||||
sort_direction=-1
|
||||
tree_sort_direction=1
|
||||
tree_view_always_by_pid=0
|
||||
all_branches_collapsed=1
|
||||
screen:Main=PID USER PRIORITY NICE M_VIRT M_RESIDENT M_SHARE STATE PERCENT_CPU PERCENT_MEM TIME Command
|
||||
.sort_key=PERCENT_MEM
|
||||
.tree_sort_key=PID
|
||||
.tree_view=1
|
||||
.tree_view_always_by_pid=0
|
||||
.sort_direction=-1
|
||||
.tree_sort_direction=1
|
||||
.all_branches_collapsed=1
|
||||
screen:I/O=PID USER IO_PRIORITY IO_RATE IO_READ_RATE IO_WRITE_RATE PERCENT_SWAP_DELAY PERCENT_IO_DELAY Command
|
||||
.sort_key=IO_RATE
|
||||
.tree_sort_key=PID
|
||||
.tree_view=0
|
||||
.tree_view_always_by_pid=0
|
||||
.sort_direction=-1
|
||||
.tree_sort_direction=1
|
||||
.all_branches_collapsed=0
|
69
config/user/i3status/config
Normal file
69
config/user/i3status/config
Normal file
@@ -0,0 +1,69 @@
|
||||
general {
|
||||
output_format = 'i3bar'
|
||||
colors = true
|
||||
separator = ''
|
||||
color_good = '#8800FF'
|
||||
color_bad = '#FF0044'
|
||||
color_degraded = '#FF8800'
|
||||
interval = 1
|
||||
}
|
||||
|
||||
order += 'memory'
|
||||
order += 'disk /'
|
||||
order += 'wireless _first_'
|
||||
order += 'ethernet _first_'
|
||||
order += 'ipv6'
|
||||
order += 'tztime local'
|
||||
order += 'tztime utc'
|
||||
order += 'battery all'
|
||||
|
||||
ipv6 {
|
||||
format_up = '%ip'
|
||||
format_down = '[no IPv6]'
|
||||
}
|
||||
|
||||
wireless _first_ {
|
||||
format_up = '(%essid%quality) %ip'
|
||||
format_down = '(wifi:⊘)'
|
||||
}
|
||||
|
||||
ethernet _first_ {
|
||||
format_up = '(%speed) %ip'
|
||||
format_down = ''
|
||||
}
|
||||
|
||||
battery all {
|
||||
format = '[%status%percentage]'
|
||||
integer_battery_capacity = true
|
||||
format_down = ''
|
||||
status_bat = '⌁'
|
||||
status_chr = '⚡ '
|
||||
status_full = '😻 '
|
||||
status_unk = 'BAT⁉'
|
||||
low_threshold = 40
|
||||
threshold_type = 'percentage'
|
||||
}
|
||||
|
||||
disk '/' {
|
||||
format = ''
|
||||
format_below_threshold = '[root %avail / %total]'
|
||||
prefix_type = 'custom'
|
||||
low_threshold = 20
|
||||
threshold_type = 'percentage_free'
|
||||
}
|
||||
|
||||
memory {
|
||||
format = ''
|
||||
threshold_degraded = "20%"
|
||||
threshold_critical = "10%"
|
||||
format_degraded = '[RAM %free / %total]'
|
||||
}
|
||||
|
||||
tztime local {
|
||||
format = '%A %B %d, %Y : %I:%M:%S-%P'
|
||||
}
|
||||
|
||||
tztime utc {
|
||||
format = '{%H:%M-UTC}'
|
||||
timezone = UTC
|
||||
}
|
12
config/user/kitty/kitty.conf
Normal file
12
config/user/kitty/kitty.conf
Normal file
@@ -0,0 +1,12 @@
|
||||
background_opacity 0.85
|
||||
font_family DejaVuSansMono Nerd Font Mono
|
||||
font_size 17.0
|
||||
allow_remote_control yes
|
||||
|
||||
confirm_os_window_close 0
|
||||
|
||||
cursor_shape block
|
||||
shell_integration no-cursor
|
||||
|
||||
include ./theme.conf
|
||||
include ./local.conf
|
23
config/user/kitty/theme.conf
Normal file
23
config/user/kitty/theme.conf
Normal file
@@ -0,0 +1,23 @@
|
||||
# do not edit; generated by scwrypts
|
||||
# theme : main
|
||||
color0 #000505
|
||||
color1 #c80064
|
||||
color2 #11bb98
|
||||
color3 #6911aa
|
||||
color4 #2262bb
|
||||
color5 #9922dd
|
||||
color6 #22ccba
|
||||
color7 #d0f0f0
|
||||
color8 #424253
|
||||
color9 #ff44ff
|
||||
color10 #44dddd
|
||||
color11 #aa44ff
|
||||
color12 #229df6
|
||||
color13 #dd88ff
|
||||
color14 #88ffff
|
||||
color15 #7e707e
|
||||
cursor #eeddff
|
||||
background #000505
|
||||
foreground #d0f0f0
|
||||
selection_background #
|
||||
selection_foreground #
|
161
config/user/mssqlcli/config
Normal file
161
config/user/mssqlcli/config
Normal file
@@ -0,0 +1,161 @@
|
||||
# vi: ft=dosini
|
||||
[main]
|
||||
|
||||
# Enables context sensitive auto-completion. If this is disabled the all
|
||||
# possible completions will be listed.
|
||||
smart_completion = True
|
||||
|
||||
# Display the completions in several columns. (More completions will be
|
||||
# visible.)
|
||||
wider_completion_menu = False
|
||||
|
||||
# Multi-line mode allows breaking up the sql statements into multiple lines. If
|
||||
# this is set to True, then the end of the statements must have a semi-colon.
|
||||
# If this is set to False then sql statements can't be split into multiple
|
||||
# lines. End of line (return) is considered as the end of the statement.
|
||||
multi_line = True
|
||||
|
||||
# If multi_line_mode is set to "tsql", in multi-line mode, [Enter] will execute
|
||||
# the current input if the input ends in a semicolon.
|
||||
# If multi_line_mode is set to "safe", in multi-line mode, [Enter] will always
|
||||
# insert a newline, and [Esc] [Enter] or [Alt]-[Enter] must be used to execute
|
||||
# a command.
|
||||
multi_line_mode = safe
|
||||
|
||||
# Use expand mode to display the results.
|
||||
# Possible values: "always", "never" and "auto"
|
||||
# "auto" will switch to expanded mode automatically if the table is too wide to
|
||||
# fit the screen.
|
||||
expand = never
|
||||
|
||||
# If set to True, table suggestions will include a table alias
|
||||
generate_aliases = True
|
||||
|
||||
# log_file location.
|
||||
# In Unix/Linux: ~/.config/mssqlcli/mssqlcli.log
|
||||
# In Windows: %USERPROFILE%\AppData\Local\dbcli\mssqlcli\mssqlcli.log
|
||||
# %USERPROFILE% is typically C:\Users\{username}
|
||||
log_file = default
|
||||
|
||||
# keyword casing preference. Possible values "lower", "upper", "auto"
|
||||
keyword_casing = upper
|
||||
|
||||
# casing_file location.
|
||||
# In Unix/Linux: ~/.config/mssql-cli/casing
|
||||
# In Windows: %USERPROFILE%\AppData\Local\dbcli\mssql-cli\casing
|
||||
# %USERPROFILE% is typically C:\Users\{username}
|
||||
casing_file = default
|
||||
|
||||
# If generate_casing_file is set to True and there is no file in the above
|
||||
# location, one will be generated based on usage in SQL/PLPGSQL functions.
|
||||
generate_casing_file = False
|
||||
|
||||
# Casing of column headers based on the casing_file described above
|
||||
case_column_headers = True
|
||||
|
||||
# history_file location.
|
||||
# In Unix/Linux: ~/.config/mssql-cli/history
|
||||
# In Windows: %USERPROFILE%\AppData\Local\dbcli\mssql-cli\history
|
||||
# %USERPROFILE% is typically C:\Users\{username}
|
||||
history_file = default
|
||||
|
||||
# Default log level. Possible values: "CRITICAL", "ERROR", "WARNING", "INFO"
|
||||
# and "DEBUG". "NONE" disables logging.
|
||||
log_level = INFO
|
||||
|
||||
# Order of columns when expanding * to column list
|
||||
# Possible values: "table_order" and "alphabetic"
|
||||
asterisk_column_order = table_order
|
||||
|
||||
# Whether to qualify with table alias/name when suggesting columns
|
||||
# Possible values: "always", never" and "if_more_than_one_table"
|
||||
qualify_columns = if_more_than_one_table
|
||||
|
||||
# When no schema is entered, only suggest objects in search_path
|
||||
search_path_filter = False
|
||||
|
||||
# Default pager.
|
||||
# By default 'PAGER' environment variable is used
|
||||
pager = less -RXF
|
||||
|
||||
# Table format. Possible values: psql, plain, simple, grid, fancy_grid, pipe,
|
||||
# ascii, double, github, orgtbl, rst, mediawiki, html, latex, latex_booktabs,
|
||||
# textile, moinmoin, jira, vertical, tsv, csv.
|
||||
# Recommended: psql, fancy_grid and grid.
|
||||
table_format = vertical
|
||||
|
||||
# Syntax Style. Possible values: manni, igor, xcode, vim, autumn, vs, rrt,
|
||||
# native, perldoc, borland, tango, emacs, friendly, monokai, paraiso-dark,
|
||||
# colorful, murphy, bw, pastie, paraiso-light, trac, default, fruity
|
||||
syntax_style = vim
|
||||
|
||||
# Keybindings:
|
||||
# When Vi mode is enabled you can use modal editing features offered by Vi in the REPL.
|
||||
# When Vi mode is disabled emacs keybindings such as Ctrl-A for home and Ctrl-E
|
||||
# for end are available in the REPL.
|
||||
vi = True
|
||||
|
||||
# Error handling
|
||||
# When one of multiple SQL statements causes an error, choose to either
|
||||
# continue executing the remaining statements, or stopping
|
||||
# Possible values "STOP" or "RESUME"
|
||||
on_error = STOP
|
||||
|
||||
# Set threshold for row limit prompt. Use 0 to disable prompt.
|
||||
row_limit = 100
|
||||
|
||||
# Skip intro on startup and goodbye on exit
|
||||
less_chatty = False
|
||||
|
||||
# mssql-cli prompt
|
||||
# \t - Current date and time
|
||||
# \u - Username
|
||||
# \h - Hostname of the server
|
||||
# \d - Database name
|
||||
# \p - Database port
|
||||
# \n - Newline
|
||||
prompt = '\d> '
|
||||
|
||||
# Number of lines to reserve for the suggestion menu
|
||||
min_num_menu_lines = 4
|
||||
|
||||
# Character used to left pad multi-line queries to match the prompt size.
|
||||
multiline_continuation_char = '.'
|
||||
|
||||
# Custom colors for the completion menu, toolbar, etc.
|
||||
[colors]
|
||||
completion-menu.completion.current = 'bg:#ffffff #000000'
|
||||
completion-menu.completion = 'bg:#008888 #ffffff'
|
||||
completion-menu.meta.completion.current = 'bg:#44aaaa #000000'
|
||||
completion-menu.meta.completion = 'bg:#448888 #ffffff'
|
||||
completion-menu.multi-column-meta = 'bg:#aaffff #000000'
|
||||
scrollbar.arrow = 'bg:#003333'
|
||||
scrollbar = 'bg:#00aaaa'
|
||||
selected = '#ffffff bg:#6666aa'
|
||||
search = '#ffffff bg:#4444aa'
|
||||
search.current = '#ffffff bg:#44aa44'
|
||||
bottom-toolbar = 'bg:#222222 #aaaaaa'
|
||||
bottom-toolbar.off = 'bg:#222222 #888888'
|
||||
bottom-toolbar.on = 'bg:#222222 #ffffff'
|
||||
search-toolbar = 'noinherit bold'
|
||||
search-toolbar.text = 'nobold'
|
||||
system-toolbar = 'noinherit bold'
|
||||
arg-toolbar = 'noinherit bold'
|
||||
arg-toolbar.text = 'nobold'
|
||||
bottom-toolbar.transaction.valid = 'bg:#222222 #00ff5f bold'
|
||||
bottom-toolbar.transaction.failed = 'bg:#222222 #ff005f bold'
|
||||
|
||||
# style classes for colored table output
|
||||
output.header = "#00ff5f bold"
|
||||
output.odd-row = ""
|
||||
output.even-row = ""
|
||||
|
||||
# Named queries are queries you can execute by name.
|
||||
[named queries]
|
||||
|
||||
# Format for number representation
|
||||
# for decimal "d" - 12345678, ",d" - 12,345,678
|
||||
# for float "g" - 123456.78, ",g" - 123,456.78
|
||||
[data_formats]
|
||||
decimal = ""
|
||||
float = ""
|
2
config/user/npm/npmrc
Normal file
2
config/user/npm/npmrc
Normal file
@@ -0,0 +1,2 @@
|
||||
cache=~/.cache/npm
|
||||
prefix=~/.local/share/npm
|
190
config/user/pgcli/config
Normal file
190
config/user/pgcli/config
Normal file
@@ -0,0 +1,190 @@
|
||||
# vi: ft=dosini
|
||||
[main]
|
||||
|
||||
# Enables context sensitive auto-completion. If this is disabled the all
|
||||
# possible completions will be listed.
|
||||
smart_completion = True
|
||||
|
||||
# Display the completions in several columns. (More completions will be
|
||||
# visible.)
|
||||
wider_completion_menu = False
|
||||
|
||||
# Multi-line mode allows breaking up the sql statements into multiple lines. If
|
||||
# this is set to True, then the end of the statements must have a semi-colon.
|
||||
# If this is set to False then sql statements can't be split into multiple
|
||||
# lines. End of line (return) is considered as the end of the statement.
|
||||
multi_line = True
|
||||
|
||||
# If multi_line_mode is set to "psql", in multi-line mode, [Enter] will execute
|
||||
# the current input if the input ends in a semicolon.
|
||||
# If multi_line_mode is set to "safe", in multi-line mode, [Enter] will always
|
||||
# insert a newline, and [Esc] [Enter] or [Alt]-[Enter] must be used to execute
|
||||
# a command.
|
||||
multi_line_mode = psql
|
||||
|
||||
# Destructive warning mode will alert you before executing a sql statement
|
||||
# that may cause harm to the database such as "drop table", "drop database"
|
||||
# or "shutdown".
|
||||
destructive_warning = False
|
||||
|
||||
# Enables expand mode, which is similar to `\x` in psql.
|
||||
expand = False
|
||||
|
||||
# Enables auto expand mode, which is similar to `\x auto` in psql.
|
||||
auto_expand = False
|
||||
|
||||
# If set to True, table suggestions will include a table alias
|
||||
generate_aliases = True
|
||||
|
||||
# log_file location.
|
||||
# In Unix/Linux: ~/.config/pgcli/log
|
||||
# In Windows: %USERPROFILE%\AppData\Local\dbcli\pgcli\log
|
||||
# %USERPROFILE% is typically C:\Users\{username}
|
||||
log_file = default
|
||||
|
||||
# keyword casing preference. Possible values "lower", "upper", "auto"
|
||||
keyword_casing = upper
|
||||
|
||||
# casing_file location.
|
||||
# In Unix/Linux: ~/.config/pgcli/casing
|
||||
# In Windows: %USERPROFILE%\AppData\Local\dbcli\pgcli\casing
|
||||
# %USERPROFILE% is typically C:\Users\{username}
|
||||
casing_file = default
|
||||
|
||||
# If generate_casing_file is set to True and there is no file in the above
|
||||
# location, one will be generated based on usage in SQL/PLPGSQL functions.
|
||||
generate_casing_file = False
|
||||
|
||||
# Casing of column headers based on the casing_file described above
|
||||
case_column_headers = True
|
||||
|
||||
# history_file location.
|
||||
# In Unix/Linux: ~/.config/pgcli/history
|
||||
# In Windows: %USERPROFILE%\AppData\Local\dbcli\pgcli\history
|
||||
# %USERPROFILE% is typically C:\Users\{username}
|
||||
history_file = default
|
||||
|
||||
# Default log level. Possible values: "CRITICAL", "ERROR", "WARNING", "INFO"
|
||||
# and "DEBUG". "NONE" disables logging.
|
||||
log_level = INFO
|
||||
|
||||
# Order of columns when expanding * to column list
|
||||
# Possible values: "table_order" and "alphabetic"
|
||||
asterisk_column_order = table_order
|
||||
|
||||
# Whether to qualify with table alias/name when suggesting columns
|
||||
# Possible values: "always", never" and "if_more_than_one_table"
|
||||
qualify_columns = if_more_than_one_table
|
||||
|
||||
# When no schema is entered, only suggest objects in search_path
|
||||
search_path_filter = False
|
||||
|
||||
# Default pager.
|
||||
# By default 'PAGER' environment variable is used
|
||||
# pager = less -SRXF
|
||||
|
||||
# Timing of sql statments and table rendering.
|
||||
timing = True
|
||||
|
||||
# Table format. Possible values: psql, plain, simple, grid, fancy_grid, pipe,
|
||||
# ascii, double, github, orgtbl, rst, mediawiki, html, latex, latex_booktabs,
|
||||
# textile, moinmoin, jira, vertical, tsv, csv.
|
||||
# Recommended: psql, fancy_grid and grid.
|
||||
|
||||
#table_format = csv
|
||||
#table_format = grid
|
||||
table_format = vertical
|
||||
|
||||
# Syntax Style. Possible values: manni, igor, xcode, vim, autumn, vs, rrt,
|
||||
# native, perldoc, borland, tango, emacs, friendly, monokai, paraiso-dark,
|
||||
# colorful, murphy, bw, pastie, paraiso-light, trac, default, fruity
|
||||
syntax_style = default
|
||||
|
||||
# Keybindings:
|
||||
# When Vi mode is enabled you can use modal editing features offered by Vi in the REPL.
|
||||
# When Vi mode is disabled emacs keybindings such as Ctrl-A for home and Ctrl-E
|
||||
# for end are available in the REPL.
|
||||
vi = True
|
||||
|
||||
# Error handling
|
||||
# When one of multiple SQL statements causes an error, choose to either
|
||||
# continue executing the remaining statements, or stopping
|
||||
# Possible values "STOP" or "RESUME"
|
||||
on_error = STOP
|
||||
|
||||
# Set threshold for row limit. Use 0 to disable limiting.
|
||||
row_limit = 1000
|
||||
|
||||
# Skip intro on startup and goodbye on exit
|
||||
less_chatty = True
|
||||
|
||||
# Postgres prompt
|
||||
# \t - Current date and time
|
||||
# \u - Username
|
||||
# \h - Short hostname of the server (up to first '.')
|
||||
# \H - Hostname of the server
|
||||
# \d - Database name
|
||||
# \p - Database port
|
||||
# \i - Postgres PID
|
||||
# \# - "@" sign if logged in as superuser, '>' in other case
|
||||
# \n - Newline
|
||||
# \dsn_alias - name of dsn alias if -D option is used (empty otherwise)
|
||||
# \x1b[...m - insert ANSI escape sequence
|
||||
prompt = '\d \# '
|
||||
|
||||
# Number of lines to reserve for the suggestion menu
|
||||
min_num_menu_lines = 4
|
||||
|
||||
# Character used to left pad multi-line queries to match the prompt size.
|
||||
multiline_continuation_char = '.'
|
||||
|
||||
# The string used in place of a null value.
|
||||
null_string = '<null>'
|
||||
|
||||
# manage pager on startup
|
||||
enable_pager = True
|
||||
|
||||
# Use keyring to automatically save and load password in a secure manner
|
||||
keyring = True
|
||||
|
||||
# Custom colors for the completion menu, toolbar, etc.
|
||||
[colors]
|
||||
completion-menu.completion.current = 'bg:#ffffff #000000'
|
||||
completion-menu.completion = 'bg:#008888 #ffffff'
|
||||
completion-menu.meta.completion.current = 'bg:#44aaaa #000000'
|
||||
completion-menu.meta.completion = 'bg:#448888 #ffffff'
|
||||
completion-menu.multi-column-meta = 'bg:#aaffff #000000'
|
||||
scrollbar.arrow = 'bg:#003333'
|
||||
scrollbar = 'bg:#00aaaa'
|
||||
selected = '#ffffff bg:#6666aa'
|
||||
search = '#ffffff bg:#4444aa'
|
||||
search.current = '#ffffff bg:#44aa44'
|
||||
bottom-toolbar = 'bg:#222222 #aaaaaa'
|
||||
bottom-toolbar.off = 'bg:#222222 #888888'
|
||||
bottom-toolbar.on = 'bg:#222222 #ffffff'
|
||||
search-toolbar = 'noinherit bold'
|
||||
search-toolbar.text = 'nobold'
|
||||
system-toolbar = 'noinherit bold'
|
||||
arg-toolbar = 'noinherit bold'
|
||||
arg-toolbar.text = 'nobold'
|
||||
bottom-toolbar.transaction.valid = 'bg:#222222 #00ff5f bold'
|
||||
bottom-toolbar.transaction.failed = 'bg:#222222 #ff005f bold'
|
||||
|
||||
# style classes for colored table output
|
||||
output.header = "#00ff5f bold"
|
||||
output.odd-row = ""
|
||||
output.even-row = ""
|
||||
|
||||
# Named queries are queries you can execute by name.
|
||||
[named queries]
|
||||
|
||||
# DSN to call by -D option
|
||||
[alias_dsn]
|
||||
# example_dsn = postgresql://[user[:password]@][netloc][:port][/dbname]
|
||||
|
||||
# Format for number representation
|
||||
# for decimal "d" - 12345678, ",d" - 12,345,678
|
||||
# for float "g" - 123456.78, ",g" - 123,456.78
|
||||
[data_formats]
|
||||
decimal = ""
|
||||
float = ""
|
192
config/user/polybar/config.ini
Normal file
192
config/user/polybar/config.ini
Normal file
@@ -0,0 +1,192 @@
|
||||
include-file = $HOME/.config/polybar/theme.ini
|
||||
include-file = $HOME/.config/polybar/local.ini
|
||||
|
||||
[settings]
|
||||
screenchange-reload = true
|
||||
pseudo-transparency = true
|
||||
|
||||
[bar/i3]
|
||||
bottom = true
|
||||
width = 100%
|
||||
height = 24pt
|
||||
radius = 0
|
||||
|
||||
background = ${colors.background}
|
||||
foreground = ${colors.foreground}
|
||||
|
||||
line-size = 4pt
|
||||
border-size = 0pt
|
||||
border-color = #{colors.background}
|
||||
padding-left = 1
|
||||
padding-right = 1
|
||||
module-margin = 0
|
||||
|
||||
separator = " "
|
||||
separator-foreground = ${colors.disabled}
|
||||
|
||||
font-0 = Monaspace Krypton:style=Bold
|
||||
font-1 = Noto Color Emoji:style=Regular:scale=9;
|
||||
font-2 = Symbols Nerd Font:style=Regular
|
||||
font-3 = DejaVu Sans:style=Bold
|
||||
font-4 = Font Awesome 6 Free
|
||||
|
||||
|
||||
cursor-click = pointer
|
||||
cursor-scroll = ns-resize
|
||||
|
||||
enable-ipc = true
|
||||
|
||||
#####################################################################
|
||||
### modules-left ####################################################
|
||||
#####################################################################
|
||||
|
||||
[bar/i3]
|
||||
modules-left = xworkspaces
|
||||
|
||||
[module/xworkspaces]
|
||||
type = internal/xworkspaces
|
||||
|
||||
label-active = %name%
|
||||
label-active-background = ${colors.background-alt}
|
||||
label-active-foreground = ${colors.foreground-alt}
|
||||
label-active-padding = 1
|
||||
|
||||
label-occupied = %name%
|
||||
label-occupied-padding = 1
|
||||
|
||||
label-urgent = %name%
|
||||
label-urgent-background = ${colors.alert}
|
||||
label-urgent-padding = 1
|
||||
|
||||
#####################################################################
|
||||
### modules-center ##################################################
|
||||
#####################################################################
|
||||
|
||||
[bar/i3]
|
||||
modules-center = tray battery0 battery1
|
||||
|
||||
[module/tray]
|
||||
type = internal/tray
|
||||
|
||||
format-margin = 8pt
|
||||
tray-spacing = 8pt
|
||||
|
||||
[module/backlight]
|
||||
type = internal/backlight
|
||||
format = <bar>
|
||||
|
||||
[module/battery0]
|
||||
type = internal/battery
|
||||
|
||||
battery = BAT0
|
||||
|
||||
interval = 31
|
||||
ramp-capacity-0 =
|
||||
ramp-capacity-1 =
|
||||
ramp-capacity-2 =
|
||||
ramp-capacity-3 =
|
||||
ramp-capacity-4 =
|
||||
ramp-capacity-0-foreground = ${colors.alert}
|
||||
ramp-capacity-1-foreground = ${colors.foreground}
|
||||
ramp-capacity-2-foreground = ${colors.secondary-gradient-2}
|
||||
ramp-capacity-3-foreground = ${colors.secondary-gradient-3}
|
||||
ramp-capacity-4-foreground = ${colors.secondary-gradient-4}
|
||||
format-charging = <ramp-capacity>
|
||||
format-discharging = <ramp-capacity>
|
||||
format-full = <ramp-capacity> <label-full>
|
||||
format-low = <ramp-capacity> <label-low>
|
||||
full-at = 74
|
||||
label-full = c:
|
||||
label-full-foreground = ${colors.secondary-gradient-4}
|
||||
low-at = 39
|
||||
label-low = ⚠
|
||||
label-low-foreground = ${colors.alert}
|
||||
|
||||
[module/battery1]
|
||||
type = internal/battery
|
||||
|
||||
battery = BAT1
|
||||
|
||||
interval = 31
|
||||
ramp-capacity-0 =
|
||||
ramp-capacity-1 =
|
||||
ramp-capacity-2 =
|
||||
ramp-capacity-3 =
|
||||
ramp-capacity-4 =
|
||||
ramp-capacity-0-foreground = ${colors.alert}
|
||||
ramp-capacity-1-foreground = ${colors.foreground}
|
||||
ramp-capacity-2-foreground = ${colors.secondary-gradient-2}
|
||||
ramp-capacity-3-foreground = ${colors.secondary-gradient-3}
|
||||
ramp-capacity-4-foreground = ${colors.secondary-gradient-4}
|
||||
format-charging = <ramp-capacity>
|
||||
format-discharging = <ramp-capacity>
|
||||
format-full = <ramp-capacity> <label-full>
|
||||
format-low = <ramp-capacity> <label-low>
|
||||
full-at = 74
|
||||
label-full = c:
|
||||
label-full-foreground = ${colors.secondary-gradient-4}
|
||||
low-at = 39
|
||||
label-low = ⚠
|
||||
label-low-foreground = ${colors.alert}
|
||||
|
||||
#####################################################################
|
||||
### modules-right ###################################################
|
||||
#####################################################################
|
||||
|
||||
[bar/i3]
|
||||
modules-right = fs memory cpu wlan eth datetime backlight
|
||||
|
||||
[module/fs]
|
||||
type = internal/fs
|
||||
|
||||
interval = 17
|
||||
mount-0 = /
|
||||
spacing = 0
|
||||
label-mounted = ""
|
||||
label-unmounted = ""
|
||||
warn-percentage = 83
|
||||
format-warn = <label-warn>
|
||||
label-warn = "%free% remaining on disk (%percentage_used%% full)"
|
||||
label-warn-foreground = ${colors.alert}
|
||||
|
||||
[module/memory]
|
||||
type = internal/memory
|
||||
interval = 2
|
||||
label = ""
|
||||
warn-percentage = 73
|
||||
format-warn = <label-warn>
|
||||
label-warn = RAM%percentage_used:2%%
|
||||
label-warn-foreground = ${colors.alert}
|
||||
|
||||
[module/cpu]
|
||||
type = internal/cpu
|
||||
interval = 3
|
||||
label = ""
|
||||
warn-percentage = 79
|
||||
format-warn = <label-warn>
|
||||
label-warn = CPU%percentage:2%%
|
||||
label-warn-foreground = ${colors.alert}
|
||||
|
||||
[network-base]
|
||||
type = internal/network
|
||||
interval = 31
|
||||
format-connected = <label-connected>
|
||||
format-disconnected = <label-disconnected>
|
||||
label-disconnected = (%ifname%:⊘)
|
||||
label-disconnected-foreground = ${colors.disabled}
|
||||
label-connected = %ifname%/%local_ip%
|
||||
label-connected-foreground = ${colors.secondary}
|
||||
|
||||
[module/wlan]
|
||||
inherit = network-base
|
||||
interface-type = wireless
|
||||
|
||||
[module/eth]
|
||||
inherit = network-base
|
||||
interface-type = wired
|
||||
|
||||
[module/datetime]
|
||||
type = custom/script
|
||||
label-foreground = ${colors.foreground}
|
||||
interval = 0.5
|
||||
exec = echo $(date +"%A %B %d, %Y : %I:%M:%S-%P") $(TZ=UTC date +"{%H:%M-UTC}")
|
23
config/user/polybar/theme.ini
Normal file
23
config/user/polybar/theme.ini
Normal file
@@ -0,0 +1,23 @@
|
||||
# do not edit; generated by scwrypts
|
||||
# theme : main
|
||||
[colors]
|
||||
background = #000505
|
||||
foreground = #d0f0f0
|
||||
background-alt = #6911aa
|
||||
foreground-alt = #d0f0f0
|
||||
primary = #6911aa
|
||||
secondary = #11bb98
|
||||
alert = #c80064
|
||||
disabled = #424253
|
||||
|
||||
primary-gradient-0 = #420069
|
||||
primary-gradient-1 = #490099
|
||||
primary-gradient-2 = #6911aa
|
||||
primary-gradient-3 = #8811cc
|
||||
primary-gradient-4 = #9922dd
|
||||
|
||||
secondary-gradient-0 = #006942
|
||||
secondary-gradient-1 = #009949
|
||||
secondary-gradient-2 = #00aa79
|
||||
secondary-gradient-3 = #11bb98
|
||||
secondary-gradient-4 = #22ccba
|
510
config/user/pylintrc
Normal file
510
config/user/pylintrc
Normal file
@@ -0,0 +1,510 @@
|
||||
[MASTER]
|
||||
|
||||
# A comma-separated list of package or module names from where C extensions may
|
||||
# be loaded. Extensions are loading into the active Python interpreter and may
|
||||
# run arbitrary code.
|
||||
extension-pkg-whitelist=
|
||||
|
||||
# Add files or directories to the blacklist. They should be base names, not
|
||||
# paths.
|
||||
ignore=CVS
|
||||
|
||||
# Add files or directories matching the regex patterns to the blacklist. The
|
||||
# regex matches against base names, not paths.
|
||||
ignore-patterns=
|
||||
|
||||
# Python code to execute, usually for sys.path manipulation such as
|
||||
# pygtk.require().
|
||||
#init-hook=
|
||||
|
||||
# Use multiple processes to speed up Pylint. Specifying 0 will auto-detect the
|
||||
# number of processors available to use.
|
||||
jobs=1
|
||||
|
||||
# Control the amount of potential inferred values when inferring a single
|
||||
# object. This can help the performance when dealing with large functions or
|
||||
# complex, nested conditions.
|
||||
limit-inference-results=100
|
||||
|
||||
# List of plugins (as comma separated values of python module names) to load,
|
||||
# usually to register additional checkers.
|
||||
load-plugins=
|
||||
|
||||
# Pickle collected data for later comparisons.
|
||||
persistent=yes
|
||||
|
||||
# Specify a configuration file.
|
||||
#rcfile=
|
||||
|
||||
# When enabled, pylint would attempt to guess common misconfiguration and emit
|
||||
# user-friendly hints instead of false-positive error messages.
|
||||
suggestion-mode=yes
|
||||
|
||||
# Allow loading of arbitrary C extensions. Extensions are imported into the
|
||||
# active Python interpreter and may run arbitrary code.
|
||||
unsafe-load-any-extension=no
|
||||
|
||||
|
||||
[MESSAGES CONTROL]
|
||||
|
||||
# Only show warnings with the listed confidence levels. Leave empty to show
|
||||
# all. Valid levels: HIGH, INFERENCE, INFERENCE_FAILURE, UNDEFINED.
|
||||
confidence=
|
||||
|
||||
# Disable the message, report, category or checker with the given id(s). You
|
||||
# can either give multiple identifiers separated by comma (,) or put this
|
||||
# option multiple times (only on the command line, not in the configuration
|
||||
# file where it should appear only once). You can also use "--disable=all" to
|
||||
# disable everything first and then reenable specific checks. For example, if
|
||||
# you want to run only the similarities checker, you can use "--disable=all
|
||||
# --enable=similarities". If you want to run only the classes checker, but have
|
||||
# no Warning level messages displayed, use "--disable=all --enable=classes
|
||||
# --disable=W".
|
||||
disable=raw-checker-failed,
|
||||
bad-inline-option,
|
||||
locally-disabled,
|
||||
file-ignored,
|
||||
suppressed-message,
|
||||
useless-suppression,
|
||||
deprecated-pragma,
|
||||
use-symbolic-message-instead,
|
||||
# my ignored rules
|
||||
invalid-name,
|
||||
missing-class-docstring,
|
||||
missing-function-docstring,
|
||||
missing-module-docstring,
|
||||
too-few-public-methods,
|
||||
|
||||
|
||||
# Enable the message, report, category or checker with the given id(s). You can
|
||||
# either give multiple identifier separated by comma (,) or put this option
|
||||
# multiple time (only on the command line, not in the configuration file where
|
||||
# it should appear only once). See also the "--disable" option for examples.
|
||||
enable=c-extension-no-member
|
||||
|
||||
|
||||
[REPORTS]
|
||||
|
||||
# Python expression which should return a score less than or equal to 10. You
|
||||
# have access to the variables 'error', 'warning', 'refactor', and 'convention'
|
||||
# which contain the number of messages in each category, as well as 'statement'
|
||||
# which is the total number of statements analyzed. This score is used by the
|
||||
# global evaluation report (RP0004).
|
||||
evaluation=10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10)
|
||||
|
||||
# Template used to display messages. This is a python new-style format string
|
||||
# used to format the message information. See doc for all details.
|
||||
#msg-template=
|
||||
|
||||
# Set the output format. Available formats are text, parseable, colorized, json
|
||||
# and msvs (visual studio). You can also give a reporter class, e.g.
|
||||
# mypackage.mymodule.MyReporterClass.
|
||||
output-format=text
|
||||
|
||||
# Tells whether to display a full report or only the messages.
|
||||
reports=no
|
||||
|
||||
# Activate the evaluation score.
|
||||
score=yes
|
||||
|
||||
|
||||
[REFACTORING]
|
||||
|
||||
# Maximum number of nested blocks for function / method body
|
||||
max-nested-blocks=5
|
||||
|
||||
# Complete name of functions that never returns. When checking for
|
||||
# inconsistent-return-statements if a never returning function is called then
|
||||
# it will be considered as an explicit return statement and no message will be
|
||||
# printed.
|
||||
never-returning-functions=sys.exit
|
||||
|
||||
|
||||
[BASIC]
|
||||
|
||||
# Naming style matching correct argument names.
|
||||
argument-naming-style=snake_case
|
||||
|
||||
# Regular expression matching correct argument names. Overrides argument-
|
||||
# naming-style.
|
||||
#argument-rgx=
|
||||
|
||||
# Naming style matching correct attribute names.
|
||||
attr-naming-style=snake_case
|
||||
|
||||
# Regular expression matching correct attribute names. Overrides attr-naming-
|
||||
# style.
|
||||
#attr-rgx=
|
||||
|
||||
# Bad variable names which should always be refused, separated by a comma.
|
||||
bad-names=foo,
|
||||
bar,
|
||||
baz,
|
||||
toto,
|
||||
tutu,
|
||||
tata
|
||||
|
||||
# Naming style matching correct class attribute names.
|
||||
class-attribute-naming-style=any
|
||||
|
||||
# Regular expression matching correct class attribute names. Overrides class-
|
||||
# attribute-naming-style.
|
||||
#class-attribute-rgx=
|
||||
|
||||
# Naming style matching correct class names.
|
||||
class-naming-style=PascalCase
|
||||
|
||||
# Regular expression matching correct class names. Overrides class-naming-
|
||||
# style.
|
||||
#class-rgx=
|
||||
|
||||
# Naming style matching correct constant names.
|
||||
const-naming-style=UPPER_CASE
|
||||
|
||||
# Regular expression matching correct constant names. Overrides const-naming-
|
||||
# style.
|
||||
#const-rgx=
|
||||
|
||||
# Minimum line length for functions/classes that require docstrings, shorter
|
||||
# ones are exempt.
|
||||
docstring-min-length=-1
|
||||
|
||||
# Naming style matching correct function names.
|
||||
function-naming-style=snake_case
|
||||
|
||||
# Regular expression matching correct function names. Overrides function-
|
||||
# naming-style.
|
||||
#function-rgx=
|
||||
|
||||
# Good variable names which should always be accepted, separated by a comma.
|
||||
good-names=i,
|
||||
j,
|
||||
k,
|
||||
ex,
|
||||
Run,
|
||||
_
|
||||
|
||||
# Include a hint for the correct naming format with invalid-name.
|
||||
include-naming-hint=no
|
||||
|
||||
# Naming style matching correct inline iteration names.
|
||||
inlinevar-naming-style=any
|
||||
|
||||
# Regular expression matching correct inline iteration names. Overrides
|
||||
# inlinevar-naming-style.
|
||||
#inlinevar-rgx=
|
||||
|
||||
# Naming style matching correct method names.
|
||||
method-naming-style=snake_case
|
||||
|
||||
# Regular expression matching correct method names. Overrides method-naming-
|
||||
# style.
|
||||
#method-rgx=
|
||||
|
||||
# Naming style matching correct module names.
|
||||
module-naming-style=snake_case
|
||||
|
||||
# Regular expression matching correct module names. Overrides module-naming-
|
||||
# style.
|
||||
#module-rgx=
|
||||
|
||||
# Colon-delimited sets of names that determine each other's naming style when
|
||||
# the name regexes allow several styles.
|
||||
name-group=
|
||||
|
||||
# Regular expression which should only match function or class names that do
|
||||
# not require a docstring.
|
||||
no-docstring-rgx=^_
|
||||
|
||||
# List of decorators that produce properties, such as abc.abstractproperty. Add
|
||||
# to this list to register other decorators that produce valid properties.
|
||||
# These decorators are taken in consideration only for invalid-name.
|
||||
property-classes=abc.abstractproperty
|
||||
|
||||
# Naming style matching correct variable names.
|
||||
variable-naming-style=snake_case
|
||||
|
||||
# Regular expression matching correct variable names. Overrides variable-
|
||||
# naming-style.
|
||||
#variable-rgx=
|
||||
|
||||
|
||||
[STRING]
|
||||
|
||||
# This flag controls whether the implicit-str-concat-in-sequence should
|
||||
# generate a warning on implicit string concatenation in sequences defined over
|
||||
# several lines.
|
||||
check-str-concat-over-line-jumps=no
|
||||
|
||||
|
||||
[SPELLING]
|
||||
|
||||
# Limits count of emitted suggestions for spelling mistakes.
|
||||
max-spelling-suggestions=4
|
||||
|
||||
# Spelling dictionary name. Available dictionaries: none. To make it work,
|
||||
# install the python-enchant package.
|
||||
spelling-dict=
|
||||
|
||||
# List of comma separated words that should not be checked.
|
||||
spelling-ignore-words=
|
||||
|
||||
# A path to a file that contains the private dictionary; one word per line.
|
||||
spelling-private-dict-file=
|
||||
|
||||
# Tells whether to store unknown words to the private dictionary (see the
|
||||
# --spelling-private-dict-file option) instead of raising a message.
|
||||
spelling-store-unknown-words=no
|
||||
|
||||
|
||||
[LOGGING]
|
||||
|
||||
# Format style used to check logging format string. `old` means using %
|
||||
# formatting, `new` is for `{}` formatting,and `fstr` is for f-strings.
|
||||
logging-format-style=old
|
||||
|
||||
# Logging modules to check that the string format arguments are in logging
|
||||
# function parameter format.
|
||||
logging-modules=logging
|
||||
|
||||
|
||||
[VARIABLES]
|
||||
|
||||
# List of additional names supposed to be defined in builtins. Remember that
|
||||
# you should avoid defining new builtins when possible.
|
||||
additional-builtins=
|
||||
|
||||
# Tells whether unused global variables should be treated as a violation.
|
||||
allow-global-unused-variables=yes
|
||||
|
||||
# List of strings which can identify a callback function by name. A callback
|
||||
# name must start or end with one of those strings.
|
||||
callbacks=cb_,
|
||||
_cb
|
||||
|
||||
# A regular expression matching the name of dummy variables (i.e. expected to
|
||||
# not be used).
|
||||
dummy-variables-rgx=_+$|(_[a-zA-Z0-9_]*[a-zA-Z0-9]+?$)|dummy|^ignored_|^unused_
|
||||
|
||||
# Argument names that match this expression will be ignored. Default to name
|
||||
# with leading underscore.
|
||||
ignored-argument-names=_.*|^ignored_|^unused_
|
||||
|
||||
# Tells whether we should check for unused import in __init__ files.
|
||||
init-import=no
|
||||
|
||||
# List of qualified module names which can have objects that can redefine
|
||||
# builtins.
|
||||
redefining-builtins-modules=six.moves,past.builtins,future.builtins,builtins,io
|
||||
|
||||
|
||||
[SIMILARITIES]
|
||||
|
||||
# Ignore comments when computing similarities.
|
||||
ignore-comments=yes
|
||||
|
||||
# Ignore docstrings when computing similarities.
|
||||
ignore-docstrings=yes
|
||||
|
||||
# Ignore imports when computing similarities.
|
||||
ignore-imports=no
|
||||
|
||||
# Minimum lines number of a similarity.
|
||||
min-similarity-lines=4
|
||||
|
||||
|
||||
[MISCELLANEOUS]
|
||||
|
||||
# List of note tags to take in consideration, separated by a comma.
|
||||
notes=FIXME,
|
||||
XXX,
|
||||
TODO
|
||||
|
||||
|
||||
[TYPECHECK]
|
||||
|
||||
# List of decorators that produce context managers, such as
|
||||
# contextlib.contextmanager. Add to this list to register other decorators that
|
||||
# produce valid context managers.
|
||||
contextmanager-decorators=contextlib.contextmanager
|
||||
|
||||
# List of members which are set dynamically and missed by pylint inference
|
||||
# system, and so shouldn't trigger E1101 when accessed. Python regular
|
||||
# expressions are accepted.
|
||||
generated-members=
|
||||
|
||||
# Tells whether missing members accessed in mixin class should be ignored. A
|
||||
# mixin class is detected if its name ends with "mixin" (case insensitive).
|
||||
ignore-mixin-members=yes
|
||||
|
||||
# Tells whether to warn about missing members when the owner of the attribute
|
||||
# is inferred to be None.
|
||||
ignore-none=yes
|
||||
|
||||
# This flag controls whether pylint should warn about no-member and similar
|
||||
# checks whenever an opaque object is returned when inferring. The inference
|
||||
# can return multiple potential results while evaluating a Python object, but
|
||||
# some branches might not be evaluated, which results in partial inference. In
|
||||
# that case, it might be useful to still emit no-member and other checks for
|
||||
# the rest of the inferred objects.
|
||||
ignore-on-opaque-inference=yes
|
||||
|
||||
# List of class names for which member attributes should not be checked (useful
|
||||
# for classes with dynamically set attributes). This supports the use of
|
||||
# qualified names.
|
||||
ignored-classes=optparse.Values,thread._local,_thread._local
|
||||
|
||||
# List of module names for which member attributes should not be checked
|
||||
# (useful for modules/projects where namespaces are manipulated during runtime
|
||||
# and thus existing member attributes cannot be deduced by static analysis). It
|
||||
# supports qualified module names, as well as Unix pattern matching.
|
||||
ignored-modules=
|
||||
|
||||
# Show a hint with possible names when a member name was not found. The aspect
|
||||
# of finding the hint is based on edit distance.
|
||||
missing-member-hint=yes
|
||||
|
||||
# The minimum edit distance a name should have in order to be considered a
|
||||
# similar match for a missing member name.
|
||||
missing-member-hint-distance=1
|
||||
|
||||
# The total number of similar names that should be taken in consideration when
|
||||
# showing a hint for a missing member.
|
||||
missing-member-max-choices=1
|
||||
|
||||
# List of decorators that change the signature of a decorated function.
|
||||
signature-mutators=
|
||||
|
||||
|
||||
[FORMAT]
|
||||
|
||||
# Expected format of line ending, e.g. empty (any line ending), LF or CRLF.
|
||||
expected-line-ending-format=
|
||||
|
||||
# Regexp for a line that is allowed to be longer than the limit.
|
||||
ignore-long-lines=^\s*(# )?<?https?://\S+>?$
|
||||
|
||||
# Number of spaces of indent required inside a hanging or continued line.
|
||||
indent-after-paren=4
|
||||
|
||||
# String used as indentation unit. This is usually " " (4 spaces) or "\t" (1
|
||||
# tab).
|
||||
indent-string=' '
|
||||
|
||||
# Maximum number of characters on a single line.
|
||||
max-line-length=120
|
||||
|
||||
# Maximum number of lines in a module.
|
||||
max-module-lines=1000
|
||||
|
||||
# Allow the body of a class to be on the same line as the declaration if body
|
||||
# contains single statement.
|
||||
single-line-class-stmt=no
|
||||
|
||||
# Allow the body of an if to be on the same line as the test if there is no
|
||||
# else.
|
||||
single-line-if-stmt=no
|
||||
|
||||
|
||||
[IMPORTS]
|
||||
|
||||
# List of modules that can be imported at any level, not just the top level
|
||||
# one.
|
||||
allow-any-import-level=
|
||||
|
||||
# Allow wildcard imports from modules that define __all__.
|
||||
allow-wildcard-with-all=no
|
||||
|
||||
# Analyse import fallback blocks. This can be used to support both Python 2 and
|
||||
# 3 compatible code, which means that the block might have code that exists
|
||||
# only in one or another interpreter, leading to false positives when analysed.
|
||||
analyse-fallback-blocks=no
|
||||
|
||||
# Deprecated modules which should not be used, separated by a comma.
|
||||
deprecated-modules=optparse,tkinter.tix
|
||||
|
||||
# Create a graph of external dependencies in the given file (report RP0402 must
|
||||
# not be disabled).
|
||||
ext-import-graph=
|
||||
|
||||
# Create a graph of every (i.e. internal and external) dependencies in the
|
||||
# given file (report RP0402 must not be disabled).
|
||||
import-graph=
|
||||
|
||||
# Create a graph of internal dependencies in the given file (report RP0402 must
|
||||
# not be disabled).
|
||||
int-import-graph=
|
||||
|
||||
# Force import order to recognize a module as part of the standard
|
||||
# compatibility libraries.
|
||||
known-standard-library=
|
||||
|
||||
# Force import order to recognize a module as part of a third party library.
|
||||
known-third-party=enchant
|
||||
|
||||
# Couples of modules and preferred modules, separated by a comma.
|
||||
preferred-modules=
|
||||
|
||||
|
||||
[DESIGN]
|
||||
|
||||
# Maximum number of arguments for function / method.
|
||||
max-args=5
|
||||
|
||||
# Maximum number of attributes for a class (see R0902).
|
||||
max-attributes=7
|
||||
|
||||
# Maximum number of boolean expressions in an if statement (see R0916).
|
||||
max-bool-expr=5
|
||||
|
||||
# Maximum number of branch for function / method body.
|
||||
max-branches=12
|
||||
|
||||
# Maximum number of locals for function / method body.
|
||||
max-locals=15
|
||||
|
||||
# Maximum number of parents for a class (see R0901).
|
||||
max-parents=7
|
||||
|
||||
# Maximum number of public methods for a class (see R0904).
|
||||
max-public-methods=20
|
||||
|
||||
# Maximum number of return / yield for function / method body.
|
||||
max-returns=6
|
||||
|
||||
# Maximum number of statements in function / method body.
|
||||
max-statements=50
|
||||
|
||||
# Minimum number of public methods for a class (see R0903).
|
||||
min-public-methods=2
|
||||
|
||||
|
||||
[CLASSES]
|
||||
|
||||
# List of method names used to declare (i.e. assign) instance attributes.
|
||||
defining-attr-methods=__init__,
|
||||
__new__,
|
||||
setUp,
|
||||
__post_init__
|
||||
|
||||
# List of member names, which should be excluded from the protected access
|
||||
# warning.
|
||||
exclude-protected=_asdict,
|
||||
_fields,
|
||||
_replace,
|
||||
_source,
|
||||
_make
|
||||
|
||||
# List of valid names for the first argument in a class method.
|
||||
valid-classmethod-first-arg=cls
|
||||
|
||||
# List of valid names for the first argument in a metaclass class method.
|
||||
valid-metaclass-classmethod-first-arg=cls
|
||||
|
||||
|
||||
[EXCEPTIONS]
|
||||
|
||||
# Exceptions that will emit a warning when being caught. Defaults to
|
||||
# "BaseException, Exception".
|
||||
overgeneral-exceptions=BaseException,
|
||||
Exception
|
0
config/user/ripgrep/config
Normal file
0
config/user/ripgrep/config
Normal file
103
config/user/tmux/tmux.conf
Normal file
103
config/user/tmux/tmux.conf
Normal file
@@ -0,0 +1,103 @@
|
||||
# don't use escape key
|
||||
set -sg escape-time 0
|
||||
|
||||
# don't use 'repeat" keys
|
||||
# (causes delay annoyances with '~/.wryn/scwrypts/ssh/omni/tmux.conf')
|
||||
set -sg repeat-time 0
|
||||
|
||||
set-option -g default-shell /bin/zsh
|
||||
|
||||
# quick reload
|
||||
bind-key r source-file ~/.tmux.conf\; display "TMUX CONFIG RELOADED"
|
||||
|
||||
# force color
|
||||
set -g default-terminal "tmux-256color"
|
||||
|
||||
# force utf-8
|
||||
setw -gq utf8 on
|
||||
set-option -gw xterm-keys on
|
||||
|
||||
# force vi
|
||||
set-window-option -g mode-keys vi
|
||||
set-window-option -g status-keys vi
|
||||
|
||||
# disable mouse-mode
|
||||
set -g mouse off
|
||||
|
||||
# window options / color config
|
||||
set -g status-style fg=brightmagenta,bg=black
|
||||
set -g window-status-current-style fg=black,bg=brightmagenta
|
||||
|
||||
set -g status-right "#(cat /sys/class/power_supply/BAT[01]/capacity | head -n1)% | #[fg=magneta]%d %b %R | #(ip address 2>&1 | grep wlp0 | sed -n 's/^.*\\(192.[^/]*\\)\\/.*$/\\1/p') "
|
||||
|
||||
#####################################################################
|
||||
|
||||
# pane switch with vim-like controls
|
||||
bind -n M-h select-pane -L
|
||||
bind -n M-H send-keys C-b Left
|
||||
bind -n M-j select-pane -D
|
||||
bind -n M-J send-keys C-b Down
|
||||
bind -n M-k select-pane -U
|
||||
bind -n M-K send-keys C-b Up
|
||||
bind -n M-l select-pane -R
|
||||
bind -n M-L send-keys C-b Right
|
||||
|
||||
bind -n M-Left resize-pane -L 2
|
||||
bind -n M-S-Left send-keys C-b C-Left
|
||||
bind -n M-Down resize-pane -D 2
|
||||
bind -n M-S-Down send-keys C-b C-Down
|
||||
bind -n M-Up resize-pane -U 2
|
||||
bind -n M-S-Up send-keys C-b C-Up
|
||||
bind -n M-Right resize-pane -R 2
|
||||
bind -n M-S-Right send-keys C-b C-Right
|
||||
|
||||
# alt tab for window shift
|
||||
bind-key -n M-Tab next-window
|
||||
bind-key -n M-n send-keys C-b n
|
||||
bind-key -n M-BTab previous-window
|
||||
bind-key -n M-p send-keys C-b p
|
||||
|
||||
# alt number for switch
|
||||
bind-key -n M-1 select-window -t 0
|
||||
bind-key -n M-2 select-window -t 1
|
||||
bind-key -n M-3 select-window -t 2
|
||||
bind-key -n M-4 select-window -t 3
|
||||
bind-key -n M-5 select-window -t 4
|
||||
bind-key -n M-6 select-window -t 5
|
||||
bind-key -n M-7 select-window -t 6
|
||||
bind-key -n M-8 select-window -t 7
|
||||
bind-key -n M-9 select-window -t 8
|
||||
|
||||
# new window and split pane quickly
|
||||
bind-key -n M-Enter new-window
|
||||
bind-key -n M-c send-keys C-b c
|
||||
|
||||
bind-key -n M-v split-window -v
|
||||
bind-key -n M-V send-keys M-v
|
||||
bind-key -n M-b split-window -h
|
||||
bind-key -n M-B send-keys M-b
|
||||
bind-key -n M-q killp
|
||||
bind-key -n M-Q send-keys M-q
|
||||
bind-key -n M-z resize-pane -Z
|
||||
bind-key -n M-Z send-keys M-z
|
||||
|
||||
# nested session with meta-a
|
||||
bind-key -n M-a send-prefix
|
||||
|
||||
# rena[M]e session
|
||||
bind-key -n M-m command-prompt -I "#S" "rename-session '%%'"
|
||||
bind-key -n M-M send-keys M-m
|
||||
|
||||
# rename [w]indow
|
||||
bind-key -n M-w command-prompt -I "#W" "rename-window '%%'"
|
||||
bind-key -n C-M-w send-keys M-w
|
||||
|
||||
# toggle [r]eadonly session
|
||||
bind-key -n M-r switch-client -r
|
||||
bind-key -n C-M-r send-keys M-r
|
||||
|
||||
#####################################################################
|
||||
|
||||
bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'xclip'
|
||||
|
||||
#####################################################################
|
Reference in New Issue
Block a user