diff options
| -rw-r--r-- | home/.config/MangoHud/MangoHud.conf | 107 | ||||
| -rw-r--r-- | home/.config/aerc/aerc.conf | 572 | ||||
| -rw-r--r-- | home/.config/gamemode.ini | 90 | ||||
| -rw-r--r-- | home/.config/ipython/profile_default/ipython_config.py | 622 |
4 files changed, 2 insertions, 1389 deletions
diff --git a/home/.config/MangoHud/MangoHud.conf b/home/.config/MangoHud/MangoHud.conf index 67fe027..322ad92 100644 --- a/home/.config/MangoHud/MangoHud.conf +++ b/home/.config/MangoHud/MangoHud.conf @@ -1,117 +1,10 @@ -### MangoHud configuration file -### Uncomment any options you wish to enable. Default options are left uncommented -### Use some_parameter=0 to disable a parameter (only works with on/off parameters) -### Everything below can be used / overridden with the environment variable MANGOHUD_CONFIG instead - -################ PERFORMANCE ################# - -### Limit the application FPS -# fps_limit= - -### VSYNC [0-3] 0 = adaptive; 1 = off; 2 = mailbox; 3 = on -# vsync= - -### OpenGL VSYNC [0-N] 0 = off; >=1 = wait for N v-blanks, N > 1 acts as a fps limiter (fps = display refresh rate / N) -# gl_vsync= - -################### VISUAL ################### - -### Display the current CPU information cpu_stats cpu_temp - -### Display the current GPU information gpu_stats gpu_temp -# gpu_core_clock -# gpu_mem_clock - -### Display loaded MangoHud architecture -# arch - -### Display the frametime line graph frame_timing -# histogram - -### Display the current system time -# time - -### Time formatting examples -# time_format = %H:%M -# time_format = [ %T %F ] -# time_format = %X # locally formatted time, because of limited glyph range, missing characters may show as '?' (e.g. japanese) - -### Change the hud font size (default is 24) font_size=16 -# font_scale_media_player = 0.55 - -### Change the hud position (default is top-left) position=bottom-right - -### Display the current CPU load & frequency for each core -# core_load - -### IO read and write for the app (not system) -# io_read -# io_write - -### Display system ram / vram usage ram vram - -### Disable / hide the hud by deafult -# no_display - -### Hud position offset -# offset_x= -# offset_y= - -### Hud dimensions -# width= -# height= - -### Hud transparency / alpha background_alpha=0.8 -# alpha= - -### Color customization -# text_color=FFFFFF -# gpu_color=2E9762 -# cpu_color=2E97CB -# vram_color=AD64C1 -# ram_color=C26693 -# engine_color=EB5B5B -# io_color=A491D3 -# frametime_color=00FF00 -# background_color=020202 -# media_player_color=FFFFFF - -### Change default font (set location to .TTF/.OTF file ) -# font_file - -### Crosshair overlay (default size is 30) -# crosshair -# crosshair_size= -# crosshair_color=RRGGBB - -### Show media player metadata -# media_player -# media_player_name = spotify - -### Specify gpu with pci bus id for amdgpu and NVML stats. -### Set to 'domain:bus:slot.function' -# pci_dev = 0:0a:0.0 - -################## INTERACTION ################# - -### Change toggle keybinds for the hud & logging -#toggle_hud=Shift_R+F12 -#toggle_logging=F2 -#reload_cfg=Shift_L+F4 - -################## LOG ################# - -### Set amount of time in second that the logging will run for -# log_duration -### Define name and location of the output file (Required for logging) -# output_file diff --git a/home/.config/aerc/aerc.conf b/home/.config/aerc/aerc.conf index 6ab2497..25deb62 100644 --- a/home/.config/aerc/aerc.conf +++ b/home/.config/aerc/aerc.conf @@ -1,602 +1,32 @@ -# -# aerc main configuration - -[general] -# -# Used as a default path for save operations if no other path is specified. -# ~ is expanded to the current user home dir. -# -#default-save-path= - -# If set to "gpg", aerc will use system gpg binary and keystore for all crypto -# operations. If set to "internal", the internal openpgp keyring will be used. -# If set to "auto", the system gpg will be preferred unless the internal -# keyring already exists, in which case the latter will be used. -# -# Default: auto -#pgp-provider=auto - -# By default, the file permissions of accounts.conf must be restrictive and -# only allow reading by the file owner (0600). Set this option to true to -# ignore this permission check. Use this with care as it may expose your -# credentials. -# -# Default: false -#unsafe-accounts-conf=false - -# Output log messages to specified file. A path starting with ~/ is expanded to -# the user home dir. When redirecting aerc's output to a file using > shell -# redirection, this setting is ignored and log messages are printed to stdout. -# -#log-file= - -# Only log messages above the specified level to log-file. Supported levels -# are: trace, debug, info, warn and error. When redirecting aerc's output to -# a file using > shell redirection, this setting is ignored and the log level -# is forced to trace. -# -# Default: info -#log-level=info - -# Set the $TERM environment variable used for the embedded terminal. -# -# Default: xterm-256color -#term=xterm-256color - -# Display OSC8 strings in the embedded terminal -# -# Default: false -#enable-osc8=false - [ui] -# -# Describes the format for each row in a mailbox view. This is a comma -# separated list of column names with an optional align and width suffix. After -# the column name, one of the '<' (left), ':' (center) or '>' (right) alignment -# characters can be added (by default, left) followed by an optional width -# specifier. The width is either an integer representing a fixed number of -# characters, or a percentage between 1% and 99% representing a fraction of the -# terminal width. It can also be one of the '*' (auto) or '=' (fit) special -# width specifiers. Auto width columns will be equally attributed the remaining -# terminal width. Fit width columns take the width of their contents. If no -# width specifier is set, '*' is used by default. -# -# Default: date<20,name<17,flags>4,subject<* -#index-columns=date<20,name<17,flags>4,subject<* - -# -# Each name in index-columns must have a corresponding column-$name setting. -# All column-$name settings accept golang text/template syntax. See -# aerc-templates(7) for available template attributes and functions. -# -# Default settings -#column-date={{.DateAutoFormat .Date.Local}} -#column-name={{index (.From | names) 0}} -#column-flags={{.Flags | join ""}} -#column-subject={{.ThreadPrefix}}{{if .ThreadFolded}}{{printf "{%d}" .ThreadCount}}{{end}}{{.Subject}} - -# -# String separator inserted between columns. When the column width specifier is -# an exact number of characters, the separator is added to it (i.e. the exact -# width will be fully available for the column contents). -# -# Default: " " -#column-separator=" " - -# -# See time.Time#Format at https://godoc.org/time#Time.Format -# -# Default: 2006-01-02 03:04 PM (ISO 8601 + 12 hour time) -#timestamp-format=2006-01-02 03:04 PM - -# -# Index-only time format for messages that were received/sent today. -# If this is not specified, timestamp-format is used instead. -# -#this-day-time-format= - -# -# Index-only time format for messages that were received/sent within the last -# 7 days. If this is not specified, timestamp-format is used instead. -# -#this-week-time-format= - -# -# Index-only time format for messages that were received/sent this year. -# If this is not specified, timestamp-format is used instead. -# -#this-year-time-format= - -# -# Width of the sidebar, including the border. -# -# Default: 20 -#sidebar-width=20 - -# -# Message to display when viewing an empty folder. -# -# Default: (no messages) -#empty-message=(no messages) - -# Message to display when no folders exists or are all filtered -# -# Default: (no folders) -#empty-dirlist=(no folders) - -# Enable mouse events in the ui, e.g. clicking and scrolling with the mousewheel -# -# Default: false -#mouse-enabled=false - -# -# Ring the bell when new messages are received -# -# Default: true -#new-message-bell=true - -# -# Template to use for Account tab titles -# -# Default: {{.Account}} -#tab-title-account={{.Account}} - -# Marker to show before a pinned tab's name. -# -# Default: ` -#pinned-tab-marker='`' - -# Template for the left side of the directory list. -# See aerc-templates(7) for all available fields and functions. -# -# Default: {{.Folder}} -#dirlist-left={{.Folder}} - -# Template for the right side of the directory list. -# See aerc-templates(7) for all available fields and functions. -# -# Default: {{if .Unread}}{{humanReadable .Unread}}/{{end}}{{if .Exists}}{{humanReadable .Exists}}{{end}} -#dirlist-right={{if .Unread}}{{humanReadable .Unread}}/{{end}}{{if .Exists}}{{humanReadable .Exists}}{{end}} - -# Delay after which the messages are actually listed when entering a directory. -# This avoids loading messages when skipping over folders and makes the UI more -# responsive. If you do not want that, set it to 0s. -# -# Default: 200ms -#dirlist-delay=200ms - -# Display the directory list as a foldable tree that allows to collapse and -# expand the folders. -# -# Default: false -#dirlist-tree=false - -# If dirlist-tree is enabled, set level at which folders are collapsed by -# default. Set to 0 to disable. -# -# Default: 0 -#dirlist-collapse=0 - -# List of space-separated criteria to sort the messages by, see *sort* -# command in *aerc*(1) for reference. Prefixing a criterion with "-r " -# reverses that criterion. -# -# Example: "from -r date" -# -#sort= - -# Moves to next message when the current message is deleted -# -# Default: true -#next-message-on-delete=true - -# Automatically set the "seen" flag when a message is opened in the message -# viewer. -# -# Default: true -#auto-mark-read=true - -# The directories where the stylesets are stored. It takes a colon-separated -# list of directories. If this is unset or if a styleset cannot be found, the -# following paths will be used as a fallback in that order: -# -# ${XDG_CONFIG_HOME:-~/.config}/aerc/stylesets -# ${XDG_DATA_HOME:-~/.local/share}/aerc/stylesets -# /usr/local/share/aerc/stylesets -# /usr/share/aerc/stylesets -# -#stylesets-dirs= - -# Uncomment to use box-drawing characters for vertical and horizontal borders. -# -# Default: " " -#border-char-vertical=" " -#border-char-horizontal=" " - -# Sets the styleset to use for the aerc ui elements. -# -# Default: default styleset-name=gruvbox - -# Activates fuzzy search in commands and their arguments: the typed string is -# searched in the command or option in any position, and need not be -# consecutive characters in the command or option. -# -# Default: false fuzzy-complete=true - -# How long to wait after the last input before auto-completion is triggered. -# -# Default: 250ms -#completion-delay=250ms - -# The minimum required characters to allow auto-completion to be triggered after -# completion-delay. -# -# Default: 1 -#completion-min-chars=1 - -# -# Global switch for completion popovers -# -# Default: true -#completion-popovers=true - -# Uncomment to use UTF-8 symbols to indicate PGP status of messages -# -# Default: ASCII -#icon-unencrypted= -#icon-encrypted=✔ -#icon-signed=✔ -#icon-signed-encrypted=✔ -#icon-unknown=✘ -#icon-invalid=⚠ - -# Reverses the order of the message list. By default, the message list is -# ordered with the newest (highest UID) message on top. Reversing the order -# will put the oldest (lowest UID) message on top. This can be useful in cases -# where the backend does not support sorting. -# -# Default: false -reverse-msglist-order = true - -# Reverse display of the mesage threads. Default order is the the intial -# message is on the top with all the replies being displayed below. The -# reverse option will put the initial message at the bottom with the -# replies on top. -# -# Default: false -#reverse-thread-order=false - -# Sort the thread siblings according to the sort criteria for the messages. If -# sort-thread-siblings is false, the thread siblings will be sorted based on -# the message UID in ascending order. This option is only applicable for -# client-side threading with a backend that enables sorting. Note that there's -# a performance impact when sorting is activated. -# -# Default: false -#sort-thread-siblings=false - -#[ui:account=foo] -# -# Enable a threaded view of messages. If this is not supported by the backend -# (IMAP server or notmuch), threads will be built by the client. -# -# Default: false +reverse-msglist-order=true threading-enabled=true - -# Force client-side thread building -# -# Default: false -#force-client-threads=false - -# Show thread context enables messages which do not match the current query (or -# belong to the current mailbox) to be shown for context. These messages can be -# styled separately using "msglist_thread_context" in a styleset. This feature -# is not supported by all backends -# -# Default: false show-thread-context=true -# Debounce client-side thread building -# -# Default: 50ms -#client-threads-delay=50ms - -[statusline] -# -# Describes the format for the status line. This is a comma separated list of -# column names with an optional align and width suffix. See [ui].index-columns -# for more details. To completely mute the status line except for push -# notifications, explicitly set status-columns to an empty string. -# -# Default: left<*,center:=,right>* -#status-columns=left<*,center:=,right>* - -# -# Each name in status-columns must have a corresponding column-$name setting. -# All column-$name settings accept golang text/template syntax. See -# aerc-templates(7) for available template attributes and functions. -# -# Default settings -#column-left=[{{.Account}}] {{.StatusInfo}} -#column-center={{.PendingKeys}} -#column-right={{.TrayInfo}} - -# -# String separator inserted between columns. -# See [ui].column-separator for more details. -# -#column-separator=" " - -# Specifies the separator between grouped statusline elements. -# -# Default: " | " -#separator=" | " - -# Defines the mode for displaying the status elements. -# Options: text, icon -# -# Default: text -#display-mode=text - -[viewer] -# -# Specifies the pager to use when displaying emails. Note that some filters -# may add ANSI codes to add color to rendered emails, so you may want to use a -# pager which supports ANSI codes. -# -# Default: less -Rc -#pager=less -Rc - -# -# If an email offers several versions (multipart), you can configure which -# mimetype to prefer. For example, this can be used to prefer plaintext over -# html emails. -# -# Default: text/plain,text/html -#alternatives=text/plain,text/html - -# -# Default setting to determine whether to show full headers or only parsed -# ones in message viewer. -# -# Default: false -#show-headers=false - -# -# Layout of headers when viewing a message. To display multiple headers in the -# same row, separate them with a pipe, e.g. "From|To". Rows will be hidden if -# none of their specified headers are present in the message. -# -# Default: From|To,Cc|Bcc,Date,Subject -#header-layout=From|To,Cc|Bcc,Date,Subject - -# Whether to always show the mimetype of an email, even when it is just a single part -# -# Default: false -#always-show-mime=false - -# Parses and extracts http links when viewing a message. Links can then be -# accessed with the open-link command. -# -# Default: true -#parse-http-links=true - [compose] -# -# Specifies the command to run the editor with. It will be shown in an embedded -# terminal, though it may also launch a graphical window if the environment -# supports it. Defaults to $EDITOR, or vi. -#editor= - -# -# When set, aerc will create and read .eml files for composing that have -# non-standard \n linebreaks. This is only relevant if the used editor does not -# support CRLF linebreaks. -# -#lf-editor=false - -# -# Default header fields to display when composing a message. To display -# multiple headers in the same row, separate them with a pipe, e.g. "To|From". -# -# Default: To|From,Subject -#header-layout=To|From,Subject - -# -# Edit headers into the text editor instead than separate fields. -# -# When this is true, address-book-cmd is not supported and address completion -# is left to the editor itself. Also, displaying multiple headers on the same -# line is not possible. -# -# Default: false -#edit-headers=false - -# -# Specifies the command to be used to tab-complete email addresses. Any -# occurrence of "%s" in the address-book-cmd will be replaced with what the -# user has typed so far. -# -# The command must output the completions to standard output, one completion -# per line. Each line must be tab-delimited, with an email address occurring as -# the first field. Only the email address field is required. The second field, -# if present, will be treated as the contact name. Additional fields are -# ignored. -# -# This parameter can also be set per account in accounts.conf. address-book-cmd=khard email --remove-first-line --parsable %s - -# Specifies the command to be used to select attachments. Any occurrence of -# '%s' in the file-picker-cmd will be replaced with the argument <arg> -# to :attach -m <arg>. Any occurence of '%f' will be replaced by the -# location of a temporary file, from which aerc will read the selected files. -# -# If '%f' is not present, the command must output the selected files to -# standard output, one file per line. If it is present, then aerc does not -# capture the standard output and instead reads the files from the temporary -# file which should have the same format. file-picker-cmd=fzf --multi --query=%s - -# -# Allow to address yourself when replying -# -# Default: true -#reply-to-self=true - -# Warn before sending an email with an empty subject. -# -# Default: false empty-subject-warning=true - -# -# Warn before sending an email that matches the specified regexp but does not -# have any attachments. Leave empty to disable this feature. -# -# Uses Go's regexp syntax, documented at https://golang.org/s/re2syntax. The -# "(?im)" flags are set by default (case-insensitive and multi-line). -# -# Example: no-attachment-warning=^[^>]*attach(ed|ment) -# -#no-attachment-warning= - -# -# When set, aerc will generate "format=flowed" bodies with a content type of -# "text/plain; format=flowed" as described in RFC3676. This format is easier to -# handle for some mailing software, and generally just looks like ordinary -# text. To actually make use of this format's features, you'll need support in -# your editor. -# -#format-flowed=false [multipart-converters] -# -# Converters allow to generate multipart/alternative messages by converting the -# main text/plain part into any other MIME type. Only exact MIME types are -# accepted. The commands are invoked with sh -c and are expected to output -# valid UTF-8 text. -# -# Example (obviously, this requires that you write your main text/plain body -# using the markdown syntax): text/html=pandoc -f markdown -t html --standalone [filters] -# -# Filters allow you to pipe an email body through a shell command to render -# certain emails differently, e.g. highlighting them with ANSI escape codes. -# -# The commands are invoked with sh -c. The following folders are prepended to -# the system $PATH to allow referencing filters from their name only: -# -# ${XDG_CONFIG_HOME:-~/.config}/aerc/filters -# ~/.local/libexec/aerc/filters -# ${XDG_DATA_HOME:-~/.local/share}/aerc/filters -# $PREFIX/libexec/aerc/filters -# $PREFIX/share/aerc/filters -# /usr/libexec/aerc/filters -# /usr/share/aerc/filters -# -# If you want to run a program in your default $PATH which has the same name -# as a builtin filter (e.g. /usr/bin/colorize), use its absolute path. -# -# The following variables are defined in the filter command environment: -# -# AERC_MIME_TYPE the part MIME type/subtype -# AERC_FORMAT the part content type format= parameter -# AERC_FILENAME the attachment filename (if any) -# AERC_SUBJECT the message Subject header value -# AERC_FROM the message From header value -# -# The first filter which matches the email's mimetype will be used, so order -# them from most to least specific. -# -# You can also match on non-mimetypes, by prefixing with the header to match -# against (non-case-sensitive) and a comma, e.g. subject,text will match a -# subject which contains "text". Use header,~regex to match against a regex. -# text/plain=colorize text/calendar=calendar message/delivery-status=colorize message/rfc822=colorize -# text/html=pandoc -f html -t plain | colorize text/html=html | colorize text/*=bat -fP --file-name="$AERC_FILENAME" application/x-sh=bat -fP -l sh -#image/*=catimg -w $(tput cols) - -#subject,~Git(hub|lab)=lolcat -f -#from,thatguywhodoesnothardwraphismessages=wrap -w 100 | colorize - -# This special filter is only used to post-process email headers when -# [viewer].show-headers=true -# By default, headers are piped directly into the pager. -# .headers=colorize [openers] -# -# Openers allow you to specify the command to use for the :open and :open-link -# actions on a per-MIME-type basis. The :open-link URL scheme is used to -# determine the MIME type as follows: x-scheme-handler/<scheme>. -# -# {} is expanded as the temporary filename to be opened. If it is not -# encountered in the command, the temporary filename will be appened to the end -# of the command. -# -# Like [filters], openers support basic shell globbing. The first opener which -# matches the part's MIME type (or URL scheme handler MIME type) will be used, -# so order them from most to least specific. -# -# Examples: -# x-scheme-handler/irc=hexchat x-scheme-handler/http*=librewolf text/html=librewolf -# text/plain=gvim {} +125 -# message/rfc822=thunderbird [hooks] -# -# Hooks are triggered whenever the associated event occurs. - -# -# Executed when a new email arrives in the selected folder mail-received=notify-send "[$AERC_ACCOUNT/$AERC_FOLDER] New mail from $AERC_FROM_NAME" "$AERC_SUBJECT" - -# -# Executed when aerc starts -#aerc-startup=aerc :terminal calcurse && aerc :next-tab - -# -# Executed when aerc shuts down. -#aerc-shutdown= - -[templates] -# Templates are used to populate email bodies automatically. -# - -# The directories where the templates are stored. It takes a colon-separated -# list of directories. If this is unset or if a template cannot be found, the -# following paths will be used as a fallback in that order: -# -# ${XDG_CONFIG_HOME:-~/.config}/aerc/templates -# ${XDG_DATA_HOME:-~/.local/share}/aerc/templates -# /usr/local/share/aerc/templates -# /usr/share/aerc/templates -# -#template-dirs= - -# The default template to be used for new messages. -# -# default: new_message -#new-message=new_message - -# The default template to be used for quoted replies. -# -# default: quoted_reply -#quoted-reply=quoted_reply - -# The default template to be used for forward as body. -# -# default: forward_as_body -#forwards=forward_as_body diff --git a/home/.config/gamemode.ini b/home/.config/gamemode.ini index 899cc4c..d6a5189 100644 --- a/home/.config/gamemode.ini +++ b/home/.config/gamemode.ini @@ -1,97 +1,7 @@ [general] -; The reaper thread will check every 5 seconds for exited clients, for config file changes, and for the CPU/iGPU power balance reaper_freq=5 - -; The desired governor is used when entering GameMode instead of "performance" desiredgov=performance -; The default governer is used when leaving GameMode instead of restoring the original value defaultgov=performance - -; The iGPU desired governor is used when the integrated GPU is under heavy load -; igpu_desiredgov=powersave -; Threshold to use to decide when the integrated GPU is under heavy load. -; This is a ratio of iGPU Watts / CPU Watts which is used to determine when the -; integraged GPU is under heavy enough load to justify switching to -; igpu_desiredgov. Set this to -1 to disable all iGPU checking and always -; use desiredgov for games. -; igpu_power_threshold=0.3 - -; GameMode can change the scheduler policy to SCHED_ISO on kernels which support it (currently -; not supported by upstream kernels). Can be set to "auto", "on" or "off". "auto" will enable -; with 4 or more CPU cores. "on" will always enable. Defaults to "off". softrealtime=off - -; GameMode can renice game processes. You can put any value between 0 and 20 here, the value -; will be negated and applied as a nice value (0 means no change). Defaults to 0. renice=0 - -; By default, GameMode adjusts the iopriority of clients to BE/0, you can put any value -; between 0 and 7 here (with 0 being highest priority), or one of the special values -; "off" (to disable) or "reset" (to restore Linux default behavior based on CPU priority), -; currently, only the best-effort class is supported thus you cannot set it here ioprio=0 - -; Sets whether gamemode will inhibit the screensaver when active -; Defaults to 1 -; inhibit_screensaver=1 - -[filter] -; If "whitelist" entry has a value(s) -; gamemode will reject anything not in the whitelist -;whitelist=RiseOfTheTombRaider - -; Gamemode will always reject anything in the blacklist -;blacklist=HalfLife3 -; glxgears - -[gpu] -; Here Be Dragons! -; Warning: Use these settings at your own risk -; Any damage to hardware incurred due to this feature is your responsibility and yours alone -; It is also highly recommended you try these settings out first manually to find the sweet spots - -; Setting this to the keyphrase "accept-responsibility" will allow gamemode to apply GPU optimisations such as overclocks -;apply_gpu_optimisations=0 - -; The DRM device number on the system (usually 0), ie. the number in /sys/class/drm/card0/ -;gpu_device=0 - -; Nvidia specific settings -; Requires the coolbits extension activated in nvidia-xconfig -; This corresponds to the desired GPUPowerMizerMode -; "Adaptive"=0 "Prefer Maximum Performance"=1 and "Auto"=2 -; See NV_CTRL_GPU_POWER_MIZER_MODE and friends in https://github.com/NVIDIA/nvidia-settings/blob/master/src/libXNVCtrl/NVCtrl.h -;nv_powermizer_mode=1 - -; These will modify the core and mem clocks of the highest perf state in the Nvidia PowerMizer -; They are measured as Mhz offsets from the baseline, 0 will reset values to default, -1 or unset will not modify values -;nv_core_clock_mhz_offset=0 -;nv_mem_clock_mhz_offset=0 - -; AMD specific settings -; Requires a relatively up to date AMDGPU kernel module -; See: https://dri.freedesktop.org/docs/drm/gpu/amdgpu.html#gpu-power-thermal-controls-and-monitoring -; It is also highly recommended you use lm-sensors (or other available tools) to verify card temperatures -; This corresponds to power_dpm_force_performance_level, "manual" is not supported for now -;amd_performance_level=high - -[supervisor] -; This section controls the new gamemode functions gamemode_request_start_for and gamemode_request_end_for -; The whilelist and blacklist control which supervisor programs are allowed to make the above requests -;supervisor_whitelist= -;supervisor_blacklist= - -; In case you want to allow a supervisor to take full control of gamemode, this option can be set -; This will only allow gamemode clients to be registered by using the above functions by a supervisor client -;require_supervisor=0 - -[custom] -; Custom scripts (executed using the shell) when gamemode starts and ends -;start=notify-send "GameMode started" -; /home/me/bin/stop_ethmining.sh - -;end=notify-send "GameMode ended" -; /home/me/bin/start_ethmining.sh - -; Timeout for scripts (seconds). Scripts will be killed if they do not complete within this time. -;script_timeout=10 diff --git a/home/.config/ipython/profile_default/ipython_config.py b/home/.config/ipython/profile_default/ipython_config.py index 59fcd64..1ff9f35 100644 --- a/home/.config/ipython/profile_default/ipython_config.py +++ b/home/.config/ipython/profile_default/ipython_config.py @@ -1,625 +1,5 @@ -# Configuration file for ipython. - -#------------------------------------------------------------------------------ -# InteractiveShellApp(Configurable) configuration -#------------------------------------------------------------------------------ - -## A Mixin for applications that start InteractiveShell instances. -# -# Provides configurables for loading extensions and executing files as part of -# configuring a Shell environment. -# -# The following methods should be called by the :meth:`initialize` method of the -# subclass: -# -# - :meth:`init_path` -# - :meth:`init_shell` (to be implemented by the subclass) -# - :meth:`init_gui_pylab` -# - :meth:`init_extensions` -# - :meth:`init_code` - -## Execute the given command string. -#c.InteractiveShellApp.code_to_run = '' - -## Run the file referenced by the PYTHONSTARTUP environment variable at IPython -# startup. -#c.InteractiveShellApp.exec_PYTHONSTARTUP = True - -## List of files to run at IPython startup. -#c.InteractiveShellApp.exec_files = [] - -## lines of code to run at IPython startup. -#c.InteractiveShellApp.exec_lines = [] - -## A list of dotted module names of IPython extensions to load. -#c.InteractiveShellApp.extensions = [] - -## dotted module name of an IPython extension to load. -#c.InteractiveShellApp.extra_extension = '' - -## A file to be run -#c.InteractiveShellApp.file_to_run = '' - -## Enable GUI event loop integration with any of ('asyncio', 'glut', 'gtk', -# 'gtk2', 'gtk3', 'osx', 'pyglet', 'qt', 'qt4', 'qt5', 'tk', 'wx', 'gtk2', -# 'qt4'). -#c.InteractiveShellApp.gui = None - -## Should variables loaded at startup (by startup files, exec_lines, etc.) be -# hidden from tools like %who? -#c.InteractiveShellApp.hide_initial_ns = True - -## If True, IPython will not add the current working directory to sys.path. When -# False, the current working directory is added to sys.path, allowing imports of -# modules defined in the current directory. -#c.InteractiveShellApp.ignore_cwd = False - -## Configure matplotlib for interactive use with the default matplotlib backend. -# c.InteractiveShellApp.matplotlib = 'auto' - -## Run the module as a script. -#c.InteractiveShellApp.module_to_run = '' - -## Pre-load matplotlib and numpy for interactive use, selecting a particular -# matplotlib backend and loop integration. -#c.InteractiveShellApp.pylab = None - -## If true, IPython will populate the user namespace with numpy, pylab, etc. and -# an ``import *`` is done from numpy and pylab, when using pylab mode. -# -# When False, pylab mode should not import any names into the user namespace. -#c.InteractiveShellApp.pylab_import_all = True - -## Reraise exceptions encountered loading IPython extensions? -#c.InteractiveShellApp.reraise_ipython_extension_failures = False - -#------------------------------------------------------------------------------ -# Application(SingletonConfigurable) configuration -#------------------------------------------------------------------------------ - -## This is an application. - -## The date format used by logging formatters for %(asctime)s -#c.Application.log_datefmt = '%Y-%m-%d %H:%M:%S' - -## The Logging format template -#c.Application.log_format = '[%(name)s]%(highlevel)s %(message)s' - -## Set the log level by value or name. -#c.Application.log_level = 30 - -#------------------------------------------------------------------------------ -# BaseIPythonApplication(Application) configuration -#------------------------------------------------------------------------------ - -## IPython: an enhanced interactive Python shell. - -## Whether to create profile dir if it doesn't exist -# c.BaseIPythonApplication.auto_create = True - -## Whether to install the default config files into the profile dir. If a new -# profile is being created, and IPython contains config files for that profile, -# then they will be staged into the new directory. Otherwise, default config -# files will be automatically generated. -#c.BaseIPythonApplication.copy_config_files = False - -## Path to an extra config file to load. -# -# If specified, load this config file in addition to any other IPython config. -#c.BaseIPythonApplication.extra_config_file = '' - -## The name of the IPython directory. This directory is used for logging -# configuration (through profiles), history storage, etc. The default is usually -# $HOME/.ipython. This option can also be specified through the environment -# variable IPYTHONDIR. -#c.BaseIPythonApplication.ipython_dir = '' - -## Whether to overwrite existing config files when copying -#c.BaseIPythonApplication.overwrite = False - -## The IPython profile to use. -#c.BaseIPythonApplication.profile = 'default' - -## Create a massive crash report when IPython encounters what may be an internal -# error. The default is to append a short message to the usual traceback -#c.BaseIPythonApplication.verbose_crash = False - -#------------------------------------------------------------------------------ -# TerminalIPythonApp(BaseIPythonApplication,InteractiveShellApp) configuration -#------------------------------------------------------------------------------ - -## Whether to display a banner upon starting IPython. -#c.TerminalIPythonApp.display_banner = True - -## If a command or file is given via the command-line, e.g. 'ipython foo.py', -# start an interactive shell after executing the file or command. -#c.TerminalIPythonApp.force_interact = False - -## Class to use to instantiate the TerminalInteractiveShell object. Useful for -# custom Frontends -#c.TerminalIPythonApp.interactive_shell_class = 'IPython.terminal.interactiveshell.TerminalInteractiveShell' - -## Start IPython quickly by skipping the loading of config files. -#c.TerminalIPythonApp.quick = False - -#------------------------------------------------------------------------------ -# InteractiveShell(SingletonConfigurable) configuration -#------------------------------------------------------------------------------ - -## An enhanced, interactive shell for Python. - -## 'all', 'last', 'last_expr' or 'none', 'last_expr_or_assign' specifying which -# nodes should be run interactively (displaying output from expressions). -#c.InteractiveShell.ast_node_interactivity = 'last_expr' - -## A list of ast.NodeTransformer subclass instances, which will be applied to -# user input before code is run. -#c.InteractiveShell.ast_transformers = [] - -## Automatically run await statement in the top level repl. -#c.InteractiveShell.autoawait = True - -## Make IPython automatically call any callable object even if you didn't type -# explicit parentheses. For example, 'str 43' becomes 'str(43)' automatically. -# The value can be '0' to disable the feature, '1' for 'smart' autocall, where -# it is not applied if there are no more arguments on the line, and '2' for -# 'full' autocall, where all callable objects are automatically called (even if -# no arguments are present). -#c.InteractiveShell.autocall = 0 - -## Autoindent IPython code entered interactively. -#c.InteractiveShell.autoindent = True - -## Enable magic commands to be called without the leading %. -#c.InteractiveShell.automagic = True - -## The part of the banner to be printed before the profile -#c.InteractiveShell.banner1 = "Python 3.8.2 (default, Apr 8 2020, 14:31:25) \nType 'copyright', 'credits' or 'license' for more information\nIPython 7.14.0 -- An enhanced Interactive Python. Type '?' for help.\n" c.InteractiveShell.banner1 = "" - -## The part of the banner to be printed after the profile -#c.InteractiveShell.banner2 = '' - -## Set the size of the output cache. The default is 1000, you can change it -# permanently in your config file. Setting it to 0 completely disables the -# caching system, and the minimum value accepted is 3 (if you provide a value -# less than 3, it is reset to 0 and a warning is issued). This limit is defined -# because otherwise you'll spend more time re-flushing a too small cache than -# working -#c.InteractiveShell.cache_size = 1000 - -## Use colors for displaying information about objects. Because this information -# is passed through a pager (like 'less'), and some pagers get confused with -# color codes, this capability can be turned off. -#c.InteractiveShell.color_info = True - -## Set the color scheme (NoColor, Neutral, Linux, or LightBG). -#c.InteractiveShell.colors = 'Neutral' -c.InteractiveShell.colors = 'Linux' - -## -#c.InteractiveShell.debug = False - -## Don't call post-execute functions that have failed in the past. -#c.InteractiveShell.disable_failing_post_execute = False - -## If True, anything that would be passed to the pager will be displayed as -# regular output instead. -#c.InteractiveShell.display_page = False - -## (Provisional API) enables html representation in mime bundles sent to pagers. +c.InteractiveShell.colors = "Linux" c.InteractiveShell.enable_html_pager = True - -## Total length of command history -#c.InteractiveShell.history_length = 10000 - -## The number of saved history entries to be loaded into the history buffer at -# startup. -#c.InteractiveShell.history_load_length = 1000 - -## -#c.InteractiveShell.ipython_dir = '' - -## Start logging to the given file in append mode. Use `logfile` to specify a log -# file to **overwrite** logs to. -#c.InteractiveShell.logappend = '' - -## The name of the logfile to use. -#c.InteractiveShell.logfile = '' - -## Start logging to the default log file in overwrite mode. Use `logappend` to -# specify a log file to **append** logs to. -#c.InteractiveShell.logstart = False - -## Select the loop runner that will be used to execute top-level asynchronous -# code -#c.InteractiveShell.loop_runner = 'IPython.core.interactiveshell._asyncio_runner' - -## -#c.InteractiveShell.object_info_string_level = 0 - -## Automatically call the pdb debugger after every exception. -#c.InteractiveShell.pdb = False - -## Deprecated since IPython 4.0 and ignored since 5.0, set -# TerminalInteractiveShell.prompts object directly. -#c.InteractiveShell.prompt_in1 = 'In [\\#]: ' - -## Deprecated since IPython 4.0 and ignored since 5.0, set -# TerminalInteractiveShell.prompts object directly. -#c.InteractiveShell.prompt_in2 = ' .\\D.: ' - -## Deprecated since IPython 4.0 and ignored since 5.0, set -# TerminalInteractiveShell.prompts object directly. -#c.InteractiveShell.prompt_out = 'Out[\\#]: ' - -## Deprecated since IPython 4.0 and ignored since 5.0, set -# TerminalInteractiveShell.prompts object directly. -#c.InteractiveShell.prompts_pad_left = True - -## -#c.InteractiveShell.quiet = False - -## -#c.InteractiveShell.separate_in = '\n' - -## -#c.InteractiveShell.separate_out = '' - -## -#c.InteractiveShell.separate_out2 = '' - -## Show rewritten input, e.g. for autocall. -#c.InteractiveShell.show_rewritten_input = True - -## Enables rich html representation of docstrings. (This requires the docrepr -# module). -#c.InteractiveShell.sphinxify_docstring = False - -## -#c.InteractiveShell.wildcards_case_sensitive = True - -## Switch modes for the IPython exception handlers. -#c.InteractiveShell.xmode = 'Context' - -#------------------------------------------------------------------------------ -# TerminalInteractiveShell(InteractiveShell) configuration -#------------------------------------------------------------------------------ - -## Autoformatter to reformat Terminal code. Can be `'black'` or `None` -#c.TerminalInteractiveShell.autoformatter = None - -## Set to confirm when you try to exit IPython with an EOF (Control-D in Unix, -# Control-Z/Enter in Windows). By typing 'exit' or 'quit', you can force a -# direct exit without any confirmation. c.TerminalInteractiveShell.confirm_exit = False - -## Options for displaying tab completions, 'column', 'multicolumn', and -# 'readlinelike'. These options are for `prompt_toolkit`, see `prompt_toolkit` -# documentation for more information. -#c.TerminalInteractiveShell.display_completions = 'multicolumn' - -## Shortcut style to use at the prompt. 'vi' or 'emacs'. -#c.TerminalInteractiveShell.editing_mode = 'emacs' - -## Set the editor used by IPython (default to $EDITOR/vi/notepad). -#c.TerminalInteractiveShell.editor = 'nvim' - -## Allows to enable/disable the prompt toolkit history search -#c.TerminalInteractiveShell.enable_history_search = True - -## Enable vi (v) or Emacs (C-X C-E) shortcuts to open an external editor. This is -# in addition to the F2 binding, which is always enabled. c.TerminalInteractiveShell.extra_open_editor_shortcuts = True - -## Provide an alternative handler to be called when the user presses Return. This -# is an advanced option intended for debugging, which may be changed or removed -# in later releases. -#c.TerminalInteractiveShell.handle_return = None - -## Highlight matching brackets. -#c.TerminalInteractiveShell.highlight_matching_brackets = True - -## The name or class of a Pygments style to use for syntax highlighting. To see -# available styles, run `pygmentize -L styles`. -#c.TerminalInteractiveShell.highlighting_style = traitlets.Undefined - -## Override highlighting format for specific tokens -#c.TerminalInteractiveShell.highlighting_style_overrides = {} - -## -#c.TerminalInteractiveShell.mime_renderers = {} - -## Enable mouse support in the prompt (Note: prevents selecting text with the -# mouse) -#c.TerminalInteractiveShell.mouse_support = False - -## Display the current vi mode (when using vi editing mode). -#c.TerminalInteractiveShell.prompt_includes_vi_mode = True - -## Class used to generate Prompt token for prompt_toolkit -#c.TerminalInteractiveShell.prompts_class = 'IPython.terminal.prompts.Prompts' - -## Use `raw_input` for the REPL, without completion and prompt colors. -# -# Useful when controlling IPython as a subprocess, and piping STDIN/OUT/ERR. -# Known usage are: IPython own testing machinery, and emacs inferior-shell -# integration through elpy. -# -# This mode default to `True` if the `IPY_TEST_SIMPLE_PROMPT` environment -# variable is set, or the current terminal is not a tty. -#c.TerminalInteractiveShell.simple_prompt = False - -## Number of line at the bottom of the screen to reserve for the completion menu -#c.TerminalInteractiveShell.space_for_menu = 6 - -## Automatically set the terminal title -#c.TerminalInteractiveShell.term_title = True - -## Customize the terminal title format. This is a python format string. -# Available substitutions are: {cwd}. -#c.TerminalInteractiveShell.term_title_format = 'IPython: {cwd}' - -## Use 24bit colors instead of 256 colors in prompt highlighting. If your -# terminal supports true color, the following command should print 'TRUECOLOR' -# in orange: printf "\x1b[38;2;255;100;0mTRUECOLOR\x1b[0m\n" -#c.TerminalInteractiveShell.true_color = False - -#------------------------------------------------------------------------------ -# HistoryAccessor(HistoryAccessorBase) configuration -#------------------------------------------------------------------------------ - -## Access the history database without adding to it. -# -# This is intended for use by standalone history tools. IPython shells use -# HistoryManager, below, which is a subclass of this. - -## Options for configuring the SQLite connection -# -# These options are passed as keyword args to sqlite3.connect when establishing -# database connections. -#c.HistoryAccessor.connection_options = {} - -## enable the SQLite history -# -# set enabled=False to disable the SQLite history, in which case there will be -# no stored history, no SQLite connection, and no background saving thread. -# This may be necessary in some threaded environments where IPython is embedded. -#c.HistoryAccessor.enabled = True - -## Path to file to use for SQLite history database. -# -# By default, IPython will put the history database in the IPython profile -# directory. If you would rather share one history among profiles, you can set -# this value in each, so that they are consistent. -# -# Due to an issue with fcntl, SQLite is known to misbehave on some NFS mounts. -# If you see IPython hanging, try setting this to something on a local disk, -# e.g:: -# -# ipython --HistoryManager.hist_file=/tmp/ipython_hist.sqlite -# -# you can also use the specific value `:memory:` (including the colon at both -# end but not the back ticks), to avoid creating an history file. -#c.HistoryAccessor.hist_file = '' - -#------------------------------------------------------------------------------ -# HistoryManager(HistoryAccessor) configuration -#------------------------------------------------------------------------------ - -## A class to organize all history-related functionality in one place. - -## Write to database every x commands (higher values save disk access & power). -# Values of 1 or less effectively disable caching. -#c.HistoryManager.db_cache_size = 0 - -## Should the history database include output? (default: no) -#c.HistoryManager.db_log_output = False - -#------------------------------------------------------------------------------ -# ProfileDir(LoggingConfigurable) configuration -#------------------------------------------------------------------------------ - -## An object to manage the profile directory and its resources. -# -# The profile directory is used by all IPython applications, to manage -# configuration, logging and security. -# -# This object knows how to find, create and manage these directories. This -# should be used by any code that wants to handle profiles. - -## Set the profile location directly. This overrides the logic used by the -# `profile` option. -#c.ProfileDir.location = '' - -#------------------------------------------------------------------------------ -# BaseFormatter(Configurable) configuration -#------------------------------------------------------------------------------ - -## A base formatter class that is configurable. -# -# This formatter should usually be used as the base class of all formatters. It -# is a traited :class:`Configurable` class and includes an extensible API for -# users to determine how their objects are formatted. The following logic is -# used to find a function to format an given object. -# -# 1. The object is introspected to see if it has a method with the name -# :attr:`print_method`. If is does, that object is passed to that method -# for formatting. -# 2. If no print method is found, three internal dictionaries are consulted -# to find print method: :attr:`singleton_printers`, :attr:`type_printers` -# and :attr:`deferred_printers`. -# -# Users should use these dictionaries to register functions that will be used to -# compute the format data for their objects (if those objects don't have the -# special print methods). The easiest way of using these dictionaries is through -# the :meth:`for_type` and :meth:`for_type_by_name` methods. -# -# If no function/callable is found to compute the format data, ``None`` is -# returned and this format type is not used. - -## -#c.BaseFormatter.deferred_printers = {} - -## -#c.BaseFormatter.enabled = True - -## -#c.BaseFormatter.singleton_printers = {} - -## -#c.BaseFormatter.type_printers = {} - -#------------------------------------------------------------------------------ -# PlainTextFormatter(BaseFormatter) configuration -#------------------------------------------------------------------------------ - -## The default pretty-printer. -# -# This uses :mod:`IPython.lib.pretty` to compute the format data of the object. -# If the object cannot be pretty printed, :func:`repr` is used. See the -# documentation of :mod:`IPython.lib.pretty` for details on how to write pretty -# printers. Here is a simple example:: -# -# def dtype_pprinter(obj, p, cycle): -# if cycle: -# return p.text('dtype(...)') -# if hasattr(obj, 'fields'): -# if obj.fields is None: -# p.text(repr(obj)) -# else: -# p.begin_group(7, 'dtype([') -# for i, field in enumerate(obj.descr): -# if i > 0: -# p.text(',') -# p.breakable() -# p.pretty(field) -# p.end_group(7, '])') - -## -#c.PlainTextFormatter.float_precision = '' - -## Truncate large collections (lists, dicts, tuples, sets) to this size. -# -# Set to 0 to disable truncation. -#c.PlainTextFormatter.max_seq_length = 1000 - -## -#c.PlainTextFormatter.max_width = 79 - -## -#c.PlainTextFormatter.newline = '\n' - -## -#c.PlainTextFormatter.pprint = True - -## -#c.PlainTextFormatter.verbose = False - -#------------------------------------------------------------------------------ -# Completer(Configurable) configuration -#------------------------------------------------------------------------------ - -## Enable unicode completions, e.g. \alpha<tab> . Includes completion of latex -# commands, unicode names, and expanding unicode characters back to latex -# commands. -#c.Completer.backslash_combining_completions = True - -## Enable debug for the Completer. Mostly print extra information for -# experimental jedi integration. -#c.Completer.debug = False - -## Activate greedy completion PENDING DEPRECTION. this is now mostly taken care -# of with Jedi. -# -# This will enable completion on elements of lists, results of function calls, -# etc., but can be unsafe because the code is actually evaluated on TAB. -#c.Completer.greedy = False - -## Experimental: restrict time (in milliseconds) during which Jedi can compute -# types. Set to 0 to stop computing types. Non-zero value lower than 100ms may -# hurt performance by preventing jedi to build its cache. -#c.Completer.jedi_compute_type_timeout = 400 - -## Experimental: Use Jedi to generate autocompletions. Default to True if jedi is -# installed. -#c.Completer.use_jedi = True - -#------------------------------------------------------------------------------ -# IPCompleter(Completer) configuration -#------------------------------------------------------------------------------ - -## Extension of the completer class with IPython-specific features - -## DEPRECATED as of version 5.0. -# -# Instruct the completer to use __all__ for the completion -# -# Specifically, when completing on ``object.<tab>``. -# -# When True: only those names in obj.__all__ will be included. -# -# When False [default]: the __all__ attribute is ignored -#c.IPCompleter.limit_to__all__ = False - -## Whether to merge completion results into a single list -# -# If False, only the completion results from the first non-empty completer will -# be returned. -#c.IPCompleter.merge_completions = True - -## Instruct the completer to omit private method names -# -# Specifically, when completing on ``object.<tab>``. -# -# When 2 [default]: all names that start with '_' will be excluded. -# -# When 1: all 'magic' names (``__foo__``) will be excluded. -# -# When 0: nothing will be excluded. -#c.IPCompleter.omit__names = 2 - -#------------------------------------------------------------------------------ -# ScriptMagics(Magics) configuration -#------------------------------------------------------------------------------ - -## Magics for talking to scripts -# -# This defines a base `%%script` cell magic for running a cell with a program in -# a subprocess, and registers a few top-level magics that call %%script with -# common interpreters. - -## Extra script cell magics to define -# -# This generates simple wrappers of `%%script foo` as `%%foo`. -# -# If you want to add script magics that aren't on your path, specify them in -# script_paths -#c.ScriptMagics.script_magics = [] - -## Dict mapping short 'ruby' names to full paths, such as '/opt/secret/bin/ruby' -# -# Only necessary for items in script_magics where the default path will not find -# the right interpreter. -#c.ScriptMagics.script_paths = {} - -#------------------------------------------------------------------------------ -# LoggingMagics(Magics) configuration -#------------------------------------------------------------------------------ - -## Magics related to all logging machinery. - -## Suppress output of log state when logging is enabled -#c.LoggingMagics.quiet = False - -#------------------------------------------------------------------------------ -# StoreMagics(Magics) configuration -#------------------------------------------------------------------------------ - -## Lightweight persistence for python variables. -# -# Provides the %store magic. - -## If True, any %store-d variables will be automatically restored when IPython -# starts. -#c.StoreMagics.autorestore = False |
