diff options
author | Luca Matei Pintilie <luca@lucamatei.com> | 2023-08-06 19:24:43 +0000 |
---|---|---|
committer | Luca Matei Pintilie <luca@lucamatei.com> | 2023-08-06 19:24:43 +0000 |
commit | 2e5aa362b54d0a4865b58a9fbf8834a870b4ba0e (patch) | |
tree | 8c7216bf123ed434a6bbfd3685097e2d726cc851 /.config | |
parent | 5e4938da5428f12971a160e835c1929b06e9f7c9 (diff) | |
download | dotfiles-2e5aa362b54d0a4865b58a9fbf8834a870b4ba0e.tar dotfiles-2e5aa362b54d0a4865b58a9fbf8834a870b4ba0e.tar.gz dotfiles-2e5aa362b54d0a4865b58a9fbf8834a870b4ba0e.tar.bz2 dotfiles-2e5aa362b54d0a4865b58a9fbf8834a870b4ba0e.tar.lz dotfiles-2e5aa362b54d0a4865b58a9fbf8834a870b4ba0e.tar.xz dotfiles-2e5aa362b54d0a4865b58a9fbf8834a870b4ba0e.tar.zst dotfiles-2e5aa362b54d0a4865b58a9fbf8834a870b4ba0e.zip |
Add mpv and weechat config
Diffstat (limited to '.config')
-rw-r--r-- | .config/mpv/input.conf | 182 | ||||
-rw-r--r-- | .config/mpv/mpv.conf | 20 | ||||
-rw-r--r-- | .config/weechat/alias.conf | 50 | ||||
-rw-r--r-- | .config/weechat/autosort.conf | 24 | ||||
-rw-r--r-- | .config/weechat/buflist.conf | 41 | ||||
-rw-r--r-- | .config/weechat/charset.conf | 18 | ||||
-rw-r--r-- | .config/weechat/colorize_nicks.conf | 20 | ||||
-rw-r--r-- | .config/weechat/exec.conf | 19 | ||||
-rw-r--r-- | .config/weechat/fifo.conf | 14 | ||||
-rw-r--r-- | .config/weechat/fset.conf | 98 | ||||
-rw-r--r-- | .config/weechat/logger.conf | 40 | ||||
-rw-r--r-- | .config/weechat/lua.conf | 14 | ||||
-rw-r--r-- | .config/weechat/perl.conf | 14 | ||||
-rw-r--r-- | .config/weechat/plugins.conf | 93 | ||||
-rw-r--r-- | .config/weechat/python.conf | 14 | ||||
-rw-r--r-- | .config/weechat/script.conf | 57 | ||||
-rw-r--r-- | .config/weechat/typing.conf | 19 | ||||
-rw-r--r-- | .config/weechat/weechat.conf | 665 | ||||
-rw-r--r-- | .config/weechat/xfer.conf | 49 |
19 files changed, 1451 insertions, 0 deletions
diff --git a/.config/mpv/input.conf b/.config/mpv/input.conf new file mode 100644 index 0000000..59566ae --- /dev/null +++ b/.config/mpv/input.conf @@ -0,0 +1,182 @@ +# mpv keybindings +# +# Location of user-defined bindings: ~/.config/mpv/input.conf +# +# Lines starting with # are comments. Use SHARP to assign the # key. +# Copy this file and uncomment and edit the bindings you want to change. +# +# List of commands and further details: DOCS/man/input.rst +# List of special keys: --input-keylist +# Keybindings testing mode: mpv --input-test --force-window --idle +# +# Use 'ignore' to unbind a key fully (e.g. 'ctrl+a ignore'). +# +# Strings need to be quoted and escaped: +# KEY show-text "This is a single backslash: \\ and a quote: \" !" +# +# You can use modifier-key combinations like Shift+Left or Ctrl+Alt+x with +# the modifiers Shift, Ctrl, Alt and Meta (may not work on the terminal). +# +# The default keybindings are hardcoded into the mpv binary. +# You can disable them completely with: --no-input-default-bindings + +# Developer note: +# On compilation, this file is baked into the mpv binary, and all lines are +# uncommented (unless '#' is followed by a space) - thus this file defines the +# default key bindings. + +# If this is enabled, treat all the following bindings as default. +#default-bindings start + +MBTN_LEFT ignore # don't do anything +MBTN_LEFT_DBL cycle fullscreen # toggle fullscreen +MBTN_RIGHT cycle pause # toggle pause/playback mode +MBTN_BACK playlist-prev # skip to the previous file +MBTN_FORWARD playlist-next # skip to the next file + +# Mouse wheels, touchpad or other input devices that have axes +# if the input devices supports precise scrolling it will also scale the +# numeric value accordingly +WHEEL_UP seek 10 # seek 10 seconds forward +WHEEL_DOWN seek -10 # seek 10 seconds backward +WHEEL_LEFT add volume -2 +WHEEL_RIGHT add volume 2 + +## Seek units are in seconds, but note that these are limited by keyframes +RIGHT seek 5 # seek 5 seconds forward +LEFT seek -5 # seek 5 seconds backward +UP seek 60 # seek 1 minute forward +DOWN seek -60 # seek 1 minute backward +# Do smaller, always exact (non-keyframe-limited), seeks with shift. +# Don't show them on the OSD (no-osd). +Shift+RIGHT no-osd seek 1 exact # seek exactly 1 second forward +Shift+LEFT no-osd seek -1 exact # seek exactly 1 second backward +Shift+UP no-osd seek 5 exact # seek exactly 5 seconds forward +Shift+DOWN no-osd seek -5 exact # seek exactly 5 seconds backward +Ctrl+LEFT no-osd sub-seek -1 # seek to the previous subtitle +Ctrl+RIGHT no-osd sub-seek 1 # seek to the next subtitle +Ctrl+Shift+LEFT sub-step -1 # change subtitle timing such that the previous subtitle is displayed +Ctrl+Shift+RIGHT sub-step 1 # change subtitle timing such that the next subtitle is displayed +Alt+left add video-pan-x 0.1 # move the video right +Alt+right add video-pan-x -0.1 # move the video left +Alt+up add video-pan-y 0.1 # move the video down +Alt+down add video-pan-y -0.1 # move the video up +Alt++ add video-zoom 0.1 # zoom in +Alt+- add video-zoom -0.1 # zoom out +Alt+BS set video-zoom 0 ; set video-pan-x 0 ; set video-pan-y 0 # reset zoom and pan settings +PGUP add chapter 1 # seek to the next chapter +PGDWN add chapter -1 # seek to the previous chapter +Shift+PGUP seek 600 # seek 10 minutes forward +Shift+PGDWN seek -600 # seek 10 minutes backward +[ multiply speed 1/1.1 # decrease the playback speed +] multiply speed 1.1 # increase the playback speed +{ multiply speed 0.5 # halve the playback speed +} multiply speed 2.0 # double the playback speed +BS set speed 1.0 # reset the speed to normal +Shift+BS revert-seek # undo the previous (or marked) seek +Shift+Ctrl+BS revert-seek mark # mark the position for revert-seek +q quit +Q quit-watch-later # exit and remember the playback position +q {encode} quit 4 +ESC set fullscreen no # leave fullscreen +ESC {encode} quit 4 +p cycle pause # toggle pause/playback mode +. frame-step # advance one frame and pause +, frame-back-step # go back by one frame and pause +- cycle-values play-dir - + +## Same as above, but possibly better +# , seek -0.05 exact +SPACE cycle pause # toggle pause/playback mode +> playlist-next # skip to the next file +ENTER playlist-next # skip to the next file +< playlist-prev # skip to the previous file +O no-osd cycle-values osd-level 3 1 # toggle displaying the OSD on user interaction or always +o show-progress # show playback progress +P show-progress # show playback progress +i script-binding stats/display-stats # display information and statistics +I script-binding stats/display-stats-toggle # toggle displaying information and statistics +` script-binding console/enable # open the console +z add sub-delay -0.1 # shift subtitles 100 ms earlier +Z add sub-delay +0.1 # delay subtitles by 100 ms +x add sub-delay +0.1 # delay subtitles by 100 ms +ctrl++ add audio-delay 0.100 # change audio/video sync by delaying the audio +ctrl+- add audio-delay -0.100 # change audio/video sync by shifting the audio earlier +Shift+g add sub-scale +0.1 # increase the subtitle font size +Shift+f add sub-scale -0.1 # decrease the subtitle font size +9 add volume -2 +/ add volume -2 +0 add volume 2 +* add volume 2 +m cycle mute # toggle mute +1 add contrast -1 +2 add contrast 1 +3 add brightness -1 +4 add brightness 1 +5 add gamma -1 +6 add gamma 1 +7 add saturation -1 +8 add saturation 1 +Alt+0 set current-window-scale 0.5 # halve the window size +Alt+1 set current-window-scale 1.0 # reset the window size +Alt+2 set current-window-scale 2.0 # double the window size +d cycle deinterlace # toggle the deinterlacing filter +r add sub-pos -1 # move subtitles up +R add sub-pos +1 # move subtitles down +t add sub-pos +1 # move subtitles down +v cycle sub-visibility # hide or show the subtitles +Alt+v cycle secondary-sub-visibility # hide or show the secondary subtitles +V cycle sub-ass-vsfilter-aspect-compat # toggle stretching SSA/ASS subtitles with anamorphic videos to match the historical renderer +u cycle-values sub-ass-override "force" "no" # toggle overriding SSA/ASS subtitle styles with the normal styles +j cycle sub # switch subtitle track +J cycle sub down # switch subtitle track backwards +SHARP cycle audio # switch audio track +_ cycle video # switch video track +T cycle ontop # toggle placing the video on top of other windows +f cycle fullscreen # toggle fullscreen +s screenshot # take a screenshot of the video in its original resolution with subtitles +S screenshot video # take a screenshot of the video in its original resolution without subtitles +Ctrl+s screenshot window # take a screenshot of the window with OSD and subtitles +Alt+s screenshot each-frame # automatically screenshot every frame; issue this command again to stop taking screenshots +w add panscan -0.1 # decrease panscan +W add panscan +0.1 # shrink black bars by cropping the video +e add panscan +0.1 # shrink black bars by cropping the video +A cycle-values video-aspect-override "16:9" "4:3" "2.35:1" "-1" # cycle the video aspect ratio ("-1" is the container aspect) +POWER quit +PLAY cycle pause # toggle pause/playback mode +PAUSE cycle pause # toggle pause/playback mode +PLAYPAUSE cycle pause # toggle pause/playback mode +PLAYONLY set pause no # unpause +PAUSEONLY set pause yes # pause +STOP quit +FORWARD seek 60 # seek 1 minute forward +REWIND seek -60 # seek 1 minute backward +NEXT playlist-next # skip to the next file +PREV playlist-prev # skip to the previous file +VOLUME_UP add volume 2 +VOLUME_DOWN add volume -2 +MUTE cycle mute # toggle mute +CLOSE_WIN quit +CLOSE_WIN {encode} quit 4 +ctrl+w quit +E cycle edition # switch edition +l ab-loop # set/clear A-B loop points +L cycle-values loop-file "inf" "no" # toggle infinite looping +ctrl+c quit 4 +DEL script-binding osc/visibility # cycle OSC visibility between never, auto (mouse-move) and always +ctrl+h cycle-values hwdec "auto" "no" # toggle hardware decoding +F8 show-text ${playlist} # show the playlist +F9 show-text ${track-list} # show the list of video, audio and sub tracks + +# +# Legacy bindings (may or may not be removed in the future) +# +! add chapter -1 # seek to the previous chapter +@ add chapter 1 # seek to the next chapter + +# +# Not assigned by default +# (not an exhaustive list of unbound commands) +# + +# ? cycle sub-forced-only # toggle DVD forced subs +# ? stop # stop playback (quit or enter idle mode) diff --git a/.config/mpv/mpv.conf b/.config/mpv/mpv.conf new file mode 100644 index 0000000..5fb4e93 --- /dev/null +++ b/.config/mpv/mpv.conf @@ -0,0 +1,20 @@ +ytdl-format='bestvideo[height<=?1080]+bestaudio/best' + +keep-open=always # don't quit the entire player after playback ends +idle=yes # don't destroy the player window after playback ends +reset-on-next-file=pause # reset the pause state (unpause) when a new file + # is loaded + +cache=yes +# demuxer-readahead-secs=60 +# demuxer-seekable-cache=yes +# demuxer-max-bytes=1000MiB +# video-reversal-buffer=500MiB +# audio-reversal-buffer=200MiB +# demuxer-max-back-bytes=700MiB +# hwdec-extra-frames=256 +# demuxer-cache-wait=yes +#hr-seek=yes +#demuxer-backward-playback-step= + + diff --git a/.config/weechat/alias.conf b/.config/weechat/alias.conf new file mode 100644 index 0000000..f630c8e --- /dev/null +++ b/.config/weechat/alias.conf @@ -0,0 +1,50 @@ +# +# weechat -- alias.conf +# +# WARNING: It is NOT recommended to edit this file by hand, +# especially if WeeChat is running. +# +# Use commands like /set or /fset to change settings in WeeChat. +# +# For more info, see: https://weechat.org/doc/weechat/quickstart/ +# + +config_version = 2 + +[cmd] +aaway = "allserv /away" +anick = "allserv /nick" +beep = "print -beep" +bye = "quit" +c = "buffer clear" +chat = "dcc chat" +cl = "buffer clear" +close = "buffer close" +exit = "quit" +ig = "ignore" +j = "join" +k = "kick" +kb = "kickban" +leave = "part" +m = "msg" +msgbuf = "command -buffer $1 * /input send $2-" +mub = "unban *" +n = "names" +pull = "/quote CHATHISTORY LATEST $channel * $1" +q = "query" +redraw = "window refresh" +say = "msg *" +signoff = "quit" +t = "topic" +ub = "unban" +umode = "mode $nick" +v = "command core version" +w = "who" +wc = "window close" +wi = "whois" +wii = "whois $1 $1" +wm = "window merge" +ww = "whowas" + +[completion] +msgbuf = "%(buffers_plugins_names)" diff --git a/.config/weechat/autosort.conf b/.config/weechat/autosort.conf new file mode 100644 index 0000000..3300ef2 --- /dev/null +++ b/.config/weechat/autosort.conf @@ -0,0 +1,24 @@ +# +# weechat -- autosort.conf +# +# WARNING: It is NOT recommended to edit this file by hand, +# especially if WeeChat is running. +# +# Use commands like /set or /fset to change settings in WeeChat. +# +# For more info, see: https://weechat.org/doc/weechat/quickstart/ +# + +[sorting] +case_sensitive = off +debug_log = off +replacements = "" +rules = "" +signal_delay = 5 +signals = "buffer_opened buffer_merged buffer_unmerged buffer_renamed" +sort_limit = 100 +sort_on_config_change = on + +[v3] +helpers = "{"core_first": "${if:${buffer.full_name}!=core.weechat}", "irc_raw_first": "${if:${buffer.full_name}!=irc.irc_raw}", "irc_raw_last": "${if:${buffer.full_name}==irc.irc_raw}", "hashless_name": "${info:autosort_replace,#,,${info:autosort_escape,${buffer.name}}}", "script_or_plugin": "${if:${script_name}?${script_name}:${plugin}}"}" +rules = "["${core_first}", "${info:autosort_order,${info:autosort_escape,${script_or_plugin}},core,*,irc,bitlbee,matrix,slack}", "${script_or_plugin}", "${irc_raw_first}", "${server}", "${info:autosort_order,${type},server,*,channel,private}", "${hashless_name}", "${buffer.full_name}"]" diff --git a/.config/weechat/buflist.conf b/.config/weechat/buflist.conf new file mode 100644 index 0000000..06df0fe --- /dev/null +++ b/.config/weechat/buflist.conf @@ -0,0 +1,41 @@ +# +# weechat -- buflist.conf +# +# WARNING: It is NOT recommended to edit this file by hand, +# especially if WeeChat is running. +# +# Use commands like /set or /fset to change settings in WeeChat. +# +# For more info, see: https://weechat.org/doc/weechat/quickstart/ +# + +[look] +add_newline = on +auto_scroll = 50 +display_conditions = "${buffer.hidden}==0" +enabled = on +mouse_jump_visited_buffer = off +mouse_move_buffer = on +mouse_wheel = on +nick_prefix = off +nick_prefix_empty = on +signals_refresh = "" +sort = "number,-active" +use_items = 1 + +[format] +buffer = "${format_number}${indent}${format_nick_prefix}${color_hotlist}${format_name}" +buffer_current = "${color:,blue}${format_buffer}" +hotlist = " ${color:green}(${hotlist}${color:green})" +hotlist_highlight = "${color:magenta}" +hotlist_low = "${color:white}" +hotlist_message = "${color:brown}" +hotlist_none = "${color:default}" +hotlist_private = "${color:green}" +hotlist_separator = "${color:default}," +indent = " " +lag = " ${color:green}[${color:brown}${lag}${color:green}]" +name = "${name}" +nick_prefix = "${color_nick_prefix}${nick_prefix}" +number = "${color:green}${number}${if:${number_displayed}?.: }" +tls_version = " ${color:default}(${if:${tls_version}==TLS1.3?${color:green}:${if:${tls_version}==TLS1.2?${color:yellow}:${color:red}}}${translate:${tls_version}}${color:default})" diff --git a/.config/weechat/charset.conf b/.config/weechat/charset.conf new file mode 100644 index 0000000..0cf83fa --- /dev/null +++ b/.config/weechat/charset.conf @@ -0,0 +1,18 @@ +# +# weechat -- charset.conf +# +# WARNING: It is NOT recommended to edit this file by hand, +# especially if WeeChat is running. +# +# Use commands like /set or /fset to change settings in WeeChat. +# +# For more info, see: https://weechat.org/doc/weechat/quickstart/ +# + +[default] +decode = "iso-8859-1" +encode = "" + +[decode] + +[encode] diff --git a/.config/weechat/colorize_nicks.conf b/.config/weechat/colorize_nicks.conf new file mode 100644 index 0000000..cb8c914 --- /dev/null +++ b/.config/weechat/colorize_nicks.conf @@ -0,0 +1,20 @@ +# +# weechat -- colorize_nicks.conf +# +# WARNING: It is NOT recommended to edit this file by hand, +# especially if WeeChat is running. +# +# Use commands like /set or /fset to change settings in WeeChat. +# +# For more info, see: https://weechat.org/doc/weechat/quickstart/ +# + +[look] +blacklist_channels = "" +blacklist_nicks = "so,root" +colorize_input = off +greedy_matching = on +ignore_nicks_in_urls = off +ignore_tags = "" +match_limit = 20 +min_nick_length = 2 diff --git a/.config/weechat/exec.conf b/.config/weechat/exec.conf new file mode 100644 index 0000000..4ef9189 --- /dev/null +++ b/.config/weechat/exec.conf @@ -0,0 +1,19 @@ +# +# weechat -- exec.conf +# +# WARNING: It is NOT recommended to edit this file by hand, +# especially if WeeChat is running. +# +# Use commands like /set or /fset to change settings in WeeChat. +# +# For more info, see: https://weechat.org/doc/weechat/quickstart/ +# + +[command] +default_options = "" +purge_delay = 0 +shell = "${env:SHELL}" + +[color] +flag_finished = lightred +flag_running = lightgreen diff --git a/.config/weechat/fifo.conf b/.config/weechat/fifo.conf new file mode 100644 index 0000000..8c84c06 --- /dev/null +++ b/.config/weechat/fifo.conf @@ -0,0 +1,14 @@ +# +# weechat -- fifo.conf +# +# WARNING: It is NOT recommended to edit this file by hand, +# especially if WeeChat is running. +# +# Use commands like /set or /fset to change settings in WeeChat. +# +# For more info, see: https://weechat.org/doc/weechat/quickstart/ +# + +[file] +enabled = on +path = "${weechat_runtime_dir}/weechat_fifo_${info:pid}" diff --git a/.config/weechat/fset.conf b/.config/weechat/fset.conf new file mode 100644 index 0000000..d3871a0 --- /dev/null +++ b/.config/weechat/fset.conf @@ -0,0 +1,98 @@ +# +# weechat -- fset.conf +# +# WARNING: It is NOT recommended to edit this file by hand, +# especially if WeeChat is running. +# +# Use commands like /set or /fset to change settings in WeeChat. +# +# For more info, see: https://weechat.org/doc/weechat/quickstart/ +# + +[look] +auto_refresh = "*" +auto_unmark = off +condition_catch_set = "${count} >= 1" +export_help_default = on +format_number = 1 +marked_string = "*" +scroll_horizontal = 10 +show_plugins_desc = off +sort = "~name" +unmarked_string = " " +use_color_value = off +use_keys = on +use_mute = off + +[format] +export_help = "# ${description2}" +export_option = "/set ${name} ${quoted_value}" +export_option_null = "/unset ${name}" +option1 = "" +option2 = "${marked} ${name} ${type} ${value2}${newline} ${empty_name} ${_default_value}${color:darkgray} -- ${min}..${max}${newline} ${empty_name} ${description}" + +[color] +color_name = 246 +color_name_selected = default +default_value = default +default_value_selected = white +description = default +description_selected = white +file = default +file_changed = brown +file_changed_selected = yellow +file_selected = white +help_default_value = white +help_description = default +help_name = white +help_quotes = darkgray +help_values = default +index = cyan +index_selected = lightcyan +line_marked_bg1 = default +line_marked_bg2 = default +line_selected_bg1 = blue +line_selected_bg2 = red +marked = brown +marked_selected = yellow +max = default +max_selected = white +min = default +min_selected = white +name = default +name_changed = brown +name_changed_selected = yellow +name_selected = white +option = default +option_changed = brown +option_changed_selected = yellow +option_selected = white +parent_name = default +parent_name_selected = white +parent_value = cyan +parent_value_selected = lightcyan +quotes = darkgray +quotes_changed = default +quotes_changed_selected = white +quotes_selected = default +section = default +section_changed = brown +section_changed_selected = yellow +section_selected = white +string_values = default +string_values_selected = white +title_count_options = cyan +title_current_option = lightcyan +title_filter = yellow +title_marked_options = lightgreen +title_sort = white +type = green +type_selected = lightgreen +unmarked = default +unmarked_selected = white +value = cyan +value_changed = brown +value_changed_selected = yellow +value_selected = lightcyan +value_undef = magenta +value_undef_selected = lightmagenta diff --git a/.config/weechat/logger.conf b/.config/weechat/logger.conf new file mode 100644 index 0000000..d6cb3cb --- /dev/null +++ b/.config/weechat/logger.conf @@ -0,0 +1,40 @@ +# +# weechat -- logger.conf +# +# WARNING: It is NOT recommended to edit this file by hand, +# especially if WeeChat is running. +# +# Use commands like /set or /fset to change settings in WeeChat. +# +# For more info, see: https://weechat.org/doc/weechat/quickstart/ +# + +[look] +backlog = 20 +backlog_conditions = "" + +[color] +backlog_end = default +backlog_line = default + +[file] +auto_log = on +color_lines = on +flush_delay = 120 +fsync = off +info_lines = off +log_conditions = "" +mask = "$plugin.$name.weechatlog" +name_lower_case = on +nick_prefix = "" +nick_suffix = "" +path = "${weechat_data_dir}/logs" +replacement_char = "_" +rotation_compression_level = 20 +rotation_compression_type = none +rotation_size_max = "0" +time_format = "%Y-%m-%d %H:%M:%S" + +[level] + +[mask] diff --git a/.config/weechat/lua.conf b/.config/weechat/lua.conf new file mode 100644 index 0000000..e399662 --- /dev/null +++ b/.config/weechat/lua.conf @@ -0,0 +1,14 @@ +# +# weechat -- lua.conf +# +# WARNING: It is NOT recommended to edit this file by hand, +# especially if WeeChat is running. +# +# Use commands like /set or /fset to change settings in WeeChat. +# +# For more info, see: https://weechat.org/doc/weechat/quickstart/ +# + +[look] +check_license = off +eval_keep_context = on diff --git a/.config/weechat/perl.conf b/.config/weechat/perl.conf new file mode 100644 index 0000000..e9d81e8 --- /dev/null +++ b/.config/weechat/perl.conf @@ -0,0 +1,14 @@ +# +# weechat -- perl.conf +# +# WARNING: It is NOT recommended to edit this file by hand, +# especially if WeeChat is running. +# +# Use commands like /set or /fset to change settings in WeeChat. +# +# For more info, see: https://weechat.org/doc/weechat/quickstart/ +# + +[look] +check_license = off +eval_keep_context = on diff --git a/.config/weechat/plugins.conf b/.config/weechat/plugins.conf new file mode 100644 index 0000000..7a0329d --- /dev/null +++ b/.config/weechat/plugins.conf @@ -0,0 +1,93 @@ +# +# weechat -- plugins.conf +# +# WARNING: It is NOT recommended to edit this file by hand, +# especially if WeeChat is running. +# +# Use commands like /set or /fset to change settings in WeeChat. +# +# For more info, see: https://weechat.org/doc/weechat/quickstart/ +# + +[var] +lua.emoji.incoming = "on" +perl.mass_hl_blocker.limit = "5" +perl.multiline.char = "↩" +perl.multiline.hide_magic_nl = "on" +perl.multiline.ipl = "on" +perl.multiline.lead_linebreak = "on" +perl.multiline.magic = "‼" +perl.multiline.magic_enter_time = "1000" +perl.multiline.magic_paste_only = "off" +perl.multiline.modify_keys = "on" +perl.multiline.paste_lock = "1" +perl.multiline.send_empty = "on" +perl.multiline.tab = "──▶▏" +perl.multiline.weechat_paste_fix = "on" +perl.notify_send.command = "notify-send $type: $name &>/dev/null" +perl.notify_send.ignore_nicks = "" +perl.notify_send.wait_highlight = "60" +perl.notify_send.wait_pm = "180" +python.apply_corrections.check_every = "5" +python.apply_corrections.data_timeout = "60" +python.apply_corrections.message_limit = "2" +python.apply_corrections.print_format = "[nick]: [corrected]" +python.apply_corrections.print_limit = "1" +python.bitlbee_typing_notice.channel = "&bitlbee" +python.bitlbee_typing_notice.server = "bitlbee" +python.bitlbee_typing_notice.timeout = "4" +python.go.auto_jump = "off" +python.go.buffer_number = "on" +python.go.color_name = "black,cyan" +python.go.color_name_highlight = "red,cyan" +python.go.color_name_highlight_selected = "red,brown" +python.go.color_name_selected = "black,brown" +python.go.color_number = "yellow,magenta" +python.go.color_number_selected = "yellow,red" +python.go.fuzzy_search = "off" +python.go.message = "Go to: " +python.go.min_chars = "0" +python.go.short_name = "off" +python.go.short_name_server = "off" +python.go.sort = "number,beginning" +python.go.use_core_instead_weechat = "off" + +[desc] +lua.emoji.incoming = "Also try to replace shortcodes to emoji in incoming messages (default: "on")" +perl.mass_hl_blocker.limit = "minimum amount of nicks in line to disable highlight (default: 5)" +perl.multiline.char = "character(s) which should be displayed to indicate end of line" +perl.multiline.hide_magic_nl = "whether the new line inserted by magic enter key will be hidden" +perl.multiline.ipl = "this setting controls override of ctrl-M (enter key) by script. Turn it off if you don't want multiline.pl to set and re-set the key binding." +perl.multiline.lead_linebreak = "if turned on, multi-line messages always start on a new line" +perl.multiline.magic = "indicator displayed when message will be sent soon" +perl.multiline.magic_enter_time = "delay after pressing enter before sending automatically (in ms), or 0 to disable" +perl.multiline.magic_paste_only = "only use multi-line messages for multi-line pastes (multi-line on enter is disabled by this)" +perl.multiline.modify_keys = "if turned on, cursor keys are modified so that they respect line boundaries instead of treating the whole multi-line message as a single line" +perl.multiline.paste_lock = "time-out to detect pastes (disable the weechat built-in paste detection if you want to use this)" +perl.multiline.send_empty = "set to on to automatically disregard enter key on empty line" +perl.multiline.tab = "character(s) which should be displayed instead of Tab key character" +perl.multiline.weechat_paste_fix = "disable ctrl-J binding when paste is detected to stop silly weechat sending out pastes without allowing to edit them" +perl.notify_send.command = "systemcommand to be executed ($type, $name, and $messagewill be interpreted as values) (default: "notify-send $type: $name &>/dev/null")" +perl.notify_send.ignore_nicks = "comma-separated list of nicks to ignore (default: "")" +perl.notify_send.wait_highlight = "necessary time delay between highlights(seconds) for command to be executed (default: "60")" +perl.notify_send.wait_pm = "necessary time delay between private messages(seconds) for command to be executed (default: "180")" +python.apply_corrections.check_every = "Interval between each check for expired messages." +python.apply_corrections.data_timeout = "Time before a message is expired." +python.apply_corrections.message_limit = "Number of messages to store per nick." +python.apply_corrections.print_format = "Format string for the printed corrections." +python.apply_corrections.print_limit = "Maximum number of lines to correct." +python.go.auto_jump = "automatically jump to buffer when it is uniquely selected (default: "off")" +python.go.buffer_number = "display buffer number (default: "on")" +python.go.color_name = "color for buffer name (not selected) (default: "black,cyan")" +python.go.color_name_highlight = "color for highlight in buffer name (not selected) (default: "red,cyan")" +python.go.color_name_highlight_selected = "color for highlight in a selected buffer name (default: "red,brown")" +python.go.color_name_selected = "color for a selected buffer name (default: "black,brown")" +python.go.color_number = "color for buffer number (not selected) (default: "yellow,magenta")" +python.go.color_number_selected = "color for selected buffer number (default: "yellow,red")" +python.go.fuzzy_search = "search buffer matches using approximation (default: "off")" +python.go.message = "message to display before list of buffers (default: "Go to: ")" +python.go.min_chars = "Minimum chars to search and display list of matching buffers (default: "0")" +python.go.short_name = "display and search in short names instead of buffer name (default: "off")" +python.go.short_name_server = "prefix short names with server names for search and display (default: "off")" +python.go.sort = "comma-separated list of keys to sort buffers (the order is important, sorts are performed in the given order): name = sort by name (or short name), (default: "number,beginning")" +python.go.use_core_instead_weechat = "use name "core" instead of "weechat" for core buffer (default: "off")" diff --git a/.config/weechat/python.conf b/.config/weechat/python.conf new file mode 100644 index 0000000..5678693 --- /dev/null +++ b/.config/weechat/python.conf @@ -0,0 +1,14 @@ +# +# weechat -- python.conf +# +# WARNING: It is NOT recommended to edit this file by hand, +# especially if WeeChat is running. +# +# Use commands like /set or /fset to change settings in WeeChat. +# +# For more info, see: https://weechat.org/doc/weechat/quickstart/ +# + +[look] +check_license = off +eval_keep_context = on diff --git a/.config/weechat/script.conf b/.config/weechat/script.conf new file mode 100644 index 0000000..4342093 --- /dev/null +++ b/.config/weechat/script.conf @@ -0,0 +1,57 @@ +# +# weechat -- script.conf +# +# WARNING: It is NOT recommended to edit this file by hand, +# especially if WeeChat is running. +# +# Use commands like /set or /fset to change settings in WeeChat. +# +# For more info, see: https://weechat.org/doc/weechat/quickstart/ +# + +[look] +columns = "%s %n %V %v %u | %d | %t" +diff_color = on +diff_command = "auto" +display_source = on +quiet_actions = on +sort = "i,p,n" +translate_description = on +use_keys = on + +[color] +status_autoloaded = cyan +status_held = white +status_installed = lightcyan +status_obsolete = lightmagenta +status_popular = yellow +status_running = lightgreen +status_unknown = lightred +text = default +text_bg = default +text_bg_selected = red +text_date = default +text_date_selected = white +text_delimiters = default +text_description = default +text_description_selected = white +text_extension = default +text_extension_selected = white +text_name = cyan +text_name_selected = lightcyan +text_selected = white +text_tags = brown +text_tags_selected = yellow +text_version = magenta +text_version_loaded = default +text_version_loaded_selected = white +text_version_selected = lightmagenta + +[scripts] +autoload = on +cache_expire = 1440 +download_enabled = on +download_timeout = 30 +hold = "" +path = "${weechat_cache_dir}/script" +url = "https://weechat.org/files/plugins.xml.gz" diff --git a/.config/weechat/typing.conf b/.config/weechat/typing.conf new file mode 100644 index 0000000..1b69a5a --- /dev/null +++ b/.config/weechat/typing.conf @@ -0,0 +1,19 @@ +# +# weechat -- typing.conf +# +# WARNING: It is NOT recommended to edit this file by hand, +# especially if WeeChat is running. +# +# Use commands like /set or /fset to change settings in WeeChat. +# +# For more info, see: https://weechat.org/doc/weechat/quickstart/ +# + +[look] +delay_purge_paused = 30 +delay_purge_typing = 6 +delay_set_paused = 10 +enabled_nicks = off +enabled_self = off +input_min_chars = 4 +item_max_length = 0 diff --git a/.config/weechat/weechat.conf b/.config/weechat/weechat.conf new file mode 100644 index 0000000..43f310e --- /dev/null +++ b/.config/weechat/weechat.conf @@ -0,0 +1,665 @@ +# +# weechat -- weechat.conf +# +# WARNING: It is NOT recommended to edit this file by hand, +# especially if WeeChat is running. +# +# Use commands like /set or /fset to change settings in WeeChat. +# +# For more info, see: https://weechat.org/doc/weechat/quickstart/ +# + +config_version = 2 + +[debug] + +[startup] +command_after_plugins = "" +command_before_plugins = "" +display_logo = on +display_version = on +sys_rlimit = "" + +[look] +align_end_of_lines = message +align_multiline_words = on +bar_more_down = "++" +bar_more_left = "<<" +bar_more_right = ">>" +bar_more_up = "--" +bare_display_exit_on_input = on +bare_display_time_format = "%H:%M" +buffer_auto_renumber = on +buffer_notify_default = all +buffer_position = end +buffer_search_case_sensitive = off +buffer_search_force_default = off +buffer_search_regex = off +buffer_search_where = prefix_message +buffer_time_format = "%H:%M:%S" +buffer_time_same = "" +chat_space_right = off +color_basic_force_bold = off +color_inactive_buffer = on +color_inactive_message = on +color_inactive_prefix = on +color_inactive_prefix_buffer = on +color_inactive_time = off +color_inactive_window = on +color_nick_offline = off +color_pairs_auto_reset = 5 +color_real_white = off +command_chars = "" +command_incomplete = off +confirm_quit = off +confirm_upgrade = off +day_change = on +day_change_message_1date = "-- %a, %d %b %Y --" +day_change_message_2dates = "-- %%a, %%d %%b %%Y (%a, %d %b %Y) --" +eat_newline_glitch = off +emphasized_attributes = "" +highlight = "" +highlight_disable_regex = "" +highlight_regex = "" +highlight_tags = "" +hotlist_add_conditions = "${away} || ${buffer.num_displayed} == 0 || ${info:relay_client_count,weechat,connected} > 0" +hotlist_buffer_separator = ", " +hotlist_count_max = 2 +hotlist_count_min_msg = 2 +hotlist_names_count = 3 +hotlist_names_length = 0 +hotlist_names_level = 12 +hotlist_names_merged_buffers = off +hotlist_prefix = "H: " +hotlist_remove = merged +hotlist_short_names = on +hotlist_sort = group_time_asc +hotlist_suffix = "" +hotlist_unique_numbers = on +hotlist_update_on_buffer_switch = on +input_cursor_scroll = 20 +input_multiline_lead_linebreak = on +input_share = none +input_share_overwrite = off +input_undo_max = 32 +item_away_message = on +item_buffer_filter = "*" +item_buffer_zoom = "!" +item_mouse_status = "M" +item_time_format = "%H:%M" +jump_current_to_previous_buffer = on +jump_previous_buffer_when_closing = on +jump_smart_back_to_buffer = on +key_bind_safe = on +key_grab_delay = 800 +mouse = on +mouse_timer_delay = 100 +nick_color_force = "" +nick_color_hash = djb2 +nick_color_hash_salt = "" +nick_color_stop_chars = "_|[" +nick_prefix = "" +nick_suffix = "" +paste_bracketed = on +paste_bracketed_timer_delay = 10 +paste_max_lines = 1 +prefix_action = " *" +prefix_align = right +prefix_align_max = 0 +prefix_align_min = 0 +prefix_align_more = "+" +prefix_align_more_after = on +prefix_buffer_align = right +prefix_buffer_align_max = 0 +prefix_buffer_align_more = "+" +prefix_buffer_align_more_after = on +prefix_error = "=!=" +prefix_join = "-->" +prefix_network = "--" +prefix_quit = "<--" +prefix_same_nick = "" +prefix_same_nick_middle = "" +prefix_suffix = "|" +quote_nick_prefix = "<" +quote_nick_suffix = ">" +quote_time_format = "%H:%M:%S" +read_marker = line +read_marker_always_show = off +read_marker_string = "- " +read_marker_update_on_buffer_switch = on +save_config_on_exit = on +save_config_with_fsync = off +save_layout_on_exit = none +scroll_amount = 3 +scroll_bottom_after_switch = off +scroll_page_percent = 100 +search_text_not_found_alert = on +separator_horizontal = "-" +separator_vertical = "" +tab_width = 1 +time_format = "%a, %d %b %Y %T" +window_auto_zoom = off +window_separator_horizontal = on +window_separator_vertical = on +window_title = "" +word_chars_highlight = "!\u00A0,-,_,|,alnum" +word_chars_input = "!\u00A0,-,_,|,alnum" + +[palette] + +[color] +bar_more = lightmagenta +chat = default +chat_bg = default +chat_buffer = white +chat_channel = white +chat_day_change = cyan +chat_delimiters = green +chat_highlight = yellow +chat_highlight_bg = magenta +chat_host = cyan +chat_inactive_buffer = default +chat_inactive_window = default +chat_nick = lightcyan +chat_nick_colors = "cyan,magenta,green,brown,lightblue,default,lightcyan,lightmagenta,lightgreen,blue" +chat_nick_offline = default +chat_nick_offline_highlight = default +chat_nick_offline_highlight_bg = blue +chat_nick_other = cyan +chat_nick_prefix = green +chat_nick_self = white +chat_nick_suffix = green +chat_prefix_action = white +chat_prefix_buffer = brown +chat_prefix_buffer_inactive_buffer = default +chat_prefix_error = yellow +chat_prefix_join = lightgreen +chat_prefix_more = lightmagenta +chat_prefix_network = magenta +chat_prefix_quit = lightred +chat_prefix_suffix = green +chat_read_marker = magenta +chat_read_marker_bg = default +chat_server = brown +chat_status_disabled = red +chat_status_enabled = green +chat_tags = red +chat_text_found = yellow +chat_text_found_bg = lightmagenta +chat_time = default +chat_time_delimiters = brown +chat_value = cyan +chat_value_null = blue +emphasized = yellow +emphasized_bg = magenta +input_actions = lightgreen +input_text_not_found = red +item_away = yellow +nicklist_away = cyan +nicklist_group = green +separator = blue +status_count_highlight = magenta +status_count_msg = brown +status_count_other = default +status_count_private = green +status_data_highlight = lightmagenta +status_data_msg = yellow +status_data_other = default +status_data_private = lightgreen +status_filter = green +status_more = yellow +status_mouse = green +status_name = white +status_name_insecure = lightmagenta +status_name_tls = white +status_nicklist_count = default +status_number = yellow +status_time = default + +[completion] +base_word_until_cursor = on +command_inline = on +default_template = "%(nicks)|%(irc_channels)" +nick_add_space = on +nick_case_sensitive = off +nick_completer = ": " +nick_first_only = off +nick_ignore_chars = "[]`_-^" +partial_completion_alert = on +partial_completion_command = off +partial_completion_command_arg = off +partial_completion_count = on +partial_completion_other = off +partial_completion_templates = "config_options" + +[history] +display_default = 5 +max_buffer_lines_minutes = 0 +max_buffer_lines_number = 4096 +max_commands = 100 +max_visited_buffers = 50 + +[proxy] + +[network] +connection_timeout = 60 +gnutls_ca_system = on +gnutls_ca_user = "" +gnutls_handshake_timeout = 30 +proxy_curl = "" + +[plugin] +autoload = "*" +extension = ".so,.dll" +path = "${weechat_data_dir}/plugins" +save_config_on_unload = on + +[signal] +sighup = "${if:${info:weechat_headless}?/reload:/quit -yes}" +sigquit = "/quit -yes" +sigterm = "/quit -yes" +sigusr1 = "" +sigusr2 = "" + +[bar] +buflist.color_bg = default +buflist.color_bg_inactive = default +buflist.color_delim = default +buflist.color_fg = default +buflist.conditions = "" +buflist.filling_left_right = vertical +buflist.filling_top_bottom = columns_vertical +buflist.hidden = off +buflist.items = "buflist" +buflist.position = left +buflist.priority = 0 +buflist.separator = on +buflist.size = 0 +buflist.size_max = 0 +buflist.type = root +fset.color_bg = default +fset.color_bg_inactive = default +fset.color_delim = cyan +fset.color_fg = default +fset.conditions = "${buffer.full_name} == fset.fset" +fset.filling_left_right = vertical +fset.filling_top_bottom = horizontal +fset.hidden = on +fset.items = "fset" +fset.position = top +fset.priority = 0 +fset.separator = on +fset.size = 3 +fset.size_max = 3 +fset.type = window +input.color_bg = default +input.color_bg_inactive = default +input.color_delim = cyan +input.color_fg = default +input.conditions = "" +input.filling_left_right = vertical +input.filling_top_bottom = horizontal +input.hidden = off +input.items = "[input_prompt]+(away),[input_search],[input_paste],input_text" +input.position = bottom +input.priority = 1000 +input.separator = off +input.size = 0 +input.size_max = 0 +input.type = window +nicklist.color_bg = default +nicklist.color_bg_inactive = default +nicklist.color_delim = cyan +nicklist.color_fg = default +nicklist.conditions = "${nicklist}" +nicklist.filling_left_right = vertical +nicklist.filling_top_bottom = columns_vertical +nicklist.hidden = on +nicklist.items = "buffer_nicklist" +nicklist.position = right +nicklist.priority = 200 +nicklist.separator = on +nicklist.size = 0 +nicklist.size_max = 0 +nicklist.type = window +status.color_bg = blue +status.color_bg_inactive = darkgray +status.color_delim = cyan +status.color_fg = default +status.conditions = "" +status.filling_left_right = vertical +status.filling_top_bottom = horizontal +status.hidden = off +status.items = "[time],[buffer_last_number],[buffer_plugin],buffer_number+:+buffer_name+(buffer_modes)+{buffer_nicklist_count}+buffer_zoom+buffer_filter,scroll,[lag],[hotlist],[typing],completion" +status.position = bottom +status.priority = 500 +status.separator = off +status.size = 1 +status.size_max = 0 +status.type = window +title.color_bg = blue +title.color_bg_inactive = darkgray +title.color_delim = cyan +title.color_fg = default +title.conditions = "" +title.filling_left_right = vertical +title.filling_top_bottom = horizontal +title.hidden = off +title.items = "buffer_title" +title.position = top +title.priority = 500 +title.separator = off +title.size = 1 +title.size_max = 0 +title.type = window + +[custom_bar_item] + +[layout] + +[notify] +irc.speedrunslive.#leaderboards = none +irc.speedrunslive.#speedrun.com = none +irc.speedrunslive.#speedrunslive = none + +[filter] +irc_smart = on;*;irc_smart_filter;* + +[key] +backspace = "/input delete_previous_char" +ctrl-_ = "/input undo" +ctrl-a = "/input move_beginning_of_line" +ctrl-b = "/input move_previous_char" +ctrl-c,_ = "/input insert \x1F" +ctrl-c,b = "/input insert \x02" +ctrl-c,c = "/input insert \x03" +ctrl-c,i = "/input insert \x1D" +ctrl-c,o = "/input insert \x0F" +ctrl-c,v = "/input insert \x16" +ctrl-d = "/input delete_next_char" +ctrl-down = "/input history_global_next" +ctrl-e = "/input move_end_of_line" +ctrl-f = "/input move_next_char" +ctrl-f1 = "/bar scroll buflist * -100%" +ctrl-f11 = "/bar scroll nicklist * -100%" +ctrl-f12 = "/bar scroll nicklist * +100%" +ctrl-f2 = "/bar scroll buflist * +100%" +ctrl-k = "/input delete_end_of_line" +ctrl-l = "/window refresh" +ctrl-left = "/input move_previous_word" +ctrl-n = "/buffer +1" +ctrl-p = "/buffer -1" +ctrl-r = "/input search_text_here" +ctrl-right = "/input move_next_word" +ctrl-s = "/go" +ctrl-s,ctrl-u = "/allbuf /buffer set unread" +ctrl-t = "/input transpose_chars" +ctrl-u = "/input delete_beginning_of_line" +ctrl-up = "/input history_global_previous" +ctrl-w = "/input delete_previous_word_whitespace" +ctrl-x = "/buffer switch" +ctrl-y = "/input clipboard_paste" +delete = "/input delete_next_char" +down = "/input history_next" +end = "/input move_end_of_line" +f1 = "/bar scroll buflist * -100%" +f10 = "/bar scroll title * +30%" +f11 = "/bar scroll nicklist * -100%" +f12 = "/bar scroll nicklist * +100%" +f2 = "/bar scroll buflist * +100%" +f5 = "/buffer -1" +f6 = "/buffer +1" +f7 = "/window -1" +f8 = "/window +1" +f9 = "/bar scroll title * -30%" +home = "/input move_beginning_of_line" +left = "/input move_previous_char" +meta-- = "/filter toggle @" +meta-/ = "/buffer jump last_displayed" +meta-0 = "/buffer *10" +meta-1 = "/buffer *1" +meta-2 = "/buffer *2" +meta-3 = "/buffer *3" +meta-4 = "/buffer *4" +meta-5 = "/buffer *5" +meta-6 = "/buffer *6" +meta-7 = "/buffer *7" +meta-8 = "/buffer *8" +meta-9 = "/buffer *9" +meta-< = "/buffer jump prev_visited" +meta-= = "/filter toggle" +meta-> = "/buffer jump next_visited" +meta-B = "/buflist toggle" +meta-K = "/input grab_raw_key_command" +meta-N = "/bar toggle nicklist" +meta-R = "/input delete_input" +meta-_ = "/input redo" +meta-a = "/buffer jump smart" +meta-b = "/input move_previous_word" +meta-backspace = "/input delete_previous_word" +meta-ctrl-k = "/input delete_end_of_input" +meta-ctrl-u = "/input delete_beginning_of_input" +meta-d = "/input delete_next_word" +meta-down = "/buffer +1" +meta-end = "/window scroll_bottom" +meta-f = "/input move_next_word" +meta-f1 = "/bar scroll buflist * b" +meta-f11 = "/bar scroll nicklist * b" +meta-f12 = "/bar scroll nicklist * e" +meta-f2 = "/bar scroll buflist * e" +meta-h,meta-R = "/hotlist restore -all" +meta-h,meta-c = "/hotlist clear" +meta-h,meta-m = "/hotlist remove" +meta-h,meta-r = "/hotlist restore" +meta-home = "/window scroll_top" +meta-j,0,1 = "/buffer *1" +meta-j,0,2 = "/buffer *2" +meta-j,0,3 = "/buffer *3" +meta-j,0,4 = "/buffer *4" +meta-j,0,5 = "/buffer *5" +meta-j,0,6 = "/buffer *6" +meta-j,0,7 = "/buffer *7" +meta-j,0,8 = "/buffer *8" +meta-j,0,9 = "/buffer *9" +meta-j,1,0 = "/buffer *10" +meta-j,1,1 = "/buffer *11" +meta-j,1,2 = "/buffer *12" +meta-j,1,3 = "/buffer *13" +meta-j,1,4 = "/buffer *14" +meta-j,1,5 = "/buffer *15" +meta-j,1,6 = "/buffer *16" +meta-j,1,7 = "/buffer *17" +meta-j,1,8 = "/buffer *18" +meta-j,1,9 = "/buffer *19" +meta-j,2,0 = "/buffer *20" +meta-j,2,1 = "/buffer *21" +meta-j,2,2 = "/buffer *22" +meta-j,2,3 = "/buffer *23" +meta-j,2,4 = "/buffer *24" +meta-j,2,5 = "/buffer *25" +meta-j,2,6 = "/buffer *26" +meta-j,2,7 = "/buffer *27" +meta-j,2,8 = "/buffer *28" +meta-j,2,9 = "/buffer *29" +meta-j,3,0 = "/buffer *30" +meta-j,3,1 = "/buffer *31" +meta-j,3,2 = "/buffer *32" +meta-j,3,3 = "/buffer *33" +meta-j,3,4 = "/buffer *34" +meta-j,3,5 = "/buffer *35" +meta-j,3,6 = "/buffer *36" +meta-j,3,7 = "/buffer *37" +meta-j,3,8 = "/buffer *38" +meta-j,3,9 = "/buffer *39" +meta-j,4,0 = "/buffer *40" +meta-j,4,1 = "/buffer *41" +meta-j,4,2 = "/buffer *42" +meta-j,4,3 = "/buffer *43" +meta-j,4,4 = "/buffer *44" +meta-j,4,5 = "/buffer *45" +meta-j,4,6 = "/buffer *46" +meta-j,4,7 = "/buffer *47" +meta-j,4,8 = "/buffer *48" +meta-j,4,9 = "/buffer *49" +meta-j,5,0 = "/buffer *50" +meta-j,5,1 = "/buffer *51" +meta-j,5,2 = "/buffer *52" +meta-j,5,3 = "/buffer *53" +meta-j,5,4 = "/buffer *54" +meta-j,5,5 = "/buffer *55" +meta-j,5,6 = "/buffer *56" +meta-j,5,7 = "/buffer *57" +meta-j,5,8 = "/buffer *58" +meta-j,5,9 = "/buffer *59" +meta-j,6,0 = "/buffer *60" +meta-j,6,1 = "/buffer *61" +meta-j,6,2 = "/buffer *62" +meta-j,6,3 = "/buffer *63" +meta-j,6,4 = "/buffer *64" +meta-j,6,5 = "/buffer *65" +meta-j,6,6 = "/buffer *66" +meta-j,6,7 = "/buffer *67" +meta-j,6,8 = "/buffer *68" +meta-j,6,9 = "/buffer *69" +meta-j,7,0 = "/buffer *70" +meta-j,7,1 = "/buffer *71" +meta-j,7,2 = "/buffer *72" +meta-j,7,3 = "/buffer *73" +meta-j,7,4 = "/buffer *74" +meta-j,7,5 = "/buffer *75" +meta-j,7,6 = "/buffer *76" +meta-j,7,7 = "/buffer *77" +meta-j,7,8 = "/buffer *78" +meta-j,7,9 = "/buffer *79" +meta-j,8,0 = "/buffer *80" +meta-j,8,1 = "/buffer *81" +meta-j,8,2 = "/buffer *82" +meta-j,8,3 = "/buffer *83" +meta-j,8,4 = "/buffer *84" +meta-j,8,5 = "/buffer *85" +meta-j,8,6 = "/buffer *86" +meta-j,8,7 = "/buffer *87" +meta-j,8,8 = "/buffer *88" +meta-j,8,9 = "/buffer *89" +meta-j,9,0 = "/buffer *90" +meta-j,9,1 = "/buffer *91" +meta-j,9,2 = "/buffer *92" +meta-j,9,3 = "/buffer *93" +meta-j,9,4 = "/buffer *94" +meta-j,9,5 = "/buffer *95" +meta-j,9,6 = "/buffer *96" +meta-j,9,7 = "/buffer *97" +meta-j,9,8 = "/buffer *98" +meta-j,9,9 = "/buffer *99" +meta-j,meta-f = "/buffer -" +meta-j,meta-l = "/buffer +" +meta-j,meta-r = "/server raw" +meta-j,meta-s = "/server jump" +meta-k = "/input grab_key_command" +meta-l = "/window bare" +meta-left = "/buffer -1" +meta-m = "/mute mouse toggle" +meta-n = "/window scroll_next_highlight" +meta-p = "/window scroll_previous_highlight" +meta-pgdn = "/window scroll_down" +meta-pgup = "/window scroll_up" +meta-r = "/input delete_line" +meta-return = "/input insert \n" +meta-right = "/buffer +1" +meta-s = "/mute spell toggle" +meta-shift-down = "/buffer move +1" +meta-shift-up = "/buffer move -1" +meta-tab = "/buffer jump last_displayed" +meta-u = "/window scroll_unread" +meta-up = "/buffer -1" +meta-v = "/bar toggle nicklist" +meta-w,meta-b = "/window balance" +meta-w,meta-down = "/window down" +meta-w,meta-left = "/window left" +meta-w,meta-right = "/window right" +meta-w,meta-s = "/window swap" +meta-w,meta-up = "/window up" +meta-x = "/buffer zoom" +meta-z = "/window zoom" +pgdn = "/window page_down" +pgup = "/window page_up" +return = "/input return" +right = "/input move_next_char" +shift-down = "/input move_next_line" +shift-end = "/input move_end_of_input" +shift-home = "/input move_beginning_of_input" +shift-left = "/input move_previous_char" +shift-right = "/input move_next_char" +shift-tab = "/input complete_previous" +shift-up = "/input move_previous_line" +tab = "/input complete_next" +up = "/input history_previous" + +[key_search] +ctrl-q = "/input search_stop" +ctrl-r = "/input search_switch_regex" +down = "/input search_next" +meta-c = "/input search_switch_case" +return = "/input search_stop_here" +tab = "/input search_switch_where" +up = "/input search_previous" + +[key_cursor] +@chat:Q = "hsignal:chat_quote_time_prefix_message;/cursor stop" +@chat:l = "hsignal:chat_quote_focused_line;/cursor stop" +@chat:m = "hsignal:chat_quote_message;/cursor stop" +@chat:q = "hsignal:chat_quote_prefix_message;/cursor stop" +@item(buffer_nicklist):K = "/window ${_window_number};/kickban ${nick}" +@item(buffer_nicklist):b = "/window ${_window_number};/ban ${nick}" +@item(buffer_nicklist):k = "/window ${_window_number};/kick ${nick}" +@item(buffer_nicklist):q = "/window ${_window_number};/query ${nick};/cursor stop" +@item(buffer_nicklist):w = "/window ${_window_number};/whois ${nick}" +down = "/cursor move down" +left = "/cursor move left" +meta-down = "/cursor move area_down" +meta-left = "/cursor move area_left" +meta-right = "/cursor move area_right" +meta-up = "/cursor move area_up" +return = "/cursor stop" +right = "/cursor move right" +up = "/cursor move up" + +[key_mouse] +@*:button3 = "/cursor go ${_x},${_y}" +@bar(buflist):ctrl-wheeldown = "hsignal:buflist_mouse" +@bar(buflist):ctrl-wheelup = "hsignal:buflist_mouse" +@bar(input):button2 = "/input grab_mouse_area" +@bar(nicklist):button1-gesture-down = "/bar scroll nicklist ${_window_number} +100%" +@bar(nicklist):button1-gesture-down-long = "/bar scroll nicklist ${_window_number} e" +@bar(nicklist):button1-gesture-up = "/bar scroll nicklist ${_window_number} -100%" +@bar(nicklist):button1-gesture-up-long = "/bar scroll nicklist ${_window_number} b" +@bar:wheeldown = "/bar scroll ${_bar_name} ${_window_number} +20%" +@bar:wheelup = "/bar scroll ${_bar_name} ${_window_number} -20%" +@chat(fset.fset):button1 = "/window ${_window_number};/fset -go ${_chat_line_y}" +@chat(fset.fset):button2* = "hsignal:fset_mouse" +@chat(fset.fset):wheeldown = "/fset -down 5" +@chat(fset.fset):wheelup = "/fset -up 5" +@chat(script.scripts):button1 = "/window ${_window_number};/script go ${_chat_line_y}" +@chat(script.scripts):button2 = "/window ${_window_number};/script go ${_chat_line_y};/script installremove -q ${script_name_with_extension}" +@chat(script.scripts):wheeldown = "/script down 5" +@chat(script.scripts):wheelup = "/script up 5" +@chat:button1 = "/window ${_window_number}" +@chat:button1-gesture-left = "/window ${_window_number};/buffer -1" +@chat:button1-gesture-left-long = "/window ${_window_number};/buffer 1" +@chat:button1-gesture-right = "/window ${_window_number};/buffer +1" +@chat:button1-gesture-right-long = "/window ${_window_number};/buffer +" +@chat:ctrl-wheeldown = "/window scroll_horiz -window ${_window_number} +10%" +@chat:ctrl-wheelup = "/window scroll_horiz -window ${_window_number} -10%" +@chat:wheeldown = "/window scroll_down -window ${_window_number}" +@chat:wheelup = "/window scroll_up -window ${_window_number}" +@item(buffer_nicklist):button1 = "/window ${_window_number};/query ${nick}" +@item(buffer_nicklist):button1-gesture-left = "/window ${_window_number};/kick ${nick}" +@item(buffer_nicklist):button1-gesture-left-long = "/window ${_window_number};/kickban ${nick}" +@item(buffer_nicklist):button2 = "/window ${_window_number};/whois ${nick}" +@item(buffer_nicklist):button2-gesture-left = "/window ${_window_number};/ban ${nick}" +@item(buflist):button1* = "hsignal:buflist_mouse" +@item(buflist):button2* = "hsignal:buflist_mouse" +@item(buflist2):button1* = "hsignal:buflist_mouse" +@item(buflist2):button2* = "hsignal:buflist_mouse" +@item(buflist3):button1* = "hsignal:buflist_mouse" +@item(buflist3):button2* = "hsignal:buflist_mouse" diff --git a/.config/weechat/xfer.conf b/.config/weechat/xfer.conf new file mode 100644 index 0000000..dd19875 --- /dev/null +++ b/.config/weechat/xfer.conf @@ -0,0 +1,49 @@ +# +# weechat -- xfer.conf +# +# WARNING: It is NOT recommended to edit this file by hand, +# especially if WeeChat is running. +# +# Use commands like /set or /fset to change settings in WeeChat. +# +# For more info, see: https://weechat.org/doc/weechat/quickstart/ +# + +[look] +auto_open_buffer = on +progress_bar_size = 20 +pv_tags = "notify_private" + +[color] +status_aborted = lightred +status_active = lightblue +status_connecting = yellow +status_done = lightgreen +status_failed = lightred +status_waiting = lightcyan +text = default +text_bg = default +text_selected = white + +[network] +blocksize = 65536 +fast_send = on +own_ip = "" +port_range = "" +send_ack = on +speed_limit_recv = 0 +speed_limit_send = 0 +timeout = 300 + +[file] +auto_accept_chats = off +auto_accept_files = off +auto_accept_nicks = "" +auto_check_crc32 = off +auto_rename = on +auto_resume = on +convert_spaces = on +download_path = "${weechat_data_dir}/xfer" +download_temporary_suffix = ".part" +upload_path = "~" +use_nick_in_filename = on |