From 8042ea5540d58d2594d5df311139af91a46a0ab5 Mon Sep 17 00:00:00 2001 From: gor_down Date: Sat, 21 Sep 2024 20:14:02 -0300 Subject: [PATCH] init --- .config/kitty/current-theme.conf | 47 + .config/kitty/kitty.conf | 11 + .config/mimeapps.list | 16 + .config/neofetch/config.conf | 880 ++++++++ .config/newsboat/config | 4 + .../newsboat/scripts/bootstrap_image_pager.sh | 12 + .../scripts/imagePager$package$$anon$1.class | Bin 0 -> 1690 bytes .../scripts/imagePager$package$.class | Bin 0 -> 7615 bytes .../newsboat/scripts/imagePager$package.class | Bin 0 -> 408 bytes .../newsboat/scripts/imagePager$package.tasty | Bin 0 -> 4086 bytes .config/newsboat/scripts/imagePager.class | Bin 0 -> 1457 bytes .config/newsboat/scripts/imagePager.scala | 58 + .config/newsboat/scripts/imagePager.tasty | Bin 0 -> 1043 bytes .config/newsboat/scripts/kitty-pager.sh | 14 + .config/newsboat/scripts/nbparser | 59 + .config/newsboat/scripts/nbrun | 14 + .config/newsboat/scripts/vifimg | 53 + .config/newsboat/urls | 13 + .../basic/profiles/Untitled/basic.ini | 2 + .config/obs-studio/basic/scenes/Untitled.json | 1 + .../obs-studio/basic/scenes/Untitled.json.bak | 1 + .config/obs-studio/global.ini | 60 + .../obs-studio/logs/2024-09-17 12-57-10.txt | 109 + .../obs-studio/logs/2024-09-17 12-58-42.txt | 179 ++ .../plugin_config/rtmp-services/package.json | 1 + .../plugin_config/rtmp-services/services.json | 1 + .../rtmp-services/twitch_ingests.json | 697 +++++++ .../profiler_data/2024-09-17 12-58-42.csv.gz | Bin 0 -> 13342 bytes .config/picom/picom.conf | 335 +++ .config/psi+/profiles/default/options.xml | 1021 +++++++++ .config/ranger/rc.conf | 759 +++++++ .config/strawberry/strawberry.conf | 421 ++++ .config/xfce4/helpers.rc | 3 + .../panel/launcher-7/17268068281.desktop | 11 + .../panel/launcher-7/17268068552.desktop | 14 + .config/xfce4/panel/xfce4-timer-plugin-18.rc | 16 + .../xfce4-keyboard-shortcuts.xml | 178 ++ .../xfce-perchannel-xml/xfce4-notifyd.xml | 14 + .../xfce-perchannel-xml/xfce4-panel.xml | 176 ++ .../xfconf/xfce-perchannel-xml/xfwm4.xml | 96 + .../xfconf/xfce-perchannel-xml/xsettings.xml | 48 + .gitconfig | 3 + .p10k.zsh | 1837 +++++++++++++++++ .scripts/bashed-catbox.sh | 539 +++++ .scripts/cc.sh | 1 + ...reenshot_save_and_upload_last_to_catbox.sh | 5 + .zshrc | 121 ++ README.md | 36 + 48 files changed, 7866 insertions(+) create mode 100644 .config/kitty/current-theme.conf create mode 100644 .config/kitty/kitty.conf create mode 100644 .config/mimeapps.list create mode 100644 .config/neofetch/config.conf create mode 100644 .config/newsboat/config create mode 100755 .config/newsboat/scripts/bootstrap_image_pager.sh create mode 100644 .config/newsboat/scripts/imagePager$package$$anon$1.class create mode 100644 .config/newsboat/scripts/imagePager$package$.class create mode 100644 .config/newsboat/scripts/imagePager$package.class create mode 100644 .config/newsboat/scripts/imagePager$package.tasty create mode 100644 .config/newsboat/scripts/imagePager.class create mode 100644 .config/newsboat/scripts/imagePager.scala create mode 100644 .config/newsboat/scripts/imagePager.tasty create mode 100755 .config/newsboat/scripts/kitty-pager.sh create mode 100755 .config/newsboat/scripts/nbparser create mode 100755 .config/newsboat/scripts/nbrun create mode 100755 .config/newsboat/scripts/vifimg create mode 100644 .config/newsboat/urls create mode 100644 .config/obs-studio/basic/profiles/Untitled/basic.ini create mode 100644 .config/obs-studio/basic/scenes/Untitled.json create mode 100644 .config/obs-studio/basic/scenes/Untitled.json.bak create mode 100644 .config/obs-studio/global.ini create mode 100644 .config/obs-studio/logs/2024-09-17 12-57-10.txt create mode 100644 .config/obs-studio/logs/2024-09-17 12-58-42.txt create mode 100644 .config/obs-studio/plugin_config/rtmp-services/package.json create mode 100644 .config/obs-studio/plugin_config/rtmp-services/services.json create mode 100644 .config/obs-studio/plugin_config/rtmp-services/twitch_ingests.json create mode 100644 .config/obs-studio/profiler_data/2024-09-17 12-58-42.csv.gz create mode 100644 .config/picom/picom.conf create mode 100644 .config/psi+/profiles/default/options.xml create mode 100644 .config/ranger/rc.conf create mode 100644 .config/strawberry/strawberry.conf create mode 100644 .config/xfce4/helpers.rc create mode 100644 .config/xfce4/panel/launcher-7/17268068281.desktop create mode 100755 .config/xfce4/panel/launcher-7/17268068552.desktop create mode 100644 .config/xfce4/panel/xfce4-timer-plugin-18.rc create mode 100644 .config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml create mode 100644 .config/xfce4/xfconf/xfce-perchannel-xml/xfce4-notifyd.xml create mode 100644 .config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml create mode 100644 .config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml create mode 100644 .config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml create mode 100644 .gitconfig create mode 100644 .p10k.zsh create mode 100755 .scripts/bashed-catbox.sh create mode 100755 .scripts/cc.sh create mode 100755 .scripts/screenshot_save_and_upload_last_to_catbox.sh create mode 100644 .zshrc create mode 100644 README.md diff --git a/.config/kitty/current-theme.conf b/.config/kitty/current-theme.conf new file mode 100644 index 0000000..36d35fb --- /dev/null +++ b/.config/kitty/current-theme.conf @@ -0,0 +1,47 @@ +## name: Cyberpunk Neon +## author: Theo (theo-grivel) +## license: CC-BY-SA-4.0 +## upstream: https://github.com/Roboron3042/Cyberpunk-Neon/blob/master/terminal/kitty/cyberpunk-neon.conf + +background #000b1e +foreground #0abdc6 +selection_background none +selection_foreground none +cursor #0abdc6 + +# Black, Gray, Silver, White + +color0 #000b1e +color8 #1c61c2 +color7 #0abdc6 +color15 #0abdc6 + +# Red + +color1 #ff0000 +color9 #ff0000 + +# Green + +color2 #d300c4 +color10 #d300c4 + +# Yellow + +color3 #f57800 +color11 #ff5780 + +# Blue + +color4 #133e7c +color12 #00ff00 + +# Purple + +color5 #711c91 +color13 #711c91 + +# Teal + +color6 #0abdc6 +color14 #0abdc6 diff --git a/.config/kitty/kitty.conf b/.config/kitty/kitty.conf new file mode 100644 index 0000000..3c204eb --- /dev/null +++ b/.config/kitty/kitty.conf @@ -0,0 +1,11 @@ +# BEGIN_KITTY_FONTS +font_family family="Junicode-Favela-Mono" +bold_font auto +italic_font auto +bold_italic_font auto +# END_KITTY_FONTS +background_opacity 0.6 +font_size 14.0 +# Cyberpunk Neon +include current-theme.conf +# END_KITTY_THEME diff --git a/.config/mimeapps.list b/.config/mimeapps.list new file mode 100644 index 0000000..5f0e8f3 --- /dev/null +++ b/.config/mimeapps.list @@ -0,0 +1,16 @@ +[Default Applications] +x-scheme-handler/http=xfce4-web-browser.desktop +x-scheme-handler/https=xfce4-web-browser.desktop +inode/directory=xfce4-file-manager.desktop +x-scheme-handler/trash=xfce4-file-manager.desktop +application/x-tar=xarchiver.desktop + +[Added Associations] +x-scheme-handler/http=xfce4-web-browser.desktop; +x-scheme-handler/https=xfce4-web-browser.desktop; +application/x-shellscript=vim.desktop; +application/x-zerosize=vim.desktop; +inode/directory=xfce4-file-manager.desktop; +x-scheme-handler/trash=xfce4-file-manager.desktop; +application/x-tar=xarchiver.desktop;thunar.desktop; +application/x-theme=nvim.desktop; diff --git a/.config/neofetch/config.conf b/.config/neofetch/config.conf new file mode 100644 index 0000000..2c30bfe --- /dev/null +++ b/.config/neofetch/config.conf @@ -0,0 +1,880 @@ +# See this wiki page for more info: +# https://github.com/dylanaraps/neofetch/wiki/Customizing-Info +print_info() { + info title + info underline + + info "OS" distro + info "Host" model + info "Kernel" kernel + info "Uptime" uptime + info "Packages" packages + info "Shell" shell + info "Resolution" resolution + info "DE" de + info "WM" wm + info "WM Theme" wm_theme + info "Theme" theme + info "Icons" icons + info "Terminal" term + info "Terminal Font" term_font + info "CPU" cpu + info "GPU" gpu + info "Memory" memory + + # info "GPU Driver" gpu_driver # Linux/macOS only + # info "Disk" disk + # info "Battery" battery + # info "Font" font + # info "Song" song + # [[ "$player" ]] && prin "Music Player" "$player" + # info "Local IP" local_ip + # info "Public IP" public_ip + # info "Users" users + # info "Locale" locale # This only works on glibc systems. + + info cols +} + +# Title + + +# Hide/Show Fully qualified domain name. +# +# Default: 'off' +# Values: 'on', 'off' +# Flag: --title_fqdn +title_fqdn="off" + + +# Kernel + + +# Shorten the output of the kernel function. +# +# Default: 'on' +# Values: 'on', 'off' +# Flag: --kernel_shorthand +# Supports: Everything except *BSDs (except PacBSD and PC-BSD) +# +# Example: +# on: '4.8.9-1-ARCH' +# off: 'Linux 4.8.9-1-ARCH' +kernel_shorthand="on" + + +# Distro + + +# Shorten the output of the distro function +# +# Default: 'off' +# Values: 'on', 'tiny', 'off' +# Flag: --distro_shorthand +# Supports: Everything except Windows and Haiku +distro_shorthand="off" + +# Show/Hide OS Architecture. +# Show 'x86_64', 'x86' and etc in 'Distro:' output. +# +# Default: 'on' +# Values: 'on', 'off' +# Flag: --os_arch +# +# Example: +# on: 'Arch Linux x86_64' +# off: 'Arch Linux' +os_arch="on" + + +# Uptime + + +# Shorten the output of the uptime function +# +# Default: 'on' +# Values: 'on', 'tiny', 'off' +# Flag: --uptime_shorthand +# +# Example: +# on: '2 days, 10 hours, 3 mins' +# tiny: '2d 10h 3m' +# off: '2 days, 10 hours, 3 minutes' +uptime_shorthand="on" + + +# Memory + + +# Show memory pecentage in output. +# +# Default: 'off' +# Values: 'on', 'off' +# Flag: --memory_percent +# +# Example: +# on: '1801MiB / 7881MiB (22%)' +# off: '1801MiB / 7881MiB' +memory_percent="off" + +# Change memory output unit. +# +# Default: 'mib' +# Values: 'kib', 'mib', 'gib' +# Flag: --memory_unit +# +# Example: +# kib '1020928KiB / 7117824KiB' +# mib '1042MiB / 6951MiB' +# gib: ' 0.98GiB / 6.79GiB' +memory_unit="mib" + + +# Packages + + +# Show/Hide Package Manager names. +# +# Default: 'tiny' +# Values: 'on', 'tiny' 'off' +# Flag: --package_managers +# +# Example: +# on: '998 (pacman), 8 (flatpak), 4 (snap)' +# tiny: '908 (pacman, flatpak, snap)' +# off: '908' +package_managers="on" + + +# Shell + + +# Show the path to $SHELL +# +# Default: 'off' +# Values: 'on', 'off' +# Flag: --shell_path +# +# Example: +# on: '/bin/bash' +# off: 'bash' +shell_path="off" + +# Show $SHELL version +# +# Default: 'on' +# Values: 'on', 'off' +# Flag: --shell_version +# +# Example: +# on: 'bash 4.4.5' +# off: 'bash' +shell_version="on" + + +# CPU + + +# CPU speed type +# +# Default: 'bios_limit' +# Values: 'scaling_cur_freq', 'scaling_min_freq', 'scaling_max_freq', 'bios_limit'. +# Flag: --speed_type +# Supports: Linux with 'cpufreq' +# NOTE: Any file in '/sys/devices/system/cpu/cpu0/cpufreq' can be used as a value. +speed_type="bios_limit" + +# CPU speed shorthand +# +# Default: 'off' +# Values: 'on', 'off'. +# Flag: --speed_shorthand +# NOTE: This flag is not supported in systems with CPU speed less than 1 GHz +# +# Example: +# on: 'i7-6500U (4) @ 3.1GHz' +# off: 'i7-6500U (4) @ 3.100GHz' +speed_shorthand="off" + +# Enable/Disable CPU brand in output. +# +# Default: 'on' +# Values: 'on', 'off' +# Flag: --cpu_brand +# +# Example: +# on: 'Intel i7-6500U' +# off: 'i7-6500U (4)' +cpu_brand="on" + +# CPU Speed +# Hide/Show CPU speed. +# +# Default: 'on' +# Values: 'on', 'off' +# Flag: --cpu_speed +# +# Example: +# on: 'Intel i7-6500U (4) @ 3.1GHz' +# off: 'Intel i7-6500U (4)' +cpu_speed="on" + +# CPU Cores +# Display CPU cores in output +# +# Default: 'logical' +# Values: 'logical', 'physical', 'off' +# Flag: --cpu_cores +# Support: 'physical' doesn't work on BSD. +# +# Example: +# logical: 'Intel i7-6500U (4) @ 3.1GHz' (All virtual cores) +# physical: 'Intel i7-6500U (2) @ 3.1GHz' (All physical cores) +# off: 'Intel i7-6500U @ 3.1GHz' +cpu_cores="logical" + +# CPU Temperature +# Hide/Show CPU temperature. +# Note the temperature is added to the regular CPU function. +# +# Default: 'off' +# Values: 'C', 'F', 'off' +# Flag: --cpu_temp +# Supports: Linux, BSD +# NOTE: For FreeBSD and NetBSD-based systems, you'll need to enable +# coretemp kernel module. This only supports newer Intel processors. +# +# Example: +# C: 'Intel i7-6500U (4) @ 3.1GHz [27.2°C]' +# F: 'Intel i7-6500U (4) @ 3.1GHz [82.0°F]' +# off: 'Intel i7-6500U (4) @ 3.1GHz' +cpu_temp="off" + + +# GPU + + +# Enable/Disable GPU Brand +# +# Default: 'on' +# Values: 'on', 'off' +# Flag: --gpu_brand +# +# Example: +# on: 'AMD HD 7950' +# off: 'HD 7950' +gpu_brand="on" + +# Which GPU to display +# +# Default: 'all' +# Values: 'all', 'dedicated', 'integrated' +# Flag: --gpu_type +# Supports: Linux +# +# Example: +# all: +# GPU1: AMD HD 7950 +# GPU2: Intel Integrated Graphics +# +# dedicated: +# GPU1: AMD HD 7950 +# +# integrated: +# GPU1: Intel Integrated Graphics +gpu_type="all" + + +# Resolution + + +# Display refresh rate next to each monitor +# Default: 'off' +# Values: 'on', 'off' +# Flag: --refresh_rate +# Supports: Doesn't work on Windows. +# +# Example: +# on: '1920x1080 @ 60Hz' +# off: '1920x1080' +refresh_rate="off" + + +# Gtk Theme / Icons / Font + + +# Shorten output of GTK Theme / Icons / Font +# +# Default: 'off' +# Values: 'on', 'off' +# Flag: --gtk_shorthand +# +# Example: +# on: 'Numix, Adwaita' +# off: 'Numix [GTK2], Adwaita [GTK3]' +gtk_shorthand="off" + + +# Enable/Disable gtk2 Theme / Icons / Font +# +# Default: 'on' +# Values: 'on', 'off' +# Flag: --gtk2 +# +# Example: +# on: 'Numix [GTK2], Adwaita [GTK3]' +# off: 'Adwaita [GTK3]' +gtk2="on" + +# Enable/Disable gtk3 Theme / Icons / Font +# +# Default: 'on' +# Values: 'on', 'off' +# Flag: --gtk3 +# +# Example: +# on: 'Numix [GTK2], Adwaita [GTK3]' +# off: 'Numix [GTK2]' +gtk3="on" + + +# IP Address + + +# Website to ping for the public IP +# +# Default: 'http://ident.me' +# Values: 'url' +# Flag: --ip_host +public_ip_host="http://ident.me" + +# Public IP timeout. +# +# Default: '2' +# Values: 'int' +# Flag: --ip_timeout +public_ip_timeout=2 + +# Local IP interface +# +# Default: 'auto' (interface of default route) +# Values: 'auto', 'en0', 'en1' +# Flag: --ip_interface +local_ip_interface=('auto') + + +# Desktop Environment + + +# Show Desktop Environment version +# +# Default: 'on' +# Values: 'on', 'off' +# Flag: --de_version +de_version="on" + + +# Disk + + +# Which disks to display. +# The values can be any /dev/sdXX, mount point or directory. +# NOTE: By default we only show the disk info for '/'. +# +# Default: '/' +# Values: '/', '/dev/sdXX', '/path/to/drive'. +# Flag: --disk_show +# +# Example: +# disk_show=('/' '/dev/sdb1'): +# 'Disk (/): 74G / 118G (66%)' +# 'Disk (/mnt/Videos): 823G / 893G (93%)' +# +# disk_show=('/'): +# 'Disk (/): 74G / 118G (66%)' +# +disk_show=('/') + +# Disk subtitle. +# What to append to the Disk subtitle. +# +# Default: 'mount' +# Values: 'mount', 'name', 'dir', 'none' +# Flag: --disk_subtitle +# +# Example: +# name: 'Disk (/dev/sda1): 74G / 118G (66%)' +# 'Disk (/dev/sdb2): 74G / 118G (66%)' +# +# mount: 'Disk (/): 74G / 118G (66%)' +# 'Disk (/mnt/Local Disk): 74G / 118G (66%)' +# 'Disk (/mnt/Videos): 74G / 118G (66%)' +# +# dir: 'Disk (/): 74G / 118G (66%)' +# 'Disk (Local Disk): 74G / 118G (66%)' +# 'Disk (Videos): 74G / 118G (66%)' +# +# none: 'Disk: 74G / 118G (66%)' +# 'Disk: 74G / 118G (66%)' +# 'Disk: 74G / 118G (66%)' +disk_subtitle="mount" + +# Disk percent. +# Show/Hide disk percent. +# +# Default: 'on' +# Values: 'on', 'off' +# Flag: --disk_percent +# +# Example: +# on: 'Disk (/): 74G / 118G (66%)' +# off: 'Disk (/): 74G / 118G' +disk_percent="on" + + +# Song + + +# Manually specify a music player. +# +# Default: 'auto' +# Values: 'auto', 'player-name' +# Flag: --music_player +# +# Available values for 'player-name': +# +# amarok +# audacious +# banshee +# bluemindo +# clementine +# cmus +# deadbeef +# deepin-music +# dragon +# elisa +# exaile +# gnome-music +# gmusicbrowser +# gogglesmm +# guayadeque +# io.elementary.music +# iTunes +# Music +# juk +# lollypop +# MellowPlayer +# mocp +# mopidy +# mpd +# muine +# netease-cloud-music +# olivia +# playerctl +# pogo +# pragha +# qmmp +# quodlibet +# rhythmbox +# sayonara +# smplayer +# spotify +# strawberry +# tauonmb +# tomahawk +# vlc +# xmms2d +# xnoise +# yarock +music_player="auto" + +# Format to display song information. +# +# Default: '%artist% - %album% - %title%' +# Values: '%artist%', '%album%', '%title%' +# Flag: --song_format +# +# Example: +# default: 'Song: Jet - Get Born - Sgt Major' +song_format="%artist% - %album% - %title%" + +# Print the Artist, Album and Title on separate lines +# +# Default: 'off' +# Values: 'on', 'off' +# Flag: --song_shorthand +# +# Example: +# on: 'Artist: The Fratellis' +# 'Album: Costello Music' +# 'Song: Chelsea Dagger' +# +# off: 'Song: The Fratellis - Costello Music - Chelsea Dagger' +song_shorthand="off" + +# 'mpc' arguments (specify a host, password etc). +# +# Default: '' +# Example: mpc_args=(-h HOST -P PASSWORD) +mpc_args=() + + +# Text Colors + + +# Text Colors +# +# Default: 'distro' +# Values: 'distro', 'num' 'num' 'num' 'num' 'num' 'num' +# Flag: --colors +# +# Each number represents a different part of the text in +# this order: 'title', '@', 'underline', 'subtitle', 'colon', 'info' +# +# Example: +# colors=(distro) - Text is colored based on Distro colors. +# colors=(4 6 1 8 8 6) - Text is colored in the order above. +colors=(distro) + + +# Text Options + + +# Toggle bold text +# +# Default: 'on' +# Values: 'on', 'off' +# Flag: --bold +bold="on" + +# Enable/Disable Underline +# +# Default: 'on' +# Values: 'on', 'off' +# Flag: --underline +underline_enabled="on" + +# Underline character +# +# Default: '-' +# Values: 'string' +# Flag: --underline_char +underline_char="-" + + +# Info Separator +# Replace the default separator with the specified string. +# +# Default: ':' +# Flag: --separator +# +# Example: +# separator="->": 'Shell-> bash' +# separator=" =": 'WM = dwm' +separator=":" + + +# Color Blocks + + +# Color block range +# The range of colors to print. +# +# Default: '0', '15' +# Values: 'num' +# Flag: --block_range +# +# Example: +# +# Display colors 0-7 in the blocks. (8 colors) +# neofetch --block_range 0 7 +# +# Display colors 0-15 in the blocks. (16 colors) +# neofetch --block_range 0 15 +block_range=(0 15) + +# Toggle color blocks +# +# Default: 'on' +# Values: 'on', 'off' +# Flag: --color_blocks +color_blocks="on" + +# Color block width in spaces +# +# Default: '3' +# Values: 'num' +# Flag: --block_width +block_width=3 + +# Color block height in lines +# +# Default: '1' +# Values: 'num' +# Flag: --block_height +block_height=1 + +# Color Alignment +# +# Default: 'auto' +# Values: 'auto', 'num' +# Flag: --col_offset +# +# Number specifies how far from the left side of the terminal (in spaces) to +# begin printing the columns, in case you want to e.g. center them under your +# text. +# Example: +# col_offset="auto" - Default behavior of neofetch +# col_offset=7 - Leave 7 spaces then print the colors +col_offset="auto" + +# Progress Bars + + +# Bar characters +# +# Default: '-', '=' +# Values: 'string', 'string' +# Flag: --bar_char +# +# Example: +# neofetch --bar_char 'elapsed' 'total' +# neofetch --bar_char '-' '=' +bar_char_elapsed="-" +bar_char_total="=" + +# Toggle Bar border +# +# Default: 'on' +# Values: 'on', 'off' +# Flag: --bar_border +bar_border="on" + +# Progress bar length in spaces +# Number of chars long to make the progress bars. +# +# Default: '15' +# Values: 'num' +# Flag: --bar_length +bar_length=15 + +# Progress bar colors +# When set to distro, uses your distro's logo colors. +# +# Default: 'distro', 'distro' +# Values: 'distro', 'num' +# Flag: --bar_colors +# +# Example: +# neofetch --bar_colors 3 4 +# neofetch --bar_colors distro 5 +bar_color_elapsed="distro" +bar_color_total="distro" + + +# Info display +# Display a bar with the info. +# +# Default: 'off' +# Values: 'bar', 'infobar', 'barinfo', 'off' +# Flags: --memory_display +# --battery_display +# --disk_display +# +# Example: +# bar: '[---=======]' +# infobar: 'info [---=======]' +# barinfo: '[---=======] info' +# off: 'info' +memory_display="off" +battery_display="off" +disk_display="off" + + +# Backend Settings + + +# Image backend. +# +# Default: 'ascii' +# Values: 'ascii', 'caca', 'catimg', 'chafa', 'jp2a', 'iterm2', 'off', +# 'pot', 'termpix', 'pixterm', 'tycat', 'w3m', 'kitty', 'ueberzug', +# 'viu' + +# Flag: --backend +image_backend="kitty" + +# Image Source +# +# Which image or ascii file to display. +# +# Default: 'auto' +# Values: 'auto', 'ascii', 'wallpaper', '/path/to/img', '/path/to/ascii', '/path/to/dir/' +# 'command output (neofetch --ascii "$(fortune | cowsay -W 30)")' +# Flag: --source +# +# NOTE: 'auto' will pick the best image source for whatever image backend is used. +# In ascii mode, distro ascii art will be used and in an image mode, your +# wallpaper will be used. +image_source="/home/gor/Imágenes/elsa_pixel.gif" + + +# Ascii Options + + +# Ascii distro +# Which distro's ascii art to display. +# +# Default: 'auto' +# Values: 'auto', 'distro_name' +# Flag: --ascii_distro +# NOTE: AIX, Hash, Alpine, AlterLinux, Amazon, Anarchy, Android, instantOS, +# Antergos, antiX, "AOSC OS", "AOSC OS/Retro", Apricity, ArchCraft, +# ArcoLinux, ArchBox, ARCHlabs, ArchStrike, XFerience, ArchMerge, Arch, +# Artix, Arya, Bedrock, Bitrig, BlackArch, BLAG, BlankOn, BlueLight, +# bonsai, BSD, BunsenLabs, Calculate, Carbs, CentOS, Chakra, ChaletOS, +# Chapeau, Chrom*, Cleanjaro, ClearOS, Clear_Linux, Clover, Condres, +# Container_Linux, CRUX, Cucumber, dahlia, Debian, Deepin, DesaOS, +# Devuan, DracOS, DarkOs, Itc, DragonFly, Drauger, Elementary, +# EndeavourOS, Endless, EuroLinux, Exherbo, Fedora, Feren, FreeBSD, +# FreeMiNT, Frugalware, Funtoo, GalliumOS, Garuda, Gentoo, Pentoo, +# gNewSense, GNOME, GNU, GoboLinux, Grombyang, Guix, Haiku, Huayra, +# Hyperbola, janus, Kali, KaOS, KDE_neon, Kibojoe, Kogaion, Korora, +# KSLinux, Kubuntu, LEDE, LaxerOS, LibreELEC, LFS, Linux_Lite, LMDE, +# Lubuntu, Lunar, macos, Mageia, MagpieOS, Mandriva, Manjaro, Maui, +# Mer, Minix, LinuxMint, Live_Raizo, MX_Linux, Namib, Neptune, NetBSD, +# Netrunner, Nitrux, NixOS, Nurunner, NuTyX, OBRevenge, OpenBSD, +# openEuler, OpenIndiana, openmamba, OpenMandriva, OpenStage, OpenWrt, +# osmc, Oracle, OS Elbrus, PacBSD, Parabola, Pardus, Parrot, Parsix, +# TrueOS, PCLinuxOS, Pengwin, Peppermint, popos, Porteus, PostMarketOS, +# Proxmox, Puppy, PureOS, Qubes, Quibian, Radix, Raspbian, Reborn_OS, +# Redstar, Redcore, Redhat, Refracted_Devuan, Regata, Regolith, Rosa, +# sabotage, Sabayon, Sailfish, SalentOS, Scientific, Septor, +# SereneLinux, SharkLinux, Siduction, Slackware, SliTaz, SmartOS, +# Solus, Source_Mage, Sparky, Star, SteamOS, SunOS, openSUSE_Leap, t2, +# openSUSE_Tumbleweed, openSUSE, SwagArch, Tails, Trisquel, +# Ubuntu-Cinnamon, Ubuntu-Budgie, Ubuntu-GNOME, Ubuntu-MATE, +# Ubuntu-Studio, Ubuntu, Univention, Venom, Void, semc, Obarun, +# windows10, Windows7, Xubuntu, Zorin, and IRIX have ascii logos. +# NOTE: Arch, Ubuntu, Redhat, and Dragonfly have 'old' logo variants. +# Use '{distro name}_old' to use the old logos. +# NOTE: Ubuntu has flavor variants. +# Change this to Lubuntu, Kubuntu, Xubuntu, Ubuntu-GNOME, +# Ubuntu-Studio, Ubuntu-Mate or Ubuntu-Budgie to use the flavors. +# NOTE: Arcolinux, Dragonfly, Fedora, Alpine, Arch, Ubuntu, +# CRUX, Debian, Gentoo, FreeBSD, Mac, NixOS, OpenBSD, android, +# Antrix, CentOS, Cleanjaro, ElementaryOS, GUIX, Hyperbola, +# Manjaro, MXLinux, NetBSD, Parabola, POP_OS, PureOS, +# Slackware, SunOS, LinuxLite, OpenSUSE, Raspbian, +# postmarketOS, and Void have a smaller logo variant. +# Use '{distro name}_small' to use the small variants. +ascii_distro="auto" + +# Ascii Colors +# +# Default: 'distro' +# Values: 'distro', 'num' 'num' 'num' 'num' 'num' 'num' +# Flag: --ascii_colors +# +# Example: +# ascii_colors=(distro) - Ascii is colored based on Distro colors. +# ascii_colors=(4 6 1 8 8 6) - Ascii is colored using these colors. +ascii_colors=(distro) + +# Bold ascii logo +# Whether or not to bold the ascii logo. +# +# Default: 'on' +# Values: 'on', 'off' +# Flag: --ascii_bold +ascii_bold="on" + + +# Image Options + + +# Image loop +# Setting this to on will make neofetch redraw the image constantly until +# Ctrl+C is pressed. This fixes display issues in some terminal emulators. +# +# Default: 'off' +# Values: 'on', 'off' +# Flag: --loop +image_loop="off" + +# Thumbnail directory +# +# Default: '~/.cache/thumbnails/neofetch' +# Values: 'dir' +thumbnail_dir="${XDG_CACHE_HOME:-${HOME}/.cache}/thumbnails/neofetch" + +# Crop mode +# +# Default: 'normal' +# Values: 'normal', 'fit', 'fill' +# Flag: --crop_mode +# +# See this wiki page to learn about the fit and fill options. +# https://github.com/dylanaraps/neofetch/wiki/What-is-Waifu-Crop%3F +crop_mode="normal" + +# Crop offset +# Note: Only affects 'normal' crop mode. +# +# Default: 'center' +# Values: 'northwest', 'north', 'northeast', 'west', 'center' +# 'east', 'southwest', 'south', 'southeast' +# Flag: --crop_offset +crop_offset="center" + +# Image size +# The image is half the terminal width by default. +# +# Default: 'auto' +# Values: 'auto', '00px', '00%', 'none' +# Flags: --image_size +# --size +image_size="auto" + +# Catimg block size. +# Control the resolution of catimg. +# +# Default: '2' +# Values: '1', '2' +# Flags: --catimg_size +catimg_size="2" + +# Gap between image and text +# +# Default: '3' +# Values: 'num', '-num' +# Flag: --gap +gap=3 + +# Image offsets +# Only works with the w3m backend. +# +# Default: '0' +# Values: 'px' +# Flags: --xoffset +# --yoffset +yoffset=0 +xoffset=0 + +# Image background color +# Only works with the w3m backend. +# +# Default: '' +# Values: 'color', 'blue' +# Flag: --bg_color +background_color= + + +# Misc Options + +# Stdout mode +# Turn off all colors and disables image backend (ASCII/Image). +# Useful for piping into another command. +# Default: 'off' +# Values: 'on', 'off' +stdout="off" diff --git a/.config/newsboat/config b/.config/newsboat/config new file mode 100644 index 0000000..071080f --- /dev/null +++ b/.config/newsboat/config @@ -0,0 +1,4 @@ +#macro i set pager "/home/gor/.config/newsboat/scripts/kitty-pager.sh"; open; set pager internal +macro i set pager "/home/gor/.config/newsboat/scripts/bootstrap_image_pager.sh true %f"; open; set pager internal +#pager "~/.config/newsboat/scripts/nbparser" +#html-renderer "/bin/cat" diff --git a/.config/newsboat/scripts/bootstrap_image_pager.sh b/.config/newsboat/scripts/bootstrap_image_pager.sh new file mode 100755 index 0000000..f488c78 --- /dev/null +++ b/.config/newsboat/scripts/bootstrap_image_pager.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +# Set the classpath to the directory containing the script +classpath="$(dirname "$0")" + +# Run the Scala program and capture its output +result=$(scala -classpath "$classpath" imagePager "$@") + +# Print the result +#echo "Received result: $result" + +eval "$result" diff --git a/.config/newsboat/scripts/imagePager$package$$anon$1.class b/.config/newsboat/scripts/imagePager$package$$anon$1.class new file mode 100644 index 0000000000000000000000000000000000000000..ef84420321cab2252dceddf897387fdcceaec10c GIT binary patch literal 1690 zcma)6%W@M(6g@4EJV+i}GEZZ0cu62xHbN!|2{H!Tn1U+XP{_rC4b_qxGccY}%_HR` zYyN`|U_mzIu}HCEk#9<+a(ZTvB})qy>U;a@^u6bvx!wQ#_t)P5zQu;Xti3Py)D!;v zQdf4~&?%Lq>$#f3ca%n|&n!&95*S~$T{~P67^~>m z6bgA{Q4}!3S9Tz9e)BMSuWG6~d!4X@`|73bs@>I4V7fA(ZL|7ZKpY5Ii6V*OCe8?C zUNqQ!rP{|e)!M>Y%;qtJa}?p|w=prN&n{WGkbo|7EC%IX^A1$-G;()10wyjCOhswTOI2;CLUoR5oTC?2rn`ZrAzwvA^L2O5o-Z z1yb~v*=saMbSz-*s+Tfys9+&!riV9iT_78m5V$&ucpu50f;Z5ZKpji`B0~f$oW!X- zGWc$=!}PGgtr1m*vW#fMLJbQ#@sAvyb#Iqy6gD{-+tGeo`8)b@=!zci=rhR+!+jc@ zY=ykeTe6$(i(4vuwd_4thLO)A z`IZ;?9reK06|*hv$Zzj63wL1c2i> z!QHf0kSKlFrZs5iYFi7RF|+Uy=Re__ZG+CGKXC0Gvc~(d_XLb#h3hehe{s&_bRR8o zk%%cwqJkV zYJcKp1|JCQV=_02$vhh>kc(!bTPydNlv5@;w#YX*6LZRCVor-F7FVfEIpuYSHpAn& z`PwJUe8l%!g<)w=C!k)99FyG|=$2V)_<=C3_e0Xx^5o;JRQa}UX*jKxlc-+We419r iMp37P_u>P5UTDEbXqBr$_$1coWteb1w#RUv7XJejfpgOU literal 0 HcmV?d00001 diff --git a/.config/newsboat/scripts/imagePager$package$.class b/.config/newsboat/scripts/imagePager$package$.class new file mode 100644 index 0000000000000000000000000000000000000000..354fcd759303687e753b90d52346781ac87ce108 GIT binary patch literal 7615 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 literal 0 HcmV?d00001 diff --git a/.config/newsboat/scripts/imagePager$package.class b/.config/newsboat/scripts/imagePager$package.class new file mode 100644 index 0000000000000000000000000000000000000000..12d831eaac84d0b92cd1024850eca752e1f99a69 GIT binary patch literal 408 zcmZvYOG?8~6o&s}T5l7h#=dj`0j+{XaMqFdLWs1GD(LJQLr9FRq}2_$26y1F6BRme z&;@kv4iq=wxOi@9$)Fuv&N)Bde;#)@`Wyh*#|9xE-pjym@Js9m>D_T6Km;q2PqG@z zR#2_qM84M*&{$3B-Hsp?Z?FPPr{gsZ1ccv zUU78QRoKG{q{slVmQzR{h2EIZ*s7Xk YQRZmj_wVcHyZ4IG%SRGDpJH86|9PriZvX%Q literal 0 HcmV?d00001 diff --git a/.config/newsboat/scripts/imagePager$package.tasty b/.config/newsboat/scripts/imagePager$package.tasty new file mode 100644 index 0000000000000000000000000000000000000000..826424081a5cdddb623fa3ee24109acc946dcc25 GIT binary patch literal 4086 zcmZuzdvFui)!!pOAem|VN2lZbS0}?C?Jy+iWBNy$l|+)#4<{LzkWObh%y<@i4N7E5 z)$S&CGc{Mct9?kThb_yJB|njk-?qSj3C4gSU?;qs@Gub4q-lal$cLdMfMbk%R(9xo zGv8R=d(XM|p8Gq$^Vr?o-uLq+nFKeLF;1rVH&6fe>1U~#Z!diLMSlnNFh1;kL;B;7 z4}rXP)9W0l&$E>tzS;_+!wr7UJORokx8N;fL2|J?$Zs%jF(CcvwO2s(c->_z$AQFE za~4t3!B+}_GPkQt@OoJn5B{}pGY%eetu`P`!eScT}phgBE$g%uO?hOL(5s(0>$tJyfU;x5fS^j@m zrkwSzbFj{Gn{;q+5R4qjE`H4tvi~v+!8aW|U%l*5#KpeNZE-XFS}*S?bF!ccF2-A3 z`lLy~AIt;+wZiRXnX+x5uM=E3?7zahkK6q39ayAJfcV^Mn>?9XOo6z1wdtYLx#S^k zItj*lp7k7j(%#@FHC-l5efIp zs%63HaIxGk?ax*{`xN-mPsR(W91q2-&4G0lJIWZoc+HxnwZQXU*2Cfz2tv zAaKxDF)p{OLU4hv3M9-svsfH1-s!SQUmi#;vz<#N4&+xH92N`jM%*A(G9L8r zy3POf4UwzdmepJIm1( zv!>ZKf(NI$vMApC)GCvq%}*5r0rANvA;RU-`gJ$ffmz=cF`z+sS$IKkI5DRz;@tN( z>Hhp6$QA6iV$dqzTmoj39%7#Piou@)0Xpygp(;X*u(cAaVtJzs67CFOA#G%kYp)CZ zud!R%Dv+@qI4zO{Dw<{ZvTayn78x|a2IB=|8_#<<+jGx6vw73%syUvm%xwd) zbk*Y$wEIA>aJb6XI-ToXcr*Y?kq8|Sde!vu5n35KVJDXAHpYt?A+TnRNJ;3nDUg9K z=&?u;4*$3Ao;9iJHtQN|_e3CE;cz0+Z25BHsmo;v zk&W1)u>bu~%I491c-`I`i!cI;m*oT}4|=Yh=PFT#FdQ(ij9}d@cXf2=AdJ~GcsI2O zqj0Fm7Xpo2b^!ET;;chr&1f981z{Ze7O>=x!64LcF|*2Cd{jsnVm};*V+$aycU6E? zwdz;7F0|AiHh9c#X~O&f$$uYCK7?H$S2B*A?lksAID>s4_ueuC2?56Ca`UD z;8~75wu?MAX!psAN3=^X%Q*V&%F8N_nmzDx(A3j9>NSsnW9a2D&LX*aP!4#ap4!~J z&Q~9E*Yh9$Wvx%svPwhg^ON)kKP{40o~v(KxmOEhwREY_Xiw7D-wLwc{79qY+fU@(DPb2t9OUH~5vrqB_?(6>^L({v@2VEes$;Z8M@`8gvGDd`MLCi)t|;TVk)AUO zkA^JgJV!mptSg2M%VflI+*(kVhJWW9a8rArU&&sa(9Y-|WRJhEjp_Td!)LWVJ(dkm za~HTv^t^ESFT%(6Q+QXPK92WXExB6qNy$IjRpC>59!23Z+OmM7HSfIe;nK9^6XBoc zY|dy2OV+$mG4Z*g{7d+Po-d;3G>yAPL&lnSsOSmb%^9?F-F_a=d%n^>(~Ye94Q)9_ z=UqmPF=d{f6W{+_k^dKE{Ar`vu34=u8~nHDmPfMR5x%A81GRA^slDX8lDq8+omY!< z;TEc+ag@fbc@LJfdE-S-q)+Ad}hxt&5_oQ;q+9lqNJ|wKLSL{H#VF&V1)UFAqm)5jUR)bz^K{s8{ zZ!H`sdV(%Y(FGI6$L5hw#Pi5;m&tL#gmyw3)y-RnI1{M=S-RjPU2w+e)G~T~)_~pk zLdLv+;UDl@3qR8|FC^*P^olfB$3?kXy6`&;FHFK7I&WHoBl@-MKViRiMNgpN!(0g0 z1vr9+&EQ-{>)Jl8Sx+Ly_vpeqbm4tenQSeuS_{VXIu1^7aMX0iJTYPJSkdi)2@b~W zaL`m@&Rh&ftt$_h^zK7=xCO3?M@>E^Q7A$wvfH|HEIp8H*Q0pbDSAbaUJ*4thaTL~ zpqnh1HF`DQ&;p8eB_`|Dq9+Ct0-VP3k7mPgw$u%$O;M*GBR?$~Xb@n^4(H9*02fQ? z$I|#KfoZt3;-k@qSbYQO+VL*w9Be;K67BE#eZ+sHlk|{XwLQZTa;l%~h^P7o&ywkL z*)LKgeyC~JSm>CJ+r*#fGEDdVHKZogIVHA05_*6n)Or*j_+t-H)JQ^(qxevc-6shH zSH;Bt*{t=TcuR?WM-p{)coq+69p-`B*u9)K)qrOXm}hpx?$*X;bISe!(x8b+Nd2gf zdMSIrdm+31_kkbv!EWz`wwn9YBz3)wn%duIIV5)(f4@wc{e+r8Xd?kjGszoLY8vF0 z@E2WDQzG_IPv4e?=Lt0}%VZ?Ary({MOn*y85_KdJq{iiz$oW>OzcF?zn7)ncEu`vR z98@E=JxE%cdP%~6i$wfU5|>D)N+MzEII6A^>O|=KK7|aa9k|jEyKAJsBZm|9B)>KG z_}#$ojtZ%ekF5W+K0}&AWJqfy&9!7u^(Caod&tkuDsTDZo%;1IDQWcH7{-gzd*z+s zuSTRqtoNIA9cfL$UU@K3^9h`l@OvPYzD0f2cbU4DxkDYx%p4q^?H#@uiOs5+dxZKl z+DKZWJ{bBebC9}7y_al>KWuBGrf-P#v4vpfE*Xg%>yj)T$;i1P{?E-%V;NnU+YaKdi>)5x7iRRQa7~!Px{D@?hQeW@pFi(wskvl# zMkT#-HD^?H!*}2} zm|)@$<8PnBSMUXlUklQyFllmodd@xHx#ynqoqqfI`3r!%SQLmErqs1(T#f=Ekl2>H zGFz3Fo?YGC*2=DeFs*^tM6E2VQeecF*}7{~vjy8UrL|QwEJku_nv+^`Y_sG#hNUZr z3iLH|R?x~k0)#-inR`R*l!7*awg8$Em_096H+D5^BfxGP<;$2I0=;ML{_o=c{TCg_ zW;rkLT7fPQoiQxKeJl`8XV&Ami0&9#&?C^|R*afJycm=@Ppc^nOQ0wHsu(ooD9LcWfSB5Ts!5ctF=AIAU&Rb0b$f&QjdQ*c9IpxD&M z4>znLg_{EN&3%KSr_QRgA1h{EQ^Ih^;rbfyF% zn#U%A%(?O8#3_^^VG8z^CeZ24>C?KosX1$Mvr0>{XmhC7rDJ&dv9Z16l1(de=U7)u zhHgo>?huez(cFr?#hj(7xtimVciFNur%;u(nnpENvg=M+TQa=(k+r$f+Dpok_wPUs zA@bgPLM#@?fbTrDETy1~jDEtUeSdp~@2GF=#v^`v)ujV^ahX!Z67T zh7K??8a}}2Att`!wx_k6XotA7hmInRV~4oEhw#21atOmnGSp*+P!Q4-BxCsd^d6ot zj8;6rv=7Rm4-W}=!WCjBvy>73?U3O8=BNx&DoisLRhhbqcBb9QuLNb1dKcHc500Qf YnZVTa_rV{NA2IVG_xhb$!2+%L1r9EP2mk;8 literal 0 HcmV?d00001 diff --git a/.config/newsboat/scripts/imagePager.scala b/.config/newsboat/scripts/imagePager.scala new file mode 100644 index 0000000..7b7018f --- /dev/null +++ b/.config/newsboat/scripts/imagePager.scala @@ -0,0 +1,58 @@ +import scala.io.Source +import java.net.URL +import sys.process._ +import scala.io.Source + +import scala.concurrent.{Await, Future} +import scala.concurrent.duration._ +import scala.concurrent.ExecutionContext.Implicits.global + +def isImage(url: String): Boolean = { + val connection = URL(url).openConnection() + connection.setDoOutput(false) + val contentType = connection.getHeaderField("Content-Type") + + contentType match { + case null => return false + case contentType: String => contentType.startsWith("image/") + } +} + +@main +def imagePager(kittyString: String, newsboatArticle: String) = { + val kitty = kittyString.toBoolean + + val urlPattern = """https?://\S+""".r + + val images = Source.fromFile(newsboatArticle) + .getLines + .flatMap(urlPattern.findAllIn(_)) + .map(url => Future { (url, isImage(url)) }) + .toList + + val filteredImages = Await.result(Future.sequence(images), Duration.Inf) + .collect { case (url, true) => url } + + if (!filteredImages.isEmpty) { + kitty match { + case true => { + //val cols = s"tput cols".!! + //val lines = s"tput lines".!! + //val dimensions = s"${cols}x${lines}@0x0".replaceAll("\n", "") + + // This code is mostly from @heussd's kitty-imager-pager.sh bash script + // for rendering images with kitty (pull request #1956 on newsboat) + val kittyImages = filteredImages + .map(image => s"kitty +kitten icat --hold --scale-up --place \"$$dims\" $image") + .toSeq + + (Seq( + "dims=\"$(tput cols)x$(tput lines)@0x0\"", + "clear", + "kitty +kitten icat --clear", + ) ++ kittyImages :+ "clear").foreach(println) + } + case false => s"feh ${filteredImages.mkString(" ")}".!! + } + } +} diff --git a/.config/newsboat/scripts/imagePager.tasty b/.config/newsboat/scripts/imagePager.tasty new file mode 100644 index 0000000000000000000000000000000000000000..dfca57018bad782e45b7916cd77030d95dbb910f GIT binary patch literal 1043 zcmY*WTWs4@7|tK@GG35)=_7sM5h`v%LaLiY(;|&dqN41j3`K5gGLOVI=h$8Q#EI?L z$4I{8=&%+%-`80d07DW~Fi-K5JQ&AcKL)mfrkFgJm&f@$xMG3N2_x)7 zU=50rs1AXd=cQa+w`Re5ZTyswRpWZoPv{NS{&6M%v%rfIm^{j1RvjUJnsu)tF*F%% zCZ0=}-nsdCs2^PZw8CfKVO9Ey3s6ybgoPB!X@zhAy6=7SE#_PVG6FG;c*ZI?B66{yIT zi6ox2dF^^!-`+|XjT`e&Js5jn|8boW8H?fiG0<=rHZ}$~rLv`sYpQ?={6yf#WYM$~ zJ!uS^ES8eiu+1V(y2Is==N!gUWroGd@cRs%iE!C;m8w#UaNU5e*8!Wl0sSDO`N<~t zjczxd)!Ip;U*A1zl{;OkeaJn~=D6>;`}OGn6y2wHEY^PcMRNLghcBxe6;0imGVixQn*nG0@@n=@+ z+E#L#&II&khJ$)s@O_jajBN;`{WiLBR_HqMZ*R>;C^ zdu8owa_`&VVVlg}=&Wy7ZaGY*KjE0Mo#l5cwr~God4Cb#afxp?So)~sJz^;(zB$X% zzfEtC_%rOU?*C6rmsq-MdA}0BUT0orpyxwF&HFuK+fC-V8hRGI-)i2^5xKHTn(;5= scMb)Y{tPCovAy~Cg4kZG6}ub6cCQ3g#wQ6P>BXIY0aFs$R{#J2 literal 0 HcmV?d00001 diff --git a/.config/newsboat/scripts/kitty-pager.sh b/.config/newsboat/scripts/kitty-pager.sh new file mode 100755 index 0000000..80b095c --- /dev/null +++ b/.config/newsboat/scripts/kitty-pager.sh @@ -0,0 +1,14 @@ +set -o errexit +set -o pipefail +set -o nounset + + +image=$(grep -E -o "https?://[a-zA-Z0-9./?=_%:-]*" < "${1}" | tail -1) + +# Detect terminal dimensions +dims="$(tput cols)x$(tput lines)@0x0" + +clear +kitty +kitten icat --clear +kitty +kitten icat --hold --scale-up --place "$dims" "$image" +clear diff --git a/.config/newsboat/scripts/nbparser b/.config/newsboat/scripts/nbparser new file mode 100755 index 0000000..1b596cd --- /dev/null +++ b/.config/newsboat/scripts/nbparser @@ -0,0 +1,59 @@ +#!/bin/bash + +PUP='~/go/bin/pop' # You may need to change this + +lines=$(tput lines) +cols=$(tput cols) + +# numbers determined by experimentation +img_x=2 +if [[ $lines < 70 && $lines > 50 ]]; then # my full height + img_width=80 + img_height=20 + img_y=35 +elif [[ $lines = 27 ]]; then # my half height + img_width=40 + img_height=20 + img_y=8 +else + notify-send "newsboat: unsupported size" +fi + +cd /tmp +while read line; do + if [[ "$line" =~ ^Link: ]]; then + echo $line | sed 's;^Link: ;;' | xclip + # for opening the article later (e.g. bind "echo $(xclip -o) | $BROWSER" to some shortcut) + fi + if [[ "$line" =~ ^Feed: ]]; then + : # to be used later, maybe? + elif [[ $line =~ "pic.twitter.com" ]]; then + url=$(echo $line | $PUP 'a text{}' | grep pic.twitter.com | sed '1q' | sed 's;.*pic.twitter.com/;;') + if ! [[ -z $url ]]; then + wget "pic.twitter.com/$url" 2>/dev/null + imgfile=$(wget $(cat $url | grep "&1 | grep "saved" | sed 1q | awk '{print $6}') + ~/.config/newsboat/scripts/vifmimg draw $img_x $img_y $img_width $img_height ${imgfile:1:-1} + fi + elif [[ $line =~ "https://www.youtube.com/watch?v=" ]]; then + url=$(echo $line | sed 's;^Link: ;;') + if ! [[ -z $url ]]; then + imgfile=$((wget $(youtube-dl --get-thumbnail $url)) 2>&1 | grep "saved" | sed 1q | awk '{print $6}') + ~/.config/newsboat/scripts/vifmimg draw $img_x $img_y $img_width $img_height ${imgfile:1:-1} + fi + elif [[ $line =~ "https://xkcd.com/" ]]; then + url=$(curl $line 2>/dev/null | $PUP 'img attr{src}' | sed -ne '3{p;q}' | sed 's;^//;;') + # some sed implementations can not handle multiple scripts, even with -e. Also, the speed is the same + if ! [[ -z $url ]]; then + imgfile=$((wget $url) 2>&1 | grep "saved" | sed 1q | awk '{print $6}') + ~/.config/newsboat/scripts/vifmimg draw $img_x $img_y $img_width $img_height ${imgfile:1:-1} + fi + elif [[ $line =~ "https://apod.nasa.gov/apod/" ]]; then + url=$(curl $line 2>/dev/null | $PUP 'img attr{src}' 2>/dev/null) + if ! [[ -z $url ]]; then + imgfile=$((wget "https://apod.nasa.gov/$url") 2>&1 | grep "saved" | sed 1q | awk '{print $6}') + ~/.config/newsboat/scripts/vifmimg draw $img_x $img_y $img_width $img_height ${imgfile:1:-1} + fi + fi +done < $1 1>/dev/null & # && xdotool key --window "$(xdotool search --name nbrun | head -1)" h+q & + +w3m -dump -T text/html <$1 | less +k && ~/.config/newsboat/scripts/vifmimg clear diff --git a/.config/newsboat/scripts/nbrun b/.config/newsboat/scripts/nbrun new file mode 100755 index 0000000..f9ec6b4 --- /dev/null +++ b/.config/newsboat/scripts/nbrun @@ -0,0 +1,14 @@ +export FIFO_UEBERZUG="/tmp/vifm-ueberzug-${PPID}" + +function cleanup { + rm "$FIFO_UEBERZUG" 2>/dev/null + pkill -P $$ 2>/dev/null +} + +rm "$FIFO_UEBERZUG" 2>/dev/null +mkfifo "$FIFO_UEBERZUG" +trap cleanup EXIT +tail --follow "$FIFO_UEBERZUG" | ueberzug layer --silent --parser bash & + +newsboat "$@" +cleanup diff --git a/.config/newsboat/scripts/vifimg b/.config/newsboat/scripts/vifimg new file mode 100755 index 0000000..e5d8763 --- /dev/null +++ b/.config/newsboat/scripts/vifimg @@ -0,0 +1,53 @@ +#!/usr/bin/env bash +readonly ID_PREVIEW="preview" + +#AUTO_REMOVE="yes" +# By enabling this option the script will remove the preview file after it is drawn +# and by doing so the preview will always be up-to-date with the file. +# This however, requires more CPU and therefore affects the overall performance. + +if [ -e "$FIFO_UEBERZUG" ]; then + if [[ "$1" == "draw" ]]; then + declare -p -A cmd=([action]=add [identifier]="$ID_PREVIEW" + [x]="$2" [y]="$3" [width]="$4" [height]="$5" \ + [path]="${PWD}/$6") \ + > "$FIFO_UEBERZUG" + + elif [[ "$1" == "videopreview" ]]; then + echo -e "Loading preview..\nFile: $6" + [[ ! -d "/tmp${PWD}/$6/" ]] && mkdir -p "/tmp${PWD}/$6/" + [[ ! -f "/tmp${PWD}/$6.png" ]] && ffmpegthumbnailer -i "${PWD}/$6" -o "/tmp${PWD}/$6.png" -s 0 -q 10 + declare -p -A cmd=([action]=add [identifier]="$ID_PREVIEW" + [x]="$2" [y]="$3" [width]="$4" [height]="$5" \ + [path]="/tmp${PWD}/$6.png") \ + > "$FIFO_UEBERZUG" + + elif [[ "$1" == "gifpreview" ]]; then + echo -e "Loading preview..\nFile: $6" + [[ ! -d "/tmp${PWD}/$6/" ]] && mkdir -p "/tmp${PWD}/$6/" && convert -coalesce "${PWD}/$6" "/tmp${PWD}/$6/$6.png" + for frame in $(ls -1 /tmp${PWD}/$6/$6*.png | sort -V); do + declare -p -A cmd=([action]=add [identifier]="$ID_PREVIEW" + [x]="$2" [y]="$3" [width]="$4" [height]="$5" \ + [path]="$frame") \ + > "$FIFO_UEBERZUG" + # Sleep between frames to make the animation smooth. + sleep .07 + done + + elif [[ "$1" == "pdfpreview" ]]; then + echo -e "Loading preview..\nFile: $6" + [[ ! -d "/tmp${PWD}/$6/" ]] && mkdir -p "/tmp${PWD}/$6/" + [[ ! -f "/tmp${PWD}/$6.png" ]] && pdftoppm -png -singlefile "$6" "/tmp${PWD}/$6" + declare -p -A cmd=([action]=add [identifier]="$ID_PREVIEW" + [x]="$2" [y]="$3" [width]="$4" [height]="$5" \ + [path]="/tmp${PWD}/$6.png") \ + > "$FIFO_UEBERZUG" + + elif [[ "$1" == "clear" ]]; then + declare -p -A cmd=([action]=remove [identifier]="$ID_PREVIEW") \ + > "$FIFO_UEBERZUG" + [[ ! -z $AUTO_REMOVE ]] && [[ -f "/tmp${PWD}/$6.png" ]] && rm -f "/tmp${PWD}/$6.png" + [[ ! -z $AUTO_REMOVE ]] && [[ -d "/tmp${PWD}/$6/" ]] && rm -rf "/tmp${PWD}/$6/" + + fi +fi diff --git a/.config/newsboat/urls b/.config/newsboat/urls new file mode 100644 index 0000000..3cf985c --- /dev/null +++ b/.config/newsboat/urls @@ -0,0 +1,13 @@ +https://eldeadkennedy.neocities.org/rssfeed.txt +https://neocities.org/site/pnnamerica.rss +https://notrelated.xyz/rss +https://feeds.libsyn.com/450648/rss +https://hannylaboratory.blogspot.com/feeds/posts/default +http://extramundane.xyz/rss.xml +https://neocities.org/site/didntask.rss +https://lukesmith.xyz/rss.xml +https://neocities.org/site/wizardperspective.rss +https://dailystormer.in/feed/ +https://neocities.org/site/cidoku.rss +https://www.youtube.com/feeds/videos.xml?channel_id=UC2eYFnH61tmytImy1mTYvhA +https://www.youtube.com/feeds/videos.xml?channel_id=UC7YOGHUfC1Tb6E4pudI9STA diff --git a/.config/obs-studio/basic/profiles/Untitled/basic.ini b/.config/obs-studio/basic/profiles/Untitled/basic.ini new file mode 100644 index 0000000..231b377 --- /dev/null +++ b/.config/obs-studio/basic/profiles/Untitled/basic.ini @@ -0,0 +1,2 @@ +[General] +Name=Untitled diff --git a/.config/obs-studio/basic/scenes/Untitled.json b/.config/obs-studio/basic/scenes/Untitled.json new file mode 100644 index 0000000..aff74cd --- /dev/null +++ b/.config/obs-studio/basic/scenes/Untitled.json @@ -0,0 +1 @@ +{"DesktopAudioDevice1":{"prev_ver":503447552,"name":"Desktop Audio","uuid":"9ebea0eb-e3c8-4de4-afc9-d611dadfa4fd","id":"pulse_output_capture","versioned_id":"pulse_output_capture","settings":{"device_id":"default"},"mixers":255,"sync":0,"flags":0,"volume":1.0,"balance":0.5,"enabled":true,"muted":false,"push-to-mute":false,"push-to-mute-delay":0,"push-to-talk":false,"push-to-talk-delay":0,"hotkeys":{"libobs.mute":[],"libobs.unmute":[],"libobs.push-to-mute":[],"libobs.push-to-talk":[]},"deinterlace_mode":0,"deinterlace_field_order":0,"monitoring_type":0,"private_settings":{}},"AuxAudioDevice1":{"prev_ver":503447552,"name":"Mic/Aux","uuid":"47a52913-c707-430f-a17c-855c4ceaf52a","id":"pulse_input_capture","versioned_id":"pulse_input_capture","settings":{"device_id":"default"},"mixers":255,"sync":0,"flags":0,"volume":1.0,"balance":0.5,"enabled":true,"muted":false,"push-to-mute":false,"push-to-mute-delay":0,"push-to-talk":false,"push-to-talk-delay":0,"hotkeys":{"libobs.mute":[],"libobs.unmute":[],"libobs.push-to-mute":[],"libobs.push-to-talk":[]},"deinterlace_mode":0,"deinterlace_field_order":0,"monitoring_type":0,"private_settings":{}},"current_scene":"Scene","current_program_scene":"Scene","scene_order":[{"name":"Scene"}],"name":"Untitled","sources":[{"prev_ver":503447552,"name":"Scene","uuid":"5cd6323d-660d-44ff-82ed-7c6fcba3c4a4","id":"scene","versioned_id":"scene","settings":{"id_counter":0,"custom_size":false,"items":[]},"mixers":0,"sync":0,"flags":0,"volume":1.0,"balance":0.5,"enabled":true,"muted":false,"push-to-mute":false,"push-to-mute-delay":0,"push-to-talk":false,"push-to-talk-delay":0,"hotkeys":{"OBSBasic.SelectScene":[]},"deinterlace_mode":0,"deinterlace_field_order":0,"monitoring_type":0,"private_settings":{}}],"groups":[],"quick_transitions":[{"name":"Cut","duration":300,"hotkeys":[],"id":1,"fade_to_black":false},{"name":"Fade","duration":300,"hotkeys":[],"id":2,"fade_to_black":false},{"name":"Fade","duration":300,"hotkeys":[],"id":3,"fade_to_black":true}],"transitions":[],"saved_projectors":[],"current_transition":"Fade","transition_duration":300,"preview_locked":false,"scaling_enabled":false,"scaling_level":0,"scaling_off_x":0.0,"scaling_off_y":0.0,"modules":{"scripts-tool":[],"output-timer":{"streamTimerHours":0,"streamTimerMinutes":0,"streamTimerSeconds":30,"recordTimerHours":0,"recordTimerMinutes":0,"recordTimerSeconds":30,"autoStartStreamTimer":false,"autoStartRecordTimer":false,"pauseRecordTimer":true},"auto-scene-switcher":{"interval":300,"non_matching_scene":"","switch_if_not_matching":false,"active":false,"switches":[]}}} \ No newline at end of file diff --git a/.config/obs-studio/basic/scenes/Untitled.json.bak b/.config/obs-studio/basic/scenes/Untitled.json.bak new file mode 100644 index 0000000..aff74cd --- /dev/null +++ b/.config/obs-studio/basic/scenes/Untitled.json.bak @@ -0,0 +1 @@ +{"DesktopAudioDevice1":{"prev_ver":503447552,"name":"Desktop Audio","uuid":"9ebea0eb-e3c8-4de4-afc9-d611dadfa4fd","id":"pulse_output_capture","versioned_id":"pulse_output_capture","settings":{"device_id":"default"},"mixers":255,"sync":0,"flags":0,"volume":1.0,"balance":0.5,"enabled":true,"muted":false,"push-to-mute":false,"push-to-mute-delay":0,"push-to-talk":false,"push-to-talk-delay":0,"hotkeys":{"libobs.mute":[],"libobs.unmute":[],"libobs.push-to-mute":[],"libobs.push-to-talk":[]},"deinterlace_mode":0,"deinterlace_field_order":0,"monitoring_type":0,"private_settings":{}},"AuxAudioDevice1":{"prev_ver":503447552,"name":"Mic/Aux","uuid":"47a52913-c707-430f-a17c-855c4ceaf52a","id":"pulse_input_capture","versioned_id":"pulse_input_capture","settings":{"device_id":"default"},"mixers":255,"sync":0,"flags":0,"volume":1.0,"balance":0.5,"enabled":true,"muted":false,"push-to-mute":false,"push-to-mute-delay":0,"push-to-talk":false,"push-to-talk-delay":0,"hotkeys":{"libobs.mute":[],"libobs.unmute":[],"libobs.push-to-mute":[],"libobs.push-to-talk":[]},"deinterlace_mode":0,"deinterlace_field_order":0,"monitoring_type":0,"private_settings":{}},"current_scene":"Scene","current_program_scene":"Scene","scene_order":[{"name":"Scene"}],"name":"Untitled","sources":[{"prev_ver":503447552,"name":"Scene","uuid":"5cd6323d-660d-44ff-82ed-7c6fcba3c4a4","id":"scene","versioned_id":"scene","settings":{"id_counter":0,"custom_size":false,"items":[]},"mixers":0,"sync":0,"flags":0,"volume":1.0,"balance":0.5,"enabled":true,"muted":false,"push-to-mute":false,"push-to-mute-delay":0,"push-to-talk":false,"push-to-talk-delay":0,"hotkeys":{"OBSBasic.SelectScene":[]},"deinterlace_mode":0,"deinterlace_field_order":0,"monitoring_type":0,"private_settings":{}}],"groups":[],"quick_transitions":[{"name":"Cut","duration":300,"hotkeys":[],"id":1,"fade_to_black":false},{"name":"Fade","duration":300,"hotkeys":[],"id":2,"fade_to_black":false},{"name":"Fade","duration":300,"hotkeys":[],"id":3,"fade_to_black":true}],"transitions":[],"saved_projectors":[],"current_transition":"Fade","transition_duration":300,"preview_locked":false,"scaling_enabled":false,"scaling_level":0,"scaling_off_x":0.0,"scaling_off_y":0.0,"modules":{"scripts-tool":[],"output-timer":{"streamTimerHours":0,"streamTimerMinutes":0,"streamTimerSeconds":30,"recordTimerHours":0,"recordTimerMinutes":0,"recordTimerSeconds":30,"autoStartStreamTimer":false,"autoStartRecordTimer":false,"pauseRecordTimer":true},"auto-scene-switcher":{"interval":300,"non_matching_scene":"","switch_if_not_matching":false,"active":false,"switches":[]}}} \ No newline at end of file diff --git a/.config/obs-studio/global.ini b/.config/obs-studio/global.ini new file mode 100644 index 0000000..297a427 --- /dev/null +++ b/.config/obs-studio/global.ini @@ -0,0 +1,60 @@ +[General] +Pre19Defaults=false +Pre21Defaults=false +Pre23Defaults=false +Pre24.1Defaults=false +MaxLogs=10 +InfoIncrement=-1 +ProcessPriority=Normal +EnableAutoUpdates=true +ConfirmOnExit=true +HotkeyFocusType=NeverDisableHotkeys +FirstRun=true +LastVersion=503447552 + +[Video] +Renderer=OpenGL + +[BasicWindow] +PreviewEnabled=true +PreviewProgramMode=false +SceneDuplicationMode=true +SwapScenesMode=true +SnappingEnabled=true +ScreenSnapping=true +SourceSnapping=true +CenterSnapping=false +SnapDistance=10 +SpacingHelpersEnabled=true +RecordWhenStreaming=false +KeepRecordingWhenStreamStops=false +SysTrayEnabled=true +SysTrayWhenStarted=false +SaveProjectors=false +ShowTransitions=true +ShowListboxToolbars=true +ShowStatusBar=true +ShowSourceIcons=true +ShowContextToolbars=true +StudioModeLabels=true +VerticalVolControl=false +MultiviewMouseSwitch=true +MultiviewDrawNames=true +MultiviewDrawAreas=true +MediaControlsCountdownTimer=true +geometry=AdnQywADAAAAAAPAAAAAAAAAB38AAAQcAAADxAAAABUAAAd7AAAECgAAAAAAAAAAB4AAAAPEAAAAFQAAB3sAAAQK +DockState=AAAA/wAAAAD9AAAAAQAAAAMAAAO4AAAA2PwBAAAABvsAAAAUAHMAYwBlAG4AZQBzAEQAbwBjAGsBAAAAAAAAALYAAACYAP////sAAAAWAHMAbwB1AHIAYwBlAHMARABvAGMAawEAAAC6AAAAtwAAAJgA////+wAAABIAbQBpAHgAZQByAEQAbwBjAGsBAAABdQAAAOwAAADeAP////sAAAAeAHQAcgBhAG4AcwBpAHQAaQBvAG4AcwBEAG8AYwBrAQAAAmUAAAClAAAApQD////7AAAAGABjAG8AbgB0AHIAbwBsAHMARABvAGMAawEAAAMOAAAAqgAAAKIA////+wAAABIAcwB0AGEAdABzAEQAbwBjAGsCAAACYgAAAbgAAAK8AAAAyAAAA7gAAALhAAAABAAAAAQAAAAIAAAACPwAAAAA +AlwaysOnTop=false +EditPropertiesMode=false +DocksLocked=false +SideDocks=false + +[Basic] +Profile=Untitled +ProfileDir=Untitled +SceneCollection=Untitled +SceneCollectionFile=Untitled +ConfigOnNewProfile=true + +[ScriptLogWindow] +geometry=AdnQywADAAAAAAAAAAAAAAAAAlcAAAGPAAAAAAAAAAAAAAJXAAABjwAAAAAAAAAAB4AAAAAAAAAAAAAAAlcAAAGP diff --git a/.config/obs-studio/logs/2024-09-17 12-57-10.txt b/.config/obs-studio/logs/2024-09-17 12-57-10.txt new file mode 100644 index 0000000..54e0715 --- /dev/null +++ b/.config/obs-studio/logs/2024-09-17 12-57-10.txt @@ -0,0 +1,109 @@ +12:57:10.504: Using EGL/X11 +12:57:10.504: CPU Name: AMD Ryzen 7 3800X 8-Core Processor +12:57:10.505: CPU Speed: 3861.483MHz +12:57:10.505: Physical Cores: 8, Logical Cores: 16 +12:57:10.505: Physical Memory: 32016MB Total, 28592MB Free +12:57:10.505: Kernel Version: Linux 6.6.51-1-lts +12:57:10.505: Distribution: "Arch Linux" Unknown +12:57:10.505: Desktop Environment: XFCE (XFCE) +12:57:10.505: Session Type: x11 +12:57:10.505: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.21.1 +12:57:10.506: Qt Version: 6.7.2 (runtime), 6.7.2 (compiled) +12:57:10.506: Portable mode: false +12:57:10.545: OBS 30.2.1-1 (linux) +12:57:10.545: --------------------------------- +12:57:10.546: --------------------------------- +12:57:10.546: audio settings reset: +12:57:10.546: samples per sec: 48000 +12:57:10.546: speakers: 2 +12:57:10.546: max buffering: 960 milliseconds +12:57:10.546: buffering type: dynamically increasing +12:57:10.551: --------------------------------- +12:57:10.551: Initializing OpenGL... +12:57:10.748: Loading up OpenGL on adapter NVIDIA Corporation NVIDIA GeForce GTX 1660 SUPER/PCIe/SSE2 +12:57:10.748: OpenGL loaded successfully, version 3.3.0 NVIDIA 560.35.03, shading language 3.30 NVIDIA via Cg compiler +12:57:10.877: --------------------------------- +12:57:10.877: video settings reset: +12:57:10.877: base resolution: 1920x1080 +12:57:10.877: output resolution: 1280x720 +12:57:10.877: downscale filter: Bicubic +12:57:10.877: fps: 30/1 +12:57:10.877: format: NV12 +12:57:10.877: YUV mode: Rec. 709/Partial +12:57:10.877: NV12 texture support enabled +12:57:10.877: P010 texture support not available +12:57:10.877: Audio monitoring device: +12:57:10.877: name: Default +12:57:10.877: id: default +12:57:10.877: --------------------------------- +12:57:10.887: Failed to load 'en-US' text for module: 'decklink-captions.so' +12:57:10.897: Failed to load 'en-US' text for module: 'decklink-output-ui.so' +12:57:10.906: A DeckLink iterator could not be created. The DeckLink drivers may not be installed +12:57:10.906: Failed to initialize module 'decklink.so' +12:57:11.076: [pipewire] No capture sources available +12:57:11.101: v4l2loopback not installed, virtual camera not registered +12:57:11.207: NVENC supported +12:57:11.207: VAAPI: Failed to initialize display in vaapi_device_h264_supported +12:57:11.207: FFmpeg VAAPI H264 encoding not supported +12:57:11.208: VAAPI: Failed to initialize display in vaapi_device_av1_supported +12:57:11.208: FFmpeg VAAPI AV1 encoding not supported +12:57:11.208: VAAPI: Failed to initialize display in vaapi_device_hevc_supported +12:57:11.208: FFmpeg VAAPI HEVC encoding not supported +12:57:11.334: --------------------------------- +12:57:11.334: Loaded Modules: +12:57:11.334: text-freetype2.so +12:57:11.334: rtmp-services.so +12:57:11.334: obs-x264.so +12:57:11.334: obs-webrtc.so +12:57:11.334: obs-vst.so +12:57:11.334: obs-transitions.so +12:57:11.334: obs-qsv11.so +12:57:11.334: obs-outputs.so +12:57:11.334: obs-libfdk.so +12:57:11.334: obs-filters.so +12:57:11.334: obs-ffmpeg.so +12:57:11.334: linux-v4l2.so +12:57:11.334: linux-pulseaudio.so +12:57:11.334: linux-pipewire.so +12:57:11.334: linux-jack.so +12:57:11.334: linux-capture.so +12:57:11.334: linux-alsa.so +12:57:11.334: image-source.so +12:57:11.334: frontend-tools.so +12:57:11.334: decklink-output-ui.so +12:57:11.334: decklink-captions.so +12:57:11.334: --------------------------------- +12:57:11.334: --------------------------------- +12:57:11.334: Available Encoders: +12:57:11.334: Video Encoders: +12:57:11.334: - ffmpeg_svt_av1 (SVT-AV1) +12:57:11.334: - ffmpeg_aom_av1 (AOM AV1) +12:57:11.334: - jim_nvenc (NVIDIA NVENC H.264) +12:57:11.334: - jim_hevc_nvenc (NVIDIA NVENC HEVC) +12:57:11.334: - jim_av1_nvenc (NVIDIA NVENC AV1) +12:57:11.334: - obs_x264 (x264) +12:57:11.334: Audio Encoders: +12:57:11.334: - ffmpeg_aac (FFmpeg AAC) +12:57:11.334: - ffmpeg_opus (FFmpeg Opus) +12:57:11.334: - ffmpeg_pcm_s16le (FFmpeg PCM (16-bit)) +12:57:11.334: - ffmpeg_pcm_s24le (FFmpeg PCM (24-bit)) +12:57:11.334: - ffmpeg_pcm_f32le (FFmpeg PCM (32-bit float)) +12:57:11.334: - ffmpeg_alac (FFmpeg ALAC (24-bit)) +12:57:11.334: - ffmpeg_flac (FFmpeg FLAC (16-bit)) +12:57:11.334: - libfdk_aac (libfdk AAC) +12:57:11.334: ==== Startup complete =============================================== +12:57:11.337: No scene file found, creating default scene +12:57:11.357: All scene data cleared +12:57:11.357: ------------------------------------------------ +12:57:11.366: pulse-input: Server name: 'PulseAudio (on PipeWire 1.2.3) 15.0.0' +12:57:11.366: pulse-input: Audio format: s32le, 48000 Hz, 2 channels +12:57:11.366: pulse-input: Started recording from 'alsa_output.pci-0000_09_00.4.analog-stereo.monitor' (default) +12:57:11.366: pulse-input: Server name: 'PulseAudio (on PipeWire 1.2.3) 15.0.0' +12:57:11.367: pulse-input: Audio format: s32le, 48000 Hz, 2 channels +12:57:11.367: pulse-input: Started recording from 'alsa_input.pci-0000_09_00.4.analog-stereo' (default) +12:57:11.367: Switched to scene 'Scene' +12:57:11.367: Failed to glob scene collections +12:57:11.912: adding 21 milliseconds of audio buffering, total audio buffering is now 21 milliseconds (source: Desktop Audio) +12:57:11.912: +12:57:12.073: [rtmp-services plugin] Successfully updated file 'services.json' (version 263) +12:57:12.073: [rtmp-services plugin] Successfully updated package (version 263) diff --git a/.config/obs-studio/logs/2024-09-17 12-58-42.txt b/.config/obs-studio/logs/2024-09-17 12-58-42.txt new file mode 100644 index 0000000..00c364c --- /dev/null +++ b/.config/obs-studio/logs/2024-09-17 12-58-42.txt @@ -0,0 +1,179 @@ +12:58:42.762: Using EGL/X11 +12:58:42.762: CPU Name: AMD Ryzen 7 3800X 8-Core Processor +12:58:42.762: CPU Speed: 4278.708MHz +12:58:42.763: Physical Cores: 8, Logical Cores: 16 +12:58:42.763: Physical Memory: 32016MB Total, 28198MB Free +12:58:42.763: Kernel Version: Linux 6.6.51-1-lts +12:58:42.763: Distribution: "Arch Linux" Unknown +12:58:42.763: Desktop Environment: XFCE (XFCE) +12:58:42.763: Session Type: x11 +12:58:42.763: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.21.1 +12:58:42.764: Qt Version: 6.7.2 (runtime), 6.7.2 (compiled) +12:58:42.764: Portable mode: false +12:58:42.784: OBS 30.2.1-1 (linux) +12:58:42.784: --------------------------------- +12:58:42.785: --------------------------------- +12:58:42.785: audio settings reset: +12:58:42.785: samples per sec: 48000 +12:58:42.785: speakers: 2 +12:58:42.785: max buffering: 960 milliseconds +12:58:42.785: buffering type: dynamically increasing +12:58:42.789: --------------------------------- +12:58:42.789: Initializing OpenGL... +12:58:42.904: Loading up OpenGL on adapter NVIDIA Corporation NVIDIA GeForce GTX 1660 SUPER/PCIe/SSE2 +12:58:42.904: OpenGL loaded successfully, version 3.3.0 NVIDIA 560.35.03, shading language 3.30 NVIDIA via Cg compiler +12:58:42.926: --------------------------------- +12:58:42.926: video settings reset: +12:58:42.926: base resolution: 1920x1080 +12:58:42.926: output resolution: 1280x720 +12:58:42.926: downscale filter: Bicubic +12:58:42.926: fps: 30/1 +12:58:42.926: format: NV12 +12:58:42.926: YUV mode: Rec. 709/Partial +12:58:42.926: NV12 texture support enabled +12:58:42.926: P010 texture support not available +12:58:42.926: Audio monitoring device: +12:58:42.926: name: Default +12:58:42.926: id: default +12:58:42.926: --------------------------------- +12:58:42.935: Failed to load 'en-US' text for module: 'decklink-captions.so' +12:58:42.944: Failed to load 'en-US' text for module: 'decklink-output-ui.so' +12:58:42.953: A DeckLink iterator could not be created. The DeckLink drivers may not be installed +12:58:42.953: Failed to initialize module 'decklink.so' +12:58:43.105: [pipewire] No capture sources available +12:58:43.128: v4l2loopback not installed, virtual camera not registered +12:58:43.185: NVENC supported +12:58:43.185: VAAPI: Failed to initialize display in vaapi_device_h264_supported +12:58:43.185: FFmpeg VAAPI H264 encoding not supported +12:58:43.185: VAAPI: Failed to initialize display in vaapi_device_av1_supported +12:58:43.185: FFmpeg VAAPI AV1 encoding not supported +12:58:43.185: VAAPI: Failed to initialize display in vaapi_device_hevc_supported +12:58:43.185: FFmpeg VAAPI HEVC encoding not supported +12:58:43.304: --------------------------------- +12:58:43.304: Loaded Modules: +12:58:43.304: text-freetype2.so +12:58:43.304: rtmp-services.so +12:58:43.304: obs-x264.so +12:58:43.304: obs-webrtc.so +12:58:43.304: obs-vst.so +12:58:43.304: obs-transitions.so +12:58:43.304: obs-qsv11.so +12:58:43.304: obs-outputs.so +12:58:43.304: obs-libfdk.so +12:58:43.304: obs-filters.so +12:58:43.304: obs-ffmpeg.so +12:58:43.304: linux-v4l2.so +12:58:43.304: linux-pulseaudio.so +12:58:43.304: linux-pipewire.so +12:58:43.304: linux-jack.so +12:58:43.304: linux-capture.so +12:58:43.304: linux-alsa.so +12:58:43.304: image-source.so +12:58:43.304: frontend-tools.so +12:58:43.304: decklink-output-ui.so +12:58:43.304: decklink-captions.so +12:58:43.304: --------------------------------- +12:58:43.304: --------------------------------- +12:58:43.304: Available Encoders: +12:58:43.304: Video Encoders: +12:58:43.304: - ffmpeg_svt_av1 (SVT-AV1) +12:58:43.304: - ffmpeg_aom_av1 (AOM AV1) +12:58:43.304: - jim_nvenc (NVIDIA NVENC H.264) +12:58:43.304: - jim_hevc_nvenc (NVIDIA NVENC HEVC) +12:58:43.304: - jim_av1_nvenc (NVIDIA NVENC AV1) +12:58:43.304: - obs_x264 (x264) +12:58:43.304: Audio Encoders: +12:58:43.304: - ffmpeg_aac (FFmpeg AAC) +12:58:43.304: - ffmpeg_opus (FFmpeg Opus) +12:58:43.304: - ffmpeg_pcm_s16le (FFmpeg PCM (16-bit)) +12:58:43.304: - ffmpeg_pcm_s24le (FFmpeg PCM (24-bit)) +12:58:43.304: - ffmpeg_pcm_f32le (FFmpeg PCM (32-bit float)) +12:58:43.304: - ffmpeg_alac (FFmpeg ALAC (24-bit)) +12:58:43.304: - ffmpeg_flac (FFmpeg FLAC (16-bit)) +12:58:43.304: - libfdk_aac (libfdk AAC) +12:58:43.304: ==== Startup complete =============================================== +12:58:43.340: All scene data cleared +12:58:43.340: ------------------------------------------------ +12:58:43.343: pulse-input: Server name: 'PulseAudio (on PipeWire 1.2.3) 15.0.0' +12:58:43.343: pulse-input: Audio format: s32le, 48000 Hz, 2 channels +12:58:43.343: pulse-input: Started recording from 'alsa_output.pci-0000_09_00.4.analog-stereo.monitor' (default) +12:58:43.343: [Loaded global audio device]: 'Desktop Audio' +12:58:43.344: pulse-input: Server name: 'PulseAudio (on PipeWire 1.2.3) 15.0.0' +12:58:43.344: pulse-input: Audio format: s32le, 48000 Hz, 2 channels +12:58:43.344: pulse-input: Started recording from 'alsa_input.pci-0000_09_00.4.analog-stereo' (default) +12:58:43.344: [Loaded global audio device]: 'Mic/Aux' +12:58:43.346: Switched to scene 'Scene' +12:58:43.346: ------------------------------------------------ +12:58:43.346: Loaded scenes: +12:58:43.346: - scene 'Scene': +12:58:43.346: ------------------------------------------------ +12:58:43.916: adding 42 milliseconds of audio buffering, total audio buffering is now 42 milliseconds (source: Desktop Audio) +12:58:43.916: +13:02:08.137: ==== Shutting down ================================================== +13:02:08.200: pulse-input: Stopped recording from 'alsa_output.pci-0000_09_00.4.analog-stereo.monitor' +13:02:08.200: pulse-input: Got 8193 packets with 9831600 frames +13:02:08.200: pulse-input: Stopped recording from 'alsa_input.pci-0000_09_00.4.analog-stereo' +13:02:08.200: pulse-input: Got 8192 packets with 9830400 frames +13:02:08.205: All scene data cleared +13:02:08.205: ------------------------------------------------ +13:02:08.320: [Scripting] Total detached callbacks: 0 +13:02:08.320: Freeing OBS context data +13:02:08.343: == Profiler Results ============================= +13:02:08.343: run_program_init: 708.963 ms +13:02:08.343: ┣OBSApp::AppInit: 10.169 ms +13:02:08.343: ┃ ┗OBSApp::InitLocale: 0.577 ms +13:02:08.343: ┗OBSApp::OBSInit: 625.572 ms +13:02:08.343: ┣obs_startup: 1.633 ms +13:02:08.343: ┗OBSBasic::OBSInit: 603.067 ms +13:02:08.343: ┣OBSBasic::InitBasicConfig: 0.088 ms +13:02:08.343: ┣OBSBasic::ResetAudio: 0.24 ms +13:02:08.343: ┣OBSBasic::ResetVideo: 141.4 ms +13:02:08.343: ┃ ┗obs_init_graphics: 140.882 ms +13:02:08.343: ┃ ┗shader compilation: 21.584 ms +13:02:08.343: ┣OBSBasic::InitOBSCallbacks: 0.004 ms +13:02:08.343: ┣OBSBasic::InitHotkeys: 0.017 ms +13:02:08.343: ┣obs_load_all_modules2: 377.919 ms +13:02:08.343: ┃ ┣obs_init_module(decklink-captions.so): 0 ms +13:02:08.343: ┃ ┣obs_init_module(decklink-output-ui.so): 0 ms +13:02:08.343: ┃ ┣obs_init_module(decklink.so): 0.088 ms +13:02:08.343: ┃ ┣obs_init_module(frontend-tools.so): 62.557 ms +13:02:08.343: ┃ ┣obs_init_module(image-source.so): 0.012 ms +13:02:08.343: ┃ ┣obs_init_module(linux-alsa.so): 0.003 ms +13:02:08.343: ┃ ┣obs_init_module(linux-capture.so): 0.624 ms +13:02:08.343: ┃ ┣obs_init_module(linux-jack.so): 0.002 ms +13:02:08.343: ┃ ┣obs_init_module(linux-pipewire.so): 3.517 ms +13:02:08.343: ┃ ┣obs_init_module(linux-pulseaudio.so): 0.003 ms +13:02:08.343: ┃ ┣obs_init_module(linux-v4l2.so): 3.929 ms +13:02:08.343: ┃ ┣obs_init_module(obs-ffmpeg.so): 1.263 ms +13:02:08.343: ┃ ┃ ┗nvenc_check: 0.874 ms +13:02:08.343: ┃ ┣obs_init_module(obs-filters.so): 0.025 ms +13:02:08.343: ┃ ┣obs_init_module(obs-libfdk.so): 0.001 ms +13:02:08.343: ┃ ┣obs_init_module(obs-outputs.so): 0.004 ms +13:02:08.343: ┃ ┣obs_init_module(obs-qsv11.so): 0.988 ms +13:02:08.343: ┃ ┣obs_init_module(obs-transitions.so): 0.009 ms +13:02:08.343: ┃ ┣obs_init_module(obs-vst.so): 0.003 ms +13:02:08.343: ┃ ┣obs_init_module(obs-webrtc.so): 0.004 ms +13:02:08.343: ┃ ┣obs_init_module(obs-x264.so): 0.002 ms +13:02:08.343: ┃ ┣obs_init_module(rtmp-services.so): 0.649 ms +13:02:08.343: ┃ ┗obs_init_module(text-freetype2.so): 0.012 ms +13:02:08.343: ┣OBSBasic::InitService: 1.023 ms +13:02:08.343: ┣OBSBasic::ResetOutputs: 0.16 ms +13:02:08.343: ┣OBSBasic::CreateHotkeys: 0.022 ms +13:02:08.343: ┣OBSBasic::InitPrimitives: 0.163 ms +13:02:08.343: ┗OBSBasic::Load: 38.463 ms +13:02:08.343: obs_hotkey_thread(25 ms): min=0.058 ms, median=0.118 ms, max=54.666 ms, 99th percentile=3.874 ms, 99.8273% below 25 ms +13:02:08.343: audio_thread(Audio): min=0.004 ms, median=0.028 ms, max=0.918 ms, 99th percentile=0.062 ms +13:02:08.343: obs_graphics_thread(33.3333 ms): min=0.098 ms, median=0.548 ms, max=67.322 ms, 99th percentile=4.026 ms, 99.7727% below 33.333 ms +13:02:08.343: ┣tick_sources: min=0 ms, median=0.003 ms, max=0.053 ms, 99th percentile=0.009 ms +13:02:08.343: ┣output_frame: min=0.043 ms, median=0.094 ms, max=3.375 ms, 99th percentile=0.186 ms +13:02:08.343: ┃ ┗gs_context(video->graphics): min=0.042 ms, median=0.094 ms, max=3.374 ms, 99th percentile=0.186 ms +13:02:08.343: ┃ ┣render_video: min=0.017 ms, median=0.046 ms, max=0.413 ms, 99th percentile=0.106 ms +13:02:08.343: ┃ ┃ ┗render_main_texture: min=0.014 ms, median=0.038 ms, max=0.4 ms, 99th percentile=0.093 ms +13:02:08.343: ┃ ┗gs_flush: min=0.005 ms, median=0.009 ms, max=3.242 ms, 99th percentile=0.016 ms +13:02:08.343: ┗render_displays: min=0.017 ms, median=0.36 ms, max=67.132 ms, 99th percentile=1.634 ms +13:02:08.343: ================================================= +13:02:08.343: == Profiler Time Between Calls ================== +13:02:08.343: obs_hotkey_thread(25 ms): min=25.096 ms, median=25.182 ms, max=79.729 ms, 97.4217% within ±2% of 25 ms (0% lower, 2.57834% higher) +13:02:08.343: obs_graphics_thread(33.3333 ms): min=1.215 ms, median=33.333 ms, max=67.326 ms, 99.5615% within ±2% of 33.333 ms (0.211108% lower, 0.227347% higher) +13:02:08.343: ================================================= +13:02:08.349: Number of memory leaks: 0 diff --git a/.config/obs-studio/plugin_config/rtmp-services/package.json b/.config/obs-studio/plugin_config/rtmp-services/package.json new file mode 100644 index 0000000..93b7d8b --- /dev/null +++ b/.config/obs-studio/plugin_config/rtmp-services/package.json @@ -0,0 +1 @@ +{"$schema":"schema/package-schema.json","url":"https://obsproject.com/obs2_update/rtmp-services/v5","version":263,"files":[{"name":"services.json","version":263}]} diff --git a/.config/obs-studio/plugin_config/rtmp-services/services.json b/.config/obs-studio/plugin_config/rtmp-services/services.json new file mode 100644 index 0000000..83b31c0 --- /dev/null +++ b/.config/obs-studio/plugin_config/rtmp-services/services.json @@ -0,0 +1 @@ +{"$schema":"schema/service-schema-v5.json","format_version":5,"services":[{"name":"Twitch","common":true,"stream_key_link":"https://dashboard.twitch.tv/settings/stream","multitrack_video_configuration_url":"https://ingest.twitch.tv/api/v3/GetClientConfiguration","multitrack_video_name":"Enhanced Broadcasting","multitrack_video_learn_more_link":"https://help.twitch.tv/s/article/multiple-encodes","servers":[{"name":"Asia: Hong Kong","url":"rtmp://live-hkg.twitch.tv/app"},{"name":"Asia: Seoul, South Korea","url":"rtmp://live-sel.twitch.tv/app"},{"name":"Asia: Singapore","url":"rtmp://live-sin.twitch.tv/app"},{"name":"Asia: Taipei, Taiwan","url":"rtmp://live-tpe.twitch.tv/app"},{"name":"Asia: Tokyo, Japan","url":"rtmp://live-tyo.twitch.tv/app"},{"name":"Australia: Sydney","url":"rtmp://live-syd.twitch.tv/app"},{"name":"EU: Amsterdam, NL","url":"rtmp://live-ams.twitch.tv/app"},{"name":"EU: Berlin, DE","url":"rtmp://live-ber.twitch.tv/app"},{"name":"Europe: Copenhagen, DK","url":"rtmp://live-cph.twitch.tv/app"},{"name":"EU: Frankfurt, DE","url":"rtmp://live-fra.twitch.tv/app"},{"name":"EU: Helsinki, FI","url":"rtmp://live-hel.twitch.tv/app"},{"name":"EU: Lisbon, Portugal","url":"rtmp://live-lis.twitch.tv/app"},{"name":"EU: London, UK","url":"rtmp://live-lhr.twitch.tv/app"},{"name":"EU: Madrid, Spain","url":"rtmp://live-mad.twitch.tv/app"},{"name":"EU: Marseille, FR","url":"rtmp://live-mrs.twitch.tv/app"},{"name":"EU: Milan, Italy","url":"rtmp://live-mil.twitch.tv/app"},{"name":"EU: Norway, Oslo","url":"rtmp://live-osl.twitch.tv/app"},{"name":"EU: Paris, FR","url":"rtmp://live-cdg.twitch.tv/app"},{"name":"EU: Prague, CZ","url":"rtmp://live-prg.twitch.tv/app"},{"name":"EU: Stockholm, SE","url":"rtmp://live-arn.twitch.tv/app"},{"name":"EU: Vienna, Austria","url":"rtmp://live-vie.twitch.tv/app"},{"name":"EU: Warsaw, Poland","url":"rtmp://live-waw.twitch.tv/app"},{"name":"NA: Mexico City","url":"rtmp://live-qro.twitch.tv/app"},{"name":"NA: Quebec, Canada","url":"rtmp://live-ymq.twitch.tv/app"},{"name":"NA: Toronto, Canada","url":"rtmp://live-yto.twitch.tv/app"},{"name":"South America: Argentina","url":"rtmp://live-eze.twitch.tv/app"},{"name":"South America: Chile","url":"rtmp://live-scl.twitch.tv/app"},{"name":"South America: Lima, Peru","url":"rtmp://live-lim.twitch.tv/app"},{"name":"South America: Medellin, Colombia","url":"rtmp://live-mde.twitch.tv/app"},{"name":"South America: Rio de Janeiro, Brazil","url":"rtmp://live-rio.twitch.tv/app"},{"name":"South America: Sao Paulo, Brazil","url":"rtmp://live-sao.twitch.tv/app"},{"name":"US Central: Dallas, TX","url":"rtmp://live-dfw.twitch.tv/app"},{"name":"US Central: Denver, CO","url":"rtmp://live-den.twitch.tv/app"},{"name":"US Central: Houston, TX","url":"rtmp://live-hou.twitch.tv/app"},{"name":"US Central: Salt Lake City, UT","url":"rtmp://live-slc.twitch.tv/app"},{"name":"US East: Ashburn, VA","url":"rtmp://live-iad.twitch.tv/app"},{"name":"US East: Atlanta, GA","url":"rtmp://live-atl.twitch.tv/app"},{"name":"US East: Chicago","url":"rtmp://live-ord.twitch.tv/app"},{"name":"US East: Miami, FL","url":"rtmp://live-mia.twitch.tv/app"},{"name":"US East: New York, NY","url":"rtmp://live-jfk.twitch.tv/app"},{"name":"US West: Los Angeles, CA","url":"rtmp://live-lax.twitch.tv/app"},{"name":"US West: Phoenix, AZ","url":"rtmp://live-phx.twitch.tv/app"},{"name":"US West: Portland, Oregon","url":"rtmp://live-pdx.twitch.tv/app"},{"name":"US West: San Francisco, CA","url":"rtmp://live-sfo.twitch.tv/app"},{"name":"US West: San Jose, CA","url":"rtmp://live-sjc.twitch.tv/app"},{"name":"US West: Seattle, WA","url":"rtmp://live-sea.twitch.tv/app"}],"recommended":{"keyint":2,"max video bitrate":6000,"max audio bitrate":320,"x264opts":"scenecut=0"},"supported video codecs":["h264"]},{"name":"YouTube - HLS","common":false,"more_info_link":"https://developers.google.com/youtube/v3/live/guides/ingestion-protocol-comparison","stream_key_link":"https://www.youtube.com/live_dashboard","protocol":"HLS","supported video codecs":["h264","hevc"],"servers":[{"name":"Primary YouTube ingest server","url":"https://a.upload.youtube.com/http_upload_hls?cid={stream_key}©=0&file=out.m3u8"},{"name":"Backup YouTube ingest server","url":"https://b.upload.youtube.com/http_upload_hls?cid={stream_key}©=1&file=out.m3u8"}],"recommended":{"keyint":2,"output":"ffmpeg_hls_muxer","max video bitrate":51000,"max audio bitrate":160}},{"name":"YouTube - RTMPS","common":true,"stream_key_link":"https://www.youtube.com/live_dashboard","alt_names":["YouTube / YouTube Gaming","YouTube - RTMP","YouTube - RTMPS (Beta)"],"supported video codecs":["h264","hevc","av1"],"servers":[{"name":"Primary YouTube ingest server","url":"rtmps://a.rtmps.youtube.com:443/live2"},{"name":"Backup YouTube ingest server","url":"rtmps://b.rtmps.youtube.com:443/live2?backup=1"},{"name":"Primary YouTube ingest server (legacy RTMP)","url":"rtmp://a.rtmp.youtube.com/live2"},{"name":"Backup YouTube ingest server (legacy RTMP)","url":"rtmp://b.rtmp.youtube.com/live2?backup=1"}],"recommended":{"keyint":2,"max video bitrate":51000,"max audio bitrate":160}},{"name":"Loola.tv","common":false,"servers":[{"name":"US East: Virginia","url":"rtmp://rtmp.loola.tv/push"},{"name":"EU Central: Germany","url":"rtmp://rtmp-eu.loola.tv/push"},{"name":"South America: Brazil","url":"rtmp://rtmp-sa.loola.tv/push"},{"name":"Asia/Pacific: Singapore","url":"rtmp://rtmp-sg.loola.tv/push"},{"name":"Middle East: Bahrain","url":"rtmp://rtmp-me.loola.tv/push"}],"recommended":{"keyint":2,"profile":"high","max video bitrate":2500,"max audio bitrate":160,"bframes":2,"x264opts":"scenecut=0"},"supported video codecs":["h264"]},{"name":"Lovecast","servers":[{"name":"Default","url":"rtmp://live-a.lovecastapp.com:5222/app"}],"recommended":{"keyint":2,"profile":"main","max video bitrate":8000,"max audio bitrate":192,"supported resolutions":["1920x1080","1280x720"],"max fps":30},"supported video codecs":["h264"]},{"name":"Luzento.com - RTMP","stream_key_link":"https://cms.luzento.com/dashboard/stream-key?from=OBS","servers":[{"name":"Primary","url":"rtmp://ingest.luzento.com/live"},{"name":"Primary (Test)","url":"rtmp://ingest.luzento.com/test"}],"recommended":{"keyint":2,"max video bitrate":6000,"max audio bitrate":256,"bframes":2,"x264opts":"scenecut=0"},"supported video codecs":["h264"]},{"name":"Web.TV","servers":[{"name":"Primary","url":"rtmp://live3.origins.web.tv/liveext"}],"recommended":{"keyint":2,"profile":"main","max video bitrate":3500,"max audio bitrate":160},"supported video codecs":["h264"]},{"name":"GoodGame.ru","servers":[{"name":"Моscow","url":"rtmp://msk.goodgame.ru:1940/live"}],"supported video codecs":["h264"]},{"name":"Vaughn Live / iNSTAGIB","servers":[{"name":"US: Vint Hill, VA","url":"rtmp://live-iad.vaughnsoft.net/live"},{"name":"US: Vint Hill, VA #2","url":"rtmp://live-iad2.vaughnsoft.net/live"},{"name":"US: Dallas, TX","url":"rtmp://live-dfw.vaughnsoft.net/live"},{"name":"US: Denver, CO","url":"rtmp://live-den.vaughnsoft.net/live"},{"name":"US: New York, NY","url":"rtmp://live-nyc.vaughnsoft.net/live"},{"name":"US: Miami, FL","url":"rtmp://live-mia.vaughnsoft.net/live"},{"name":"US: Seattle, WA","url":"rtmp://live-sea.vaughnsoft.net/live"},{"name":"CA: Toronto","url":"rtmp://live-tor.vaughnsoft.net/live"},{"name":"EU: Amsterdam, NL","url":"rtmp://live-ams.vaughnsoft.net/live"},{"name":"EU: London, UK","url":"rtmp://live-lhr.vaughnsoft.net/live"},{"name":"EU: Paris, FR","url":"rtmp://live-lhr.vaughnsoft.net/live"},{"name":"Tokyo, JP","url":"rtmp://live-lhr.vaughnsoft.net/live"}],"recommended":{"keyint":2,"max video bitrate":15000,"max audio bitrate":320},"supported video codecs":["h264"]},{"name":"Breakers.TV","servers":[{"name":"US: Vint Hill, VA","url":"rtmp://live-iad.vaughnsoft.net/live"},{"name":"US: Vint Hill, VA #2","url":"rtmp://live-iad2.vaughnsoft.net/live"},{"name":"US: Dallas, TX","url":"rtmp://live-dfw.vaughnsoft.net/live"},{"name":"US: Denver, CO","url":"rtmp://live-den.vaughnsoft.net/live"},{"name":"US: New York, NY","url":"rtmp://live-nyc.vaughnsoft.net/live"},{"name":"US: Miami, FL","url":"rtmp://live-mia.vaughnsoft.net/live"},{"name":"US: Seattle, WA","url":"rtmp://live-sea.vaughnsoft.net/live"},{"name":"CA: Toronto","url":"rtmp://live-tor.vaughnsoft.net/live"},{"name":"EU: Amsterdam, NL","url":"rtmp://live-ams.vaughnsoft.net/live"},{"name":"EU: London, UK","url":"rtmp://live-lhr.vaughnsoft.net/live"},{"name":"EU: Paris, FR","url":"rtmp://live-lhr.vaughnsoft.net/live"},{"name":"Tokyo, JP","url":"rtmp://live-lhr.vaughnsoft.net/live"}],"recommended":{"keyint":2,"max video bitrate":15000,"max audio bitrate":320},"supported video codecs":["h264"]},{"name":"Facebook Live","common":true,"stream_key_link":"https://www.facebook.com/live/producer?ref=OBS","servers":[{"name":"Default","url":"rtmps://rtmp-api.facebook.com:443/rtmp/"}],"recommended":{"keyint":2,"profile":"main","supported resolutions":["1920x1080","1280x720","852x480","640x360"],"bitrate matrix":[{"res":"640x360","fps":30,"max bitrate":1000},{"res":"640x360","fps":60,"max bitrate":1500},{"res":"852x480","fps":30,"max bitrate":2000},{"res":"852x480","fps":60,"max bitrate":3000},{"res":"1280x720","fps":30,"max bitrate":4000},{"res":"1280x720","fps":60,"max bitrate":6000},{"res":"1920x1080","fps":30,"max bitrate":6000},{"res":"1920x1080","fps":60,"max bitrate":9000}],"max fps":60,"max video bitrate":9000,"max audio bitrate":128},"supported video codecs":["h264"]},{"name":"Restream.io","alt_names":["Restream.io - RTMP","Restream.io - FTL"],"common":true,"stream_key_link":"https://restream.io/settings/streaming-setup?from=OBS","servers":[{"name":"Autodetect","url":"rtmp://live.restream.io/live"},{"name":"EU-West (London, GB)","url":"rtmp://london.restream.io/live"},{"name":"EU-West (Amsterdam, NL)","url":"rtmp://amsterdam.restream.io/live"},{"name":"EU-West (Paris, FR)","url":"rtmp://paris.restream.io/live"},{"name":"EU-Central (Frankfurt, DE)","url":"rtmp://frankfurt.restream.io/live"},{"name":"EU-South (Madrid, Spain)","url":"rtmp://madrid.restream.io/live"},{"name":"Turkey (Istanbul)","url":"rtmp://istanbul.restream.io/live"},{"name":"US-West (Seattle, WA)","url":"rtmp://seattle.restream.io/live"},{"name":"US-West (San Jose, CA)","url":"rtmp://sanjose.restream.io/live"},{"name":"US-Central (Dallas, TX)","url":"rtmp://dallas.restream.io/live"},{"name":"US-East (Chicago, IL)","url":"rtmp://chicago.restream.io/live"},{"name":"US-East (New York, NY)","url":"rtmp://newyork.restream.io/live"},{"name":"US-East (Washington, DC)","url":"rtmp://washington.restream.io/live"},{"name":"NA-East (Toronto, Canada)","url":"rtmp://toronto.restream.io/live"},{"name":"SA (Saint Paul, Brazil)","url":"rtmp://saopaulo.restream.io/live"},{"name":"India (Bangalore)","url":"rtmp://bangalore.restream.io/live"},{"name":"Asia (Hong Kong)","url":"rtmp://hongkong.restream.io/live"},{"name":"Asia (Singapore)","url":"rtmp://singapore.restream.io/live"},{"name":"Asia (Seoul, South Korea)","url":"rtmp://seoul.restream.io/live"},{"name":"Asia (Tokyo, Japan)","url":"rtmp://tokyo.restream.io/live"},{"name":"Australia (Sydney)","url":"rtmp://sydney.restream.io/live"}],"recommended":{"keyint":2},"supported video codecs":["h264"]},{"name":"Castr.io","servers":[{"name":"US-East (Chicago, IL)","url":"rtmp://cg.castr.io/static"},{"name":"US-East (New York, NY)","url":"rtmp://ny.castr.io/static"},{"name":"US-East (Miami, FL)","url":"rtmp://mi.castr.io/static"},{"name":"US-West (Seattle, WA)","url":"rtmp://se.castr.io/static"},{"name":"US-West (Los Angeles, CA)","url":"rtmp://la.castr.io/static"},{"name":"US-Central (Dallas, TX)","url":"rtmp://da.castr.io/static"},{"name":"NA-East (Toronto, CA)","url":"rtmp://qc.castr.io/static"},{"name":"SA (Sao Paulo, BR)","url":"rtmp://br.castr.io/static"},{"name":"EU-West (London, UK)","url":"rtmp://uk.castr.io/static"},{"name":"EU-Central (Frankfurt, DE)","url":"rtmp://fr.castr.io/static"},{"name":"Russia (Moscow)","url":"rtmp://ru.castr.io/static"},{"name":"Asia (Singapore)","url":"rtmp://sg.castr.io/static"},{"name":"Asia (India)","url":"rtmp://in.castr.io/static"},{"name":"Australia (Sydney)","url":"rtmp://au.castr.io/static"},{"name":"US Central","url":"rtmp://us-central.castr.io/static"},{"name":"US West","url":"rtmp://us-west.castr.io/static"},{"name":"US East","url":"rtmp://us-east.castr.io/static"},{"name":"US South","url":"rtmp://us-south.castr.io/static"},{"name":"South America","url":"rtmp://south-am.castr.io/static"},{"name":"EU Central","url":"rtmp://eu-central.castr.io/static"},{"name":"Singapore","url":"rtmp://sg-central.castr.io/static"}],"recommended":{"keyint":2},"supported video codecs":["h264"]},{"name":"Boomstream","servers":[{"name":"Default","url":"rtmp://live.boomstream.com/live"}],"supported video codecs":["h264"]},{"name":"Meridix Live Sports Platform","servers":[{"name":"Primary","url":"rtmp://publish.meridix.com/live"}],"recommended":{"max video bitrate":3500},"supported video codecs":["h264"]},{"name":"AfreecaTV","alt_names":["아프리카TV","Afreeca.TV"],"servers":[{"name":"Asia : Korea","url":"rtmp://rtmpmanager-freecat.afreeca.tv/app"},{"name":"North America : US East","url":"rtmp://rtmp-esu.afreecatv.com/app"},{"name":"North America : US West","url":"rtmp://rtmp-wsu.afreecatv.com/app"},{"name":"South America : Brazil","url":"rtmp://rtmp-brz.afreecatv.com/app"},{"name":"Europe : UK","url":"rtmp://rtmp-uk.afreecatv.com/app"},{"name":"Asia : Singapore","url":"rtmp://rtmp-sgp.afreecatv.com/app"}],"recommended":{"keyint":2,"profile":"main","max video bitrate":8000,"max audio bitrate":192},"supported video codecs":["h264"]},{"name":"CAM4","servers":[{"name":"CAM4","url":"rtmp://origin.cam4.com/cam4-origin-live"}],"recommended":{"keyint":1,"profile":"baseline","max video bitrate":3000,"max audio bitrate":128},"supported video codecs":["h264"]},{"name":"ePlay","servers":[{"name":"ePlay Primary","url":"rtmp://live.eplay.link/origin"}],"recommended":{"keyint":2,"profile":"main","max video bitrate":7500,"max audio bitrate":192},"supported video codecs":["h264"]},{"name":"Picarto","servers":[{"name":"Autoselect closest server","url":"rtmp://live.us.picarto.tv/golive"},{"name":"Los Angeles, USA","url":"rtmp://live.us-losangeles.picarto.tv/golive"},{"name":"Dallas, USA","url":"rtmp://live.us-dallas.picarto.tv/golive"},{"name":"Miami, USA","url":"rtmp://live.us-miami.picarto.tv/golive"},{"name":"New York, USA","url":"rtmp://live.us-newyork.picarto.tv/golive"},{"name":"Europe","url":"rtmp://live.eu-west1.picarto.tv/golive"}],"recommended":{"keyint":2,"profile":"main","max video bitrate":3500},"supported video codecs":["h264"]},{"name":"Livestream","servers":[{"name":"Primary","url":"rtmp://rtmpin.livestreamingest.com/rtmpin"}],"supported video codecs":["h264"]},{"name":"Uscreen","servers":[{"name":"Default","url":"rtmp://global-live.uscreen.app:5222/app"}],"recommended":{"keyint":2,"max video bitrate":8000,"max audio bitrate":192},"supported video codecs":["h264"]},{"name":"Stripchat","servers":[{"name":"Auto","url":"rtmp://live.doppiocdn.com/ext"}],"recommended":{"keyint":2,"profile":"main","bframes":0,"max video bitrate":6000,"max audio bitrate":128,"x264opts":"tune=zerolatency"},"supported video codecs":["h264"]},{"name":"CamSoda","servers":[{"name":"North America","url":"rtmp://obs-ingest-na.livemediahost.com/cam_obs"},{"name":"South America","url":"rtmp://obs-ingest-sa.livemediahost.com/cam_obs"},{"name":"Asia","url":"rtmp://obs-ingest-as.livemediahost.com/cam_obs"},{"name":"Europe","url":"rtmp://obs-ingest-eu.livemediahost.com/cam_obs"},{"name":"Oceania","url":"rtmp://obs-ingest-oc.livemediahost.com/cam_obs"}],"recommended":{"supported resolutions":["1920x1080","1280x720","852x480","480x360"],"max fps":30,"max video bitrate":6000,"max audio bitrate":160,"x264opts":"tune=zerolatency"},"supported video codecs":["h264"]},{"name":"Chaturbate","stream_key_link":"https://chaturbate.com/b/?useExternalSoftware=true","more_info_link":"https://support.chaturbate.com/hc/en-us/articles/360037971952-How-do-I-set-up-OBS","servers":[{"name":"Global Main Fastest - Recommended","url":"rtmp://global.live.mmcdn.com/live-origin"},{"name":"Global Backup","url":"rtmp://global-backup.live.mmcdn.com/live-origin"},{"name":"Asia: Mumbai, India","url":"rtmp://bom.live.mmcdn.com/live-origin"},{"name":"Asia: Singapore","url":"rtmp://sin.live.mmcdn.com/live-origin"},{"name":"Asia: Taiwan","url":"rtmp://tsa.live.mmcdn.com/live-origin"},{"name":"Asia: Tokyo, Japan","url":"rtmp://nrt.live.mmcdn.com/live-origin"},{"name":"Australasia: Sydney, Australia","url":"rtmp://syd.live.mmcdn.com/live-origin"},{"name":"EU East: Sofia, Bulgaria","url":"rtmp://sof.live.mmcdn.com/live-origin"},{"name":"EU East: Warsaw, Poland","url":"rtmp://waw.live.mmcdn.com/live-origin"},{"name":"EU North: Helsinki, Finland","url":"rtmp://hel.live.mmcdn.com/live-origin"},{"name":"EU West: Amsterdam, Netherlands","url":"rtmp://ams.live.mmcdn.com/live-origin"},{"name":"EU West: Frankfurt, Germany","url":"rtmp://fra.live.mmcdn.com/live-origin"},{"name":"EU West: Madrid, Spain","url":"rtmp://mad.live.mmcdn.com/live-origin"},{"name":"EU West: Milan, Italy","url":"rtmp://mxp.live.mmcdn.com/live-origin"},{"name":"EU West: Rotterdam, Netherlands","url":"rtmp://rtm.live.mmcdn.com/live-origin"},{"name":"South America: Bogota, Colombia","url":"rtmp://bog.live.mmcdn.com/live-origin"},{"name":"South America: Sao Paulo, Brazil","url":"rtmp://gru.live.mmcdn.com/live-origin"},{"name":"US Central: Austin, TX","url":"rtmp://aus.live.mmcdn.com/live-origin"},{"name":"US Central: Chicago, IL","url":"rtmp://chi.live.mmcdn.com/live-origin"},{"name":"US East: Ashburn, VA","url":"rtmp://ash.live.mmcdn.com/live-origin"},{"name":"US East: Atlanta, GA","url":"rtmp://atl.live.mmcdn.com/live-origin"},{"name":"US East: Miami, FL","url":"rtmp://mia.live.mmcdn.com/live-origin"},{"name":"US West: Los Angeles, CA","url":"rtmp://lax.live.mmcdn.com/live-origin"},{"name":"US West: Phoenix, AZ","url":"rtmp://phx.live.mmcdn.com/live-origin"},{"name":"US West: Salt Lake City, UT","url":"rtmp://slc.live.mmcdn.com/live-origin"},{"name":"US West: Seattle, WA","url":"rtmp://sea.live.mmcdn.com/live-origin"}],"recommended":{"keyint":2,"max video bitrate":50000,"max audio bitrate":192,"supported resolutions":["3840x2160","2560x1440","1920x1080","1280x720","960x540","852x480","640x360"],"max fps":60},"supported video codecs":["h264"]},{"name":"WpStream","more_info_link":"https://wpstream.net/obs-more-info","stream_key_link":"https://wpstream.net/obs-get-stream-key","servers":[{"name":"Closest server - Automatic","url":"rtmp://ingest.wpstream.net/golive"},{"name":"North America","url":"rtmp://ingest-na.wpstream.net/golive"},{"name":"Europe","url":"rtmp://ingest-eu.wpstream.net/golive"},{"name":"Asia","url":"rtmp://ingest-as.wpstream.net/golive"},{"name":"South America","url":"rtmp://ingest-sa.wpstream.net/golive"},{"name":"Australia & Oceania","url":"rtmp://ingest-au.wpstream.net/golive"}],"recommended":{"keyint":2,"max audio bitrate":160},"supported video codecs":["h264"]},{"name":"Twitter","common":true,"stream_key_link":"https://studio.twitter.com/producer/sources","alt_names":["Twitter / Periscope"],"servers":[{"name":"US West: California","url":"rtmp://ca.pscp.tv:80/x"},{"name":"US West: Oregon","url":"rtmp://or.pscp.tv:80/x"},{"name":"US East: Virginia","url":"rtmp://va.pscp.tv:80/x"},{"name":"South America: Brazil","url":"rtmp://br.pscp.tv:80/x"},{"name":"EU West: France","url":"rtmp://fr.pscp.tv:80/x"},{"name":"EU West: Ireland","url":"rtmp://ie.pscp.tv:80/x"},{"name":"EU Central: Germany","url":"rtmp://de.pscp.tv:80/x"},{"name":"Asia/Pacific: Australia","url":"rtmp://au.pscp.tv:80/x"},{"name":"Asia/Pacific: India","url":"rtmp://in.pscp.tv:80/x"},{"name":"Asia/Pacific: Japan","url":"rtmp://jp.pscp.tv:80/x"},{"name":"Asia/Pacific: Korea","url":"rtmp://kr.pscp.tv:80/x"},{"name":"Asia/Pacific: Singapore","url":"rtmp://sg.pscp.tv:80/x"}],"recommended":{"keyint":3,"max video bitrate":12000,"max audio bitrate":128,"max fps":60},"supported video codecs":["h264"]},{"name":"Switchboard Live","alt_names":["Switchboard Live (Joicaster)"],"servers":[{"name":"Default","url":"rtmps://live.sb.zone:443/live"}],"recommended":{"keyint":2,"profile":"high"},"supported video codecs":["h264"]},{"name":"Eventials","servers":[{"name":"Default","url":"rtmp://transmission.eventials.com/eventialsLiveOrigin"}],"recommended":{"keyint":1,"profile":"baseline","max video bitrate":900,"max audio bitrate":96},"supported video codecs":["h264"]},{"name":"EventLive.pro","servers":[{"name":"Default","url":"rtmp://go.eventlive.pro/live"}],"recommended":{"keyint":2,"max video bitrate":3000,"max audio bitrate":192,"supported resolutions":["1920x1080","1280x720"],"max fps":30},"supported video codecs":["h264"]},{"name":"Lahzenegar - StreamG | لحظه‌نگار - استریمجی","servers":[{"name":"Primary","url":"rtmp://rtmp.lahzecdn.com/pro"},{"name":"Iran","url":"rtmp://rtmp-iran.lahzecdn.com/pro"}],"recommended":{"keyint":2,"profile":"main","max video bitrate":4000,"max audio bitrate":192},"supported video codecs":["h264"]},{"name":"MyLive","servers":[{"name":"Default","url":"rtmp://stream.mylive.in.th/live"}],"recommended":{"keyint":2,"profile":"main","max video bitrate":7000,"max audio bitrate":192},"supported video codecs":["h264"]},{"name":"Trovo","alt_names":["Madcat"],"stream_key_link":"https://studio.trovo.live/mychannel/stream","servers":[{"name":"Default","url":"rtmp://livepush.trovo.live/live/"}],"recommended":{"keyint":2,"max video bitrate":9000,"max audio bitrate":160,"x264opts":"scenecut=0"},"supported video codecs":["h264"]},{"name":"Mixcloud","servers":[{"name":"Default","url":"rtmp://rtmp.mixcloud.com/broadcast"}],"recommended":{"keyint":2,"max video bitrate":6000,"max audio bitrate":320,"supported resolutions":["1280x720","852x480","480x360"],"max fps":30,"x264opts":"scenecut=0"},"supported video codecs":["h264"]},{"name":"SermonAudio Cloud","alt_names":["SermonAudio.com"],"servers":[{"name":"Primary","url":"rtmp://webcast.sermonaudio.com/sa"}],"recommended":{"max video bitrate":2000,"max audio bitrate":128},"supported video codecs":["h264"]},{"name":"Vimeo","servers":[{"name":"Default","url":"rtmp://rtmp.cloud.vimeo.com/live"}],"supported video codecs":["h264"]},{"name":"Aparat","servers":[{"name":"Default","url":"rtmp://rtmp.cdn.asset.aparat.com:443/event"}],"recommended":{"keyint":2,"max video bitrate":6000,"max audio bitrate":320,"x264opts":"scenecut=0"},"supported video codecs":["h264"]},{"name":"KakaoTV","servers":[{"name":"Default","url":"rtmp://rtmp.play.kakao.com/kakaotv"}],"recommended":{"max video bitrate":8000,"max audio bitrate":192},"supported video codecs":["h264"]},{"name":"Piczel.tv","servers":[{"name":"Default","url":"rtmp://piczel.tv:1935/live"}],"recommended":{"keyint":4,"max video bitrate":2500,"max audio bitrate":256,"x264opts":"tune=zerolatency"},"supported video codecs":["h264"]},{"name":"STAGE TEN","servers":[{"name":"STAGE TEN","url":"rtmps://app-rtmp.stageten.tv:443/stageten"}],"recommended":{"keyint":2,"profile":"baseline","max video bitrate":4000,"max audio bitrate":128},"supported video codecs":["h264"]},{"name":"DLive","servers":[{"name":"Default","url":"rtmp://stream.dlive.tv/live"}],"recommended":{"keyint":2,"max video bitrate":6000,"max audio bitrate":160},"supported video codecs":["h264"]},{"name":"Lightcast.com","servers":[{"name":"North America 1","url":"rtmp://ingest-na1.live.lightcast.com/in"},{"name":"North America 2","url":"rtmp://ingest-na2.live.lightcast.com/in"},{"name":"Europe","url":"rtmp://ingest-eu1.live.lightcast.com/in"}],"recommended":{"keyint":2,"max video bitrate":6000,"max audio bitrate":320,"x264opts":"scenecut=0"},"supported video codecs":["h264"]},{"name":"Bongacams","servers":[{"name":"Automatic / Default","url":"rtmp://auto.origin.gnsbc.com:1934/live"},{"name":"Automatic / Backup","url":"rtmp://origin.bcvidorigin.com:1934/live"},{"name":"Europe","url":"rtmp://z-eu.origin.gnsbc.com:1934/live"},{"name":"North America","url":"rtmp://z-us.origin.gnsbc.com:1934/live"}],"recommended":{"keyint":2,"max video bitrate":6000,"max audio bitrate":192,"bframes":0,"x264opts":"tune=zerolatency"},"supported video codecs":["h264"]},{"name":"OnlyFans.com","stream_key_link":"https://onlyfans.com/my/settings/other","servers":[{"name":"CloudBeta","url":"rtmp://cloudbetastreaming.onlyfans.com/live"},{"name":"Backup (USA)","url":"rtmp://route0.onlyfans.com/live"},{"name":"Backup (Europe)","url":"rtmp://route0-dc2.onlyfans.com/live"}],"recommended":{"keyint":2,"profile":"main","max video bitrate":2500,"max audio bitrate":192,"bframes":0,"x264opts":"tune=zerolatency"},"supported video codecs":["h264"]},{"name":"Steam","common":false,"servers":[{"name":"Default","url":"rtmp://ingest-rtmp.broadcast.steamcontent.com/app"}],"recommended":{"keyint":2,"profile":"high","max video bitrate":7000,"max audio bitrate":128},"supported video codecs":["h264"]},{"name":"Konduit.live","servers":[{"name":"Default","url":"rtmp://rtmp.konduit.live/live"}],"recommended":{"keyint":2,"x264opts":"scenecut=0"},"supported video codecs":["h264"]},{"name":"LOCO","servers":[{"name":"Default","url":"rtmp://ivory-ingest.getloconow.com:1935/stream"}],"recommended":{"keyint":2},"supported video codecs":["h264"]},{"name":"niconico, premium member (ニコニコ生放送 プレミアム会員)","servers":[{"name":"Default","url":"rtmp://aliveorigin.dmc.nico/named_input"}],"recommended":{"keyint":2,"profile":"high","max audio bitrate":192,"max video bitrate":5808,"x264opts":"tune=zerolatency"},"supported video codecs":["h264"]},{"name":"niconico, free member (ニコニコ生放送 一般会員)","servers":[{"name":"Default","url":"rtmp://aliveorigin.dmc.nico/named_input"}],"recommended":{"keyint":2,"profile":"high","max audio bitrate":96,"max video bitrate":904,"x264opts":"tune=zerolatency"},"supported video codecs":["h264"]},{"name":"Nimo TV","servers":[{"name":"Global:2","url":"rtmp://txpush.rtmp.nimo.tv/live/"},{"name":"Global:3","url":"rtmp://alpush.rtmp.nimo.tv/live/"}],"recommended":{"keyint":2,"max video bitrate":6000,"max audio bitrate":160},"supported video codecs":["h264"]},{"name":"XLoveCam.com","servers":[{"name":"Europe(main)","url":"rtmp://nl.eu.stream.xlove.com/performer-origin"},{"name":"Europe(Romania)","url":"rtmp://ro.eu.stream.xlove.com/performer-origin"},{"name":"Europe(Russia)","url":"rtmp://ru.eu.stream.xlove.com/performer-origin"},{"name":"North America(US East)","url":"rtmp://usec.na.stream.xlove.com/performer-origin"},{"name":"North America(US West)","url":"rtmp://uswc.na.stream.xlove.com/performer-origin"},{"name":"North America(Canada)","url":"rtmp://ca.na.stream.xlove.com/performer-origin"},{"name":"South America","url":"rtmp://co.sa.stream.xlove.com/performer-origin"},{"name":"Asia","url":"rtmp://sg.as.stream.xlove.com/performer-origin"}],"recommended":{"x264opts":"scenecut=0"},"supported video codecs":["h264"]},{"name":"AngelThump","servers":[{"name":"Auto","url":"rtmp://ingest.angelthump.com/live"},{"name":"New York 3","url":"rtmp://nyc-ingest.angelthump.com:1935/live"},{"name":"San Francisco 2","url":"rtmp://sfo-ingest.angelthump.com:1935/live"},{"name":"Singapore 1","url":"rtmp://sgp-ingest.angelthump.com:1935/live"},{"name":"London 1","url":"rtmp://lon-ingest.angelthump.com:1935/live"},{"name":"Frankfurt 1","url":"rtmp://fra-ingest.angelthump.com:1935/live"},{"name":"Toronto 1","url":"rtmp://tor-ingest.angelthump.com:1935/live"},{"name":"Amsterdam 3","url":"rtmp://ams-ingest.angelthump.com:1935/live"}],"recommended":{"keyint":2,"profile":"high","max video bitrate":3500,"max audio bitrate":160},"supported video codecs":["h264"]},{"name":"api.video","servers":[{"name":"Default","url":"rtmp://broadcast.api.video/s"}],"recommended":{"keyint":2,"max video bitrate":20000,"max audio bitrate":192},"supported video codecs":["h264"]},{"name":"SHOWROOM","protocol":"RTMP","servers":[{"name":"Default","url":"https://www.showroom-live.com/api/obs/streaming_info?obs_key="}],"recommended":{"keyint":2,"profile":"main","max video bitrate":1500,"max audio bitrate":160,"x264opts":"tune=zerolatency"},"supported video codecs":["h264"]},{"name":"Mux","servers":[{"name":"Global (RTMPS)","url":"rtmps://global-live.mux.com:443/app"},{"name":"Global (RTMP)","url":"rtmp://global-live.mux.com:5222/app"}],"recommended":{"keyint":2,"max video bitrate":5000,"max audio bitrate":160},"supported video codecs":["h264"]},{"name":"Viloud","servers":[{"name":"Default","url":"rtmp://live.viloud.tv:5222/app"}],"recommended":{"keyint":2,"max video bitrate":5000,"max audio bitrate":160},"supported video codecs":["h264"]},{"name":"MyFreeCams","servers":[{"name":"Automatic","url":"rtmp://publish.myfreecams.com/NxServer"},{"name":"Australia","url":"rtmp://publish-syd.myfreecams.com/NxServer"},{"name":"East Asia","url":"rtmp://publish-tyo.myfreecams.com/NxServer"},{"name":"Europe (East)","url":"rtmp://publish-buh.myfreecams.com/NxServer"},{"name":"Europe (West)","url":"rtmp://publish-ams.myfreecams.com/NxServer"},{"name":"North America (East Coast)","url":"rtmp://publish-ord.myfreecams.com/NxServer"},{"name":"North America (West Coast)","url":"rtmp://publish-tuk.myfreecams.com/NxServer"},{"name":"South America","url":"rtmp://publish-sao.myfreecams.com/NxServer"}],"recommended":{"keyint":1,"profile":"high","max fps":60,"max video bitrate":10000,"max audio bitrate":192,"x264opts":"tune=zerolatency scenecut=0"},"supported video codecs":["h264"]},{"name":"PolyStreamer.com","servers":[{"name":"Auto-select closest server","url":"rtmp://live.polystreamer.com/live"},{"name":"United States - West","url":"rtmp://us-west.live.polystreamer.com/live"},{"name":"United States - East","url":"rtmp://us-east.live.polystreamer.com/live"},{"name":"Australia","url":"rtmp://aus.live.polystreamer.com/live"},{"name":"India","url":"rtmp://ind.live.polystreamer.com/live"},{"name":"Germany","url":"rtmp://deu.live.polystreamer.com/live"},{"name":"Japan","url":"rtmp://jpn.live.polystreamer.com/live"},{"name":"Singapore","url":"rtmp://sgp.live.polystreamer.com/live"}],"recommended":{"keyint":2},"supported video codecs":["h264"]},{"name":"OPENREC.tv - Premium member (プレミアム会員)","stream_key_link":"https://www.openrec.tv/login?keep_login=true&url=https://www.openrec.tv/dashboard/live?from=obs","servers":[{"name":"Default","url":"rtmp://a.station.openrec.tv:1935/live1"}],"recommended":{"keyint":2,"max video bitrate":5000,"max audio bitrate":160},"supported video codecs":["h264"]},{"name":"nanoStream Cloud / bintu","more_info_link":"https://www.nanocosmos.de/obs","stream_key_link":"https://bintu-cloud-frontend.nanocosmos.de/organisation","servers":[{"name":"bintu-stream global ingest (rtmp)","url":"rtmp://bintu-stream.nanocosmos.de/live"},{"name":"bintu-stream global ingest (rtmps)","url":"rtmps://bintu-stream.nanocosmos.de:1937/live"},{"name":"bintu-vtrans global ingest with transcoding/ABR (rtmp)","url":"rtmp://bintu-vtrans.nanocosmos.de/live"},{"name":"bintu-vtrans global ingest with transcoding/ABR (rtmps)","url":"rtmps://bintu-vtrans.nanocosmos.de:1937/live"},{"name":"bintu-stream Europe (EU)","url":"rtmp://bintu-stream-eu.nanocosmos.de/live"},{"name":"bintu-stream USA West (USW)","url":"rtmp://bintu-stream-usw.nanocosmos.de/live"},{"name":"bintu-stream US East (USE)","url":"rtmp://bintu-stream-use.nanocosmos.de/live"},{"name":"bintu-stream Asia South (ASS)","url":"rtmp://bintu-stream-ass.nanocosmos.de/live"},{"name":"bintu-stream Australia (AU)","url":"rtmp://bintu-stream-au.nanocosmos.de/live"},{"name":"bintu-vtrans Europe (EU)","url":"rtmp://bintu-vtrans-eu.nanocosmos.de/live"},{"name":"bintu-vtrans USA West (USW)","url":"rtmp://bintu-vtrans-usw.nanocosmos.de/live"},{"name":"bintu-vtrans US East (USE)","url":"rtmp://bintu-vtrans-use.nanocosmos.de/live"},{"name":"bintu-vtrans Asia South (ASS)","url":"rtmp://bintu-vtrans-ass.nanocosmos.de/live"},{"name":"bintu-vtrans Australia (AU)","url":"rtmp://bintu-vtrans-au.nanocosmos.de/live"}],"recommended":{"keyint":2,"profile":"baseline","bframes":0,"max video bitrate":5000,"max audio bitrate":192,"x264opts":"tune=zerolatency b-pyramid=0 scenecut=0"},"supported video codecs":["h264"]},{"name":"Dacast","protocol":"RTMP","servers":[{"name":"Default","url":"https://developer.dacast.com/v3/encoder-setup/"}],"recommended":{"keyint":1,"profile":"high","max video bitrate":7000,"max audio bitrate":128},"supported video codecs":["h264"]},{"name":"Bilibili Live - RTMP | 哔哩哔哩直播 - RTMP","more_info_link":"https://link.bilibili.com/p/help/index?id=4#/tools-tutorial","stream_key_link":"https://link.bilibili.com/p/center/index#/my-room/start-live","alt_names":["Bilibili Live"],"servers":[{"name":"Global - Primary | 全球 - 主要","url":"rtmp://live-push.bilivideo.com/live-bvc/"},{"name":"Non Chinese Mainland - Primary | 非中国大陆地区 - 主要","url":"rtmp://bdy.live-push.bilivideo.com/live-bvc/"},{"name":"Chinese Mainland - Backup | 中国大陆地区 - 备用","url":"rtmp://txy2.live-push.bilivideo.com/live-bvc/"},{"name":"Non Chinese Mainland - Backup | 非中国大陆地区 - 备用","url":"rtmp://txy.live-push.bilivideo.com/live-bvc/"}],"supported video codecs":["h264"]},{"name":"Volume.com","stream_key_link":"https://volume.com/b?show_key=1&webrtc=0","servers":[{"name":"Default - Recommended","url":"rtmp://live.volume.com/live-origin"},{"name":"US - West","url":"rtmp://live-pdx.volume.com/live-origin"},{"name":"US - East","url":"rtmp://live-ash.volume.com/live-origin"}],"recommended":{"keyint":2,"max video bitrate":20000,"max fps":60},"supported video codecs":["h264"]},{"name":"BoxCast","stream_key_link":"https://dashboard.boxcast.com/#/sources","servers":[{"name":"BoxCast","url":"rtmp://rtmp.boxcast.com/live"}],"supported video codecs":["h264"]},{"name":"Disciple Media","servers":[{"name":"Default","url":"rtmp://rtmp.disciplemedia.com/b-fme"}],"supported video codecs":["h264"]},{"name":"Jio Games","servers":[{"name":"Primary","url":"rtmp://livepub1.api.engageapps.jio/live"},{"name":"Secondary","url":"rtmp://livepub2.api.engageapps.jio/live"}],"recommended":{"keyint":2,"max video bitrate":32000,"max audio bitrate":256},"supported video codecs":["h264"]},{"name":"Kuaishou Live","stream_key_link":"https://studio.kuaishou.com/live/list","servers":[{"name":"Default","url":"rtmp://open-push.voip.yximgs.com/gifshow/"},{"name":"North America","url":"rtmp://tx.push.yximgs.com/live/"}],"supported video codecs":["h264"]},{"name":"Playeur","alt_names":["Utreon"],"servers":[{"name":"Default","url":"rtmp://live.playeur.com:5222/app"}],"recommended":{"keyint":2,"max video bitrate":5000,"max audio bitrate":160},"supported video codecs":["h264"]},{"name":"Autistici.org Live","servers":[{"name":"Default","url":"rtmp://live.autistici.org/ingest"}],"recommended":{"keyint":2,"max video bitrate":2500,"max audio bitrate":128},"supported video codecs":["h264"]},{"name":"PhoneLiveStreaming","stream_key_link":"https://app.phonelivestreaming.com/media/rtmp","servers":[{"name":"PhoneLiveStreaming","url":"rtmp://live.phonelivestreaming.com/live/"}],"recommended":{"keyint":2,"max video bitrate":128,"max audio bitrate":160},"supported video codecs":["h264"]},{"name":"Sympla","servers":[{"name":"Sympla RTMP","url":"rtmp://rtmp.sympla.com.br:5222/app"}],"recommended":{"keyint":2,"max video bitrate":5000,"max audio bitrate":160},"supported video codecs":["h264"]},{"name":"Mildom","more_info_link":"https://support.mildom.com/hc/ja/articles/360056569954","stream_key_link":"https://www.mildom.com/creator/live","servers":[{"name":"Global","url":"rtmp://txlvb-push.mildom.tv/live"}],"recommended":{"keyint":2,"max video bitrate":6000,"max audio bitrate":160},"supported video codecs":["h264"]},{"name":"Livepush","more_info_link":"https://docs.livepush.io/en/articles/5065323-how-to-stream-live-from-obs-to-livepush","servers":[{"name":"Livepush Global (Default)","url":"rtmp://dc-global.livepush.io/live"},{"name":"Chicago, US","url":"rtmp://us-central-ch.livepush.io/live"},{"name":"New York, US","url":"rtmp://us-east-ny.livepush.io/live"},{"name":"Los Angeles, US","url":"rtmp://us-west-la.livepush.io/live"},{"name":"Miami, US","url":"rtmp://us-south-mia.livepush.io/live"},{"name":"Dallas, US","url":"rtmp://us-central-dal.livepush.io/live"},{"name":"Montreal, CA","url":"rtmp://ca-central-mon.livepush.io/live"},{"name":"Toronto, CA","url":"rtmp://ca-south-tor.livepush.io/live"},{"name":"Sydney, AU","url":"rtmp://au-east-syd.livepush.io/live"},{"name":"London, UK","url":"rtmp://uk-central-ldn.livepush.io/live"},{"name":"Milan, Italy","url":"rtmp://it-north-mln.livepush.io/live"},{"name":"Paris, FR","url":"rtmp://fr-central-par.livepush.io/live"},{"name":"Singapore","url":"rtmp://as-southeast-sg.livepush.io/live"},{"name":"Bangalore, IN","url":"rtmp://in-south-blr.livepush.io/live"}],"recommended":{"keyint":2,"max video bitrate":16000},"supported video codecs":["h264"]},{"name":"Vindral","more_info_link":"https://docs.vindral.com/docs/vindral-cdn/","stream_key_link":"https://portal.cdn.vindral.com/channels","servers":[{"name":"Global","url":"rtmps://rtmp.global.cdn.vindral.com/publish"}],"recommended":{"keyint":1,"profile":"high","bframes":0,"max video bitrate":20000,"max audio bitrate":192},"supported video codecs":["h264"]},{"name":"Whowatch (ふわっち)","more_info_link":"https://whowatch.tv/help/encoder","stream_key_link":"https://whowatch.tv/publish","servers":[{"name":"default","url":"rtmp://live.whowatch.tv/live/"}],"recommended":{"keyint":2,"max video bitrate":1800,"max audio bitrate":192},"supported video codecs":["h264"]},{"name":"IRLToolkit","stream_key_link":"https://irl.run/settings/ingest/","servers":[{"name":"Global (Recommended)","url":"rtmps://stream.global.irl.run/ingest"},{"name":"Los Angeles, US","url":"rtmps://stream.lax.irl.run/ingest"},{"name":"Dallas, US","url":"rtmps://stream.dal.irl.run/ingest"},{"name":"New York, US","url":"rtmps://stream.ewr.irl.run/ingest"},{"name":"Miami, US","url":"rtmps://stream.mia.irl.run/ingest"},{"name":"Amsterdam, NL","url":"rtmps://stream.ams.irl.run/ingest"},{"name":"Frankfurt, DE","url":"rtmps://stream.fra.irl.run/ingest"},{"name":"Singapore","url":"rtmps://stream.sin.irl.run/ingest"},{"name":"Tokyo, JP","url":"rtmps://stream.tyo.irl.run/ingest"},{"name":"Sydney, AU","url":"rtmps://stream.syd.irl.run/ingest"}],"recommended":{"keyint":2,"bframes":2,"max video bitrate":20000,"max audio bitrate":256},"supported video codecs":["h264"]},{"name":"Bitmovin","more_info_link":"https://developer.bitmovin.com/docs/overview","stream_key_link":"https://bitmovin.com/dashboard/streams?streamsTab=LIVE","servers":[{"name":"Streams Live","url":"rtmp://live-input.bitmovin.com/streams"}],"recommended":{"keyint":2},"supported video codecs":["h264"]},{"name":"Live Streamer Cafe","more_info_link":"https://livestreamercafe.com/help.php","stream_key_link":"https://livestreamercafe.com/profile.php","servers":[{"name":"Live Streamer Cafe Server","url":"rtmp://tophicles.com/live"}],"recommended":{"keyint":2,"max video bitrate":6000},"supported video codecs":["h264"]},{"name":"Enchant.events","more_info_link":"https://docs.enchant.events/knowledge-base-y4pOb","servers":[{"name":"Primary RTMPS","url":"rtmps://stream.enchant.cloud:443/live"}],"recommended":{"keyint":2,"profile":"high","max video bitrate":9000,"max audio bitrate":192},"supported video codecs":["h264"]},{"name":"Joystick.TV","more_info_link":"https://support.joystick.tv/live_streaming/","stream_key_link":"https://joystick.tv/stream-settings","servers":[{"name":"North America","url":"rtmp://live.joystick.tv/live/"},{"name":"Europe","url":"rtmp://eu.live.joystick.tv/live/"}],"recommended":{"keyint":2,"max video bitrate":7500,"max audio bitrate":192,"max fps":60,"profile":"main","bframes":0,"x264opts":"tune=zerolatency scenecut=0"},"supported video codecs":["h264"]},{"name":"Livepeer Studio","more_info_link":"https://docs.livepeer.org/guides/developing/stream-via-obs","stream_key_link":"https://livepeer.studio/dashboard/streams","servers":[{"name":"Global (RTMP)","url":"rtmp://rtmp.livepeer.com/live"},{"name":"Global (RTMP Primary)","url":"rtmp://rtmp-a.livepeer.com/live"},{"name":"Global (RTMP Backup)","url":"rtmp://rtmp-b.livepeer.com/live"}],"recommended":{"keyint":1,"profile":"high","bframes":0,"max video bitrate":20000,"max audio bitrate":512},"supported video codecs":["h264"]},{"name":"MasterStream.iR | مستراستریم | ری استریم و استریم همزمان","common":false,"more_info_link":"https://masterstream.ir/webpage/page/docs","stream_key_link":"https://masterstream.ir/managestreams.php","servers":[{"name":"Iran Server 1 - Bandwidth Required","url":"rtmp://live-vip1.masterstream.ir/live"},{"name":"Iran Server 2 - Bandwidth Required","url":"rtmp://live-vip2.masterstream.ir/live"},{"name":"Turkey Server 1","url":"rtmp://tr-live1.masterstream.ir/live"},{"name":"Russia Server 1","url":"rtmp://ru-live1.masterstream.ir/live"}],"protocol":"RTMP","supported video codecs":["h264"],"recommended":{"keyint":2,"supported resolutions":["1920x1080","1280x720","852x480","640x360"],"max video bitrate":6000,"max audio bitrate":320,"x264opts":"scenecut=0"}},{"name":"PandaTV | 팬더티비","common":false,"servers":[{"name":"Default","url":"rtmp://rtmp.pandalive.co.kr/app"}],"recommended":{"keyint":2,"supported resolutions":["1920x1080","1280x720","852x480","640x360"],"max video bitrate":7500,"max audio bitrate":320,"x264opts":"scenecut=0"},"supported video codecs":["h264"]},{"name":"Vault - by CommanderRoot","common":false,"more_info_link":"https://vault.root-space.eu/","stream_key_link":"https://vault.root-space.eu/recordings","servers":[{"name":"EU - Central","url":"rtmp://ingest-eu-central.vault.root-space.eu/app"},{"name":"US - West","url":"rtmp://ingest-us-west.vault.root-space.eu/app"}],"protocol":"RTMP","supported video codecs":["h264"],"supported audio codecs":["aac"],"recommended":{"keyint":2,"max video bitrate":7800,"max audio bitrate":320,"x264opts":"scenecut=0"}},{"name":"CHZZK","common":false,"stream_key_link":"https://studio.chzzk.naver.com/setting","servers":[{"name":"Default","url":"rtmp://global-rtmp.lip2.navercorp.com:8080/relay"}],"supported video codecs":["h264"],"recommended":{"keyint":1,"bframes":0,"max fps":60,"max video bitrate":8000,"max audio bitrate":192,"x264opts":"tune=zerolatency scenecut=0","supported resolutions":["1920x1080"]}},{"name":"Streamway","common":false,"more_info_link":"https://support.streamway.in/how-to-connect-obs-studio-to-streamway/","stream_key_link":"https://app.streamway.in/broadcasts","servers":[{"name":"Primary","url":"rtmp://injest.streamway.in/LiveApp"},{"name":"Backup","url":"rtmps://bkp.streamway.in:443/live"}],"protocol":"RTMP","supported video codecs":["h264"],"recommended":{"keyint":2}},{"name":"SharePlay.tv","common":false,"stream_key_link":"https://playstudio.shareplay.tv/stream/settings","servers":[{"name":"Default (Auto Detect)","url":"rtmp://stream.shareplay.tv"},{"name":"Miami, Florida, USA","url":"rtmp://live-us-mia-stream.shareplay.tv"},{"name":"Chicago, Illinois, USA","url":"rtmp://live-us-ord-stream.shareplay.tv"},{"name":"Washington D.C., USA","url":"rtmp://live-us-iad-stream.shareplay.tv"},{"name":"Los Angeles, California, USA","url":"rtmp://live-us-lax-stream.shareplay.tv"},{"name":"Seattle, Washington, USA","url":"rtmp://live-us-sea-stream.shareplay.tv"},{"name":"Paris, France","url":"rtmp://live-fr-par-stream.shareplay.tv"},{"name":"Milan, Italy","url":"rtmp://live-it-mil-stream.shareplay.tv"},{"name":"Sydney, Australia","url":"rtmp://live-au-syd-stream.shareplay.tv"},{"name":"Toronto, Canada","url":"rtmp://live-ca-yyz-stream.shareplay.tv"},{"name":"London, UK","url":"rtmp://live-uk-lhr-stream.shareplay.tv"},{"name":"Atlanta, Georgia, USA","url":"rtmp://live-us-atl-stream.shareplay.tv"},{"name":"Dallas, Texas, USA","url":"rtmp://live-us-dfw-stream.shareplay.tv"}],"supported video codecs":["h264"],"recommended":{"keyint":2,"max video bitrate":12000,"max audio bitrate":320}},{"name":"sheeta","common":false,"more_info_link":"https://partner-support.sheeta.com/hc/ja/articles/4404573942425-%E7%94%9F%E6%94%BE%E9%80%81%E3%81%AE%E9%85%8D%E4%BF%A1%E6%96%B9%E6%B3%95","servers":[{"name":"Default","url":"rtmp://lsm.sheeta.com:1935/lsm"}],"protocol":"RTMP","supported video codecs":["h264"],"supported audio codecs":["aac"],"recommended":{"keyint":1,"profile":"main","supported resolutions":["1920x1080","1280x720","854x480","640x480"],"bitrate matrix":[{"res":"1920x1080","fps":30,"max bitrate":6000},{"res":"1280x720","fps":30,"max bitrate":4700},{"res":"854x480","fps":30,"max bitrate":3400},{"res":"640x480","fps":30,"max bitrate":3400},{"res":"1920x1080","fps":60,"max bitrate":9000},{"res":"1280x720","fps":60,"max bitrate":7000},{"res":"854x480","fps":60,"max bitrate":5000},{"res":"640x480","fps":60,"max bitrate":5000}],"max fps":60,"max video bitrate":9000,"max audio bitrate":512,"x264opts":"scenecut=0","output":"rtmp_output"}},{"name":"Amazon IVS","supported video codecs":["h264"],"servers":[{"name":"Asia: China, Hong Kong (6) (RTMPS)","url":"rtmps://hkg06.contribute.live-video.net/app"},{"name":"Asia: India, Bangalore (1) (RTMPS)","url":"rtmps://blr01.contribute.live-video.net/app"},{"name":"Asia: India, Chennai (RTMPS)","url":"rtmps://maa01.contribute.live-video.net/app"},{"name":"Asia: India, Hyderabad (1) (RTMPS)","url":"rtmps://hyd01.contribute.live-video.net/app"},{"name":"Asia: India, Mumbai (RTMPS)","url":"rtmps://bom01.contribute.live-video.net/app"},{"name":"Asia: India, New Delhi (RTMPS)","url":"rtmps://del01.contribute.live-video.net/app"},{"name":"Asia: Indonesia, Cikarang Barat (1) (RTMPS)","url":"rtmps://jkt01.contribute.live-video.net/app"},{"name":"Asia: Indonesia, Jakarta (2) (RTMPS)","url":"rtmps://jkt02.contribute.live-video.net/app"},{"name":"Asia: Japan, Osaka (1) (RTMPS)","url":"rtmps://osa01.contribute.live-video.net/app"},{"name":"Asia: Japan, Tokyo (3) (RTMPS)","url":"rtmps://tyo03.contribute.live-video.net/app"},{"name":"Asia: Japan, Tokyo (5) (RTMPS)","url":"rtmps://tyo05.contribute.live-video.net/app"},{"name":"Asia: Manila, Philippines (1) (RTMPS)","url":"rtmps://mnl01.contribute.live-video.net/app"},{"name":"Asia: Singapore (1) (RTMPS)","url":"rtmps://sin01.contribute.live-video.net/app"},{"name":"Asia: Singapore (4) (RTMPS)","url":"rtmps://sin04.contribute.live-video.net/app"},{"name":"Asia: South Korea, Seoul (3) (RTMPS)","url":"rtmps://sel03.contribute.live-video.net/app"},{"name":"Asia: South Korea, Seoul (4) (RTMPS)","url":"rtmps://sel04.contribute.live-video.net/app"},{"name":"Asia: Taiwan, Taipei (1) (RTMPS)","url":"rtmps://tpe01.contribute.live-video.net/app"},{"name":"Asia: Taiwan, Taipei (3) (RTMPS)","url":"rtmps://tpe03.contribute.live-video.net/app"},{"name":"Asia: Thailand, Bangkok (2) (RTMPS)","url":"rtmps://bkk02.contribute.live-video.net/app"},{"name":"Europe: Austria, Vienna (2) (RTMPS)","url":"rtmps://vie02.contribute.live-video.net/app"},{"name":"Europe: Czech Republic, Prague (RTMPS)","url":"rtmps://prg03.contribute.live-video.net/app"},{"name":"Europe: Denmark, Copenhagen (RTMPS)","url":"rtmps://cph.contribute.live-video.net/app"},{"name":"Europe: Finland, Helsinki (3) (RTMPS)","url":"rtmps://hel03.contribute.live-video.net/app"},{"name":"Europe: France, Marseille (RTMPS)","url":"rtmps://mrs.contribute.live-video.net/app"},{"name":"Europe: France, Marseille (2) (RTMPS)","url":"rtmps://mrs02.contribute.live-video.net/app"},{"name":"Europe: France, Paris (10) (RTMPS)","url":"rtmps://cdg10.contribute.live-video.net/app"},{"name":"Europe: France, Paris (2) (RTMPS)","url":"rtmps://cdg02.contribute.live-video.net/app"},{"name":"Europe: Germany, Berlin (RTMPS)","url":"rtmps://ber.contribute.live-video.net/app"},{"name":"Europe: Germany, Dusseldorf (1) (RTMPS)","url":"rtmps://dus01.contribute.live-video.net/app"},{"name":"Europe: Germany, Frankfurt (2) (RTMPS)","url":"rtmps://fra02.contribute.live-video.net/app"},{"name":"Europe: Germany, Frankfurt (5) (RTMPS)","url":"rtmps://fra05.contribute.live-video.net/app"},{"name":"Europe: Germany, Frankfurt (6) (RTMPS)","url":"rtmps://fra06.contribute.live-video.net/app"},{"name":"Europe: Germany, Munich (1) (RTMPS)","url":"rtmps://muc01.contribute.live-video.net/app"},{"name":"Europe: Italy, Milan (2) (RTMPS)","url":"rtmps://mil02.contribute.live-video.net/app"},{"name":"Europe: Netherlands, Amsterdam (2) (RTMPS)","url":"rtmps://ams02.contribute.live-video.net/app"},{"name":"Europe: Netherlands, Amsterdam (3) (RTMPS)","url":"rtmps://ams03.contribute.live-video.net/app"},{"name":"Europe: Norway, Oslo (RTMPS)","url":"rtmps://osl.contribute.live-video.net/app"},{"name":"Europe: Poland, Warsaw (2) (RTMPS)","url":"rtmps://waw02.contribute.live-video.net/app"},{"name":"Europe: Spain, Madrid (1) (RTMPS)","url":"rtmps://mad01.contribute.live-video.net/app"},{"name":"Europe: Spain, Madrid (2) (RTMPS)","url":"rtmps://mad02.contribute.live-video.net/app"},{"name":"Europe: Sweden, Stockholm (3) (RTMPS)","url":"rtmps://arn03.contribute.live-video.net/app"},{"name":"Europe: Sweden, Stockholm (4) (RTMPS)","url":"rtmps://arn04.contribute.live-video.net/app"},{"name":"Europe: UK, London (3) (RTMPS)","url":"rtmps://lhr03.contribute.live-video.net/app"},{"name":"Europe: UK, London (4) (RTMPS)","url":"rtmps://lhr04.contribute.live-video.net/app"},{"name":"Europe: UK, London (8) (RTMPS)","url":"rtmps://lhr08.contribute.live-video.net/app"},{"name":"NA: Canada, Quebec (RTMPS)","url":"rtmps://ymq03.contribute.live-video.net/app"},{"name":"NA: Canada, Toronto (RTMPS)","url":"rtmps://yto.contribute.live-video.net/app"},{"name":"NA: Mexico, Queretaro (3) (RTMPS)","url":"rtmps://qro03.contribute.live-video.net/app"},{"name":"NA: Mexico, Queretaro (4) (RTMPS)","url":"rtmps://qro04.contribute.live-video.net/app"},{"name":"Oceania: Australia, Sydney (2) (RTMPS)","url":"rtmps://syd02.contribute.live-video.net/app"},{"name":"Oceania: Australia, Sydney (3) (RTMPS)","url":"rtmps://syd03.contribute.live-video.net/app"},{"name":"South America: Brazil, Fortaleza (1) (RTMPS)","url":"rtmps://for01.contribute.live-video.net/app"},{"name":"South America: Brazil, Rio de Janeiro (3) (RTMPS)","url":"rtmps://rio03.contribute.live-video.net/app"},{"name":"South America: Brazil, Rio de Janeiro (4) (RTMPS)","url":"rtmps://rio04.contribute.live-video.net/app"},{"name":"South America: Brazil, Sao Paulo (RTMPS)","url":"rtmps://sao03.contribute.live-video.net/app"},{"name":"South America: Brazil, Sao Paulo (5) (RTMPS)","url":"rtmps://sao05.contribute.live-video.net/app"},{"name":"South America: Buenos Aires, Argentina (1) (RTMPS)","url":"rtmps://bue01.contribute.live-video.net/app"},{"name":"South America: Colombia, Bogota (1) (RTMPS)","url":"rtmps://bog01.contribute.live-video.net/app"},{"name":"US Central: Dallas, TX (RTMPS)","url":"rtmps://dfw.contribute.live-video.net/app"},{"name":"US Central: Dallas, TX (2) (RTMPS)","url":"rtmps://dfw02.contribute.live-video.net/app"},{"name":"US Central: Denver, CO (52) (RTMPS)","url":"rtmps://den52.contribute.live-video.net/app"},{"name":"US Central: Garland, TX (56) (RTMPS)","url":"rtmps://dfw56.contribute.live-video.net/app"},{"name":"US Central: Houston, TX (50) (RTMPS)","url":"rtmps://iah50.contribute.live-video.net/app"},{"name":"US East: Ashburn, VA (5) (RTMPS)","url":"rtmps://iad05.contribute.live-video.net/app"},{"name":"US East: Atlanta, GA (RTMPS)","url":"rtmps://atl.contribute.live-video.net/app"},{"name":"US East: Chicago, IL (3) (RTMPS)","url":"rtmps://ord03.contribute.live-video.net/app"},{"name":"US East: Chicago, IL (56) (RTMPS)","url":"rtmps://ord56.contribute.live-video.net/app"},{"name":"US East: McAllen, TX (1) (RTMPS)","url":"rtmps://mfe01.contribute.live-video.net/app"},{"name":"US East: Miami, FL (5) (RTMPS)","url":"rtmps://mia05.contribute.live-video.net/app"},{"name":"US East: New York, NY (RTMPS)","url":"rtmps://jfk.contribute.live-video.net/app"},{"name":"US East: New York, NY (50) (RTMPS)","url":"rtmps://jfk50.contribute.live-video.net/app"},{"name":"US West: Los Angeles, CA (RTMPS)","url":"rtmps://lax.contribute.live-video.net/app"},{"name":"US West: Salt Lake City, UT (RTMPS)","url":"rtmps://slc.contribute.live-video.net/app"},{"name":"US West: San Francisco, CA (RTMPS)","url":"rtmps://sfo.contribute.live-video.net/app"},{"name":"US West: San Jose, California (6) (RTMPS)","url":"rtmps://sjc06.contribute.live-video.net/app"},{"name":"US West: Seattle, WA (RTMPS)","url":"rtmps://sea.contribute.live-video.net/app"},{"name":"US West: Seattle, WA (2) (RTMPS)","url":"rtmps://sea02.contribute.live-video.net/app"},{"name":"Asia: China, Hong Kong (6) (RTMP)","url":"rtmp://hkg06.contribute.live-video.net/app"},{"name":"Asia: India, Bangalore (1) (RTMP)","url":"rtmp://blr01.contribute.live-video.net/app"},{"name":"Asia: India, Chennai (RTMP)","url":"rtmp://maa01.contribute.live-video.net/app"},{"name":"Asia: India, Hyderabad (1) (RTMP)","url":"rtmp://hyd01.contribute.live-video.net/app"},{"name":"Asia: India, Mumbai (RTMP)","url":"rtmp://bom01.contribute.live-video.net/app"},{"name":"Asia: India, New Delhi (RTMP)","url":"rtmp://del01.contribute.live-video.net/app"},{"name":"Asia: Indonesia, Cikarang Barat (1) (RTMP)","url":"rtmp://jkt01.contribute.live-video.net/app"},{"name":"Asia: Indonesia, Jakarta (2) (RTMP)","url":"rtmp://jkt02.contribute.live-video.net/app"},{"name":"Asia: Japan, Osaka (1) (RTMP)","url":"rtmp://osa01.contribute.live-video.net/app"},{"name":"Asia: Japan, Tokyo (3) (RTMP)","url":"rtmp://tyo03.contribute.live-video.net/app"},{"name":"Asia: Japan, Tokyo (5) (RTMP)","url":"rtmp://tyo05.contribute.live-video.net/app"},{"name":"Asia: Manila, Philippines (1) (RTMP)","url":"rtmp://mnl01.contribute.live-video.net/app"},{"name":"Asia: Singapore (1) (RTMP)","url":"rtmp://sin01.contribute.live-video.net/app"},{"name":"Asia: Singapore (4) (RTMP)","url":"rtmp://sin04.contribute.live-video.net/app"},{"name":"Asia: South Korea, Seoul (3) (RTMP)","url":"rtmp://sel03.contribute.live-video.net/app"},{"name":"Asia: South Korea, Seoul (4) (RTMP)","url":"rtmp://sel04.contribute.live-video.net/app"},{"name":"Asia: Taiwan, Taipei (1) (RTMP)","url":"rtmp://tpe01.contribute.live-video.net/app"},{"name":"Asia: Taiwan, Taipei (3) (RTMP)","url":"rtmp://tpe03.contribute.live-video.net/app"},{"name":"Asia: Thailand, Bangkok (2) (RTMP)","url":"rtmp://bkk02.contribute.live-video.net/app"},{"name":"Europe: Austria, Vienna (2) (RTMP)","url":"rtmp://vie02.contribute.live-video.net/app"},{"name":"Europe: Czech Republic, Prague (RTMP)","url":"rtmp://prg03.contribute.live-video.net/app"},{"name":"Europe: Denmark, Copenhagen (RTMP)","url":"rtmp://cph.contribute.live-video.net/app"},{"name":"Europe: Finland, Helsinki (3) (RTMP)","url":"rtmp://hel03.contribute.live-video.net/app"},{"name":"Europe: France, Marseille (RTMP)","url":"rtmp://mrs.contribute.live-video.net/app"},{"name":"Europe: France, Marseille (2) (RTMP)","url":"rtmp://mrs02.contribute.live-video.net/app"},{"name":"Europe: France, Paris (10) (RTMP)","url":"rtmp://cdg10.contribute.live-video.net/app"},{"name":"Europe: France, Paris (2) (RTMP)","url":"rtmp://cdg02.contribute.live-video.net/app"},{"name":"Europe: Germany, Berlin (RTMP)","url":"rtmp://ber.contribute.live-video.net/app"},{"name":"Europe: Germany, Dusseldorf (1) (RTMP)","url":"rtmp://dus01.contribute.live-video.net/app"},{"name":"Europe: Germany, Frankfurt (2) (RTMP)","url":"rtmp://fra02.contribute.live-video.net/app"},{"name":"Europe: Germany, Frankfurt (5) (RTMP)","url":"rtmp://fra05.contribute.live-video.net/app"},{"name":"Europe: Germany, Frankfurt (6) (RTMP)","url":"rtmp://fra06.contribute.live-video.net/app"},{"name":"Europe: Germany, Munich (1) (RTMP)","url":"rtmp://muc01.contribute.live-video.net/app"},{"name":"Europe: Italy, Milan (2) (RTMP)","url":"rtmp://mil02.contribute.live-video.net/app"},{"name":"Europe: Netherlands, Amsterdam (2) (RTMP)","url":"rtmp://ams02.contribute.live-video.net/app"},{"name":"Europe: Netherlands, Amsterdam (3) (RTMP)","url":"rtmp://ams03.contribute.live-video.net/app"},{"name":"Europe: Norway, Oslo (RTMP)","url":"rtmp://osl.contribute.live-video.net/app"},{"name":"Europe: Poland, Warsaw (2) (RTMP)","url":"rtmp://waw02.contribute.live-video.net/app"},{"name":"Europe: Spain, Madrid (1) (RTMP)","url":"rtmp://mad01.contribute.live-video.net/app"},{"name":"Europe: Spain, Madrid (2) (RTMP)","url":"rtmp://mad02.contribute.live-video.net/app"},{"name":"Europe: Sweden, Stockholm (3) (RTMP)","url":"rtmp://arn03.contribute.live-video.net/app"},{"name":"Europe: Sweden, Stockholm (4) (RTMP)","url":"rtmp://arn04.contribute.live-video.net/app"},{"name":"Europe: UK, London (3) (RTMP)","url":"rtmp://lhr03.contribute.live-video.net/app"},{"name":"Europe: UK, London (4) (RTMP)","url":"rtmp://lhr04.contribute.live-video.net/app"},{"name":"Europe: UK, London (8) (RTMP)","url":"rtmp://lhr08.contribute.live-video.net/app"},{"name":"NA: Canada, Quebec (RTMP)","url":"rtmp://ymq03.contribute.live-video.net/app"},{"name":"NA: Canada, Toronto (RTMP)","url":"rtmp://yto.contribute.live-video.net/app"},{"name":"NA: Mexico, Queretaro (3) (RTMP)","url":"rtmp://qro03.contribute.live-video.net/app"},{"name":"NA: Mexico, Queretaro (4) (RTMP)","url":"rtmp://qro04.contribute.live-video.net/app"},{"name":"Oceania: Australia, Sydney (2) (RTMP)","url":"rtmp://syd02.contribute.live-video.net/app"},{"name":"Oceania: Australia, Sydney (3) (RTMP)","url":"rtmp://syd03.contribute.live-video.net/app"},{"name":"South America: Brazil, Fortaleza (1) (RTMP)","url":"rtmp://for01.contribute.live-video.net/app"},{"name":"South America: Brazil, Rio de Janeiro (3) (RTMP)","url":"rtmp://rio03.contribute.live-video.net/app"},{"name":"South America: Brazil, Rio de Janeiro (4) (RTMP)","url":"rtmp://rio04.contribute.live-video.net/app"},{"name":"South America: Brazil, Sao Paulo (RTMP)","url":"rtmp://sao03.contribute.live-video.net/app"},{"name":"South America: Brazil, Sao Paulo (5) (RTMP)","url":"rtmp://sao05.contribute.live-video.net/app"},{"name":"South America: Buenos Aires, Argentina (1) (RTMP)","url":"rtmp://bue01.contribute.live-video.net/app"},{"name":"South America: Colombia, Bogota (1) (RTMP)","url":"rtmp://bog01.contribute.live-video.net/app"},{"name":"US Central: Dallas, TX (RTMP)","url":"rtmp://dfw.contribute.live-video.net/app"},{"name":"US Central: Dallas, TX (2) (RTMP)","url":"rtmp://dfw02.contribute.live-video.net/app"},{"name":"US Central: Denver, CO (52) (RTMP)","url":"rtmp://den52.contribute.live-video.net/app"},{"name":"US Central: Garland, TX (56) (RTMP)","url":"rtmp://dfw56.contribute.live-video.net/app"},{"name":"US Central: Houston, TX (50) (RTMP)","url":"rtmp://iah50.contribute.live-video.net/app"},{"name":"US East: Ashburn, VA (5) (RTMP)","url":"rtmp://iad05.contribute.live-video.net/app"},{"name":"US East: Atlanta, GA (RTMP)","url":"rtmp://atl.contribute.live-video.net/app"},{"name":"US East: Chicago, IL (3) (RTMP)","url":"rtmp://ord03.contribute.live-video.net/app"},{"name":"US East: Chicago, IL (56) (RTMP)","url":"rtmp://ord56.contribute.live-video.net/app"},{"name":"US East: McAllen, TX (1) (RTMP)","url":"rtmp://mfe01.contribute.live-video.net/app"},{"name":"US East: Miami, FL (5) (RTMP)","url":"rtmp://mia05.contribute.live-video.net/app"},{"name":"US East: New York, NY (RTMP)","url":"rtmp://jfk.contribute.live-video.net/app"},{"name":"US East: New York, NY (50) (RTMP)","url":"rtmp://jfk50.contribute.live-video.net/app"},{"name":"US West: Los Angeles, CA (RTMP)","url":"rtmp://lax.contribute.live-video.net/app"},{"name":"US West: Salt Lake City, UT (RTMP)","url":"rtmp://slc.contribute.live-video.net/app"},{"name":"US West: San Francisco, CA (RTMP)","url":"rtmp://sfo.contribute.live-video.net/app"},{"name":"US West: San Jose, California (6) (RTMP)","url":"rtmp://sjc06.contribute.live-video.net/app"},{"name":"US West: Seattle, WA (RTMP)","url":"rtmp://sea.contribute.live-video.net/app"},{"name":"US West: Seattle, WA (2) (RTMP)","url":"rtmp://sea02.contribute.live-video.net/app"}],"multitrack_video_configuration_url":"https://ingest.contribute.live-video.net/api/v3/GetClientConfiguration","recommended":{"keyint":2,"x264opts":"scenecut=0"}},{"name":"Dolby Millicast","common":false,"more_info_link":"https://docs.dolby.io/streaming-apis/docs/using-obs","stream_key_link":"https://streaming.dolby.io","servers":[{"name":"Global (RTMPS)","url":"rtmps://rtmp-auto.millicast.com:443/v2/pub"},{"name":"Global (RTMP)","url":"rtmp://rtmp-auto.millicast.com:1935/v2/pub"},{"name":"Bangalore, India (RTMPS)","url":"rtmps://rtmp-blr-1.millicast.com:443/v2/pub"},{"name":"Bangalore, India (RTMP)","url":"rtmp://rtmp-blr-1.millicast.com:1935/v2/pub"},{"name":"Frankfurt, Germany (RTMPS)","url":"rtmps://rtmp-fra-1.millicast.com:443/v2/pub"},{"name":"Frankfurt, Germany (RTMP)","url":"rtmp://rtmp-fra-1.millicast.com:1935/v2/pub"},{"name":"Ashburn, Virginia, USA (RTMPS)","url":"rtmps://rtmp-iad-1.millicast.com:443/v2/pub"},{"name":"Ashburn, Virginia, USA (RTMP)","url":"rtmp://rtmp-iad-1.millicast.com:1935/v2/pub"},{"name":"London, England (RTMPS)","url":"rtmps://rtmp-lon-1.millicast.com:443/v2/pub"},{"name":"London, England (RTMP)","url":"rtmp://rtmp-lon-1.millicast.com:1935/v2/pub"},{"name":"Phoenix, AZ, USA (RTMPS)","url":"rtmps://rtmp-phx-1.millicast.com:443/v2/pub"},{"name":"Phoenix, AZ, USA (RTMP)","url":"rtmp://rtmp-phx-1.millicast.com:1935/v2/pub"},{"name":"Sao Paulo, Brazil (RTMPS)","url":"rtmps://rtmp-sao-1.millicast.com:443/v2/pub"},{"name":"Sao Paulo, Brazil (RTMP)","url":"rtmp://rtmp-sao-1.millicast.com:1935/v2/pub"},{"name":"Singapore (RTMPS)","url":"rtmps://rtmp-sgp-1.millicast.com:443/v2/pub"},{"name":"Singapore (RTMP)","url":"rtmp://rtmp-sgp-1.millicast.com:1935/v2/pub"},{"name":"Sydney, Australia (RTMPS)","url":"rtmps://rtmp-syd-1.millicast.com:443/v2/pub"},{"name":"Sydney, Australia (RTMP)","url":"rtmp://rtmp-syd-1.millicast.com:1935/v2/pub"}],"supported video codecs":["h264","hevc","av1"],"recommended":{"keyint":1,"bframes":0}},{"name":"NFHS Network","more_info_link":"https://support.nfhsnetwork.com/hc/en-us","stream_key_link":"https://console.nfhsnetwork.com/nfhs-events/","servers":[{"name":"Manual Broadcasts","url":"rtmp://video.nfhsnetwork.com/manual"}],"recommended":{"supported resolutions":["1920x1080","1280x720","640x360"],"max fps":60},"supported video codecs":["h264"]}]} diff --git a/.config/obs-studio/plugin_config/rtmp-services/twitch_ingests.json b/.config/obs-studio/plugin_config/rtmp-services/twitch_ingests.json new file mode 100644 index 0000000..3852c76 --- /dev/null +++ b/.config/obs-studio/plugin_config/rtmp-services/twitch_ingests.json @@ -0,0 +1,697 @@ +{ + "ingests": [ + { + "_id": 0, + "availability": 1.0, + "default": false, + "name": "Default", + "url_template": "rtmp://ingest.global-contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://ingest.global-contribute.live-video.net/app/{stream_key}", + "priority": 0 + }, + { + "_id": 1, + "availability": 1.0, + "default": false, + "name": "South America: Buenos Aires, Argentina (1)", + "url_template": "rtmp://bue01.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://bue01.contribute.live-video.net/app/{stream_key}", + "priority": 1 + }, + { + "_id": 2, + "availability": 1.0, + "default": false, + "name": "South America : chile, Santiago (1)", + "url_template": "rtmp://scl01.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://scl01.contribute.live-video.net/app/{stream_key}", + "priority": 2 + }, + { + "_id": 3, + "availability": 1.0, + "default": false, + "name": "South America: Brazil, Sao Paulo", + "url_template": "rtmp://sao03.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://sao03.contribute.live-video.net/app/{stream_key}", + "priority": 3 + }, + { + "_id": 4, + "availability": 1.0, + "default": false, + "name": "South America: Brazil, Sao Paulo (5)", + "url_template": "rtmp://sao05.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://sao05.contribute.live-video.net/app/{stream_key}", + "priority": 4 + }, + { + "_id": 5, + "availability": 1.0, + "default": false, + "name": "South America: Brazil, Rio de Janeiro (3)", + "url_template": "rtmp://rio03.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://rio03.contribute.live-video.net/app/{stream_key}", + "priority": 5 + }, + { + "_id": 6, + "availability": 1.0, + "default": false, + "name": "South America: Brazil, Rio de Janeiro (4)", + "url_template": "rtmp://rio04.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://rio04.contribute.live-video.net/app/{stream_key}", + "priority": 6 + }, + { + "_id": 7, + "availability": 1.0, + "default": false, + "name": "South America: Brazil, Fortaleza (1)", + "url_template": "rtmp://for01.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://for01.contribute.live-video.net/app/{stream_key}", + "priority": 7 + }, + { + "_id": 8, + "availability": 1.0, + "default": false, + "name": "South America: Colombia, Bogota (1)", + "url_template": "rtmp://bog01.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://bog01.contribute.live-video.net/app/{stream_key}", + "priority": 8 + }, + { + "_id": 9, + "availability": 1.0, + "default": false, + "name": "US East: Miami, FL (5)", + "url_template": "rtmp://mia05.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://mia05.contribute.live-video.net/app/{stream_key}", + "priority": 9 + }, + { + "_id": 10, + "availability": 1.0, + "default": false, + "name": "NA: Mexico, Queretaro (3)", + "url_template": "rtmp://qro03.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://qro03.contribute.live-video.net/app/{stream_key}", + "priority": 10 + }, + { + "_id": 11, + "availability": 1.0, + "default": false, + "name": "NA: Mexico, Queretaro (4)", + "url_template": "rtmp://qro04.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://qro04.contribute.live-video.net/app/{stream_key}", + "priority": 11 + }, + { + "_id": 12, + "availability": 1.0, + "default": false, + "name": "US East: McAllen, TX (1)", + "url_template": "rtmp://mfe01.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://mfe01.contribute.live-video.net/app/{stream_key}", + "priority": 12 + }, + { + "_id": 13, + "availability": 1.0, + "default": false, + "name": "US East: Atlanta, GA", + "url_template": "rtmp://atl.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://atl.contribute.live-video.net/app/{stream_key}", + "priority": 13 + }, + { + "_id": 14, + "availability": 1.0, + "default": false, + "name": "US Central: Houston, TX (50)", + "url_template": "rtmp://iah50.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://iah50.contribute.live-video.net/app/{stream_key}", + "priority": 14 + }, + { + "_id": 15, + "availability": 1.0, + "default": false, + "name": "US East: Ashburn, VA (5)", + "url_template": "rtmp://iad05.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://iad05.contribute.live-video.net/app/{stream_key}", + "priority": 15 + }, + { + "_id": 16, + "availability": 1.0, + "default": false, + "name": "US Central: Dallas, TX (2)", + "url_template": "rtmp://dfw02.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://dfw02.contribute.live-video.net/app/{stream_key}", + "priority": 16 + }, + { + "_id": 17, + "availability": 1.0, + "default": false, + "name": "US Central: Dallas, TX", + "url_template": "rtmp://dfw.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://dfw.contribute.live-video.net/app/{stream_key}", + "priority": 17 + }, + { + "_id": 18, + "availability": 1.0, + "default": false, + "name": "US Central: Garland, TX (56)", + "url_template": "rtmp://dfw56.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://dfw56.contribute.live-video.net/app/{stream_key}", + "priority": 18 + }, + { + "_id": 19, + "availability": 1.0, + "default": false, + "name": "US East: New York, NY", + "url_template": "rtmp://jfk.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://jfk.contribute.live-video.net/app/{stream_key}", + "priority": 19 + }, + { + "_id": 20, + "availability": 1.0, + "default": false, + "name": "US East: New York, NY (50)", + "url_template": "rtmp://jfk50.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://jfk50.contribute.live-video.net/app/{stream_key}", + "priority": 20 + }, + { + "_id": 21, + "availability": 1.0, + "default": false, + "name": "NA: Canada, Toronto", + "url_template": "rtmp://yto.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://yto.contribute.live-video.net/app/{stream_key}", + "priority": 21 + }, + { + "_id": 22, + "availability": 1.0, + "default": false, + "name": "US East: Chicago, IL (56)", + "url_template": "rtmp://ord56.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://ord56.contribute.live-video.net/app/{stream_key}", + "priority": 22 + }, + { + "_id": 23, + "availability": 1.0, + "default": false, + "name": "US East: Chicago, IL (3)", + "url_template": "rtmp://ord03.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://ord03.contribute.live-video.net/app/{stream_key}", + "priority": 23 + }, + { + "_id": 24, + "availability": 1.0, + "default": false, + "name": "US Central: Denver, CO (52)", + "url_template": "rtmp://den52.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://den52.contribute.live-video.net/app/{stream_key}", + "priority": 24 + }, + { + "_id": 25, + "availability": 1.0, + "default": false, + "name": "US West: Los Angeles, CA", + "url_template": "rtmp://lax.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://lax.contribute.live-video.net/app/{stream_key}", + "priority": 25 + }, + { + "_id": 26, + "availability": 1.0, + "default": false, + "name": "Europe: Spain, Madrid (1)", + "url_template": "rtmp://mad01.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://mad01.contribute.live-video.net/app/{stream_key}", + "priority": 26 + }, + { + "_id": 27, + "availability": 1.0, + "default": false, + "name": "Europe: Spain, Madrid (2)", + "url_template": "rtmp://mad02.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://mad02.contribute.live-video.net/app/{stream_key}", + "priority": 27 + }, + { + "_id": 28, + "availability": 1.0, + "default": false, + "name": "US West: San Jose, California (6)", + "url_template": "rtmp://sjc06.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://sjc06.contribute.live-video.net/app/{stream_key}", + "priority": 28 + }, + { + "_id": 29, + "availability": 1.0, + "default": true, + "name": "US West: San Francisco, CA", + "url_template": "rtmp://sfo.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://sfo.contribute.live-video.net/app/{stream_key}", + "priority": 29 + }, + { + "_id": 30, + "availability": 1.0, + "default": false, + "name": "Europe: Germany, Frankfurt (2)", + "url_template": "rtmp://fra02.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://fra02.contribute.live-video.net/app/{stream_key}", + "priority": 30 + }, + { + "_id": 31, + "availability": 1.0, + "default": false, + "name": "Europe: Germany, Frankfurt (5)", + "url_template": "rtmp://fra05.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://fra05.contribute.live-video.net/app/{stream_key}", + "priority": 31 + }, + { + "_id": 32, + "availability": 1.0, + "default": false, + "name": "Europe: France, Marseille", + "url_template": "rtmp://mrs.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://mrs.contribute.live-video.net/app/{stream_key}", + "priority": 32 + }, + { + "_id": 33, + "availability": 1.0, + "default": false, + "name": "Europe: France, Marseille (2)", + "url_template": "rtmp://mrs02.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://mrs02.contribute.live-video.net/app/{stream_key}", + "priority": 33 + }, + { + "_id": 34, + "availability": 1.0, + "default": false, + "name": "US West: Seattle, WA", + "url_template": "rtmp://sea.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://sea.contribute.live-video.net/app/{stream_key}", + "priority": 34 + }, + { + "_id": 35, + "availability": 1.0, + "default": false, + "name": "US West: Seattle, WA (2)", + "url_template": "rtmp://sea02.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://sea02.contribute.live-video.net/app/{stream_key}", + "priority": 35 + }, + { + "_id": 36, + "availability": 1.0, + "default": false, + "name": "Europe: France, Paris (10)", + "url_template": "rtmp://cdg10.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://cdg10.contribute.live-video.net/app/{stream_key}", + "priority": 36 + }, + { + "_id": 37, + "availability": 1.0, + "default": false, + "name": "Europe: France, Paris (2)", + "url_template": "rtmp://cdg02.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://cdg02.contribute.live-video.net/app/{stream_key}", + "priority": 37 + }, + { + "_id": 38, + "availability": 1.0, + "default": false, + "name": "Europe: UK, London (3)", + "url_template": "rtmp://lhr03.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://lhr03.contribute.live-video.net/app/{stream_key}", + "priority": 38 + }, + { + "_id": 39, + "availability": 1.0, + "default": false, + "name": "Europe: UK, London (8)", + "url_template": "rtmp://lhr08.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://lhr08.contribute.live-video.net/app/{stream_key}", + "priority": 39 + }, + { + "_id": 40, + "availability": 1.0, + "default": false, + "name": "Europe: UK, London (4)", + "url_template": "rtmp://lhr04.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://lhr04.contribute.live-video.net/app/{stream_key}", + "priority": 40 + }, + { + "_id": 41, + "availability": 1.0, + "default": false, + "name": "Europe: Italy, Milan (2)", + "url_template": "rtmp://mil02.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://mil02.contribute.live-video.net/app/{stream_key}", + "priority": 41 + }, + { + "_id": 42, + "availability": 1.0, + "default": false, + "name": "Oceania: Australia, Sydney (3)", + "url_template": "rtmp://syd03.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://syd03.contribute.live-video.net/app/{stream_key}", + "priority": 42 + }, + { + "_id": 43, + "availability": 1.0, + "default": false, + "name": "Oceania: Australia, Sydney (2)", + "url_template": "rtmp://syd02.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://syd02.contribute.live-video.net/app/{stream_key}", + "priority": 43 + }, + { + "_id": 44, + "availability": 1.0, + "default": false, + "name": "Europe: Netherlands, Amsterdam (2)", + "url_template": "rtmp://ams02.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://ams02.contribute.live-video.net/app/{stream_key}", + "priority": 44 + }, + { + "_id": 45, + "availability": 1.0, + "default": false, + "name": "Europe: Netherlands, Amsterdam (3)", + "url_template": "rtmp://ams03.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://ams03.contribute.live-video.net/app/{stream_key}", + "priority": 45 + }, + { + "_id": 46, + "availability": 1.0, + "default": false, + "name": "Europe: Germany, Dusseldorf (1)", + "url_template": "rtmp://dus01.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://dus01.contribute.live-video.net/app/{stream_key}", + "priority": 46 + }, + { + "_id": 47, + "availability": 1.0, + "default": false, + "name": "Europe: Germany, Frankfurt (6)", + "url_template": "rtmp://fra06.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://fra06.contribute.live-video.net/app/{stream_key}", + "priority": 47 + }, + { + "_id": 48, + "availability": 1.0, + "default": false, + "name": "Europe: Germany, Munich (1)", + "url_template": "rtmp://muc01.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://muc01.contribute.live-video.net/app/{stream_key}", + "priority": 48 + }, + { + "_id": 49, + "availability": 1.0, + "default": false, + "name": "Europe: Austria, Vienna (2)", + "url_template": "rtmp://vie02.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://vie02.contribute.live-video.net/app/{stream_key}", + "priority": 49 + }, + { + "_id": 50, + "availability": 1.0, + "default": false, + "name": "Europe: Denmark, Copenhagen", + "url_template": "rtmp://cph.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://cph.contribute.live-video.net/app/{stream_key}", + "priority": 50 + }, + { + "_id": 51, + "availability": 1.0, + "default": false, + "name": "Europe: Norway, Oslo", + "url_template": "rtmp://osl.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://osl.contribute.live-video.net/app/{stream_key}", + "priority": 51 + }, + { + "_id": 52, + "availability": 1.0, + "default": false, + "name": "Europe: Poland, Warsaw (2)", + "url_template": "rtmp://waw02.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://waw02.contribute.live-video.net/app/{stream_key}", + "priority": 52 + }, + { + "_id": 53, + "availability": 1.0, + "default": false, + "name": "Europe: Czech Republic, Prague", + "url_template": "rtmp://prg03.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://prg03.contribute.live-video.net/app/{stream_key}", + "priority": 53 + }, + { + "_id": 54, + "availability": 1.0, + "default": false, + "name": "Europe: Sweden, Stockholm (4)", + "url_template": "rtmp://arn04.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://arn04.contribute.live-video.net/app/{stream_key}", + "priority": 54 + }, + { + "_id": 55, + "availability": 1.0, + "default": false, + "name": "Europe: Sweden, Stockholm (3)", + "url_template": "rtmp://arn03.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://arn03.contribute.live-video.net/app/{stream_key}", + "priority": 55 + }, + { + "_id": 56, + "availability": 1.0, + "default": false, + "name": "Europe: Finland, Helsinki (3)", + "url_template": "rtmp://hel03.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://hel03.contribute.live-video.net/app/{stream_key}", + "priority": 56 + }, + { + "_id": 57, + "availability": 1.0, + "default": false, + "name": "Asia: India, New Delhi", + "url_template": "rtmp://del01.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://del01.contribute.live-video.net/app/{stream_key}", + "priority": 57 + }, + { + "_id": 58, + "availability": 1.0, + "default": false, + "name": "Asia: India, Mumbai", + "url_template": "rtmp://bom01.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://bom01.contribute.live-video.net/app/{stream_key}", + "priority": 58 + }, + { + "_id": 59, + "availability": 1.0, + "default": false, + "name": "Asia: India, Bangalore (1)", + "url_template": "rtmp://blr01.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://blr01.contribute.live-video.net/app/{stream_key}", + "priority": 59 + }, + { + "_id": 60, + "availability": 1.0, + "default": false, + "name": "Asia: Indonesia, Jakarta (2)", + "url_template": "rtmp://jkt02.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://jkt02.contribute.live-video.net/app/{stream_key}", + "priority": 60 + }, + { + "_id": 61, + "availability": 1.0, + "default": false, + "name": "Asia: Indonesia, Cikarang Barat (1)", + "url_template": "rtmp://jkt01.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://jkt01.contribute.live-video.net/app/{stream_key}", + "priority": 61 + }, + { + "_id": 62, + "availability": 1.0, + "default": false, + "name": "Asia: India, Chennai", + "url_template": "rtmp://maa01.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://maa01.contribute.live-video.net/app/{stream_key}", + "priority": 62 + }, + { + "_id": 63, + "availability": 1.0, + "default": false, + "name": "Asia: Singapore (4)", + "url_template": "rtmp://sin04.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://sin04.contribute.live-video.net/app/{stream_key}", + "priority": 63 + }, + { + "_id": 64, + "availability": 1.0, + "default": false, + "name": "Asia: Singapore (1)", + "url_template": "rtmp://sin01.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://sin01.contribute.live-video.net/app/{stream_key}", + "priority": 64 + }, + { + "_id": 65, + "availability": 1.0, + "default": false, + "name": "Asia: India, Hyderabad (1)", + "url_template": "rtmp://hyd01.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://hyd01.contribute.live-video.net/app/{stream_key}", + "priority": 65 + }, + { + "_id": 66, + "availability": 1.0, + "default": false, + "name": "NA: Canada, Quebec", + "url_template": "rtmp://ymq03.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://ymq03.contribute.live-video.net/app/{stream_key}", + "priority": 66 + }, + { + "_id": 67, + "availability": 1.0, + "default": false, + "name": "Asia: Thailand, Bangkok (2)", + "url_template": "rtmp://bkk02.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://bkk02.contribute.live-video.net/app/{stream_key}", + "priority": 67 + }, + { + "_id": 68, + "availability": 1.0, + "default": false, + "name": "Asia: Manila, Philippines (1)", + "url_template": "rtmp://mnl01.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://mnl01.contribute.live-video.net/app/{stream_key}", + "priority": 68 + }, + { + "_id": 69, + "availability": 1.0, + "default": false, + "name": "Asia: Japan, Tokyo (3)", + "url_template": "rtmp://tyo03.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://tyo03.contribute.live-video.net/app/{stream_key}", + "priority": 69 + }, + { + "_id": 70, + "availability": 1.0, + "default": false, + "name": "Asia: Japan, Tokyo (5)", + "url_template": "rtmp://tyo05.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://tyo05.contribute.live-video.net/app/{stream_key}", + "priority": 70 + }, + { + "_id": 71, + "availability": 1.0, + "default": false, + "name": "Asia: China, Hong Kong (6)", + "url_template": "rtmp://hkg06.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://hkg06.contribute.live-video.net/app/{stream_key}", + "priority": 71 + }, + { + "_id": 72, + "availability": 1.0, + "default": false, + "name": "Asia: Japan, Osaka (1)", + "url_template": "rtmp://osa01.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://osa01.contribute.live-video.net/app/{stream_key}", + "priority": 72 + }, + { + "_id": 73, + "availability": 1.0, + "default": false, + "name": "Asia: Taiwan, Taipei (1)", + "url_template": "rtmp://tpe01.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://tpe01.contribute.live-video.net/app/{stream_key}", + "priority": 73 + }, + { + "_id": 74, + "availability": 1.0, + "default": false, + "name": "Asia: Taiwan, Taipei (3)", + "url_template": "rtmp://tpe03.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://tpe03.contribute.live-video.net/app/{stream_key}", + "priority": 74 + }, + { + "_id": 75, + "availability": 1.0, + "default": false, + "name": "Asia: South Korea, Seoul (3)", + "url_template": "rtmp://sel03.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://sel03.contribute.live-video.net/app/{stream_key}", + "priority": 75 + }, + { + "_id": 76, + "availability": 1.0, + "default": false, + "name": "Asia: South Korea, Seoul (4)", + "url_template": "rtmp://sel04.contribute.live-video.net/app/{stream_key}", + "url_template_secure": "rtmps://sel04.contribute.live-video.net/app/{stream_key}", + "priority": 76 + } + ] +} diff --git a/.config/obs-studio/profiler_data/2024-09-17 12-58-42.csv.gz b/.config/obs-studio/profiler_data/2024-09-17 12-58-42.csv.gz new file mode 100644 index 0000000000000000000000000000000000000000..84aac5f349015d44248ced71bc15a88971ab5a53 GIT binary patch literal 13342 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 0, defaults to 10) +# fade-delta = 10 + +# Do not fade on window open/close. +# no-fading-openclose = false + +# Do not fade destroyed ARGB windows with WM frame. Workaround of bugs in Openbox, Fluxbox, etc. +# no-fading-destroyed-argb = false + + +################################# +# Transparency / Opacity # +################################# + +# Opacity of window titlebars and borders. +# +# Range: 0.1 - 1.0 +# Default: 1.0 (disabled) +#frame-opacity = 0.7; + +# Use fixed inactive dim value, instead of adjusting according to window opacity. +# +# Default: false +# inactive-dim-fixed = true + +opacity-rule = [ + "30:class_g = 'kitty' && !focused" +]; + +################################# +# Corners # +################################# + +# Sets the radius of rounded window corners. When > 0, the compositor will +# round the corners of windows. Does not interact well with +# `transparent-clipping`. +# +# Default: 0 (disabled) +corner-radius = 0 + +################################# +# Blur # +################################# + +# Parameters for background blurring, see BLUR section in the man page for more information. +blur-method = "dual_kawase"; +#blur-size = 12; +# +# blur-deviation = false +# +# blur-strength = 5 + +# Blur background of semi-transparent / ARGB windows. +# Can be set per-window using rules. +# +# Default: false +blur-background = true; + +# Blur background of windows when the window frame is not opaque. +# Implies +# blur-background +# +# Default: false +# blur-background-frame = false + +# Use fixed blur strength rather than adjusting according to window opacity. +# +# Default: false +# blur-background-fixed = false + +blur-background-exclude = [ + "window_type = 'dock'", + "window_type = 'desktop'", + "_GTK_FRAME_EXTENTS@:c" +]; + +# Specify the blur convolution kernel, with the following format: +# example: +# blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"; +# Can also be a pre-defined kernel, see the man page. +# +# Default: "" +blur-kern = "3x3box"; + +################################# +# General Settings # +################################# + +# Enable remote control via D-Bus. See the man page for more details. +# +# Default: false +# dbus = true + +# Daemonize process. Fork to background after initialization. Causes issues with certain (badly-written) drivers. +# daemon = false + +# Specify the backend to use: `xrender`, `glx`, or `egl`. +# +# Default: "xrender" +backend = "glx" + +# Use higher precision during rendering, and apply dither when presenting the +# rendered screen. Reduces banding artifacts, but may cause performance +# degradation. Only works with OpenGL. +dithered-present = false; + +# Enable/disable VSync. +# +# Default: false +vsync = true; + +# Try to detect windows with rounded corners and don't consider them +# shaped windows. The accuracy is not very high, unfortunately. +# +# Has nothing to do with `corner-radius`. +# +# Default: false +detect-rounded-corners = true; + +# Detect '_NET_WM_WINDOW_OPACITY' on client windows, useful for window managers +# not passing '_NET_WM_WINDOW_OPACITY' of client windows to frame windows. +# +# Default: false +detect-client-opacity = true; + +# Use EWMH '_NET_ACTIVE_WINDOW' to determine currently focused window, +# rather than listening to 'FocusIn'/'FocusOut' event. May be more accurate, +# provided that the WM supports it. +# +# Default: false +# use-ewmh-active-win = false + +# Unredirect all windows if a full-screen opaque window is detected, +# to maximize performance for full-screen windows. Known to cause flickering +# when redirecting/unredirecting windows. +# +# Default: false +# unredir-if-possible = false + +# Delay before unredirecting the window, in milliseconds. +# +# Default: 0. +# unredir-if-possible-delay = 0 + +# Use 'WM_TRANSIENT_FOR' to group windows, and consider windows +# in the same group focused at the same time. +# +# Default: false +detect-transient = true; + +# Use 'WM_CLIENT_LEADER' to group windows, and consider windows in the same +# group focused at the same time. This usually means windows from the same application +# will be considered focused or unfocused at the same time. +# 'WM_TRANSIENT_FOR' has higher priority if detect-transient is enabled, too. +# +# Default: false +# detect-client-leader = false + +# Use of damage information for rendering. This cause the only the part of the +# screen that has actually changed to be redrawn, instead of the whole screen +# every time. Should improve performance. +# +# Default: false +use-damage = true; + +# Use X Sync fence to wait for the completion of rendering of other windows, +# before using their content to render the current screen. +# +# Required for explicit sync drivers, such as nvidia. +# +# Default: false +# xrender-sync-fence = false + +# GLX backend: Use specified GLSL fragment shader for rendering window +# contents. Read the man page for a detailed explanation of the interface. +# +# Can be set per-window using rules. +# +# window-shader-fg = "default" + +# Force all windows to be painted with blending. Useful if you +# have a `window-shader-fg` that could turn opaque pixels transparent. +# +# Default: false +# force-win-blend = false + +# Do not use EWMH to detect fullscreen windows. +# Reverts to checking if a window is fullscreen based only on its size and coordinates. +# +# Default: false +# no-ewmh-fullscreen = false + +# Dimming bright windows so their brightness doesn't exceed this set value. +# Brightness of a window is estimated by averaging all pixels in the window, +# so this could comes with a performance hit. +# Setting this to 1.0 disables this behaviour. Requires --use-damage to be disabled. +# +# Default: 1.0 (disabled) +# max-brightness = 1.0 + +# Make transparent windows clip other windows like non-transparent windows do, +# instead of blending on top of them. e.g. placing a transparent window on top +# of another window will cut a "hole" in that window, and show the desktop background +# underneath. +# +# Default: false +# transparent-clipping = false + +# Set the log level. Possible values are: +# "trace", "debug", "info", "warn", "error" +# in increasing level of importance. Case insensitive. +# If using the "TRACE" log level, it's better to log into a file +# using *--log-file*, since it can generate a huge stream of logs. +# +# Default: "warn" +# log-level = "warn"; + +# Set the log file. +# If *--log-file* is never specified, logs will be written to stderr. +# Otherwise, logs will to written to the given file, though some of the early +# logs might still be written to the stderr. +# When setting this option from the config file, it is recommended to use an absolute path. +# +# log-file = "/path/to/your/log/file" + +# Write process ID to a file. +# write-pid-path = "/path/to/your/log/file" + +# Rule-based per-window options. +# +# See WINDOW RULES section in the man page for how these work. +rules: ({ + match = "window_type = 'tooltip'"; + fade = false; + shadow = true; + opacity = 0.75; + full-shadow = false; +}, { + match = "window_type = 'dock' || " + "window_type = 'desktop' || " + "_GTK_FRAME_EXTENTS@"; + blur-background = false; +}, { + match = "window_type != 'dock'"; + # shader = "my_shader.frag"; +}, { + match = "window_type = 'dock' || " + "window_type = 'desktop'"; + corner-radius = 0; +}, { + match = "name = 'Notification' || " + "class_g = 'Conky' || " + "class_g ?= 'Notify-osd' || " + "class_g = 'Cairo-clock' || " + "_GTK_FRAME_EXTENTS@"; + shadow = false; +}) + +# `@include` directive can be used to include additional configuration files. +# Relative paths are search either in the parent of this configuration file +# (when the configuration is loaded through a symlink, the symlink will be +# resolved first). Or in `$XDG_CONFIG_HOME/picom/include`. +# +# @include "extra.conf" diff --git a/.config/psi+/profiles/default/options.xml b/.config/psi+/profiles/default/options.xml new file mode 100644 index 0000000..8b39626 --- /dev/null +++ b/.config/psi+/profiles/default/options.xml @@ -0,0 +1,1021 @@ + + + + + + true + true + true + true + + + + + false + + + true + + + 0 + false + true + false + + + + + + + + true + + + true + false + false + + + false + false + false + true + false + chat + no + true + false + + + true + + + + + 10 + + + true + + + -1 + -1 + -1 + + true + + true + true + true + + false + + + + avi asf asx mpg mpg2 mpeg mpe mst mp4 flv 3gp mkv wmv swf rv rm rst dat vob ifo ogv + WinAmp + + false + + true + + + true + + + + 8010 + + + + + true + true + + + + + + + false + + + + + + 640 + 480 + + + + 500 + 220 + + 800 + 735 + + AAAA/wAAAAD9AAAAAAAAANwAAAEyAAAABAAAAAQAAAAIAAAACPwAAAACAAAAAgAAAAEAAABsAG0AYQBpAG4AdwBpAG4ALQB0AG8AbwBsAGIAYQByAC0AewA0ADcANgBjADAAOAAwAGMALQAwADIANgBmAC0ANAA1AGYAYwAtAGEAMAA0AGUALQBhAGEAZAA3AGEANgA1AGMANgBmADcAZAB9AQAAAAD/////AAAAAAAAAAAAAAADAAAAAQAAAGwAbQBhAGkAbgB3AGkAbgAtAHQAbwBvAGwAYgBhAHIALQB7ADEAYwBjAGMAMgAxADEAYgAtAGQANQA0AGUALQA0ADAAZABjAC0AYQAyADMANgAtADQAMQA3AGEAYwAzADAAMgAyAGUAMgBhAH0BAAAAAP////8AAAAAAAAAAA== + + + + true + false + + + + + true + 2 + + {31247ec5-918f-4652-a21e-d10cd892b91a} + Chat + + chat_clear + chat_find + chat_html_text + chat_add_contact + Screenshot-plugin + Translate-plugin + attention-plugin + battleshipgameplugin-plugin + cdownloader-plugin + chessplugin-plugin + cleaner-plugin + clientswitcher-plugin + enummessages-plugin + extmenu-plugin + extopt-plugin + gomoku-plugin + historykeeper-plugin + image-plugin + imgpreview-plugin + jabberdisk-plugin + juick-plugin + logger-plugin + messagefilter-plugin + noughtsandcrosses-plugin + omemo-plugin + openpgp-plugin + otr-plugin + pepplugin-plugin + qipxstatuses-plugin + reminder-plugin + replyer-plugin + skins-plugin + stopspam-plugin + storagenotes-plugin + videostatus-plugin + watcher-plugin + spacer + chat_icon + chat_file + chat_pgp + chat_info + chat_history + chat_voice + chat_share_files + chat_active_contacts + chat_templates + + true + true + + + + true + 2 + + {476c080c-026f-45fc-a04e-aad7a65c6f7d} + Show contacts + + menu_options + menu_add_contact + view_groups + menu_disco + menu_play_sounds + menu_xml_console + + true + true + + + + true + 2 + + {da6f5692-0a8d-48a6-8a9d-3222b61ad72e} + Groupchat + + gchat_info + gchat_clear + gchat_find + gchat_html_text + gchat_configure + gchat_set_topic + gchat_templates + gchat_share_files + Screenshot-plugin + Translate-plugin + attention-plugin + battleshipgameplugin-plugin + cdownloader-plugin + chessplugin-plugin + cleaner-plugin + clientswitcher-plugin + enummessages-plugin + extmenu-plugin + extopt-plugin + gomoku-plugin + historykeeper-plugin + image-plugin + imgpreview-plugin + jabberdisk-plugin + juick-plugin + logger-plugin + messagefilter-plugin + noughtsandcrosses-plugin + omemo-plugin + openpgp-plugin + otr-plugin + pepplugin-plugin + qipxstatuses-plugin + reminder-plugin + replyer-plugin + skins-plugin + stopspam-plugin + storagenotes-plugin + videostatus-plugin + watcher-plugin + spacer + gchat_icon + + true + true + + + + true + 3 + + {1ccc211b-d54e-40dc-a236-417ac3022e2a} + Buttons + + button_options + button_status + + true + true + + + + true + true + true + true + false + + + + true + true + true + true + true + + + 5 + true + 26 + true + true + + + + 0 + 52 + + + false + false + alpha + false + false + false + true + 100 + true + true + true + false + alpha + 0 + false + true + true + false + false + true + true + true + true + false + false + true + status + + 849 + 417 + 220 + 360 + + true + /* frame of avatar - general settings */ +RosterAvatarFrame * { + margin: 1px; +} + +/* frame of avatar - avatar */ +QLabel#lb_avatar { + margin-left: 0px; + margin-top: 2px; + margin-bottom: 2px; + border: 1px solid #949494; + border-radius: 3px; +} + +/* frame of avatar - nick */ +QLabel#lb_nick { + margin: 2px; + margin-right: 1px; + margin-bottom: 3px; + border: 1px solid #949494; + border-radius: 3px; +} + +/* frame of avatar - buttons of PEP and status */ +QToolButton#tb_status, #tb_mood, #tb_activity { + margin-left: 1px; + margin-right: 1px; + margin-bottom: 2px; + width: 100%; +} + +QToolButton#tb_status { + margin-top: 0px; + margin-bottom: 1px; +} + +/* frame of avatar - button of status, arrow */ +QToolButton#tb_status::menu-indicator { + background: argb(0,0,0,0); +} + +/* frame of avatar - field of status message */ +QLineEdit#le_status_text { + margin-right: 0px; + margin-bottom: 2px; +} + 4 + true + true + false + false + true + false + true + false + + 843 + 389 + 232 + 394 + + true + false + + + true + false + true + + false + false + false + true + + + true + false + + + + true + + + true + + + true + + + true + + true + true + true + true + true + false + true + false + + + + true + true + + + false + true + true + + + true + +
+ true +
+ + false + +
+ + true + 0 + false + + + + true + + + + true + + + + + false + + 300 + 200 + 963 + 658 + + + 301 + 231 + 961 + 626 + + false + 0 + + + true + + CM + true + true + close + + false + true + true + detach + false + true + false + true + + + false + + + + 5 + + + 64 + true + + + 0 + 0 + + 325 + false + true + psi/classic + false + true + false + false + true + true + 100 + false + true + 10 + false + false + false + true + false + /*Last message correction*/ +QWidget#bottomFrame>QWidget>QTextEdit[correction="true"] { + background-color: rgb(160,160,0); +} + true + + true + auto + false + + + + + 3 + 20 + true + true + + false + false + alpha + true + true + true + false + true + + false + true + false + true + 500 + 150 + + 960 + 620 + + false + psi/classic + true + false + + false + false + false + true + + + + false + false + + + + #400080 + #606060 + #0000ff + #ff0000 + #ff0000 + #008000 + #000080 + + + + #f0f0f0 + #5a5a5a + + + #7e0000 + + #646464 + #004bb4 + + + #969696 + #ffffff + + #969696 + #808080 + + #000000 + + + + Blue + Green + Orange + Purple + Red + + #336600 + #910000 + #000000 + #00008a + + + #ff0000 + #006400 + #808080 + + + #5297f9 + + + true + #e9ecc7 + #000000 + + + + Sans Serif,11,-1,5,50,0,0,0,0,0 + Sans Serif,11,-1,5,50,0,0,0,0,0 + Sans Serif,11,-1,5,50,0,0,0,0,0 + Sans Serif,9,-1,5,50,0,0,0,0,0 + + + + + + + false + + + 2000 + 5000 + 5000 + 5000 + 5000 + + + false + true + true + + 48 + false + + true + true + 25 + false + true + false + false + -1 + true + 300 + true + false + true + + + sound/chat1.wav + true + sound/chat2.wav + sound/chat2.wav + sound/ft_incoming.wav + sound/chat2.wav + sound/offline.wav + sound/chat2.wav + sound/send.wav + false + + sound/online.wav + sound/chat2.wav + false + sound/ft_complete.wav + + + false + false + + true + Classic + forever + true + animate + true + + false + true + + + true +
+ + + 10 + 0 + true + Auto Status (idle) + false + 30 + false + false + true + + + true + false + + + + Secret + xa + I'm not available right now and that's all you need to know. + false + + + Work + dnd + Can't chat. Gotta work. + false + + + Air + away + Stepping out to get some fresh air. + false + + + Away from desk + away + I am away from my desk. Leave a message. + false + + + Greece + xa + I have gone to a far away place. I will be back someday! + false + + + Movie + away + Out to a movie. Is that OK with you? + false + + + Sleep + dnd + Sleep is good. Zzzzz + false + + + Out for the night + away + Out for the night. + false + + + Showering + away + I'm in the shower. You'll have to wait for me to get out. + false + + + Eating + away + Out eating. Mmmm.. food. + false + + + + 50 + 20 + 10 + 50 + 40 + 30 + + submenu + true + true + + false + away + true + + true + false + true + false + false + true + + + true + + + + + + gadugadu + crystal-gadu.jisp + + + sms + crystal-sms.jisp + + + transport + crystal-service.jisp + + + default + default + default + + default + default + + default + + default + + + + Ctrl+F + + + + Shift+Del + Ctrl+L + Ctrl+M + + F2 + Ctrl+C + Ctrl+R + + + + Ctrl+Return + Ctrl+Enter + Alt+Return + Alt+Enter + + + + + Ctrl+Return + Ctrl+Enter + Alt+Return + Alt+Enter + + + + Ctrl+H + Shift+PgUp + Shift+PgDown + Ctrl+I + + Ctrl+Q + Ctrl+W + + + Esc + Alt+H + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Ctrl+Space + Alt+End + Ctrl+F + + + Return + Enter + + + Ctrl+Alt+X + Alt+Home + + Ctrl+PgDown + Ctrl+Tab + + Ctrl+Down + + Ctrl+Up + + + Ctrl+PgUp + Ctrl+Shift+Tab + + + + + + + + + + + + + true + + + false + + + + false + + false +
+ true +
diff --git a/.config/ranger/rc.conf b/.config/ranger/rc.conf new file mode 100644 index 0000000..b32f41a --- /dev/null +++ b/.config/ranger/rc.conf @@ -0,0 +1,759 @@ +# =================================================================== +# This file contains the default startup commands for ranger. +# To change them, it is recommended to create either /etc/ranger/rc.conf +# (system-wide) or ~/.config/ranger/rc.conf (per user) and add your custom +# commands there. +# +# If you copy this whole file there, you may want to set the environment +# variable RANGER_LOAD_DEFAULT_RC to FALSE to avoid loading it twice. +# +# The purpose of this file is mainly to define keybindings and settings. +# For running more complex python code, please create a plugin in "plugins/" or +# a command in "commands.py". +# +# Each line is a command that will be run before the user interface +# is initialized. As a result, you can not use commands which rely +# on the UI such as :delete or :mark. +# =================================================================== + +# =================================================================== +# == Options +# =================================================================== + +# Which viewmode should be used? Possible values are: +# miller: Use miller columns which show multiple levels of the hierarchy +# multipane: Midnight-commander like multipane view showing all tabs next +# to each other +set viewmode miller +#set viewmode multipane + +# How many columns are there, and what are their relative widths? +set column_ratios 1,3,4 + +# Which files should be hidden? (regular expression) +set hidden_filter ^\.|\.(?:pyc|pyo|bak|swp)$|^lost\+found$|^__(py)?cache__$ + +# Show hidden files? You can toggle this by typing 'zh' +set show_hidden false + +# Ask for a confirmation when running the "delete" command? +# Valid values are "always", "never", "multiple" (default) +# With "multiple", ranger will ask only if you delete multiple files at once. +set confirm_on_delete multiple + +# Use non-default path for file preview script? +# ranger ships with scope.sh, a script that calls external programs (see +# README.md for dependencies) to preview images, archives, etc. +#set preview_script ~/.config/ranger/scope.sh + +# Use the external preview script or display simple plain text or image previews? +set use_preview_script true + +# Automatically count files in the directory, even before entering them? +set automatically_count_files true + +# Open all images in this directory when running certain image viewers +# like feh or sxiv? You can still open selected files by marking them. +set open_all_images true + +# Be aware of version control systems and display information. +set vcs_aware false + +# State of the four backends git, hg, bzr, svn. The possible states are +# disabled, local (only show local info), enabled (show local and remote +# information). +set vcs_backend_git enabled +set vcs_backend_hg disabled +set vcs_backend_bzr disabled +set vcs_backend_svn disabled + +# Truncate the long commit messages to this length when shown in the statusbar. +set vcs_msg_length 50 + +# Use one of the supported image preview protocols +set preview_images true + +# Set the preview image method. Supported methods: +# +# * w3m (default): +# Preview images in full color with the external command "w3mimgpreview"? +# This requires the console web browser "w3m" and a supported terminal. +# It has been successfully tested with "xterm" and "urxvt" without tmux. +# +# * iterm2: +# Preview images in full color using iTerm2 image previews +# (http://iterm2.com/images.html). This requires using iTerm2 compiled +# with image preview support. +# +# This feature relies on the dimensions of the terminal's font. By default, a +# width of 8 and height of 11 are used. To use other values, set the options +# iterm2_font_width and iterm2_font_height to the desired values. +# +# * terminology: +# Previews images in full color in the terminology terminal emulator. +# Supports a wide variety of formats, even vector graphics like svg. +# +# * urxvt: +# Preview images in full color using urxvt image backgrounds. This +# requires using urxvt compiled with pixbuf support. +# +# * urxvt-full: +# The same as urxvt but utilizing not only the preview pane but the +# whole terminal window. +# +# * kitty: +# Preview images in full color using kitty image protocol. +# Requires python PIL or pillow library. +# If ranger does not share the local filesystem with kitty +# the transfer method is changed to encode the whole image; +# while slower, this allows remote previews, +# for example during an ssh session. +# Tmux is unsupported. +# +# * ueberzug: +# Preview images in full color with the external command "ueberzug". +# Images are shown by using a child window. +# Only for users who run X11 in GNU/Linux. +set preview_images_method kitty + +# Delay in seconds before displaying an image with the w3m method. +# Increase it in case of experiencing display corruption. +set w3m_delay 0.02 + +# Manually adjust the w3mimg offset when using a terminal which needs this +set w3m_offset 0 + +# Default iTerm2 font size (see: preview_images_method: iterm2) +set iterm2_font_width 8 +set iterm2_font_height 11 + +# Use a unicode "..." character to mark cut-off filenames? +set unicode_ellipsis false + +# BIDI support - try to properly display file names in RTL languages (Hebrew, Arabic). +# Requires the python-bidi pip package +set bidi_support false + +# Show dotfiles in the bookmark preview box? +set show_hidden_bookmarks true + +# Which colorscheme to use? These colorschemes are available by default: +# default, jungle, snow, solarized +set colorscheme default + +# Preview files on the rightmost column? +# And collapse (shrink) the last column if there is nothing to preview? +set preview_files true +set preview_directories true +set collapse_preview true + +# Wrap long lines in plain text previews? +set wrap_plaintext_previews false + +# Save the console history on exit? +set save_console_history true + +# Draw the status bar on top of the browser window (default: bottom) +set status_bar_on_top false + +# Draw a progress bar in the status bar which displays the average state of all +# currently running tasks which support progress bars? +set draw_progress_bar_in_status_bar true + +# Draw borders around columns? (separators, outline, both, or none) +# Separators are vertical lines between columns. +# Outline draws a box around all the columns. +# Both combines the two. +set draw_borders none + +# Display the directory name in tabs? +set dirname_in_tabs false + +# Enable the mouse support? +set mouse_enabled true + +# Display the file size in the main column or status bar? +set display_size_in_main_column true +set display_size_in_status_bar true + +# Display the free disk space in the status bar? +set display_free_space_in_status_bar true + +# Display files tags in all columns or only in main column? +set display_tags_in_all_columns true + +# Set a title for the window? Updates both `WM_NAME` and `WM_ICON_NAME` +set update_title false + +# Set the tmux/screen window-name to "ranger"? +set update_tmux_title true + +# Shorten the title if it gets long? The number defines how many +# directories are displayed at once, 0 turns off this feature. +set shorten_title 3 + +# Show hostname in titlebar? +set hostname_in_titlebar true + +# Abbreviate $HOME with ~ in the titlebar (first line) of ranger? +set tilde_in_titlebar false + +# How many directory-changes or console-commands should be kept in history? +set max_history_size 20 +set max_console_history_size 50 + +# Try to keep so much space between the top/bottom border when scrolling: +set scroll_offset 8 + +# Flush the input after each key hit? (Noticeable when ranger lags) +set flushinput true + +# Padding on the right when there's no preview? +# This allows you to click into the space to run the file. +set padding_right true + +# Save bookmarks (used with mX and `X) instantly? +# This helps to synchronize bookmarks between multiple ranger +# instances but leads to *slight* performance loss. +# When false, bookmarks are saved when ranger is exited. +set autosave_bookmarks true + +# Save the "`" bookmark to disk. This can be used to switch to the last +# directory by typing "``". +set save_backtick_bookmark true + +# You can display the "real" cumulative size of directories by using the +# command :get_cumulative_size or typing "dc". The size is expensive to +# calculate and will not be updated automatically. You can choose +# to update it automatically though by turning on this option: +set autoupdate_cumulative_size false + +# Turning this on makes sense for screen readers: +set show_cursor false + +# One of: size, natural, basename, atime, ctime, mtime, type, random +set sort natural + +# Additional sorting options +set sort_reverse false +set sort_case_insensitive true +set sort_directories_first true +set sort_unicode false + +# Enable this if key combinations with the Alt Key don't work for you. +# (Especially on xterm) +set xterm_alt_key false + +# Whether to include bookmarks in cd command +set cd_bookmarks true + +# Changes case sensitivity for the cd command tab completion +set cd_tab_case sensitive + +# Use fuzzy tab completion with the "cd" command. For example, +# ":cd /u/lo/b" expands to ":cd /usr/local/bin". +set cd_tab_fuzzy false + +# Avoid previewing files larger than this size, in bytes. Use a value of 0 to +# disable this feature. +set preview_max_size 0 + +# The key hint lists up to this size have their sublists expanded. +# Otherwise the submaps are replaced with "...". +set hint_collapse_threshold 10 + +# Add the highlighted file to the path in the titlebar +set show_selection_in_titlebar true + +# The delay that ranger idly waits for user input, in milliseconds, with a +# resolution of 100ms. Lower delay reduces lag between directory updates but +# increases CPU load. +set idle_delay 2000 + +# When the metadata manager module looks for metadata, should it only look for +# a ".metadata.json" file in the current directory, or do a deep search and +# check all directories above the current one as well? +set metadata_deep_search false + +# Clear all existing filters when leaving a directory +set clear_filters_on_dir_change false + +# Disable displaying line numbers in main column. +# Possible values: false, absolute, relative. +set line_numbers false + +# When line_numbers=relative show the absolute line number in the +# current line. +set relative_current_zero false + +# Start line numbers from 1 instead of 0 +set one_indexed false + +# Save tabs on exit +set save_tabs_on_exit false + +# Enable scroll wrapping - moving down while on the last item will wrap around to +# the top and vice versa. +set wrap_scroll false + +# Set the global_inode_type_filter to nothing. Possible options: d, f and l for +# directories, files and symlinks respectively. +set global_inode_type_filter + +# This setting allows to freeze the list of files to save I/O bandwidth. It +# should be 'false' during start-up, but you can toggle it by pressing F. +set freeze_files false + +# Print file sizes in bytes instead of the default human-readable format. +set size_in_bytes false + +# Warn at startup if RANGER_LEVEL env var is greater than 0, in other words +# give a warning when you nest ranger in a subshell started by ranger. +# Special value "error" makes the warning more visible. +set nested_ranger_warning true + +# =================================================================== +# == Local Options +# =================================================================== +# You can set local options that only affect a single directory. + +# Examples: +# setlocal path=~/downloads sort mtime + +# =================================================================== +# == Command Aliases in the Console +# =================================================================== + +alias e edit +alias q quit +alias q! quit! +alias qa quitall +alias qa! quitall! +alias qall quitall +alias qall! quitall! +alias setl setlocal + +alias filter scout -prts +alias find scout -aets +alias mark scout -mr +alias unmark scout -Mr +alias search scout -rs +alias search_inc scout -rts +alias travel scout -aefklst + +# =================================================================== +# == Define keys for the browser +# =================================================================== + +# Basic +map Q quitall +map q quit +copymap q ZZ ZQ + +map R reload_cwd +map F set freeze_files! +map reset +map redraw_window +map abort +map change_mode normal +map ~ set viewmode! + +map i display_file +map scroll_preview 1 +map scroll_preview -1 +map ? help +map W display_log +map w taskview_open +map S shell $SHELL + +map : console +map ; console +map ! console shell%space +map @ console -p6 shell %%s +map # console shell -p%space +map s console shell%space +map r chain draw_possible_programs; console open_with%space +map f console find%space +map cd console cd%space + +map chain console; eval fm.ui.console.history_move(-1) + +# Change the line mode +map Mf linemode filename +map Mi linemode fileinfo +map Mm linemode mtime +map Mh linemode humanreadablemtime +map Mp linemode permissions +map Ms linemode sizemtime +map MH linemode sizehumanreadablemtime +map Mt linemode metatitle + +# Tagging / Marking +map t tag_toggle +map ut tag_remove +map " tag_toggle tag=%any +map mark_files toggle=True +map v mark_files all=True toggle=True +map uv mark_files all=True val=False +map V toggle_visual_mode +map uV toggle_visual_mode reverse=True + +# For the nostalgics: Midnight Commander bindings +map help +map rename_append +map display_file +map edit +map copy +map cut +map console mkdir%space +map console delete +#map console trash +map exit + +# In case you work on a keyboard with dvorak layout +map move up=1 +map move down=1 +map move left=1 +map move right=1 +map move to=0 +map move to=-1 +map move down=1 pages=True +map move up=1 pages=True +map move right=1 +#map console delete +map console touch%space + +# VIM-like +copymap k +copymap j +copymap h +copymap l +copymap gg +copymap G +copymap +copymap + +map J move down=0.5 pages=True +map K move up=0.5 pages=True +copymap J +copymap K + +# Jumping around +map H history_go -1 +map L history_go 1 +map ] move_parent 1 +map [ move_parent -1 +map } traverse +map { traverse_backwards +map ) jump_non + +map gh cd ~ +map ge cd /etc +map gu cd /usr +map gd cd /dev +map gl cd -r . +map gL cd -r %f +map go cd /opt +map gv cd /var +map gm cd /media +map gi eval fm.cd('/run/media/' + os.getenv('USER')) +map gM cd /mnt +map gs cd /srv +map gp cd /tmp +map gr cd / +map gR eval fm.cd(ranger.RANGERDIR) +map g/ cd / +map g? cd /usr/share/doc/ranger + +# External Programs +map E edit +map du shell -p du --max-depth=1 -h --apparent-size +map dU shell -p du --max-depth=1 -h --apparent-size | sort -rh +map yp yank path +map yd yank dir +map yn yank name +map y. yank name_without_extension + +# Filesystem Operations +map = chmod + +map cw console rename%space +map a rename_append +map A eval fm.open_console('rename ' + fm.thisfile.relative_path.replace("%", "%%")) +map I eval fm.open_console('rename ' + fm.thisfile.relative_path.replace("%", "%%"), position=7) + +map pp paste +map po paste overwrite=True +map pP paste append=True +map pO paste overwrite=True append=True +map pl paste_symlink relative=False +map pL paste_symlink relative=True +map phl paste_hardlink +map pht paste_hardlinked_subtree +map pd console paste dest= +map p` paste dest=%any_path +map p' paste dest=%any_path + +map dD console delete +map dT console trash + +map dd cut +map ud uncut +map da cut mode=add +map dr cut mode=remove +map dt cut mode=toggle + +map yy copy +map uy uncut +map ya copy mode=add +map yr copy mode=remove +map yt copy mode=toggle + +# Temporary workarounds +map dgg eval fm.cut(dirarg=dict(to=0), narg=quantifier) +map dG eval fm.cut(dirarg=dict(to=-1), narg=quantifier) +map dj eval fm.cut(dirarg=dict(down=1), narg=quantifier) +map dk eval fm.cut(dirarg=dict(up=1), narg=quantifier) +map ygg eval fm.copy(dirarg=dict(to=0), narg=quantifier) +map yG eval fm.copy(dirarg=dict(to=-1), narg=quantifier) +map yj eval fm.copy(dirarg=dict(down=1), narg=quantifier) +map yk eval fm.copy(dirarg=dict(up=1), narg=quantifier) + +# Searching +map / console search%space +map n search_next +map N search_next forward=False +map ct search_next order=tag +map cs search_next order=size +map ci search_next order=mimetype +map cc search_next order=ctime +map cm search_next order=mtime +map ca search_next order=atime + +# Tabs +map tab_new +map tab_close +map tab_move 1 +map tab_move -1 +map tab_move 1 +map tab_move -1 +map gt tab_move 1 +map gT tab_move -1 +map gn tab_new +map gc tab_close +map uq tab_restore +map tab_open 1 +map tab_open 2 +map tab_open 3 +map tab_open 4 +map tab_open 5 +map tab_open 6 +map tab_open 7 +map tab_open 8 +map tab_open 9 +map tab_shift 1 +map tab_shift -1 + +# Sorting +map or set sort_reverse! +map oz set sort=random +map os chain set sort=size; set sort_reverse=False +map ob chain set sort=basename; set sort_reverse=False +map on chain set sort=natural; set sort_reverse=False +map om chain set sort=mtime; set sort_reverse=False +map oc chain set sort=ctime; set sort_reverse=False +map oa chain set sort=atime; set sort_reverse=False +map ot chain set sort=type; set sort_reverse=False +map oe chain set sort=extension; set sort_reverse=False + +map oS chain set sort=size; set sort_reverse=True +map oB chain set sort=basename; set sort_reverse=True +map oN chain set sort=natural; set sort_reverse=True +map oM chain set sort=mtime; set sort_reverse=True +map oC chain set sort=ctime; set sort_reverse=True +map oA chain set sort=atime; set sort_reverse=True +map oT chain set sort=type; set sort_reverse=True +map oE chain set sort=extension; set sort_reverse=True + +map dc get_cumulative_size + +# Settings +map zc set collapse_preview! +map zd set sort_directories_first! +map zh set show_hidden! +map set show_hidden! +copymap +copymap +map zI set flushinput! +map zi set preview_images! +map zm set mouse_enabled! +map zp set preview_files! +map zP set preview_directories! +map zs set sort_case_insensitive! +map zu set autoupdate_cumulative_size! +map zv set use_preview_script! +map zf console filter%space +copymap zf zz + +# Filter stack +map .d filter_stack add type d +map .f filter_stack add type f +map .l filter_stack add type l +map .m console filter_stack add mime%space +map .n console filter_stack add name%space +map .# console filter_stack add hash%space +map ." filter_stack add duplicate +map .' filter_stack add unique +map .| filter_stack add or +map .& filter_stack add and +map .! filter_stack add not +map .r filter_stack rotate +map .c filter_stack clear +map .* filter_stack decompose +map .p filter_stack pop +map .. filter_stack show + +# Bookmarks +map ` enter_bookmark %any +map ' enter_bookmark %any +map m set_bookmark %any +map um unset_bookmark %any + +map m draw_bookmarks +copymap m um ` ' + +# Generate all the chmod bindings with some python help: +eval for arg in "rwxXst": cmd("map +u{0} shell -f chmod u+{0} %s".format(arg)) +eval for arg in "rwxXst": cmd("map +g{0} shell -f chmod g+{0} %s".format(arg)) +eval for arg in "rwxXst": cmd("map +o{0} shell -f chmod o+{0} %s".format(arg)) +eval for arg in "rwxXst": cmd("map +a{0} shell -f chmod a+{0} %s".format(arg)) +eval for arg in "rwxXst": cmd("map +{0} shell -f chmod u+{0} %s".format(arg)) + +eval for arg in "rwxXst": cmd("map -u{0} shell -f chmod u-{0} %s".format(arg)) +eval for arg in "rwxXst": cmd("map -g{0} shell -f chmod g-{0} %s".format(arg)) +eval for arg in "rwxXst": cmd("map -o{0} shell -f chmod o-{0} %s".format(arg)) +eval for arg in "rwxXst": cmd("map -a{0} shell -f chmod a-{0} %s".format(arg)) +eval for arg in "rwxXst": cmd("map -{0} shell -f chmod u-{0} %s".format(arg)) + +# =================================================================== +# == Define keys for the console +# =================================================================== +# Note: Unmapped keys are passed directly to the console. + +# Basic +cmap eval fm.ui.console.tab() +cmap eval fm.ui.console.tab(-1) +cmap eval fm.ui.console.close() +cmap eval fm.ui.console.execute() +cmap redraw_window + +copycmap +copycmap + +# Move around +cmap eval fm.ui.console.history_move(-1) +cmap eval fm.ui.console.history_move(1) +cmap eval fm.ui.console.move(left=1) +cmap eval fm.ui.console.move(right=1) +cmap eval fm.ui.console.move(right=0, absolute=True) +cmap eval fm.ui.console.move(right=-1, absolute=True) +cmap eval fm.ui.console.move_word(left=1) +cmap eval fm.ui.console.move_word(right=1) + +copycmap +copycmap + +# Line Editing +cmap eval fm.ui.console.delete(-1) +cmap eval fm.ui.console.delete(0) +cmap eval fm.ui.console.delete_word() +cmap eval fm.ui.console.delete_word(backward=False) +cmap eval fm.ui.console.delete_rest(1) +cmap eval fm.ui.console.delete_rest(-1) +cmap eval fm.ui.console.paste() + +# And of course the emacs way +copycmap +copycmap +copycmap +copycmap +copycmap +copycmap +copycmap +copycmap +copycmap + +# Note: There are multiple ways to express backspaces. (code 263) +# and (code 127). To be sure, use both. +copycmap + +# This special expression allows typing in numerals: +cmap false + +# =================================================================== +# == Pager Keybindings +# =================================================================== + +# Movement +pmap pager_move down=1 +pmap pager_move up=1 +pmap pager_move left=4 +pmap pager_move right=4 +pmap pager_move to=0 +pmap pager_move to=-1 +pmap pager_move down=1.0 pages=True +pmap pager_move up=1.0 pages=True +pmap pager_move down=0.5 pages=True +pmap pager_move up=0.5 pages=True + +copypmap k +copypmap j +copypmap h +copypmap l +copypmap g +copypmap G +copypmap d +copypmap u +copypmap n f +copypmap p b + +# Basic +pmap redraw_window +pmap pager_close +copypmap q Q i +pmap E edit_file + +# =================================================================== +# == Taskview Keybindings +# =================================================================== + +# Movement +tmap taskview_move up=1 +tmap taskview_move down=1 +tmap taskview_move to=0 +tmap taskview_move to=-1 +tmap taskview_move down=1.0 pages=True +tmap taskview_move up=1.0 pages=True +tmap taskview_move down=0.5 pages=True +tmap taskview_move up=0.5 pages=True + +copytmap k +copytmap j +copytmap g +copytmap G +copytmap u +copytmap n f +copytmap p b + +# Changing priority and deleting tasks +tmap J eval -q fm.ui.taskview.task_move(-1) +tmap K eval -q fm.ui.taskview.task_move(0) +tmap dd eval -q fm.ui.taskview.task_remove() +tmap eval -q fm.ui.taskview.task_move(-1) +tmap eval -q fm.ui.taskview.task_move(0) +tmap eval -q fm.ui.taskview.task_remove() + +# Basic +tmap redraw_window +tmap taskview_close +copytmap q Q w diff --git a/.config/strawberry/strawberry.conf b/.config/strawberry/strawberry.conf new file mode 100644 index 0000000..2d6867b --- /dev/null +++ b/.config/strawberry/strawberry.conf @@ -0,0 +1,421 @@ +[Analyzer] +framerate=25 +type=BlockAnalyzer + +[Appearance] +background_image_do_not_cut=true +background_image_keep_aspect_ratio=true +background_image_max_size=0 +background_image_position=5 +background_image_stretch=false +background_image_type=0 +blur_radius=0 +icon_size_configure_buttons=16 +icon_size_left_panel_buttons=22 +icon_size_play_control_buttons=32 +icon_size_playlist_buttons=20 +icon_size_tabbar_large_mode=40 +icon_size_tabbar_small_mode=32 +opacity_level=40 +playlist_playing_song_color=@Variant(\0\0\0\x43\0\xff\xff\0\0\0\0\0\0\0\0) +style=default +system_icons=false +tab_color=@Variant(\0\0\0\x43\x2\xff\xffR\xd0\x9a\x9a\x87\xba\0\0) +tab_gradient=true +tab_system_color=true + +[Backend] +AutoCrossfadeEnabled=false +CrossfadeEnabled=false +FadeoutDuration=2000 +FadeoutEnabled=false +FadeoutPauseDuration=250 +FadeoutPauseEnabled=false +NoCrossfadeSameAlbum=true +alsaplugin=3 +bs2b=false +bufferduration=4000 +bufferhighwatermark=0.99 +bufferlowwatermark=0.33 +channels=2 +channels_enabled=false +device=@Invalid() +ebur128_loudness_normalization=false +ebur128_target_level_lufs=-23 +engine=gstreamer +http2=false +output=autoaudiosink +rgcompression=true +rgenabled=false +rgfallbackgain=0 +rgmode=0 +rgpreamp=0 +strict_ssl=false +volume_control=true + +[Behaviour] +doubleclick_addmode=1 +doubleclick_playlist_addmode=1 +doubleclick_playmode=1 +keeprunning=false +language= +menu_playmode=1 +menu_previousmode=1 +playing_widget=true +resumeplayback=false +seek_step_sec=10 +showtrayicon=true +startupbehaviour=1 +taskbar_progress=true +trayicon_progress=false +volume_increment=5 + +[Collection] +group_by1=1 +group_by2=4 +group_by3=0 +group_by_version=1 +separate_albums_by_grouping=false + +[Context] +AlbumEnable=true +SearchCoverEnable=true +SearchLyricsEnable=true +SongLyricsEnable=true +SummaryFmt=%album% +TechnicalDataEnable=false +TitleFmt=%title% - %artist% +font_headline=Junicode +font_normal=Junicode +font_size_headline=11 +font_size_normal=12 + +[Covers] +providers=Last.fm +save_filename=2 +save_lowercase=true +save_overwrite=false +save_pattern=%albumartist-%album +save_replace_spaces=true +save_type=1 +types=art_unset, art_manual, art_automatic, art_embedded + +[Equalizer] +enable_stereo_balancer=false +enabled=false +presets\1\name=Classical +presets\1\params=@Variant(\0\0\0\x7f\0\0\0\x12\x45qualizer::Params\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\xff\xff\xff\xd8\xff\xff\xff\xd8\xff\xff\xff\xd8\xff\xff\xff\xce) +presets\10\name=Live +presets\10\params=@Variant(\0\0\0\x7f\0\0\0\x12\x45qualizer::Params\0\0\0\0\0\xff\xff\xff\xe7\0\0\0\0\0\0\0\x14\0\0\0\x19\0\0\0\x1e\0\0\0\x1e\0\0\0\x14\0\0\0\xf\0\0\0\xf\0\0\0\n) +presets\11\name=Party +presets\11\params=@Variant(\0\0\0\x7f\0\0\0\x12\x45qualizer::Params\0\0\0\0\0\0\0\0#\0\0\0#\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0#\0\0\0#) +presets\12\name=Pop +presets\12\params=@Variant(\0\0\0\x7f\0\0\0\x12\x45qualizer::Params\0\0\0\0\0\xff\xff\xff\xf6\0\0\0\x19\0\0\0#\0\0\0(\0\0\0\x19\xff\xff\xff\xfb\xff\xff\xff\xf1\xff\xff\xff\xf1\xff\xff\xff\xf6\xff\xff\xff\xf6) +presets\13\name=Reggae +presets\13\params=@Variant(\0\0\0\x7f\0\0\0\x12\x45qualizer::Params\0\0\0\0\0\0\0\0\0\0\0\0\0\xff\xff\xff\xfb\xff\xff\xff\xe2\0\0\0\0\xff\xff\xff\xdd\xff\xff\xff\xdd\0\0\0\0\0\0\0\0\0\0\0\0) +presets\14\name=Rock +presets\14\params=@Variant(\0\0\0\x7f\0\0\0\x12\x45qualizer::Params\0\0\0\0\0\0\0\0(\0\0\0\x19\xff\xff\xff\xe2\xff\xff\xff\xd8\xff\xff\xff\xec\0\0\0\x14\0\0\0-\0\0\0\x37\0\0\0\x37\0\0\0\x37) +presets\15\name=Ska +presets\15\params=@Variant(\0\0\0\x7f\0\0\0\x12\x45qualizer::Params\0\0\0\0\0\xff\xff\xff\xf1\xff\xff\xff\xe7\xff\xff\xff\xe7\xff\xff\xff\xfb\0\0\0\x14\0\0\0\x1e\0\0\0-\0\0\0\x32\0\0\0\x37\0\0\0\x32) +presets\16\name=Soft +presets\16\params=@Variant(\0\0\0\x7f\0\0\0\x12\x45qualizer::Params\0\0\0\0\0\0\0\0\x19\0\0\0\n\xff\xff\xff\xfb\xff\xff\xff\xf1\xff\xff\xff\xfb\0\0\0\x14\0\0\0-\0\0\0\x32\0\0\0\x37\0\0\0<) +presets\17\name=Soft Rock +presets\17\params=@Variant(\0\0\0\x7f\0\0\0\x12\x45qualizer::Params\0\0\0\0\0\0\0\0\x14\0\0\0\x14\0\0\0\n\xff\xff\xff\xfb\xff\xff\xff\xe7\xff\xff\xff\xe2\xff\xff\xff\xec\xff\xff\xff\xfb\0\0\0\xf\0\0\0-) +presets\18\name=Techno +presets\18\params=@Variant(\0\0\0\x7f\0\0\0\x12\x45qualizer::Params\0\0\0\0\0\0\0\0(\0\0\0\x1e\0\0\0\0\xff\xff\xff\xe2\xff\xff\xff\xe7\0\0\0\0\0\0\0(\0\0\0\x32\0\0\0\x32\0\0\0-) +presets\19\name=Zero +presets\19\params=@Variant(\0\0\0\x7f\0\0\0\x12\x45qualizer::Params\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0) +presets\2\name=Club +presets\2\params=@Variant(\0\0\0\x7f\0\0\0\x12\x45qualizer::Params\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x14\0\0\0\x1e\0\0\0\x1e\0\0\0\x1e\0\0\0\x14\0\0\0\0\0\0\0\0\0\0\0\0) +presets\3\name=Custom +presets\3\params=@Variant(\0\0\0\x7f\0\0\0\x12\x45qualizer::Params\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0) +presets\4\name=Dance +presets\4\params=@Variant(\0\0\0\x7f\0\0\0\x12\x45qualizer::Params\0\0\0\0\0\0\0\0\x32\0\0\0#\0\0\0\n\0\0\0\0\0\0\0\0\xff\xff\xff\xe2\xff\xff\xff\xd8\xff\xff\xff\xd8\0\0\0\0\0\0\0\0) +presets\5\name=Full Bass +presets\5\params=@Variant(\0\0\0\x7f\0\0\0\x12\x45qualizer::Params\0\0\0\0\0\0\0\0\x46\0\0\0\x46\0\0\0\x46\0\0\0(\0\0\0\x14\xff\xff\xff\xd3\xff\xff\xff\xce\xff\xff\xff\xc9\xff\xff\xff\xc9\xff\xff\xff\xc9) +presets\6\name=Full Bass + Treble +presets\6\params=@Variant(\0\0\0\x7f\0\0\0\x12\x45qualizer::Params\0\0\0\0\0\0\0\0#\0\0\0\x1e\0\0\0\0\xff\xff\xff\xd8\xff\xff\xff\xe7\0\0\0\n\0\0\0-\0\0\0\x37\0\0\0<\0\0\0<) +presets\7\name=Full Treble +presets\7\params=@Variant(\0\0\0\x7f\0\0\0\x12\x45qualizer::Params\0\0\0\0\0\xff\xff\xff\xce\xff\xff\xff\xce\xff\xff\xff\xce\xff\xff\xff\xe7\0\0\0\xf\0\0\0\x37\0\0\0P\0\0\0P\0\0\0P\0\0\0U) +presets\8\name=Laptop/Headphones +presets\8\params=@Variant(\0\0\0\x7f\0\0\0\x12\x45qualizer::Params\0\0\0\0\0\0\0\0\x19\0\0\0\x32\0\0\0\x19\xff\xff\xff\xec\0\0\0\0\xff\xff\xff\xe2\xff\xff\xff\xd8\xff\xff\xff\xd8\0\0\0\0\0\0\0\0) +presets\9\name=Large Hall +presets\9\params=@Variant(\0\0\0\x7f\0\0\0\x12\x45qualizer::Params\0\0\0\0\0\0\0\0\x32\0\0\0\x32\0\0\0\x1e\0\0\0\x1e\0\0\0\0\xff\xff\xff\xe7\xff\xff\xff\xe7\xff\xff\xff\xe7\0\0\0\0\0\0\0\0) +presets\size=19 +selected_preset=Custom +stereo_balance=0 + +[GlobalShortcuts] +dec_volume= +inc_volume= +love= +mute= +next_track=Media Next +pause= +play= +play_pause=Media Play +prev_track=Media Previous +repeat_mode= +seek_backward= +seek_forward= +show_hide= +show_osd= +shuffle_mode= +stop=Media Stop +stop_after= +toggle_pretty_osd= +toggle_scrobbling= +use_gnome=false +use_kde=false +use_mate=false +use_x11=false + +[LastFM] +enabled=false + +[LibreFM] +enabled=false + +[ListenBrainz] +enabled=false +user_token= + +[Lyrics] +providers=Lyrics.ovh, songlyrics.com, azlyrics.com, elyrics.net, letras.mus.br, lyricfind.com + +[MainWindow] +current_tab=0 +do_not_show_sponsor_message=true +file_path=/home/gor +geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\0\0\0\a\x7f\0\0\x4\r\0\0\0\x1\0\0\0\x17\0\0\x4k\0\0\x2\xc3\0\0\0\0\x2\0\0\0\a\x80\0\0\0\0\0\0\0\x1c\0\0\a\x7f\0\0\x4\r) +hidden=false +maximized=true +minimized=false +search_for_cover_auto=true +show_sidebar=true +splitter_state=@ByteArray(\0\0\0\xff\0\0\0\x1\0\0\0\x2\0\0\x1\x38\0\0\x4W\0\xff\xff\xff\xff\x1\0\0\0\x1\0) +tab_collection=1 +tab_context=0 +tab_devices=7 +tab_files=5 +tab_mode=1 +tab_playlists=3 +tab_queue=2 +tab_radios=6 +tab_smartplaylists=4 + +[Moodbar] +enabled=false +save=false +show=false +style=0 + +[NetworkProxy] +engine=true +hostname= +mode=0 +password= +port=0 +type=3 +use_authentication=false +username= + +[OSD] +Behaviour=1 +CustomText1= +CustomText2= +CustomTextEnabled=false +ShowArt=true +ShowOnPausePlayback=true +ShowOnPlayModeChange=true +ShowOnResumePlayback=false +ShowOnVolumeChange=false +Timeout=5000 + +[OSDPretty] +background_color=4284913379 +background_opacity=0.85 +disable_duration=false +fading=false +font="Verdana,9,-1,5,400,0,0,0,0,0,0,0,0,0,0,1" +foreground_color=4278190080 +popup_pos=@Point(1524 0) +popup_screen=HDMI-0 + +[Player] +playback_playlist=-1 +playback_position=0 +playback_state=0 +volume=100 + +[Playlist] +alternating_row_colors=true +auto_sort=false +column_alignments=@Variant(\0\0\0\x7f\0\0\0\x13\x43olumnAlignmentMap\0\0\0\0\v\0\0\0\x6\0\0\0\x82\0\0\0\a\0\0\0\x82\0\0\0\b\0\0\0\x82\0\0\0\t\0\0\0\x82\0\0\0\n\0\0\0\x82\0\0\0\f\0\0\0\x82\0\0\0\r\0\0\0\x82\0\0\0\xe\0\0\0\x82\0\0\0\x11\0\0\0\x82\0\0\0\x15\0\0\0\x82\0\0\0\x16\0\0\0\x82) +continue_on_error=false +delete_files=false +editmetadatainline=false +glow_effect=true +greyout_songs_play=true +greyout_songs_startup=true +path_type=0 +playlist_clear=true +rating_locked=false +select_track=false +show_bars=true +show_toolbar=true +state="@ByteArray(P,\x95\x10\x1\0\0\0 \0\0\0\b\0\0\0\0\0\0\0\x1\0\0\0\x2\0\0\0\x3\0\0\0\x4\0\0\0\x5\0\0\0\x6\0\0\0\a\0\0\0\t\0\0\0\n\0\0\0\v\0\0\0\f\0\0\0\r\0\0\0\xe\0\0\0\xf\0\0\0\x10\0\0\0\x11\0\0\0\x12\0\0\0\x13\0\0\0\x14\0\0\0\x15\0\0\0\x16\0\0\0\x17\0\0\0\x18\0\0\0\x19\0\0\0\x1a\0\0\0\x1b\0\0\0\x1c\0\0\0\x1d\0\0\0\x1e\0\0\0\x1f\0\0\0 \0\0\x1\x1d\0\0\x1Q\0\0\x1\x94\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0?\0\0\0\0\0\0\0\x44\0\0\0\0\0\0\0T\0\0\0\x41\0\0\0?\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0=\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0;\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\n\0\0\0\0\0\0\0\x1\0\0\0\x2\0\0\0\b\0\0\0\n\0\0\0\f\0\0\0\r\0\0\0\xe\0\0\0\x12\0\0\0\x1a\0\0\0 ?\xc8i\xfb\xbd\xea\xca\xe2?\xcc\xdb\xf4\x8cW\x14\x41?\xd1P\xeb\xa0\xfd}\xec\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0?\xa5\xe7\x62\xd6\xdboV\0\0\0\0\0\0\0\0?\xa7\x81\xd0T\xf5\xd3\xe0\0\0\0\0\0\0\0\0?\xac\xecp]\x1a\x64\xef?\xa6\x83\xa8>\xca\xd1\xf3?\xa5\xdd\x19\xddH\x18\x8d\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0?\xa5/\x9a\xe2_\xec\xc3\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0?\xa4z\xe1G\xae\x14{\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0)" +state_version=1 +warn_close_playlist=true +write_metadata=false + +[Qobuz] +albums_group_by1=1 +albums_group_by2=4 +albums_group_by3=0 +albums_group_by_version=1 +albums_separate_albums_by_grouping=false +artists_group_by1=1 +artists_group_by2=4 +artists_group_by3=0 +artists_group_by_version=1 +artists_separate_albums_by_grouping=false +search_group_by1=1 +search_group_by2=4 +search_group_by3=0 +search_group_by_version=1 +songs_group_by1=1 +songs_group_by2=4 +songs_group_by3=0 +songs_group_by_version=1 +songs_separate_albums_by_grouping=false +tab=artists + +[Scrobbler] +albumartist=false +enabled=false +love_button=false +offline=false +scrobble_button=false +show_error_dialog=true +sources=collection, file, cd, device, subsonic, tidal, qobuz, stream, somafm, radioparadise, unknown +strip_remastered=true +submit=0 + +[SerializedSmartPlaylists] +songs\1\data=@ByteArray(\0\0\0\0\x2\x11\0\0\0\x14\x2\0) +songs\1\name=Newest tracks +songs\1\type=1 +songs\10\data=@ByteArray(\0\0\0\0\0\x3\0\0\0\x14\x2\x1) +songs\10\name=Dynamic random mix +songs\10\type=1 +songs\2\data=@ByteArray(\0\0\0\0\0\x3\0\0\0\x32\x2\0) +songs\2\name=50 random tracks +songs\2\type=1 +songs\3\data=@ByteArray(\0\0\0\x1\x13\x4\0\0\0\x2\0\0\0\0\0\0\0\0\0\x1\0\0\x3\0\0\0\x14\0\0) +songs\3\name=Ever played +songs\3\type=1 +songs\4\data=@ByteArray(\0\0\0\x1\x13\x6\0\0\0\x2\0\0\0\0\0\0\0\0\0\x1\0\0\x3\0\0\0\x14\0\0) +songs\4\name=Never played +songs\4\type=1 +songs\5\data=@ByteArray(\0\0\0\0\x2\x15\0\0\0\x14\x2\0) +songs\5\name=Last played +songs\5\type=1 +songs\6\data=@ByteArray(\0\0\0\0\x2\x13\0\0\0\x14\x2\0) +songs\6\name=Most played +songs\6\type=1 +songs\7\data=@ByteArray(\0\0\0\0\x2\x16\0\0\0\x14\x2\0) +songs\7\name=Favourite tracks +songs\7\type=1 +songs\8\data=@ByteArray(\0\0\0\x2\x16\x5\0\0\0\x6\0?\xe0\0\0\0\0\0\0\0\0\0\0\x1\0\x14\x4\0\0\0\x2\0\0\0\0\x4\0\0\0\0\x1\0\x2\x14\0\0\0\x14\x1\0) +songs\8\name=Least favourite tracks +songs\8\type=1 +songs\9\data=@ByteArray(\0\0\0\0\x1\x1\xff\xff\xff\xff\x2\0) +songs\9\name=All tracks +songs\9\type=1 +songs\size=10 +songs_version=3 + +[SettingsDialog] +geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\x2\x1c\0\0\0k\0\0\x5\x62\0\0\x3\x8c\0\0\x2\"\0\0\0\x87\0\0\x5\\\0\0\x3\x86\0\0\0\0\0\0\0\0\a\x80\0\0\x2\"\0\0\0\x87\0\0\x5\\\0\0\x3\x86) + +[Spotify] +albums_group_by1=1 +albums_group_by2=4 +albums_group_by3=0 +albums_group_by_version=1 +albums_separate_albums_by_grouping=false +artists_group_by1=1 +artists_group_by2=4 +artists_group_by3=0 +artists_group_by_version=1 +artists_separate_albums_by_grouping=false +search_group_by1=1 +search_group_by2=4 +search_group_by3=0 +search_group_by_version=1 +songs_group_by1=1 +songs_group_by2=4 +songs_group_by3=0 +songs_group_by_version=1 +songs_separate_albums_by_grouping=false +tab=artists + +[Subsonic] +group_by1=1 +group_by2=4 +group_by3=0 +group_by_version=1 +separate_albums_by_grouping=false + +[Tidal] +albums_group_by1=1 +albums_group_by2=4 +albums_group_by3=0 +albums_group_by_version=1 +albums_separate_albums_by_grouping=false +artists_group_by1=1 +artists_group_by2=4 +artists_group_by3=0 +artists_group_by_version=1 +artists_separate_albums_by_grouping=false +search_group_by1=1 +search_group_by2=4 +search_group_by3=0 +search_group_by_version=1 +songs_group_by1=1 +songs_group_by2=4 +songs_group_by3=0 +songs_group_by_version=1 +songs_separate_albums_by_grouping=false +tab=artists + +[Transcoder] +faac\bitrate=320000 +faac\midside=true +faac\profile=2 +faac\shortctl=0 +faac\tns=false +ffenc_wmav2\bitrate=320000 +flacenc\quality=5 +lamemp3enc\bitrate=320 +lamemp3enc\cbr=false +lamemp3enc\encoding-engine-quality=2 +lamemp3enc\mono=false +lamemp3enc\quality=10 +lamemp3enc\target=1 +opusenc\bitrate=320000 +speexenc\abr=0 +speexenc\bitrate=0 +speexenc\complexity=3 +speexenc\dtx=false +speexenc\mode=0 +speexenc\nframes=1 +speexenc\quality=10 +speexenc\vad=false +speexenc\vbr=false +vorbisenc\bitrate=-1 +vorbisenc\managed=false +vorbisenc\max-bitrate=-1 +vorbisenc\min-bitrate=-1 +vorbisenc\quality=1 diff --git a/.config/xfce4/helpers.rc b/.config/xfce4/helpers.rc new file mode 100644 index 0000000..7136812 --- /dev/null +++ b/.config/xfce4/helpers.rc @@ -0,0 +1,3 @@ +TerminalEmulator=kitty + +WebBrowser=chromium diff --git a/.config/xfce4/panel/launcher-7/17268068281.desktop b/.config/xfce4/panel/launcher-7/17268068281.desktop new file mode 100644 index 0000000..5bfb76a --- /dev/null +++ b/.config/xfce4/panel/launcher-7/17268068281.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Name=Obsidian +Exec=/usr/bin/obsidian %U +Terminal=false +Type=Application +Icon=obsidian +StartupWMClass=obsidian +Comment=Obsidian +MimeType=x-scheme-handler/obsidian; +Categories=Office; +X-XFCE-Source=file:///usr/share/applications/obsidian.desktop diff --git a/.config/xfce4/panel/launcher-7/17268068552.desktop b/.config/xfce4/panel/launcher-7/17268068552.desktop new file mode 100755 index 0000000..2bc560a --- /dev/null +++ b/.config/xfce4/panel/launcher-7/17268068552.desktop @@ -0,0 +1,14 @@ +[Desktop Entry] +Version=1.0 +Name=OBS Studio +GenericName=Streaming/Recording Software +Comment=Free and Open Source Streaming/Recording Software +Exec=obs +Icon=com.obsproject.Studio +Terminal=false +Type=Application +Categories=AudioVideo;Recorder; +StartupNotify=true +StartupWMClass=obs +X-XFCE-Source=file:///usr/share/applications/com.obsproject.Studio.desktop +Path= diff --git a/.config/xfce4/panel/xfce4-timer-plugin-18.rc b/.config/xfce4/panel/xfce4-timer-plugin-18.rc new file mode 100644 index 0000000..a664ab3 --- /dev/null +++ b/.config/xfce4/panel/xfce4-timer-plugin-18.rc @@ -0,0 +1,16 @@ +[G0] +timername=asdads +time=300 +timercommand= +timerinfo=5m 0s +is_countdown=true +autostart=false + +[others] +nowin_if_alarm=false +use_global_command=false +global_command= +repeat_alarm=false +repetitions=1 +repeat_interval=10 + diff --git a/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml b/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml new file mode 100644 index 0000000..b199d8b --- /dev/null +++ b/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml @@ -0,0 +1,178 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-notifyd.xml b/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-notifyd.xml new file mode 100644 index 0000000..f197953 --- /dev/null +++ b/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-notifyd.xml @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml b/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml new file mode 100644 index 0000000..7321e6d --- /dev/null +++ b/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml @@ -0,0 +1,176 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml b/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml new file mode 100644 index 0000000..ed3c5f0 --- /dev/null +++ b/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml @@ -0,0 +1,96 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml b/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml new file mode 100644 index 0000000..71b25c1 --- /dev/null +++ b/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/.gitconfig b/.gitconfig new file mode 100644 index 0000000..fdd0b72 --- /dev/null +++ b/.gitconfig @@ -0,0 +1,3 @@ +[user] + email = gor@lyricaltokarev.com + name = gor_down diff --git a/.p10k.zsh b/.p10k.zsh new file mode 100644 index 0000000..eec169c --- /dev/null +++ b/.p10k.zsh @@ -0,0 +1,1837 @@ +# Generated by Powerlevel10k configuration wizard on 2024-09-21 at 13:26 -03. +# Based on romkatv/powerlevel10k/config/p10k-rainbow.zsh, checksum 44011. +# Wizard options: nerdfont-v3 + powerline, small icons, rainbow, unicode, 24h time, +# angled separators, blurred heads, flat tails, 1 line, sparse, many icons, concise, +# transient_prompt, instant_prompt=verbose. +# Type `p10k configure` to generate another config. +# +# Config for Powerlevel10k with powerline prompt style with colorful background. +# Type `p10k configure` to generate your own config based on it. +# +# Tip: Looking for a nice color? Here's a one-liner to print colormap. +# +# for i in {0..255}; do print -Pn "%K{$i} %k%F{$i}${(l:3::0:)i}%f " ${${(M)$((i%6)):#3}:+$'\n'}; done + +# Temporarily change options. +'builtin' 'local' '-a' 'p10k_config_opts' +[[ ! -o 'aliases' ]] || p10k_config_opts+=('aliases') +[[ ! -o 'sh_glob' ]] || p10k_config_opts+=('sh_glob') +[[ ! -o 'no_brace_expand' ]] || p10k_config_opts+=('no_brace_expand') +'builtin' 'setopt' 'no_aliases' 'no_sh_glob' 'brace_expand' + +() { + emulate -L zsh -o extended_glob + + # Unset all configuration options. This allows you to apply configuration changes without + # restarting zsh. Edit ~/.p10k.zsh and type `source ~/.p10k.zsh`. + unset -m '(POWERLEVEL9K_*|DEFAULT_USER)~POWERLEVEL9K_GITSTATUS_DIR' + + # Zsh >= 5.1 is required. + [[ $ZSH_VERSION == (5.<1->*|<6->.*) ]] || return + + # The list of segments shown on the left. Fill it with the most important segments. + typeset -g POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=( + os_icon # os identifier + dir # current directory + vcs # git status + context # prompt symbol + prompt_char + ) + + # The list of segments shown on the right. Fill it with less important segments. + # Right prompt on the last prompt line (where you are typing your commands) gets + # automatically hidden when the input line reaches it. Right prompt above the + # last prompt line gets hidden if it would overlap with left prompt. + typeset -g POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=( + status # exit code of the last command + command_execution_time # duration of the last command + background_jobs # presence of background jobs + direnv # direnv status (https://direnv.net/) + asdf # asdf version manager (https://github.com/asdf-vm/asdf) + virtualenv # python virtual environment (https://docs.python.org/3/library/venv.html) + anaconda # conda environment (https://conda.io/) + pyenv # python environment (https://github.com/pyenv/pyenv) + goenv # go environment (https://github.com/syndbg/goenv) + nodenv # node.js version from nodenv (https://github.com/nodenv/nodenv) + nvm # node.js version from nvm (https://github.com/nvm-sh/nvm) + nodeenv # node.js environment (https://github.com/ekalinin/nodeenv) + # node_version # node.js version + # go_version # go version (https://golang.org) + # rust_version # rustc version (https://www.rust-lang.org) + # dotnet_version # .NET version (https://dotnet.microsoft.com) + # php_version # php version (https://www.php.net/) + # laravel_version # laravel php framework version (https://laravel.com/) + # java_version # java version (https://www.java.com/) + # package # name@version from package.json (https://docs.npmjs.com/files/package.json) + rbenv # ruby version from rbenv (https://github.com/rbenv/rbenv) + rvm # ruby version from rvm (https://rvm.io) + fvm # flutter version management (https://github.com/leoafarias/fvm) + luaenv # lua version from luaenv (https://github.com/cehoffman/luaenv) + jenv # java version from jenv (https://github.com/jenv/jenv) + plenv # perl version from plenv (https://github.com/tokuhirom/plenv) + perlbrew # perl version from perlbrew (https://github.com/gugod/App-perlbrew) + phpenv # php version from phpenv (https://github.com/phpenv/phpenv) + scalaenv # scala version from scalaenv (https://github.com/scalaenv/scalaenv) + haskell_stack # haskell version from stack (https://haskellstack.org/) + kubecontext # current kubernetes context (https://kubernetes.io/) + terraform # terraform workspace (https://www.terraform.io) + # terraform_version # terraform version (https://www.terraform.io) + aws # aws profile (https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html) + aws_eb_env # aws elastic beanstalk environment (https://aws.amazon.com/elasticbeanstalk/) + azure # azure account name (https://docs.microsoft.com/en-us/cli/azure) + gcloud # google cloud cli account and project (https://cloud.google.com/) + google_app_cred # google application credentials (https://cloud.google.com/docs/authentication/production) + toolbox # toolbox name (https://github.com/containers/toolbox) + # context # user@hostname + nordvpn # nordvpn connection status, linux only (https://nordvpn.com/) + ranger # ranger shell (https://github.com/ranger/ranger) + yazi # yazi shell (https://github.com/sxyazi/yazi) + nnn # nnn shell (https://github.com/jarun/nnn) + lf # lf shell (https://github.com/gokcehan/lf) + xplr # xplr shell (https://github.com/sayanarijit/xplr) + vim_shell # vim shell indicator (:sh) + midnight_commander # midnight commander shell (https://midnight-commander.org/) + nix_shell # nix shell (https://nixos.org/nixos/nix-pills/developing-with-nix-shell.html) + chezmoi_shell # chezmoi shell (https://www.chezmoi.io/) + vi_mode # vi mode (you don't need this if you've enabled prompt_char) + # vpn_ip # virtual private network indicator + # load # CPU load + # disk_usage # disk usage + # ram # free RAM + # swap # used swap + todo # todo items (https://github.com/todotxt/todo.txt-cli) + timewarrior # timewarrior tracking status (https://timewarrior.net/) + taskwarrior # taskwarrior task count (https://taskwarrior.org/) + per_directory_history # Oh My Zsh per-directory-history local/global indicator + # cpu_arch # CPU architecture + time # current time + # ip # ip address and bandwidth usage for a specified network interface + # public_ip # public IP address + # proxy # system-wide http/https/ftp proxy + # battery # internal battery + # wifi # wifi speed + # example # example user-defined segment (see prompt_example function below) + ) + + # Defines character set used by powerlevel10k. It's best to let `p10k configure` set it for you. + typeset -g POWERLEVEL9K_MODE=nerdfont-v3 + # When set to `moderate`, some icons will have an extra space after them. This is meant to avoid + # icon overlap when using non-monospace fonts. When set to `none`, spaces are not added. + typeset -g POWERLEVEL9K_ICON_PADDING=none + + # When set to true, icons appear before content on both sides of the prompt. When set + # to false, icons go after content. If empty or not set, icons go before content in the left + # prompt and after content in the right prompt. + # + # You can also override it for a specific segment: + # + # POWERLEVEL9K_STATUS_ICON_BEFORE_CONTENT=false + # + # Or for a specific segment in specific state: + # + # POWERLEVEL9K_DIR_NOT_WRITABLE_ICON_BEFORE_CONTENT=false + typeset -g POWERLEVEL9K_ICON_BEFORE_CONTENT= + + # Add an empty line before each prompt. + typeset -g POWERLEVEL9K_PROMPT_ADD_NEWLINE=true + + # Connect left prompt lines with these symbols. You'll probably want to use the same color + # as POWERLEVEL9K_MULTILINE_FIRST_PROMPT_GAP_FOREGROUND below. + typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_PREFIX='%242F╭─' + typeset -g POWERLEVEL9K_MULTILINE_NEWLINE_PROMPT_PREFIX='%242F├─' + typeset -g POWERLEVEL9K_MULTILINE_LAST_PROMPT_PREFIX='%242F╰─' + # Connect right prompt lines with these symbols. + typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_SUFFIX='%242F─╮' + typeset -g POWERLEVEL9K_MULTILINE_NEWLINE_PROMPT_SUFFIX='%242F─┤' + typeset -g POWERLEVEL9K_MULTILINE_LAST_PROMPT_SUFFIX='%242F─╯' + + # Filler between left and right prompt on the first prompt line. You can set it to ' ', '·' or + # '─'. The last two make it easier to see the alignment between left and right prompt and to + # separate prompt from command output. You might want to set POWERLEVEL9K_PROMPT_ADD_NEWLINE=false + # for more compact prompt if using this option. + typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_GAP_CHAR=' ' + typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_GAP_BACKGROUND= + typeset -g POWERLEVEL9K_MULTILINE_NEWLINE_PROMPT_GAP_BACKGROUND= + if [[ $POWERLEVEL9K_MULTILINE_FIRST_PROMPT_GAP_CHAR != ' ' ]]; then + # The color of the filler. You'll probably want to match the color of POWERLEVEL9K_MULTILINE + # ornaments defined above. + typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_GAP_FOREGROUND=242 + # Start filler from the edge of the screen if there are no left segments on the first line. + typeset -g POWERLEVEL9K_EMPTY_LINE_LEFT_PROMPT_FIRST_SEGMENT_END_SYMBOL='%{%}' + # End filler on the edge of the screen if there are no right segments on the first line. + typeset -g POWERLEVEL9K_EMPTY_LINE_RIGHT_PROMPT_FIRST_SEGMENT_START_SYMBOL='%{%}' + fi + + # Separator between same-color segments on the left. + typeset -g POWERLEVEL9K_LEFT_SUBSEGMENT_SEPARATOR='\uE0B1' + # Separator between same-color segments on the right. + typeset -g POWERLEVEL9K_RIGHT_SUBSEGMENT_SEPARATOR='\uE0B3' + # Separator between different-color segments on the left. + typeset -g POWERLEVEL9K_LEFT_SEGMENT_SEPARATOR='\uE0B0' + # Separator between different-color segments on the right. + typeset -g POWERLEVEL9K_RIGHT_SEGMENT_SEPARATOR='\uE0B2' + # To remove a separator between two segments, add "_joined" to the second segment name. + # For example: POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(os_icon context_joined) + + # The right end of left prompt. + typeset -g POWERLEVEL9K_LEFT_PROMPT_LAST_SEGMENT_END_SYMBOL='▓▒░' + # The left end of right prompt. + typeset -g POWERLEVEL9K_RIGHT_PROMPT_FIRST_SEGMENT_START_SYMBOL='░▒▓' + # The left end of left prompt. + typeset -g POWERLEVEL9K_LEFT_PROMPT_FIRST_SEGMENT_START_SYMBOL='' + # The right end of right prompt. + typeset -g POWERLEVEL9K_RIGHT_PROMPT_LAST_SEGMENT_END_SYMBOL='' + # Left prompt terminator for lines without any segments. + typeset -g POWERLEVEL9K_EMPTY_LINE_LEFT_PROMPT_LAST_SEGMENT_END_SYMBOL= + + #################################[ os_icon: os identifier ]################################## + # OS identifier color. + typeset -g POWERLEVEL9K_OS_ICON_FOREGROUND=232 + typeset -g POWERLEVEL9K_OS_ICON_BACKGROUND=7 + # Custom icon. + # typeset -g POWERLEVEL9K_OS_ICON_CONTENT_EXPANSION='⭐' + + ################################[ prompt_char: prompt symbol ]################################ + # Transparent background. + typeset -g POWERLEVEL9K_PROMPT_CHAR_BACKGROUND= + # Green prompt symbol if the last command succeeded. + typeset -g POWERLEVEL9K_PROMPT_CHAR_OK_{VIINS,VICMD,VIVIS,VIOWR}_FOREGROUND=76 + # Red prompt symbol if the last command failed. + typeset -g POWERLEVEL9K_PROMPT_CHAR_ERROR_{VIINS,VICMD,VIVIS,VIOWR}_FOREGROUND=196 + # Default prompt symbol. + typeset -g POWERLEVEL9K_PROMPT_CHAR_{OK,ERROR}_VIINS_CONTENT_EXPANSION='❯' + # Prompt symbol in command vi mode. + typeset -g POWERLEVEL9K_PROMPT_CHAR_{OK,ERROR}_VICMD_CONTENT_EXPANSION='❮' + # Prompt symbol in visual vi mode. + typeset -g POWERLEVEL9K_PROMPT_CHAR_{OK,ERROR}_VIVIS_CONTENT_EXPANSION='V' + # Prompt symbol in overwrite vi mode. + typeset -g POWERLEVEL9K_PROMPT_CHAR_{OK,ERROR}_VIOWR_CONTENT_EXPANSION='▶' + typeset -g POWERLEVEL9K_PROMPT_CHAR_OVERWRITE_STATE=true + # No line terminator if prompt_char is the last segment. + typeset -g POWERLEVEL9K_PROMPT_CHAR_LEFT_PROMPT_LAST_SEGMENT_END_SYMBOL= + # No line introducer if prompt_char is the first segment. + typeset -g POWERLEVEL9K_PROMPT_CHAR_LEFT_PROMPT_FIRST_SEGMENT_START_SYMBOL= + # No surrounding whitespace. + typeset -g POWERLEVEL9K_PROMPT_CHAR_LEFT_{LEFT,RIGHT}_WHITESPACE= + + ##################################[ dir: current directory ]################################## + # Current directory background color. + typeset -g POWERLEVEL9K_DIR_BACKGROUND=4 + # Default current directory foreground color. + typeset -g POWERLEVEL9K_DIR_FOREGROUND=254 + # If directory is too long, shorten some of its segments to the shortest possible unique + # prefix. The shortened directory can be tab-completed to the original. + typeset -g POWERLEVEL9K_SHORTEN_STRATEGY=truncate_to_unique + # Replace removed segment suffixes with this symbol. + typeset -g POWERLEVEL9K_SHORTEN_DELIMITER= + # Color of the shortened directory segments. + typeset -g POWERLEVEL9K_DIR_SHORTENED_FOREGROUND=250 + # Color of the anchor directory segments. Anchor segments are never shortened. The first + # segment is always an anchor. + typeset -g POWERLEVEL9K_DIR_ANCHOR_FOREGROUND=255 + # Display anchor directory segments in bold. + typeset -g POWERLEVEL9K_DIR_ANCHOR_BOLD=true + # Don't shorten directories that contain any of these files. They are anchors. + local anchor_files=( + .bzr + .citc + .git + .hg + .node-version + .python-version + .go-version + .ruby-version + .lua-version + .java-version + .perl-version + .php-version + .tool-versions + .shorten_folder_marker + .svn + .terraform + CVS + Cargo.toml + composer.json + go.mod + package.json + stack.yaml + ) + typeset -g POWERLEVEL9K_SHORTEN_FOLDER_MARKER="(${(j:|:)anchor_files})" + # If set to "first" ("last"), remove everything before the first (last) subdirectory that contains + # files matching $POWERLEVEL9K_SHORTEN_FOLDER_MARKER. For example, when the current directory is + # /foo/bar/git_repo/nested_git_repo/baz, prompt will display git_repo/nested_git_repo/baz (first) + # or nested_git_repo/baz (last). This assumes that git_repo and nested_git_repo contain markers + # and other directories don't. + # + # Optionally, "first" and "last" can be followed by ":" where is an integer. + # This moves the truncation point to the right (positive offset) or to the left (negative offset) + # relative to the marker. Plain "first" and "last" are equivalent to "first:0" and "last:0" + # respectively. + typeset -g POWERLEVEL9K_DIR_TRUNCATE_BEFORE_MARKER=false + # Don't shorten this many last directory segments. They are anchors. + typeset -g POWERLEVEL9K_SHORTEN_DIR_LENGTH=1 + # Shorten directory if it's longer than this even if there is space for it. The value can + # be either absolute (e.g., '80') or a percentage of terminal width (e.g, '50%'). If empty, + # directory will be shortened only when prompt doesn't fit or when other parameters demand it + # (see POWERLEVEL9K_DIR_MIN_COMMAND_COLUMNS and POWERLEVEL9K_DIR_MIN_COMMAND_COLUMNS_PCT below). + # If set to `0`, directory will always be shortened to its minimum length. + typeset -g POWERLEVEL9K_DIR_MAX_LENGTH=80 + # When `dir` segment is on the last prompt line, try to shorten it enough to leave at least this + # many columns for typing commands. + typeset -g POWERLEVEL9K_DIR_MIN_COMMAND_COLUMNS=40 + # When `dir` segment is on the last prompt line, try to shorten it enough to leave at least + # COLUMNS * POWERLEVEL9K_DIR_MIN_COMMAND_COLUMNS_PCT * 0.01 columns for typing commands. + typeset -g POWERLEVEL9K_DIR_MIN_COMMAND_COLUMNS_PCT=50 + # If set to true, embed a hyperlink into the directory. Useful for quickly + # opening a directory in the file manager simply by clicking the link. + # Can also be handy when the directory is shortened, as it allows you to see + # the full directory that was used in previous commands. + typeset -g POWERLEVEL9K_DIR_HYPERLINK=false + + # Enable special styling for non-writable and non-existent directories. See POWERLEVEL9K_LOCK_ICON + # and POWERLEVEL9K_DIR_CLASSES below. + typeset -g POWERLEVEL9K_DIR_SHOW_WRITABLE=v3 + + # The default icon shown next to non-writable and non-existent directories when + # POWERLEVEL9K_DIR_SHOW_WRITABLE is set to v3. + # typeset -g POWERLEVEL9K_LOCK_ICON='⭐' + + # POWERLEVEL9K_DIR_CLASSES allows you to specify custom icons and colors for different + # directories. It must be an array with 3 * N elements. Each triplet consists of: + # + # 1. A pattern against which the current directory ($PWD) is matched. Matching is done with + # extended_glob option enabled. + # 2. Directory class for the purpose of styling. + # 3. An empty string. + # + # Triplets are tried in order. The first triplet whose pattern matches $PWD wins. + # + # If POWERLEVEL9K_DIR_SHOW_WRITABLE is set to v3, non-writable and non-existent directories + # acquire class suffix _NOT_WRITABLE and NON_EXISTENT respectively. + # + # For example, given these settings: + # + # typeset -g POWERLEVEL9K_DIR_CLASSES=( + # '~/work(|/*)' WORK '' + # '~(|/*)' HOME '' + # '*' DEFAULT '') + # + # Whenever the current directory is ~/work or a subdirectory of ~/work, it gets styled with one + # of the following classes depending on its writability and existence: WORK, WORK_NOT_WRITABLE or + # WORK_NON_EXISTENT. + # + # Simply assigning classes to directories doesn't have any visible effects. It merely gives you an + # option to define custom colors and icons for different directory classes. + # + # # Styling for WORK. + # typeset -g POWERLEVEL9K_DIR_WORK_VISUAL_IDENTIFIER_EXPANSION='⭐' + # typeset -g POWERLEVEL9K_DIR_WORK_BACKGROUND=4 + # typeset -g POWERLEVEL9K_DIR_WORK_FOREGROUND=254 + # typeset -g POWERLEVEL9K_DIR_WORK_SHORTENED_FOREGROUND=250 + # typeset -g POWERLEVEL9K_DIR_WORK_ANCHOR_FOREGROUND=255 + # + # # Styling for WORK_NOT_WRITABLE. + # typeset -g POWERLEVEL9K_DIR_WORK_NOT_WRITABLE_VISUAL_IDENTIFIER_EXPANSION='⭐' + # typeset -g POWERLEVEL9K_DIR_WORK_NOT_WRITABLE_BACKGROUND=4 + # typeset -g POWERLEVEL9K_DIR_WORK_NOT_WRITABLE_FOREGROUND=254 + # typeset -g POWERLEVEL9K_DIR_WORK_NOT_WRITABLE_SHORTENED_FOREGROUND=250 + # typeset -g POWERLEVEL9K_DIR_WORK_NOT_WRITABLE_ANCHOR_FOREGROUND=255 + # + # # Styling for WORK_NON_EXISTENT. + # typeset -g POWERLEVEL9K_DIR_WORK_NON_EXISTENT_VISUAL_IDENTIFIER_EXPANSION='⭐' + # typeset -g POWERLEVEL9K_DIR_WORK_NON_EXISTENT_BACKGROUND=4 + # typeset -g POWERLEVEL9K_DIR_WORK_NON_EXISTENT_FOREGROUND=254 + # typeset -g POWERLEVEL9K_DIR_WORK_NON_EXISTENT_SHORTENED_FOREGROUND=250 + # typeset -g POWERLEVEL9K_DIR_WORK_NON_EXISTENT_ANCHOR_FOREGROUND=255 + # + # If a styling parameter isn't explicitly defined for some class, it falls back to the classless + # parameter. For example, if POWERLEVEL9K_DIR_WORK_NOT_WRITABLE_FOREGROUND is not set, it falls + # back to POWERLEVEL9K_DIR_FOREGROUND. + # + # typeset -g POWERLEVEL9K_DIR_CLASSES=() + + # Custom prefix. + # typeset -g POWERLEVEL9K_DIR_PREFIX='in ' + + #####################################[ vcs: git status ]###################################### + # Version control background colors. + typeset -g POWERLEVEL9K_VCS_CLEAN_BACKGROUND=2 + typeset -g POWERLEVEL9K_VCS_MODIFIED_BACKGROUND=3 + typeset -g POWERLEVEL9K_VCS_UNTRACKED_BACKGROUND=2 + typeset -g POWERLEVEL9K_VCS_CONFLICTED_BACKGROUND=3 + typeset -g POWERLEVEL9K_VCS_LOADING_BACKGROUND=8 + + # Branch icon. Set this parameter to '\UE0A0 ' for the popular Powerline branch icon. + typeset -g POWERLEVEL9K_VCS_BRANCH_ICON='\uF126 ' + + # Untracked files icon. It's really a question mark, your font isn't broken. + # Change the value of this parameter to show a different icon. + typeset -g POWERLEVEL9K_VCS_UNTRACKED_ICON='?' + + # Formatter for Git status. + # + # Example output: master wip ⇣42⇡42 *42 merge ~42 +42 !42 ?42. + # + # You can edit the function to customize how Git status looks. + # + # VCS_STATUS_* parameters are set by gitstatus plugin. See reference: + # https://github.com/romkatv/gitstatus/blob/master/gitstatus.plugin.zsh. + function my_git_formatter() { + emulate -L zsh + + if [[ -n $P9K_CONTENT ]]; then + # If P9K_CONTENT is not empty, use it. It's either "loading" or from vcs_info (not from + # gitstatus plugin). VCS_STATUS_* parameters are not available in this case. + typeset -g my_git_format=$P9K_CONTENT + return + fi + + # Styling for different parts of Git status. + local meta='%7F' # white foreground + local clean='%0F' # black foreground + local modified='%0F' # black foreground + local untracked='%0F' # black foreground + local conflicted='%1F' # red foreground + + local res + + if [[ -n $VCS_STATUS_LOCAL_BRANCH ]]; then + local branch=${(V)VCS_STATUS_LOCAL_BRANCH} + # If local branch name is at most 32 characters long, show it in full. + # Otherwise show the first 12 … the last 12. + # Tip: To always show local branch name in full without truncation, delete the next line. + (( $#branch > 32 )) && branch[13,-13]="…" # <-- this line + res+="${clean}${(g::)POWERLEVEL9K_VCS_BRANCH_ICON}${branch//\%/%%}" + fi + + if [[ -n $VCS_STATUS_TAG + # Show tag only if not on a branch. + # Tip: To always show tag, delete the next line. + && -z $VCS_STATUS_LOCAL_BRANCH # <-- this line + ]]; then + local tag=${(V)VCS_STATUS_TAG} + # If tag name is at most 32 characters long, show it in full. + # Otherwise show the first 12 … the last 12. + # Tip: To always show tag name in full without truncation, delete the next line. + (( $#tag > 32 )) && tag[13,-13]="…" # <-- this line + res+="${meta}#${clean}${tag//\%/%%}" + fi + + # Display the current Git commit if there is no branch and no tag. + # Tip: To always display the current Git commit, delete the next line. + [[ -z $VCS_STATUS_LOCAL_BRANCH && -z $VCS_STATUS_TAG ]] && # <-- this line + res+="${meta}@${clean}${VCS_STATUS_COMMIT[1,8]}" + + # Show tracking branch name if it differs from local branch. + if [[ -n ${VCS_STATUS_REMOTE_BRANCH:#$VCS_STATUS_LOCAL_BRANCH} ]]; then + res+="${meta}:${clean}${(V)VCS_STATUS_REMOTE_BRANCH//\%/%%}" + fi + + # Display "wip" if the latest commit's summary contains "wip" or "WIP". + if [[ $VCS_STATUS_COMMIT_SUMMARY == (|*[^[:alnum:]])(wip|WIP)(|[^[:alnum:]]*) ]]; then + res+=" ${modified}wip" + fi + + if (( VCS_STATUS_COMMITS_AHEAD || VCS_STATUS_COMMITS_BEHIND )); then + # ⇣42 if behind the remote. + (( VCS_STATUS_COMMITS_BEHIND )) && res+=" ${clean}⇣${VCS_STATUS_COMMITS_BEHIND}" + # ⇡42 if ahead of the remote; no leading space if also behind the remote: ⇣42⇡42. + (( VCS_STATUS_COMMITS_AHEAD && !VCS_STATUS_COMMITS_BEHIND )) && res+=" " + (( VCS_STATUS_COMMITS_AHEAD )) && res+="${clean}⇡${VCS_STATUS_COMMITS_AHEAD}" + elif [[ -n $VCS_STATUS_REMOTE_BRANCH ]]; then + # Tip: Uncomment the next line to display '=' if up to date with the remote. + # res+=" ${clean}=" + fi + + # ⇠42 if behind the push remote. + (( VCS_STATUS_PUSH_COMMITS_BEHIND )) && res+=" ${clean}⇠${VCS_STATUS_PUSH_COMMITS_BEHIND}" + (( VCS_STATUS_PUSH_COMMITS_AHEAD && !VCS_STATUS_PUSH_COMMITS_BEHIND )) && res+=" " + # ⇢42 if ahead of the push remote; no leading space if also behind: ⇠42⇢42. + (( VCS_STATUS_PUSH_COMMITS_AHEAD )) && res+="${clean}⇢${VCS_STATUS_PUSH_COMMITS_AHEAD}" + # *42 if have stashes. + (( VCS_STATUS_STASHES )) && res+=" ${clean}*${VCS_STATUS_STASHES}" + # 'merge' if the repo is in an unusual state. + [[ -n $VCS_STATUS_ACTION ]] && res+=" ${conflicted}${VCS_STATUS_ACTION}" + # ~42 if have merge conflicts. + (( VCS_STATUS_NUM_CONFLICTED )) && res+=" ${conflicted}~${VCS_STATUS_NUM_CONFLICTED}" + # +42 if have staged changes. + (( VCS_STATUS_NUM_STAGED )) && res+=" ${modified}+${VCS_STATUS_NUM_STAGED}" + # !42 if have unstaged changes. + (( VCS_STATUS_NUM_UNSTAGED )) && res+=" ${modified}!${VCS_STATUS_NUM_UNSTAGED}" + # ?42 if have untracked files. It's really a question mark, your font isn't broken. + # See POWERLEVEL9K_VCS_UNTRACKED_ICON above if you want to use a different icon. + # Remove the next line if you don't want to see untracked files at all. + (( VCS_STATUS_NUM_UNTRACKED )) && res+=" ${untracked}${(g::)POWERLEVEL9K_VCS_UNTRACKED_ICON}${VCS_STATUS_NUM_UNTRACKED}" + # "─" if the number of unstaged files is unknown. This can happen due to + # POWERLEVEL9K_VCS_MAX_INDEX_SIZE_DIRTY (see below) being set to a non-negative number lower + # than the number of files in the Git index, or due to bash.showDirtyState being set to false + # in the repository config. The number of staged and untracked files may also be unknown + # in this case. + (( VCS_STATUS_HAS_UNSTAGED == -1 )) && res+=" ${modified}─" + + typeset -g my_git_format=$res + } + functions -M my_git_formatter 2>/dev/null + + # Don't count the number of unstaged, untracked and conflicted files in Git repositories with + # more than this many files in the index. Negative value means infinity. + # + # If you are working in Git repositories with tens of millions of files and seeing performance + # sagging, try setting POWERLEVEL9K_VCS_MAX_INDEX_SIZE_DIRTY to a number lower than the output + # of `git ls-files | wc -l`. Alternatively, add `bash.showDirtyState = false` to the repository's + # config: `git config bash.showDirtyState false`. + typeset -g POWERLEVEL9K_VCS_MAX_INDEX_SIZE_DIRTY=-1 + + # Don't show Git status in prompt for repositories whose workdir matches this pattern. + # For example, if set to '~', the Git repository at $HOME/.git will be ignored. + # Multiple patterns can be combined with '|': '~(|/foo)|/bar/baz/*'. + typeset -g POWERLEVEL9K_VCS_DISABLED_WORKDIR_PATTERN='~' + + # Disable the default Git status formatting. + typeset -g POWERLEVEL9K_VCS_DISABLE_GITSTATUS_FORMATTING=true + # Install our own Git status formatter. + typeset -g POWERLEVEL9K_VCS_CONTENT_EXPANSION='${$((my_git_formatter()))+${my_git_format}}' + # Enable counters for staged, unstaged, etc. + typeset -g POWERLEVEL9K_VCS_{STAGED,UNSTAGED,UNTRACKED,CONFLICTED,COMMITS_AHEAD,COMMITS_BEHIND}_MAX_NUM=-1 + + # Custom icon. + # typeset -g POWERLEVEL9K_VCS_VISUAL_IDENTIFIER_EXPANSION='⭐' + # Custom prefix. + # typeset -g POWERLEVEL9K_VCS_PREFIX='on ' + + # Show status of repositories of these types. You can add svn and/or hg if you are + # using them. If you do, your prompt may become slow even when your current directory + # isn't in an svn or hg repository. + typeset -g POWERLEVEL9K_VCS_BACKENDS=(git) + + ##########################[ status: exit code of the last command ]########################### + # Enable OK_PIPE, ERROR_PIPE and ERROR_SIGNAL status states to allow us to enable, disable and + # style them independently from the regular OK and ERROR state. + typeset -g POWERLEVEL9K_STATUS_EXTENDED_STATES=true + + # Status on success. No content, just an icon. No need to show it if prompt_char is enabled as + # it will signify success by turning green. + typeset -g POWERLEVEL9K_STATUS_OK=true + typeset -g POWERLEVEL9K_STATUS_OK_VISUAL_IDENTIFIER_EXPANSION='✔' + typeset -g POWERLEVEL9K_STATUS_OK_FOREGROUND=2 + typeset -g POWERLEVEL9K_STATUS_OK_BACKGROUND=0 + + # Status when some part of a pipe command fails but the overall exit status is zero. It may look + # like this: 1|0. + typeset -g POWERLEVEL9K_STATUS_OK_PIPE=true + typeset -g POWERLEVEL9K_STATUS_OK_PIPE_VISUAL_IDENTIFIER_EXPANSION='✔' + typeset -g POWERLEVEL9K_STATUS_OK_PIPE_FOREGROUND=2 + typeset -g POWERLEVEL9K_STATUS_OK_PIPE_BACKGROUND=0 + + # Status when it's just an error code (e.g., '1'). No need to show it if prompt_char is enabled as + # it will signify error by turning red. + typeset -g POWERLEVEL9K_STATUS_ERROR=true + typeset -g POWERLEVEL9K_STATUS_ERROR_VISUAL_IDENTIFIER_EXPANSION='✘' + typeset -g POWERLEVEL9K_STATUS_ERROR_FOREGROUND=3 + typeset -g POWERLEVEL9K_STATUS_ERROR_BACKGROUND=1 + + # Status when the last command was terminated by a signal. + typeset -g POWERLEVEL9K_STATUS_ERROR_SIGNAL=true + # Use terse signal names: "INT" instead of "SIGINT(2)". + typeset -g POWERLEVEL9K_STATUS_VERBOSE_SIGNAME=false + typeset -g POWERLEVEL9K_STATUS_ERROR_SIGNAL_VISUAL_IDENTIFIER_EXPANSION='✘' + typeset -g POWERLEVEL9K_STATUS_ERROR_SIGNAL_FOREGROUND=3 + typeset -g POWERLEVEL9K_STATUS_ERROR_SIGNAL_BACKGROUND=1 + + # Status when some part of a pipe command fails and the overall exit status is also non-zero. + # It may look like this: 1|0. + typeset -g POWERLEVEL9K_STATUS_ERROR_PIPE=true + typeset -g POWERLEVEL9K_STATUS_ERROR_PIPE_VISUAL_IDENTIFIER_EXPANSION='✘' + typeset -g POWERLEVEL9K_STATUS_ERROR_PIPE_FOREGROUND=3 + typeset -g POWERLEVEL9K_STATUS_ERROR_PIPE_BACKGROUND=1 + + ###################[ command_execution_time: duration of the last command ]################### + # Execution time color. + typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_FOREGROUND=0 + typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_BACKGROUND=3 + # Show duration of the last command if takes at least this many seconds. + typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_THRESHOLD=3 + # Show this many fractional digits. Zero means round to seconds. + typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_PRECISION=0 + # Duration format: 1d 2h 3m 4s. + typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_FORMAT='d h m s' + # Custom icon. + # typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_VISUAL_IDENTIFIER_EXPANSION='⭐' + # Custom prefix. + # typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_PREFIX='took ' + + #######################[ background_jobs: presence of background jobs ]####################### + # Background jobs color. + typeset -g POWERLEVEL9K_BACKGROUND_JOBS_FOREGROUND=6 + typeset -g POWERLEVEL9K_BACKGROUND_JOBS_BACKGROUND=0 + # Don't show the number of background jobs. + typeset -g POWERLEVEL9K_BACKGROUND_JOBS_VERBOSE=false + # Custom icon. + # typeset -g POWERLEVEL9K_BACKGROUND_JOBS_VISUAL_IDENTIFIER_EXPANSION='⭐' + + #######################[ direnv: direnv status (https://direnv.net/) ]######################## + # Direnv color. + typeset -g POWERLEVEL9K_DIRENV_FOREGROUND=3 + typeset -g POWERLEVEL9K_DIRENV_BACKGROUND=0 + # Custom icon. + # typeset -g POWERLEVEL9K_DIRENV_VISUAL_IDENTIFIER_EXPANSION='⭐' + + ###############[ asdf: asdf version manager (https://github.com/asdf-vm/asdf) ]############### + # Default asdf color. Only used to display tools for which there is no color override (see below). + # Tip: Override these parameters for ${TOOL} with POWERLEVEL9K_ASDF_${TOOL}_FOREGROUND and + # POWERLEVEL9K_ASDF_${TOOL}_BACKGROUND. + typeset -g POWERLEVEL9K_ASDF_FOREGROUND=0 + typeset -g POWERLEVEL9K_ASDF_BACKGROUND=7 + + # There are four parameters that can be used to hide asdf tools. Each parameter describes + # conditions under which a tool gets hidden. Parameters can hide tools but not unhide them. If at + # least one parameter decides to hide a tool, that tool gets hidden. If no parameter decides to + # hide a tool, it gets shown. + # + # Special note on the difference between POWERLEVEL9K_ASDF_SOURCES and + # POWERLEVEL9K_ASDF_PROMPT_ALWAYS_SHOW. Consider the effect of the following commands: + # + # asdf local python 3.8.1 + # asdf global python 3.8.1 + # + # After running both commands the current python version is 3.8.1 and its source is "local" as + # it takes precedence over "global". If POWERLEVEL9K_ASDF_PROMPT_ALWAYS_SHOW is set to false, + # it'll hide python version in this case because 3.8.1 is the same as the global version. + # POWERLEVEL9K_ASDF_SOURCES will hide python version only if the value of this parameter doesn't + # contain "local". + + # Hide tool versions that don't come from one of these sources. + # + # Available sources: + # + # - shell `asdf current` says "set by ASDF_${TOOL}_VERSION environment variable" + # - local `asdf current` says "set by /some/not/home/directory/file" + # - global `asdf current` says "set by /home/username/file" + # + # Note: If this parameter is set to (shell local global), it won't hide tools. + # Tip: Override this parameter for ${TOOL} with POWERLEVEL9K_ASDF_${TOOL}_SOURCES. + typeset -g POWERLEVEL9K_ASDF_SOURCES=(shell local global) + + # If set to false, hide tool versions that are the same as global. + # + # Note: The name of this parameter doesn't reflect its meaning at all. + # Note: If this parameter is set to true, it won't hide tools. + # Tip: Override this parameter for ${TOOL} with POWERLEVEL9K_ASDF_${TOOL}_PROMPT_ALWAYS_SHOW. + typeset -g POWERLEVEL9K_ASDF_PROMPT_ALWAYS_SHOW=false + + # If set to false, hide tool versions that are equal to "system". + # + # Note: If this parameter is set to true, it won't hide tools. + # Tip: Override this parameter for ${TOOL} with POWERLEVEL9K_ASDF_${TOOL}_SHOW_SYSTEM. + typeset -g POWERLEVEL9K_ASDF_SHOW_SYSTEM=true + + # If set to non-empty value, hide tools unless there is a file matching the specified file pattern + # in the current directory, or its parent directory, or its grandparent directory, and so on. + # + # Note: If this parameter is set to empty value, it won't hide tools. + # Note: SHOW_ON_UPGLOB isn't specific to asdf. It works with all prompt segments. + # Tip: Override this parameter for ${TOOL} with POWERLEVEL9K_ASDF_${TOOL}_SHOW_ON_UPGLOB. + # + # Example: Hide nodejs version when there is no package.json and no *.js files in the current + # directory, in `..`, in `../..` and so on. + # + # typeset -g POWERLEVEL9K_ASDF_NODEJS_SHOW_ON_UPGLOB='*.js|package.json' + typeset -g POWERLEVEL9K_ASDF_SHOW_ON_UPGLOB= + + # Ruby version from asdf. + typeset -g POWERLEVEL9K_ASDF_RUBY_FOREGROUND=0 + typeset -g POWERLEVEL9K_ASDF_RUBY_BACKGROUND=1 + # typeset -g POWERLEVEL9K_ASDF_RUBY_VISUAL_IDENTIFIER_EXPANSION='⭐' + # typeset -g POWERLEVEL9K_ASDF_RUBY_SHOW_ON_UPGLOB='*.foo|*.bar' + + # Python version from asdf. + typeset -g POWERLEVEL9K_ASDF_PYTHON_FOREGROUND=0 + typeset -g POWERLEVEL9K_ASDF_PYTHON_BACKGROUND=4 + # typeset -g POWERLEVEL9K_ASDF_PYTHON_VISUAL_IDENTIFIER_EXPANSION='⭐' + # typeset -g POWERLEVEL9K_ASDF_PYTHON_SHOW_ON_UPGLOB='*.foo|*.bar' + + # Go version from asdf. + typeset -g POWERLEVEL9K_ASDF_GOLANG_FOREGROUND=0 + typeset -g POWERLEVEL9K_ASDF_GOLANG_BACKGROUND=4 + # typeset -g POWERLEVEL9K_ASDF_GOLANG_VISUAL_IDENTIFIER_EXPANSION='⭐' + # typeset -g POWERLEVEL9K_ASDF_GOLANG_SHOW_ON_UPGLOB='*.foo|*.bar' + + # Node.js version from asdf. + typeset -g POWERLEVEL9K_ASDF_NODEJS_FOREGROUND=0 + typeset -g POWERLEVEL9K_ASDF_NODEJS_BACKGROUND=2 + # typeset -g POWERLEVEL9K_ASDF_NODEJS_VISUAL_IDENTIFIER_EXPANSION='⭐' + # typeset -g POWERLEVEL9K_ASDF_NODEJS_SHOW_ON_UPGLOB='*.foo|*.bar' + + # Rust version from asdf. + typeset -g POWERLEVEL9K_ASDF_RUST_FOREGROUND=0 + typeset -g POWERLEVEL9K_ASDF_RUST_BACKGROUND=208 + # typeset -g POWERLEVEL9K_ASDF_RUST_VISUAL_IDENTIFIER_EXPANSION='⭐' + # typeset -g POWERLEVEL9K_ASDF_RUST_SHOW_ON_UPGLOB='*.foo|*.bar' + + # .NET Core version from asdf. + typeset -g POWERLEVEL9K_ASDF_DOTNET_CORE_FOREGROUND=0 + typeset -g POWERLEVEL9K_ASDF_DOTNET_CORE_BACKGROUND=5 + # typeset -g POWERLEVEL9K_ASDF_DOTNET_CORE_VISUAL_IDENTIFIER_EXPANSION='⭐' + # typeset -g POWERLEVEL9K_ASDF_DOTNET_CORE_SHOW_ON_UPGLOB='*.foo|*.bar' + + # Flutter version from asdf. + typeset -g POWERLEVEL9K_ASDF_FLUTTER_FOREGROUND=0 + typeset -g POWERLEVEL9K_ASDF_FLUTTER_BACKGROUND=4 + # typeset -g POWERLEVEL9K_ASDF_FLUTTER_VISUAL_IDENTIFIER_EXPANSION='⭐' + # typeset -g POWERLEVEL9K_ASDF_FLUTTER_SHOW_ON_UPGLOB='*.foo|*.bar' + + # Lua version from asdf. + typeset -g POWERLEVEL9K_ASDF_LUA_FOREGROUND=0 + typeset -g POWERLEVEL9K_ASDF_LUA_BACKGROUND=4 + # typeset -g POWERLEVEL9K_ASDF_LUA_VISUAL_IDENTIFIER_EXPANSION='⭐' + # typeset -g POWERLEVEL9K_ASDF_LUA_SHOW_ON_UPGLOB='*.foo|*.bar' + + # Java version from asdf. + typeset -g POWERLEVEL9K_ASDF_JAVA_FOREGROUND=1 + typeset -g POWERLEVEL9K_ASDF_JAVA_BACKGROUND=7 + # typeset -g POWERLEVEL9K_ASDF_JAVA_VISUAL_IDENTIFIER_EXPANSION='⭐' + # typeset -g POWERLEVEL9K_ASDF_JAVA_SHOW_ON_UPGLOB='*.foo|*.bar' + + # Perl version from asdf. + typeset -g POWERLEVEL9K_ASDF_PERL_FOREGROUND=0 + typeset -g POWERLEVEL9K_ASDF_PERL_BACKGROUND=4 + # typeset -g POWERLEVEL9K_ASDF_PERL_VISUAL_IDENTIFIER_EXPANSION='⭐' + # typeset -g POWERLEVEL9K_ASDF_PERL_SHOW_ON_UPGLOB='*.foo|*.bar' + + # Erlang version from asdf. + typeset -g POWERLEVEL9K_ASDF_ERLANG_FOREGROUND=0 + typeset -g POWERLEVEL9K_ASDF_ERLANG_BACKGROUND=1 + # typeset -g POWERLEVEL9K_ASDF_ERLANG_VISUAL_IDENTIFIER_EXPANSION='⭐' + # typeset -g POWERLEVEL9K_ASDF_ERLANG_SHOW_ON_UPGLOB='*.foo|*.bar' + + # Elixir version from asdf. + typeset -g POWERLEVEL9K_ASDF_ELIXIR_FOREGROUND=0 + typeset -g POWERLEVEL9K_ASDF_ELIXIR_BACKGROUND=5 + # typeset -g POWERLEVEL9K_ASDF_ELIXIR_VISUAL_IDENTIFIER_EXPANSION='⭐' + # typeset -g POWERLEVEL9K_ASDF_ELIXIR_SHOW_ON_UPGLOB='*.foo|*.bar' + + # Postgres version from asdf. + typeset -g POWERLEVEL9K_ASDF_POSTGRES_FOREGROUND=0 + typeset -g POWERLEVEL9K_ASDF_POSTGRES_BACKGROUND=6 + # typeset -g POWERLEVEL9K_ASDF_POSTGRES_VISUAL_IDENTIFIER_EXPANSION='⭐' + # typeset -g POWERLEVEL9K_ASDF_POSTGRES_SHOW_ON_UPGLOB='*.foo|*.bar' + + # PHP version from asdf. + typeset -g POWERLEVEL9K_ASDF_PHP_FOREGROUND=0 + typeset -g POWERLEVEL9K_ASDF_PHP_BACKGROUND=5 + # typeset -g POWERLEVEL9K_ASDF_PHP_VISUAL_IDENTIFIER_EXPANSION='⭐' + # typeset -g POWERLEVEL9K_ASDF_PHP_SHOW_ON_UPGLOB='*.foo|*.bar' + + # Haskell version from asdf. + typeset -g POWERLEVEL9K_ASDF_HASKELL_FOREGROUND=0 + typeset -g POWERLEVEL9K_ASDF_HASKELL_BACKGROUND=3 + # typeset -g POWERLEVEL9K_ASDF_HASKELL_VISUAL_IDENTIFIER_EXPANSION='⭐' + # typeset -g POWERLEVEL9K_ASDF_HASKELL_SHOW_ON_UPGLOB='*.foo|*.bar' + + # Julia version from asdf. + typeset -g POWERLEVEL9K_ASDF_JULIA_FOREGROUND=0 + typeset -g POWERLEVEL9K_ASDF_JULIA_BACKGROUND=2 + # typeset -g POWERLEVEL9K_ASDF_JULIA_VISUAL_IDENTIFIER_EXPANSION='⭐' + # typeset -g POWERLEVEL9K_ASDF_JULIA_SHOW_ON_UPGLOB='*.foo|*.bar' + + ##########[ nordvpn: nordvpn connection status, linux only (https://nordvpn.com/) ]########### + # NordVPN connection indicator color. + typeset -g POWERLEVEL9K_NORDVPN_FOREGROUND=7 + typeset -g POWERLEVEL9K_NORDVPN_BACKGROUND=4 + # Hide NordVPN connection indicator when not connected. + typeset -g POWERLEVEL9K_NORDVPN_{DISCONNECTED,CONNECTING,DISCONNECTING}_CONTENT_EXPANSION= + typeset -g POWERLEVEL9K_NORDVPN_{DISCONNECTED,CONNECTING,DISCONNECTING}_VISUAL_IDENTIFIER_EXPANSION= + # Custom icon. + # typeset -g POWERLEVEL9K_NORDVPN_VISUAL_IDENTIFIER_EXPANSION='⭐' + + #################[ ranger: ranger shell (https://github.com/ranger/ranger) ]################## + # Ranger shell color. + typeset -g POWERLEVEL9K_RANGER_FOREGROUND=3 + typeset -g POWERLEVEL9K_RANGER_BACKGROUND=0 + # Custom icon. + # typeset -g POWERLEVEL9K_RANGER_VISUAL_IDENTIFIER_EXPANSION='⭐' + + ####################[ yazi: yazi shell (https://github.com/sxyazi/yazi) ]##################### + # Yazi shell color. + typeset -g POWERLEVEL9K_YAZI_FOREGROUND=3 + typeset -g POWERLEVEL9K_YAZI_BACKGROUND=0 + # Custom icon. + # typeset -g POWERLEVEL9K_YAZI_VISUAL_IDENTIFIER_EXPANSION='⭐' + + ######################[ nnn: nnn shell (https://github.com/jarun/nnn) ]####################### + # Nnn shell color. + typeset -g POWERLEVEL9K_NNN_FOREGROUND=0 + typeset -g POWERLEVEL9K_NNN_BACKGROUND=6 + # Custom icon. + # typeset -g POWERLEVEL9K_NNN_VISUAL_IDENTIFIER_EXPANSION='⭐' + + ######################[ lf: lf shell (https://github.com/gokcehan/lf) ]####################### + # lf shell color. + typeset -g POWERLEVEL9K_LF_FOREGROUND=0 + typeset -g POWERLEVEL9K_LF_BACKGROUND=6 + # Custom icon. + # typeset -g POWERLEVEL9K_LF_VISUAL_IDENTIFIER_EXPANSION='⭐' + + ##################[ xplr: xplr shell (https://github.com/sayanarijit/xplr) ]################## + # xplr shell color. + typeset -g POWERLEVEL9K_XPLR_FOREGROUND=0 + typeset -g POWERLEVEL9K_XPLR_BACKGROUND=6 + # Custom icon. + # typeset -g POWERLEVEL9K_XPLR_VISUAL_IDENTIFIER_EXPANSION='⭐' + + ###########################[ vim_shell: vim shell indicator (:sh) ]########################### + # Vim shell indicator color. + typeset -g POWERLEVEL9K_VIM_SHELL_FOREGROUND=0 + typeset -g POWERLEVEL9K_VIM_SHELL_BACKGROUND=2 + # Custom icon. + # typeset -g POWERLEVEL9K_VIM_SHELL_VISUAL_IDENTIFIER_EXPANSION='⭐' + + ######[ midnight_commander: midnight commander shell (https://midnight-commander.org/) ]###### + # Midnight Commander shell color. + typeset -g POWERLEVEL9K_MIDNIGHT_COMMANDER_FOREGROUND=3 + typeset -g POWERLEVEL9K_MIDNIGHT_COMMANDER_BACKGROUND=0 + # Custom icon. + # typeset -g POWERLEVEL9K_MIDNIGHT_COMMANDER_VISUAL_IDENTIFIER_EXPANSION='⭐' + + #[ nix_shell: nix shell (https://nixos.org/nixos/nix-pills/developing-with-nix-shell.html) ]## + # Nix shell color. + typeset -g POWERLEVEL9K_NIX_SHELL_FOREGROUND=0 + typeset -g POWERLEVEL9K_NIX_SHELL_BACKGROUND=4 + + # Display the icon of nix_shell if PATH contains a subdirectory of /nix/store. + # typeset -g POWERLEVEL9K_NIX_SHELL_INFER_FROM_PATH=false + + # Tip: If you want to see just the icon without "pure" and "impure", uncomment the next line. + # typeset -g POWERLEVEL9K_NIX_SHELL_CONTENT_EXPANSION= + + # Custom icon. + # typeset -g POWERLEVEL9K_NIX_SHELL_VISUAL_IDENTIFIER_EXPANSION='⭐' + + ##################[ chezmoi_shell: chezmoi shell (https://www.chezmoi.io/) ]################## + # chezmoi shell color. + typeset -g POWERLEVEL9K_CHEZMOI_SHELL_FOREGROUND=0 + typeset -g POWERLEVEL9K_CHEZMOI_SHELL_BACKGROUND=4 + # Custom icon. + # typeset -g POWERLEVEL9K_CHEZMOI_SHELL_VISUAL_IDENTIFIER_EXPANSION='⭐' + + ##################################[ disk_usage: disk usage ]################################## + # Colors for different levels of disk usage. + typeset -g POWERLEVEL9K_DISK_USAGE_NORMAL_FOREGROUND=3 + typeset -g POWERLEVEL9K_DISK_USAGE_NORMAL_BACKGROUND=0 + typeset -g POWERLEVEL9K_DISK_USAGE_WARNING_FOREGROUND=0 + typeset -g POWERLEVEL9K_DISK_USAGE_WARNING_BACKGROUND=3 + typeset -g POWERLEVEL9K_DISK_USAGE_CRITICAL_FOREGROUND=7 + typeset -g POWERLEVEL9K_DISK_USAGE_CRITICAL_BACKGROUND=1 + # Thresholds for different levels of disk usage (percentage points). + typeset -g POWERLEVEL9K_DISK_USAGE_WARNING_LEVEL=90 + typeset -g POWERLEVEL9K_DISK_USAGE_CRITICAL_LEVEL=95 + # If set to true, hide disk usage when below $POWERLEVEL9K_DISK_USAGE_WARNING_LEVEL percent. + typeset -g POWERLEVEL9K_DISK_USAGE_ONLY_WARNING=false + # Custom icon. + # typeset -g POWERLEVEL9K_DISK_USAGE_VISUAL_IDENTIFIER_EXPANSION='⭐' + + ###########[ vi_mode: vi mode (you don't need this if you've enabled prompt_char) ]########### + # Foreground color. + typeset -g POWERLEVEL9K_VI_MODE_FOREGROUND=0 + # Text and color for normal (a.k.a. command) vi mode. + typeset -g POWERLEVEL9K_VI_COMMAND_MODE_STRING=NORMAL + typeset -g POWERLEVEL9K_VI_MODE_NORMAL_BACKGROUND=2 + # Text and color for visual vi mode. + typeset -g POWERLEVEL9K_VI_VISUAL_MODE_STRING=VISUAL + typeset -g POWERLEVEL9K_VI_MODE_VISUAL_BACKGROUND=4 + # Text and color for overtype (a.k.a. overwrite and replace) vi mode. + typeset -g POWERLEVEL9K_VI_OVERWRITE_MODE_STRING=OVERTYPE + typeset -g POWERLEVEL9K_VI_MODE_OVERWRITE_BACKGROUND=3 + # Text and color for insert vi mode. + typeset -g POWERLEVEL9K_VI_INSERT_MODE_STRING= + typeset -g POWERLEVEL9K_VI_MODE_INSERT_FOREGROUND=8 + # Custom icon. + # typeset -g POWERLEVEL9K_VI_MODE_VISUAL_IDENTIFIER_EXPANSION='⭐' + + ######################################[ ram: free RAM ]####################################### + # RAM color. + typeset -g POWERLEVEL9K_RAM_FOREGROUND=0 + typeset -g POWERLEVEL9K_RAM_BACKGROUND=3 + # Custom icon. + # typeset -g POWERLEVEL9K_RAM_VISUAL_IDENTIFIER_EXPANSION='⭐' + + #####################################[ swap: used swap ]###################################### + # Swap color. + typeset -g POWERLEVEL9K_SWAP_FOREGROUND=0 + typeset -g POWERLEVEL9K_SWAP_BACKGROUND=3 + # Custom icon. + # typeset -g POWERLEVEL9K_SWAP_VISUAL_IDENTIFIER_EXPANSION='⭐' + + ######################################[ load: CPU load ]###################################### + # Show average CPU load over this many last minutes. Valid values are 1, 5 and 15. + typeset -g POWERLEVEL9K_LOAD_WHICH=5 + # Load color when load is under 50%. + typeset -g POWERLEVEL9K_LOAD_NORMAL_FOREGROUND=0 + typeset -g POWERLEVEL9K_LOAD_NORMAL_BACKGROUND=2 + # Load color when load is between 50% and 70%. + typeset -g POWERLEVEL9K_LOAD_WARNING_FOREGROUND=0 + typeset -g POWERLEVEL9K_LOAD_WARNING_BACKGROUND=3 + # Load color when load is over 70%. + typeset -g POWERLEVEL9K_LOAD_CRITICAL_FOREGROUND=0 + typeset -g POWERLEVEL9K_LOAD_CRITICAL_BACKGROUND=1 + # Custom icon. + # typeset -g POWERLEVEL9K_LOAD_VISUAL_IDENTIFIER_EXPANSION='⭐' + + ################[ todo: todo items (https://github.com/todotxt/todo.txt-cli) ]################ + # Todo color. + typeset -g POWERLEVEL9K_TODO_FOREGROUND=0 + typeset -g POWERLEVEL9K_TODO_BACKGROUND=8 + # Hide todo when the total number of tasks is zero. + typeset -g POWERLEVEL9K_TODO_HIDE_ZERO_TOTAL=true + # Hide todo when the number of tasks after filtering is zero. + typeset -g POWERLEVEL9K_TODO_HIDE_ZERO_FILTERED=false + + # Todo format. The following parameters are available within the expansion. + # + # - P9K_TODO_TOTAL_TASK_COUNT The total number of tasks. + # - P9K_TODO_FILTERED_TASK_COUNT The number of tasks after filtering. + # + # These variables correspond to the last line of the output of `todo.sh -p ls`: + # + # TODO: 24 of 42 tasks shown + # + # Here 24 is P9K_TODO_FILTERED_TASK_COUNT and 42 is P9K_TODO_TOTAL_TASK_COUNT. + # + # typeset -g POWERLEVEL9K_TODO_CONTENT_EXPANSION='$P9K_TODO_FILTERED_TASK_COUNT' + + # Custom icon. + # typeset -g POWERLEVEL9K_TODO_VISUAL_IDENTIFIER_EXPANSION='⭐' + + ###########[ timewarrior: timewarrior tracking status (https://timewarrior.net/) ]############ + # Timewarrior color. + typeset -g POWERLEVEL9K_TIMEWARRIOR_FOREGROUND=255 + typeset -g POWERLEVEL9K_TIMEWARRIOR_BACKGROUND=8 + + # If the tracked task is longer than 24 characters, truncate and append "…". + # Tip: To always display tasks without truncation, delete the following parameter. + # Tip: To hide task names and display just the icon when time tracking is enabled, set the + # value of the following parameter to "". + typeset -g POWERLEVEL9K_TIMEWARRIOR_CONTENT_EXPANSION='${P9K_CONTENT:0:24}${${P9K_CONTENT:24}:+…}' + + # Custom icon. + # typeset -g POWERLEVEL9K_TIMEWARRIOR_VISUAL_IDENTIFIER_EXPANSION='⭐' + + ##############[ taskwarrior: taskwarrior task count (https://taskwarrior.org/) ]############## + # Taskwarrior color. + typeset -g POWERLEVEL9K_TASKWARRIOR_FOREGROUND=0 + typeset -g POWERLEVEL9K_TASKWARRIOR_BACKGROUND=6 + + # Taskwarrior segment format. The following parameters are available within the expansion. + # + # - P9K_TASKWARRIOR_PENDING_COUNT The number of pending tasks: `task +PENDING count`. + # - P9K_TASKWARRIOR_OVERDUE_COUNT The number of overdue tasks: `task +OVERDUE count`. + # + # Zero values are represented as empty parameters. + # + # The default format: + # + # '${P9K_TASKWARRIOR_OVERDUE_COUNT:+"!$P9K_TASKWARRIOR_OVERDUE_COUNT/"}$P9K_TASKWARRIOR_PENDING_COUNT' + # + # typeset -g POWERLEVEL9K_TASKWARRIOR_CONTENT_EXPANSION='$P9K_TASKWARRIOR_PENDING_COUNT' + + # Custom icon. + # typeset -g POWERLEVEL9K_TASKWARRIOR_VISUAL_IDENTIFIER_EXPANSION='⭐' + + ######[ per_directory_history: Oh My Zsh per-directory-history local/global indicator ]####### + # Color when using local/global history. + typeset -g POWERLEVEL9K_PER_DIRECTORY_HISTORY_LOCAL_FOREGROUND=0 + typeset -g POWERLEVEL9K_PER_DIRECTORY_HISTORY_LOCAL_BACKGROUND=5 + typeset -g POWERLEVEL9K_PER_DIRECTORY_HISTORY_GLOBAL_FOREGROUND=0 + typeset -g POWERLEVEL9K_PER_DIRECTORY_HISTORY_GLOBAL_BACKGROUND=3 + + # Tip: Uncomment the next two lines to hide "local"/"global" text and leave just the icon. + # typeset -g POWERLEVEL9K_PER_DIRECTORY_HISTORY_LOCAL_CONTENT_EXPANSION='' + # typeset -g POWERLEVEL9K_PER_DIRECTORY_HISTORY_GLOBAL_CONTENT_EXPANSION='' + + # Custom icon. + # typeset -g POWERLEVEL9K_PER_DIRECTORY_HISTORY_LOCAL_VISUAL_IDENTIFIER_EXPANSION='⭐' + # typeset -g POWERLEVEL9K_PER_DIRECTORY_HISTORY_GLOBAL_VISUAL_IDENTIFIER_EXPANSION='⭐' + + ################################[ cpu_arch: CPU architecture ]################################ + # CPU architecture color. + typeset -g POWERLEVEL9K_CPU_ARCH_FOREGROUND=0 + typeset -g POWERLEVEL9K_CPU_ARCH_BACKGROUND=3 + + # Hide the segment when on a specific CPU architecture. + # typeset -g POWERLEVEL9K_CPU_ARCH_X86_64_CONTENT_EXPANSION= + # typeset -g POWERLEVEL9K_CPU_ARCH_X86_64_VISUAL_IDENTIFIER_EXPANSION= + + # Custom icon. + # typeset -g POWERLEVEL9K_CPU_ARCH_VISUAL_IDENTIFIER_EXPANSION='⭐' + + ##################################[ context: user@hostname ]################################## + # Context color when running with privileges. + typeset -g POWERLEVEL9K_CONTEXT_ROOT_FOREGROUND=1 + typeset -g POWERLEVEL9K_CONTEXT_ROOT_BACKGROUND=0 + # Context color in SSH without privileges. + typeset -g POWERLEVEL9K_CONTEXT_{REMOTE,REMOTE_SUDO}_FOREGROUND=3 + typeset -g POWERLEVEL9K_CONTEXT_{REMOTE,REMOTE_SUDO}_BACKGROUND=0 + # Default context color (no privileges, no SSH). + typeset -g POWERLEVEL9K_CONTEXT_FOREGROUND=3 + typeset -g POWERLEVEL9K_CONTEXT_BACKGROUND=0 + + # Context format when running with privileges: user@hostname. + typeset -g POWERLEVEL9K_CONTEXT_ROOT_TEMPLATE='%n@%m' + # Context format when in SSH without privileges: user@hostname. + typeset -g POWERLEVEL9K_CONTEXT_{REMOTE,REMOTE_SUDO}_TEMPLATE='%n@%m' + # Default context format (no privileges, no SSH): user@hostname. + typeset -g POWERLEVEL9K_CONTEXT_TEMPLATE='%n@%m' + + # Don't show context unless running with privileges or in SSH. + # Tip: Remove the next line to always show context. + #typeset -g POWERLEVEL9K_CONTEXT_{DEFAULT,SUDO}_{CONTENT,VISUAL_IDENTIFIER}_EXPANSION= + + # Custom icon. + # typeset -g POWERLEVEL9K_CONTEXT_VISUAL_IDENTIFIER_EXPANSION='⭐' + # Custom prefix. + # typeset -g POWERLEVEL9K_CONTEXT_PREFIX='with ' + + ###[ virtualenv: python virtual environment (https://docs.python.org/3/library/venv.html) ]### + # Python virtual environment color. + typeset -g POWERLEVEL9K_VIRTUALENV_FOREGROUND=0 + typeset -g POWERLEVEL9K_VIRTUALENV_BACKGROUND=4 + # Don't show Python version next to the virtual environment name. + typeset -g POWERLEVEL9K_VIRTUALENV_SHOW_PYTHON_VERSION=false + # If set to "false", won't show virtualenv if pyenv is already shown. + # If set to "if-different", won't show virtualenv if it's the same as pyenv. + typeset -g POWERLEVEL9K_VIRTUALENV_SHOW_WITH_PYENV=false + # Separate environment name from Python version only with a space. + typeset -g POWERLEVEL9K_VIRTUALENV_{LEFT,RIGHT}_DELIMITER= + # Custom icon. + # typeset -g POWERLEVEL9K_VIRTUALENV_VISUAL_IDENTIFIER_EXPANSION='⭐' + + #####################[ anaconda: conda environment (https://conda.io/) ]###################### + # Anaconda environment color. + typeset -g POWERLEVEL9K_ANACONDA_FOREGROUND=0 + typeset -g POWERLEVEL9K_ANACONDA_BACKGROUND=4 + + # Anaconda segment format. The following parameters are available within the expansion. + # + # - CONDA_PREFIX Absolute path to the active Anaconda/Miniconda environment. + # - CONDA_DEFAULT_ENV Name of the active Anaconda/Miniconda environment. + # - CONDA_PROMPT_MODIFIER Configurable prompt modifier (see below). + # - P9K_ANACONDA_PYTHON_VERSION Current python version (python --version). + # + # CONDA_PROMPT_MODIFIER can be configured with the following command: + # + # conda config --set env_prompt '({default_env}) ' + # + # The last argument is a Python format string that can use the following variables: + # + # - prefix The same as CONDA_PREFIX. + # - default_env The same as CONDA_DEFAULT_ENV. + # - name The last segment of CONDA_PREFIX. + # - stacked_env Comma-separated list of names in the environment stack. The first element is + # always the same as default_env. + # + # Note: '({default_env}) ' is the default value of env_prompt. + # + # The default value of POWERLEVEL9K_ANACONDA_CONTENT_EXPANSION expands to $CONDA_PROMPT_MODIFIER + # without the surrounding parentheses, or to the last path component of CONDA_PREFIX if the former + # is empty. + typeset -g POWERLEVEL9K_ANACONDA_CONTENT_EXPANSION='${${${${CONDA_PROMPT_MODIFIER#\(}% }%\)}:-${CONDA_PREFIX:t}}' + + # Custom icon. + # typeset -g POWERLEVEL9K_ANACONDA_VISUAL_IDENTIFIER_EXPANSION='⭐' + + ################[ pyenv: python environment (https://github.com/pyenv/pyenv) ]################ + # Pyenv color. + typeset -g POWERLEVEL9K_PYENV_FOREGROUND=0 + typeset -g POWERLEVEL9K_PYENV_BACKGROUND=4 + # Hide python version if it doesn't come from one of these sources. + typeset -g POWERLEVEL9K_PYENV_SOURCES=(shell local global) + # If set to false, hide python version if it's the same as global: + # $(pyenv version-name) == $(pyenv global). + typeset -g POWERLEVEL9K_PYENV_PROMPT_ALWAYS_SHOW=false + # If set to false, hide python version if it's equal to "system". + typeset -g POWERLEVEL9K_PYENV_SHOW_SYSTEM=true + + # Pyenv segment format. The following parameters are available within the expansion. + # + # - P9K_CONTENT Current pyenv environment (pyenv version-name). + # - P9K_PYENV_PYTHON_VERSION Current python version (python --version). + # + # The default format has the following logic: + # + # 1. Display just "$P9K_CONTENT" if it's equal to "$P9K_PYENV_PYTHON_VERSION" or + # starts with "$P9K_PYENV_PYTHON_VERSION/". + # 2. Otherwise display "$P9K_CONTENT $P9K_PYENV_PYTHON_VERSION". + typeset -g POWERLEVEL9K_PYENV_CONTENT_EXPANSION='${P9K_CONTENT}${${P9K_CONTENT:#$P9K_PYENV_PYTHON_VERSION(|/*)}:+ $P9K_PYENV_PYTHON_VERSION}' + + # Custom icon. + # typeset -g POWERLEVEL9K_PYENV_VISUAL_IDENTIFIER_EXPANSION='⭐' + + ################[ goenv: go environment (https://github.com/syndbg/goenv) ]################ + # Goenv color. + typeset -g POWERLEVEL9K_GOENV_FOREGROUND=0 + typeset -g POWERLEVEL9K_GOENV_BACKGROUND=4 + # Hide go version if it doesn't come from one of these sources. + typeset -g POWERLEVEL9K_GOENV_SOURCES=(shell local global) + # If set to false, hide go version if it's the same as global: + # $(goenv version-name) == $(goenv global). + typeset -g POWERLEVEL9K_GOENV_PROMPT_ALWAYS_SHOW=false + # If set to false, hide go version if it's equal to "system". + typeset -g POWERLEVEL9K_GOENV_SHOW_SYSTEM=true + # Custom icon. + # typeset -g POWERLEVEL9K_GOENV_VISUAL_IDENTIFIER_EXPANSION='⭐' + + ##########[ nodenv: node.js version from nodenv (https://github.com/nodenv/nodenv) ]########## + # Nodenv color. + typeset -g POWERLEVEL9K_NODENV_FOREGROUND=2 + typeset -g POWERLEVEL9K_NODENV_BACKGROUND=0 + # Hide node version if it doesn't come from one of these sources. + typeset -g POWERLEVEL9K_NODENV_SOURCES=(shell local global) + # If set to false, hide node version if it's the same as global: + # $(nodenv version-name) == $(nodenv global). + typeset -g POWERLEVEL9K_NODENV_PROMPT_ALWAYS_SHOW=false + # If set to false, hide node version if it's equal to "system". + typeset -g POWERLEVEL9K_NODENV_SHOW_SYSTEM=true + # Custom icon. + # typeset -g POWERLEVEL9K_NODENV_VISUAL_IDENTIFIER_EXPANSION='⭐' + + ##############[ nvm: node.js version from nvm (https://github.com/nvm-sh/nvm) ]############### + # Nvm color. + typeset -g POWERLEVEL9K_NVM_FOREGROUND=0 + typeset -g POWERLEVEL9K_NVM_BACKGROUND=5 + # If set to false, hide node version if it's the same as default: + # $(nvm version current) == $(nvm version default). + typeset -g POWERLEVEL9K_NVM_PROMPT_ALWAYS_SHOW=false + # If set to false, hide node version if it's equal to "system". + typeset -g POWERLEVEL9K_NVM_SHOW_SYSTEM=true + # Custom icon. + # typeset -g POWERLEVEL9K_NVM_VISUAL_IDENTIFIER_EXPANSION='⭐' + + ############[ nodeenv: node.js environment (https://github.com/ekalinin/nodeenv) ]############ + # Nodeenv color. + typeset -g POWERLEVEL9K_NODEENV_FOREGROUND=2 + typeset -g POWERLEVEL9K_NODEENV_BACKGROUND=0 + # Don't show Node version next to the environment name. + typeset -g POWERLEVEL9K_NODEENV_SHOW_NODE_VERSION=false + # Separate environment name from Node version only with a space. + typeset -g POWERLEVEL9K_NODEENV_{LEFT,RIGHT}_DELIMITER= + # Custom icon. + # typeset -g POWERLEVEL9K_NODEENV_VISUAL_IDENTIFIER_EXPANSION='⭐' + + ##############################[ node_version: node.js version ]############################### + # Node version color. + typeset -g POWERLEVEL9K_NODE_VERSION_FOREGROUND=7 + typeset -g POWERLEVEL9K_NODE_VERSION_BACKGROUND=2 + # Show node version only when in a directory tree containing package.json. + typeset -g POWERLEVEL9K_NODE_VERSION_PROJECT_ONLY=true + # Custom icon. + # typeset -g POWERLEVEL9K_NODE_VERSION_VISUAL_IDENTIFIER_EXPANSION='⭐' + + #######################[ go_version: go version (https://golang.org) ]######################## + # Go version color. + typeset -g POWERLEVEL9K_GO_VERSION_FOREGROUND=255 + typeset -g POWERLEVEL9K_GO_VERSION_BACKGROUND=2 + # Show go version only when in a go project subdirectory. + typeset -g POWERLEVEL9K_GO_VERSION_PROJECT_ONLY=true + # Custom icon. + # typeset -g POWERLEVEL9K_GO_VERSION_VISUAL_IDENTIFIER_EXPANSION='⭐' + + #################[ rust_version: rustc version (https://www.rust-lang.org) ]################## + # Rust version color. + typeset -g POWERLEVEL9K_RUST_VERSION_FOREGROUND=0 + typeset -g POWERLEVEL9K_RUST_VERSION_BACKGROUND=208 + # Show rust version only when in a rust project subdirectory. + typeset -g POWERLEVEL9K_RUST_VERSION_PROJECT_ONLY=true + # Custom icon. + # typeset -g POWERLEVEL9K_RUST_VERSION_VISUAL_IDENTIFIER_EXPANSION='⭐' + + ###############[ dotnet_version: .NET version (https://dotnet.microsoft.com) ]################ + # .NET version color. + typeset -g POWERLEVEL9K_DOTNET_VERSION_FOREGROUND=7 + typeset -g POWERLEVEL9K_DOTNET_VERSION_BACKGROUND=5 + # Show .NET version only when in a .NET project subdirectory. + typeset -g POWERLEVEL9K_DOTNET_VERSION_PROJECT_ONLY=true + # Custom icon. + # typeset -g POWERLEVEL9K_DOTNET_VERSION_VISUAL_IDENTIFIER_EXPANSION='⭐' + + #####################[ php_version: php version (https://www.php.net/) ]###################### + # PHP version color. + typeset -g POWERLEVEL9K_PHP_VERSION_FOREGROUND=0 + typeset -g POWERLEVEL9K_PHP_VERSION_BACKGROUND=5 + # Show PHP version only when in a PHP project subdirectory. + typeset -g POWERLEVEL9K_PHP_VERSION_PROJECT_ONLY=true + # Custom icon. + # typeset -g POWERLEVEL9K_PHP_VERSION_VISUAL_IDENTIFIER_EXPANSION='⭐' + + ##########[ laravel_version: laravel php framework version (https://laravel.com/) ]########### + # Laravel version color. + typeset -g POWERLEVEL9K_LARAVEL_VERSION_FOREGROUND=1 + typeset -g POWERLEVEL9K_LARAVEL_VERSION_BACKGROUND=7 + # Custom icon. + # typeset -g POWERLEVEL9K_LARAVEL_VERSION_VISUAL_IDENTIFIER_EXPANSION='⭐' + + #############[ rbenv: ruby version from rbenv (https://github.com/rbenv/rbenv) ]############## + # Rbenv color. + typeset -g POWERLEVEL9K_RBENV_FOREGROUND=0 + typeset -g POWERLEVEL9K_RBENV_BACKGROUND=1 + # Hide ruby version if it doesn't come from one of these sources. + typeset -g POWERLEVEL9K_RBENV_SOURCES=(shell local global) + # If set to false, hide ruby version if it's the same as global: + # $(rbenv version-name) == $(rbenv global). + typeset -g POWERLEVEL9K_RBENV_PROMPT_ALWAYS_SHOW=false + # If set to false, hide ruby version if it's equal to "system". + typeset -g POWERLEVEL9K_RBENV_SHOW_SYSTEM=true + # Custom icon. + # typeset -g POWERLEVEL9K_RBENV_VISUAL_IDENTIFIER_EXPANSION='⭐' + + ####################[ java_version: java version (https://www.java.com/) ]#################### + # Java version color. + typeset -g POWERLEVEL9K_JAVA_VERSION_FOREGROUND=1 + typeset -g POWERLEVEL9K_JAVA_VERSION_BACKGROUND=7 + # Show java version only when in a java project subdirectory. + typeset -g POWERLEVEL9K_JAVA_VERSION_PROJECT_ONLY=true + # Show brief version. + typeset -g POWERLEVEL9K_JAVA_VERSION_FULL=false + # Custom icon. + # typeset -g POWERLEVEL9K_JAVA_VERSION_VISUAL_IDENTIFIER_EXPANSION='⭐' + + ###[ package: name@version from package.json (https://docs.npmjs.com/files/package.json) ]#### + # Package color. + typeset -g POWERLEVEL9K_PACKAGE_FOREGROUND=0 + typeset -g POWERLEVEL9K_PACKAGE_BACKGROUND=6 + + # Package format. The following parameters are available within the expansion. + # + # - P9K_PACKAGE_NAME The value of `name` field in package.json. + # - P9K_PACKAGE_VERSION The value of `version` field in package.json. + # + # typeset -g POWERLEVEL9K_PACKAGE_CONTENT_EXPANSION='${P9K_PACKAGE_NAME//\%/%%}@${P9K_PACKAGE_VERSION//\%/%%}' + + # Custom icon. + # typeset -g POWERLEVEL9K_PACKAGE_VISUAL_IDENTIFIER_EXPANSION='⭐' + + #######################[ rvm: ruby version from rvm (https://rvm.io) ]######################## + # Rvm color. + typeset -g POWERLEVEL9K_RVM_FOREGROUND=0 + typeset -g POWERLEVEL9K_RVM_BACKGROUND=240 + # Don't show @gemset at the end. + typeset -g POWERLEVEL9K_RVM_SHOW_GEMSET=false + # Don't show ruby- at the front. + typeset -g POWERLEVEL9K_RVM_SHOW_PREFIX=false + # Custom icon. + # typeset -g POWERLEVEL9K_RVM_VISUAL_IDENTIFIER_EXPANSION='⭐' + + ###########[ fvm: flutter version management (https://github.com/leoafarias/fvm) ]############ + # Fvm color. + typeset -g POWERLEVEL9K_FVM_FOREGROUND=0 + typeset -g POWERLEVEL9K_FVM_BACKGROUND=4 + # Custom icon. + # typeset -g POWERLEVEL9K_FVM_VISUAL_IDENTIFIER_EXPANSION='⭐' + + ##########[ luaenv: lua version from luaenv (https://github.com/cehoffman/luaenv) ]########### + # Lua color. + typeset -g POWERLEVEL9K_LUAENV_FOREGROUND=0 + typeset -g POWERLEVEL9K_LUAENV_BACKGROUND=4 + # Hide lua version if it doesn't come from one of these sources. + typeset -g POWERLEVEL9K_LUAENV_SOURCES=(shell local global) + # If set to false, hide lua version if it's the same as global: + # $(luaenv version-name) == $(luaenv global). + typeset -g POWERLEVEL9K_LUAENV_PROMPT_ALWAYS_SHOW=false + # If set to false, hide lua version if it's equal to "system". + typeset -g POWERLEVEL9K_LUAENV_SHOW_SYSTEM=true + # Custom icon. + # typeset -g POWERLEVEL9K_LUAENV_VISUAL_IDENTIFIER_EXPANSION='⭐' + + ###############[ jenv: java version from jenv (https://github.com/jenv/jenv) ]################ + # Java color. + typeset -g POWERLEVEL9K_JENV_FOREGROUND=1 + typeset -g POWERLEVEL9K_JENV_BACKGROUND=7 + # Hide java version if it doesn't come from one of these sources. + typeset -g POWERLEVEL9K_JENV_SOURCES=(shell local global) + # If set to false, hide java version if it's the same as global: + # $(jenv version-name) == $(jenv global). + typeset -g POWERLEVEL9K_JENV_PROMPT_ALWAYS_SHOW=false + # If set to false, hide java version if it's equal to "system". + typeset -g POWERLEVEL9K_JENV_SHOW_SYSTEM=true + # Custom icon. + # typeset -g POWERLEVEL9K_JENV_VISUAL_IDENTIFIER_EXPANSION='⭐' + + ###########[ plenv: perl version from plenv (https://github.com/tokuhirom/plenv) ]############ + # Perl color. + typeset -g POWERLEVEL9K_PLENV_FOREGROUND=0 + typeset -g POWERLEVEL9K_PLENV_BACKGROUND=4 + # Hide perl version if it doesn't come from one of these sources. + typeset -g POWERLEVEL9K_PLENV_SOURCES=(shell local global) + # If set to false, hide perl version if it's the same as global: + # $(plenv version-name) == $(plenv global). + typeset -g POWERLEVEL9K_PLENV_PROMPT_ALWAYS_SHOW=false + # If set to false, hide perl version if it's equal to "system". + typeset -g POWERLEVEL9K_PLENV_SHOW_SYSTEM=true + # Custom icon. + # typeset -g POWERLEVEL9K_PLENV_VISUAL_IDENTIFIER_EXPANSION='⭐' + + ###########[ perlbrew: perl version from perlbrew (https://github.com/gugod/App-perlbrew) ]############ + # Perlbrew color. + typeset -g POWERLEVEL9K_PERLBREW_FOREGROUND=67 + # Show perlbrew version only when in a perl project subdirectory. + typeset -g POWERLEVEL9K_PERLBREW_PROJECT_ONLY=true + # Don't show "perl-" at the front. + typeset -g POWERLEVEL9K_PERLBREW_SHOW_PREFIX=false + # Custom icon. + # typeset -g POWERLEVEL9K_PERLBREW_VISUAL_IDENTIFIER_EXPANSION='⭐' + + ############[ phpenv: php version from phpenv (https://github.com/phpenv/phpenv) ]############ + # PHP color. + typeset -g POWERLEVEL9K_PHPENV_FOREGROUND=0 + typeset -g POWERLEVEL9K_PHPENV_BACKGROUND=5 + # Hide php version if it doesn't come from one of these sources. + typeset -g POWERLEVEL9K_PHPENV_SOURCES=(shell local global) + # If set to false, hide php version if it's the same as global: + # $(phpenv version-name) == $(phpenv global). + typeset -g POWERLEVEL9K_PHPENV_PROMPT_ALWAYS_SHOW=false + # If set to false, hide PHP version if it's equal to "system". + typeset -g POWERLEVEL9K_PHPENV_SHOW_SYSTEM=true + # Custom icon. + # typeset -g POWERLEVEL9K_PHPENV_VISUAL_IDENTIFIER_EXPANSION='⭐' + + #######[ scalaenv: scala version from scalaenv (https://github.com/scalaenv/scalaenv) ]####### + # Scala color. + typeset -g POWERLEVEL9K_SCALAENV_FOREGROUND=0 + typeset -g POWERLEVEL9K_SCALAENV_BACKGROUND=1 + # Hide scala version if it doesn't come from one of these sources. + typeset -g POWERLEVEL9K_SCALAENV_SOURCES=(shell local global) + # If set to false, hide scala version if it's the same as global: + # $(scalaenv version-name) == $(scalaenv global). + typeset -g POWERLEVEL9K_SCALAENV_PROMPT_ALWAYS_SHOW=false + # If set to false, hide scala version if it's equal to "system". + typeset -g POWERLEVEL9K_SCALAENV_SHOW_SYSTEM=true + # Custom icon. + # typeset -g POWERLEVEL9K_SCALAENV_VISUAL_IDENTIFIER_EXPANSION='⭐' + + ##########[ haskell_stack: haskell version from stack (https://haskellstack.org/) ]########### + # Haskell color. + typeset -g POWERLEVEL9K_HASKELL_STACK_FOREGROUND=0 + typeset -g POWERLEVEL9K_HASKELL_STACK_BACKGROUND=3 + + # Hide haskell version if it doesn't come from one of these sources. + # + # shell: version is set by STACK_YAML + # local: version is set by stack.yaml up the directory tree + # global: version is set by the implicit global project (~/.stack/global-project/stack.yaml) + typeset -g POWERLEVEL9K_HASKELL_STACK_SOURCES=(shell local) + # If set to false, hide haskell version if it's the same as in the implicit global project. + typeset -g POWERLEVEL9K_HASKELL_STACK_ALWAYS_SHOW=true + # Custom icon. + # typeset -g POWERLEVEL9K_HASKELL_STACK_VISUAL_IDENTIFIER_EXPANSION='⭐' + + ################[ terraform: terraform workspace (https://www.terraform.io) ]################# + # Don't show terraform workspace if it's literally "default". + typeset -g POWERLEVEL9K_TERRAFORM_SHOW_DEFAULT=false + # POWERLEVEL9K_TERRAFORM_CLASSES is an array with even number of elements. The first element + # in each pair defines a pattern against which the current terraform workspace gets matched. + # More specifically, it's P9K_CONTENT prior to the application of context expansion (see below) + # that gets matched. If you unset all POWERLEVEL9K_TERRAFORM_*CONTENT_EXPANSION parameters, + # you'll see this value in your prompt. The second element of each pair in + # POWERLEVEL9K_TERRAFORM_CLASSES defines the workspace class. Patterns are tried in order. The + # first match wins. + # + # For example, given these settings: + # + # typeset -g POWERLEVEL9K_TERRAFORM_CLASSES=( + # '*prod*' PROD + # '*test*' TEST + # '*' OTHER) + # + # If your current terraform workspace is "project_test", its class is TEST because "project_test" + # doesn't match the pattern '*prod*' but does match '*test*'. + # + # You can define different colors, icons and content expansions for different classes: + # + # typeset -g POWERLEVEL9K_TERRAFORM_TEST_FOREGROUND=2 + # typeset -g POWERLEVEL9K_TERRAFORM_TEST_BACKGROUND=0 + # typeset -g POWERLEVEL9K_TERRAFORM_TEST_VISUAL_IDENTIFIER_EXPANSION='⭐' + # typeset -g POWERLEVEL9K_TERRAFORM_TEST_CONTENT_EXPANSION='> ${P9K_CONTENT} <' + typeset -g POWERLEVEL9K_TERRAFORM_CLASSES=( + # '*prod*' PROD # These values are examples that are unlikely + # '*test*' TEST # to match your needs. Customize them as needed. + '*' OTHER) + typeset -g POWERLEVEL9K_TERRAFORM_OTHER_FOREGROUND=4 + typeset -g POWERLEVEL9K_TERRAFORM_OTHER_BACKGROUND=0 + # typeset -g POWERLEVEL9K_TERRAFORM_OTHER_VISUAL_IDENTIFIER_EXPANSION='⭐' + + #############[ terraform_version: terraform version (https://www.terraform.io) ]############## + # Terraform version color. + typeset -g POWERLEVEL9K_TERRAFORM_VERSION_FOREGROUND=4 + typeset -g POWERLEVEL9K_TERRAFORM_VERSION_BACKGROUND=0 + # Custom icon. + # typeset -g POWERLEVEL9K_TERRAFORM_VERSION_VISUAL_IDENTIFIER_EXPANSION='⭐' + + ################[ terraform_version: It shows active terraform version (https://www.terraform.io) ]################# + typeset -g POWERLEVEL9K_TERRAFORM_VERSION_SHOW_ON_COMMAND='terraform|tf' + + #############[ kubecontext: current kubernetes context (https://kubernetes.io/) ]############# + # Show kubecontext only when the command you are typing invokes one of these tools. + # Tip: Remove the next line to always show kubecontext. + typeset -g POWERLEVEL9K_KUBECONTEXT_SHOW_ON_COMMAND='kubectl|helm|kubens|kubectx|oc|istioctl|kogito|k9s|helmfile|flux|fluxctl|stern|kubeseal|skaffold|kubent|kubecolor|cmctl|sparkctl' + + # Kubernetes context classes for the purpose of using different colors, icons and expansions with + # different contexts. + # + # POWERLEVEL9K_KUBECONTEXT_CLASSES is an array with even number of elements. The first element + # in each pair defines a pattern against which the current kubernetes context gets matched. + # More specifically, it's P9K_CONTENT prior to the application of context expansion (see below) + # that gets matched. If you unset all POWERLEVEL9K_KUBECONTEXT_*CONTENT_EXPANSION parameters, + # you'll see this value in your prompt. The second element of each pair in + # POWERLEVEL9K_KUBECONTEXT_CLASSES defines the context class. Patterns are tried in order. The + # first match wins. + # + # For example, given these settings: + # + # typeset -g POWERLEVEL9K_KUBECONTEXT_CLASSES=( + # '*prod*' PROD + # '*test*' TEST + # '*' DEFAULT) + # + # If your current kubernetes context is "deathray-testing/default", its class is TEST + # because "deathray-testing/default" doesn't match the pattern '*prod*' but does match '*test*'. + # + # You can define different colors, icons and content expansions for different classes: + # + # typeset -g POWERLEVEL9K_KUBECONTEXT_TEST_FOREGROUND=0 + # typeset -g POWERLEVEL9K_KUBECONTEXT_TEST_BACKGROUND=2 + # typeset -g POWERLEVEL9K_KUBECONTEXT_TEST_VISUAL_IDENTIFIER_EXPANSION='⭐' + # typeset -g POWERLEVEL9K_KUBECONTEXT_TEST_CONTENT_EXPANSION='> ${P9K_CONTENT} <' + typeset -g POWERLEVEL9K_KUBECONTEXT_CLASSES=( + # '*prod*' PROD # These values are examples that are unlikely + # '*test*' TEST # to match your needs. Customize them as needed. + '*' DEFAULT) + typeset -g POWERLEVEL9K_KUBECONTEXT_DEFAULT_FOREGROUND=7 + typeset -g POWERLEVEL9K_KUBECONTEXT_DEFAULT_BACKGROUND=5 + # typeset -g POWERLEVEL9K_KUBECONTEXT_DEFAULT_VISUAL_IDENTIFIER_EXPANSION='⭐' + + # Use POWERLEVEL9K_KUBECONTEXT_CONTENT_EXPANSION to specify the content displayed by kubecontext + # segment. Parameter expansions are very flexible and fast, too. See reference: + # http://zsh.sourceforge.net/Doc/Release/Expansion.html#Parameter-Expansion. + # + # Within the expansion the following parameters are always available: + # + # - P9K_CONTENT The content that would've been displayed if there was no content + # expansion defined. + # - P9K_KUBECONTEXT_NAME The current context's name. Corresponds to column NAME in the + # output of `kubectl config get-contexts`. + # - P9K_KUBECONTEXT_CLUSTER The current context's cluster. Corresponds to column CLUSTER in the + # output of `kubectl config get-contexts`. + # - P9K_KUBECONTEXT_NAMESPACE The current context's namespace. Corresponds to column NAMESPACE + # in the output of `kubectl config get-contexts`. If there is no + # namespace, the parameter is set to "default". + # - P9K_KUBECONTEXT_USER The current context's user. Corresponds to column AUTHINFO in the + # output of `kubectl config get-contexts`. + # + # If the context points to Google Kubernetes Engine (GKE) or Elastic Kubernetes Service (EKS), + # the following extra parameters are available: + # + # - P9K_KUBECONTEXT_CLOUD_NAME Either "gke" or "eks". + # - P9K_KUBECONTEXT_CLOUD_ACCOUNT Account/project ID. + # - P9K_KUBECONTEXT_CLOUD_ZONE Availability zone. + # - P9K_KUBECONTEXT_CLOUD_CLUSTER Cluster. + # + # P9K_KUBECONTEXT_CLOUD_* parameters are derived from P9K_KUBECONTEXT_CLUSTER. For example, + # if P9K_KUBECONTEXT_CLUSTER is "gke_my-account_us-east1-a_my-cluster-01": + # + # - P9K_KUBECONTEXT_CLOUD_NAME=gke + # - P9K_KUBECONTEXT_CLOUD_ACCOUNT=my-account + # - P9K_KUBECONTEXT_CLOUD_ZONE=us-east1-a + # - P9K_KUBECONTEXT_CLOUD_CLUSTER=my-cluster-01 + # + # If P9K_KUBECONTEXT_CLUSTER is "arn:aws:eks:us-east-1:123456789012:cluster/my-cluster-01": + # + # - P9K_KUBECONTEXT_CLOUD_NAME=eks + # - P9K_KUBECONTEXT_CLOUD_ACCOUNT=123456789012 + # - P9K_KUBECONTEXT_CLOUD_ZONE=us-east-1 + # - P9K_KUBECONTEXT_CLOUD_CLUSTER=my-cluster-01 + typeset -g POWERLEVEL9K_KUBECONTEXT_DEFAULT_CONTENT_EXPANSION= + # Show P9K_KUBECONTEXT_CLOUD_CLUSTER if it's not empty and fall back to P9K_KUBECONTEXT_NAME. + POWERLEVEL9K_KUBECONTEXT_DEFAULT_CONTENT_EXPANSION+='${P9K_KUBECONTEXT_CLOUD_CLUSTER:-${P9K_KUBECONTEXT_NAME}}' + # Append the current context's namespace if it's not "default". + POWERLEVEL9K_KUBECONTEXT_DEFAULT_CONTENT_EXPANSION+='${${:-/$P9K_KUBECONTEXT_NAMESPACE}:#/default}' + + # Custom prefix. + # typeset -g POWERLEVEL9K_KUBECONTEXT_PREFIX='at ' + + #[ aws: aws profile (https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html) ]# + # Show aws only when the command you are typing invokes one of these tools. + # Tip: Remove the next line to always show aws. + typeset -g POWERLEVEL9K_AWS_SHOW_ON_COMMAND='aws|awless|cdk|terraform|pulumi|terragrunt' + + # POWERLEVEL9K_AWS_CLASSES is an array with even number of elements. The first element + # in each pair defines a pattern against which the current AWS profile gets matched. + # More specifically, it's P9K_CONTENT prior to the application of context expansion (see below) + # that gets matched. If you unset all POWERLEVEL9K_AWS_*CONTENT_EXPANSION parameters, + # you'll see this value in your prompt. The second element of each pair in + # POWERLEVEL9K_AWS_CLASSES defines the profile class. Patterns are tried in order. The + # first match wins. + # + # For example, given these settings: + # + # typeset -g POWERLEVEL9K_AWS_CLASSES=( + # '*prod*' PROD + # '*test*' TEST + # '*' DEFAULT) + # + # If your current AWS profile is "company_test", its class is TEST + # because "company_test" doesn't match the pattern '*prod*' but does match '*test*'. + # + # You can define different colors, icons and content expansions for different classes: + # + # typeset -g POWERLEVEL9K_AWS_TEST_FOREGROUND=28 + # typeset -g POWERLEVEL9K_AWS_TEST_VISUAL_IDENTIFIER_EXPANSION='⭐' + # typeset -g POWERLEVEL9K_AWS_TEST_CONTENT_EXPANSION='> ${P9K_CONTENT} <' + typeset -g POWERLEVEL9K_AWS_CLASSES=( + # '*prod*' PROD # These values are examples that are unlikely + # '*test*' TEST # to match your needs. Customize them as needed. + '*' DEFAULT) + typeset -g POWERLEVEL9K_AWS_DEFAULT_FOREGROUND=7 + typeset -g POWERLEVEL9K_AWS_DEFAULT_BACKGROUND=1 + # typeset -g POWERLEVEL9K_AWS_DEFAULT_VISUAL_IDENTIFIER_EXPANSION='⭐' + + # AWS segment format. The following parameters are available within the expansion. + # + # - P9K_AWS_PROFILE The name of the current AWS profile. + # - P9K_AWS_REGION The region associated with the current AWS profile. + typeset -g POWERLEVEL9K_AWS_CONTENT_EXPANSION='${P9K_AWS_PROFILE//\%/%%}${P9K_AWS_REGION:+ ${P9K_AWS_REGION//\%/%%}}' + + #[ aws_eb_env: aws elastic beanstalk environment (https://aws.amazon.com/elasticbeanstalk/) ]# + # AWS Elastic Beanstalk environment color. + typeset -g POWERLEVEL9K_AWS_EB_ENV_FOREGROUND=2 + typeset -g POWERLEVEL9K_AWS_EB_ENV_BACKGROUND=0 + # Custom icon. + # typeset -g POWERLEVEL9K_AWS_EB_ENV_VISUAL_IDENTIFIER_EXPANSION='⭐' + + ##########[ azure: azure account name (https://docs.microsoft.com/en-us/cli/azure) ]########## + # Show azure only when the command you are typing invokes one of these tools. + # Tip: Remove the next line to always show azure. + typeset -g POWERLEVEL9K_AZURE_SHOW_ON_COMMAND='az|terraform|pulumi|terragrunt' + + # POWERLEVEL9K_AZURE_CLASSES is an array with even number of elements. The first element + # in each pair defines a pattern against which the current azure account name gets matched. + # More specifically, it's P9K_CONTENT prior to the application of context expansion (see below) + # that gets matched. If you unset all POWERLEVEL9K_AZURE_*CONTENT_EXPANSION parameters, + # you'll see this value in your prompt. The second element of each pair in + # POWERLEVEL9K_AZURE_CLASSES defines the account class. Patterns are tried in order. The + # first match wins. + # + # For example, given these settings: + # + # typeset -g POWERLEVEL9K_AZURE_CLASSES=( + # '*prod*' PROD + # '*test*' TEST + # '*' OTHER) + # + # If your current azure account is "company_test", its class is TEST because "company_test" + # doesn't match the pattern '*prod*' but does match '*test*'. + # + # You can define different colors, icons and content expansions for different classes: + # + # typeset -g POWERLEVEL9K_AZURE_TEST_FOREGROUND=2 + # typeset -g POWERLEVEL9K_AZURE_TEST_BACKGROUND=0 + # typeset -g POWERLEVEL9K_AZURE_TEST_VISUAL_IDENTIFIER_EXPANSION='⭐' + # typeset -g POWERLEVEL9K_AZURE_TEST_CONTENT_EXPANSION='> ${P9K_CONTENT} <' + typeset -g POWERLEVEL9K_AZURE_CLASSES=( + # '*prod*' PROD # These values are examples that are unlikely + # '*test*' TEST # to match your needs. Customize them as needed. + '*' OTHER) + + # Azure account name color. + typeset -g POWERLEVEL9K_AZURE_OTHER_FOREGROUND=7 + typeset -g POWERLEVEL9K_AZURE_OTHER_BACKGROUND=4 + # Custom icon. + # typeset -g POWERLEVEL9K_AZURE_OTHER_VISUAL_IDENTIFIER_EXPANSION='⭐' + + ##########[ gcloud: google cloud account and project (https://cloud.google.com/) ]########### + # Show gcloud only when the command you are typing invokes one of these tools. + # Tip: Remove the next line to always show gcloud. + typeset -g POWERLEVEL9K_GCLOUD_SHOW_ON_COMMAND='gcloud|gcs|gsutil' + # Google cloud color. + typeset -g POWERLEVEL9K_GCLOUD_FOREGROUND=7 + typeset -g POWERLEVEL9K_GCLOUD_BACKGROUND=4 + + # Google cloud format. Change the value of POWERLEVEL9K_GCLOUD_PARTIAL_CONTENT_EXPANSION and/or + # POWERLEVEL9K_GCLOUD_COMPLETE_CONTENT_EXPANSION if the default is too verbose or not informative + # enough. You can use the following parameters in the expansions. Each of them corresponds to the + # output of `gcloud` tool. + # + # Parameter | Source + # -------------------------|-------------------------------------------------------------------- + # P9K_GCLOUD_CONFIGURATION | gcloud config configurations list --format='value(name)' + # P9K_GCLOUD_ACCOUNT | gcloud config get-value account + # P9K_GCLOUD_PROJECT_ID | gcloud config get-value project + # P9K_GCLOUD_PROJECT_NAME | gcloud projects describe $P9K_GCLOUD_PROJECT_ID --format='value(name)' + # + # Note: ${VARIABLE//\%/%%} expands to ${VARIABLE} with all occurrences of '%' replaced with '%%'. + # + # Obtaining project name requires sending a request to Google servers. This can take a long time + # and even fail. When project name is unknown, P9K_GCLOUD_PROJECT_NAME is not set and gcloud + # prompt segment is in state PARTIAL. When project name gets known, P9K_GCLOUD_PROJECT_NAME gets + # set and gcloud prompt segment transitions to state COMPLETE. + # + # You can customize the format, icon and colors of gcloud segment separately for states PARTIAL + # and COMPLETE. You can also hide gcloud in state PARTIAL by setting + # POWERLEVEL9K_GCLOUD_PARTIAL_VISUAL_IDENTIFIER_EXPANSION and + # POWERLEVEL9K_GCLOUD_PARTIAL_CONTENT_EXPANSION to empty. + typeset -g POWERLEVEL9K_GCLOUD_PARTIAL_CONTENT_EXPANSION='${P9K_GCLOUD_PROJECT_ID//\%/%%}' + typeset -g POWERLEVEL9K_GCLOUD_COMPLETE_CONTENT_EXPANSION='${P9K_GCLOUD_PROJECT_NAME//\%/%%}' + + # Send a request to Google (by means of `gcloud projects describe ...`) to obtain project name + # this often. Negative value disables periodic polling. In this mode project name is retrieved + # only when the current configuration, account or project id changes. + typeset -g POWERLEVEL9K_GCLOUD_REFRESH_PROJECT_NAME_SECONDS=60 + + # Custom icon. + # typeset -g POWERLEVEL9K_GCLOUD_VISUAL_IDENTIFIER_EXPANSION='⭐' + + #[ google_app_cred: google application credentials (https://cloud.google.com/docs/authentication/production) ]# + # Show google_app_cred only when the command you are typing invokes one of these tools. + # Tip: Remove the next line to always show google_app_cred. + typeset -g POWERLEVEL9K_GOOGLE_APP_CRED_SHOW_ON_COMMAND='terraform|pulumi|terragrunt' + + # Google application credentials classes for the purpose of using different colors, icons and + # expansions with different credentials. + # + # POWERLEVEL9K_GOOGLE_APP_CRED_CLASSES is an array with even number of elements. The first + # element in each pair defines a pattern against which the current kubernetes context gets + # matched. More specifically, it's P9K_CONTENT prior to the application of context expansion + # (see below) that gets matched. If you unset all POWERLEVEL9K_GOOGLE_APP_CRED_*CONTENT_EXPANSION + # parameters, you'll see this value in your prompt. The second element of each pair in + # POWERLEVEL9K_GOOGLE_APP_CRED_CLASSES defines the context class. Patterns are tried in order. + # The first match wins. + # + # For example, given these settings: + # + # typeset -g POWERLEVEL9K_GOOGLE_APP_CRED_CLASSES=( + # '*:*prod*:*' PROD + # '*:*test*:*' TEST + # '*' DEFAULT) + # + # If your current Google application credentials is "service_account deathray-testing x@y.com", + # its class is TEST because it doesn't match the pattern '* *prod* *' but does match '* *test* *'. + # + # You can define different colors, icons and content expansions for different classes: + # + # typeset -g POWERLEVEL9K_GOOGLE_APP_CRED_TEST_FOREGROUND=28 + # typeset -g POWERLEVEL9K_GOOGLE_APP_CRED_TEST_VISUAL_IDENTIFIER_EXPANSION='⭐' + # typeset -g POWERLEVEL9K_GOOGLE_APP_CRED_TEST_CONTENT_EXPANSION='$P9K_GOOGLE_APP_CRED_PROJECT_ID' + typeset -g POWERLEVEL9K_GOOGLE_APP_CRED_CLASSES=( + # '*:*prod*:*' PROD # These values are examples that are unlikely + # '*:*test*:*' TEST # to match your needs. Customize them as needed. + '*' DEFAULT) + typeset -g POWERLEVEL9K_GOOGLE_APP_CRED_DEFAULT_FOREGROUND=7 + typeset -g POWERLEVEL9K_GOOGLE_APP_CRED_DEFAULT_BACKGROUND=4 + # typeset -g POWERLEVEL9K_GOOGLE_APP_CRED_DEFAULT_VISUAL_IDENTIFIER_EXPANSION='⭐' + + # Use POWERLEVEL9K_GOOGLE_APP_CRED_CONTENT_EXPANSION to specify the content displayed by + # google_app_cred segment. Parameter expansions are very flexible and fast, too. See reference: + # http://zsh.sourceforge.net/Doc/Release/Expansion.html#Parameter-Expansion. + # + # You can use the following parameters in the expansion. Each of them corresponds to one of the + # fields in the JSON file pointed to by GOOGLE_APPLICATION_CREDENTIALS. + # + # Parameter | JSON key file field + # ---------------------------------+--------------- + # P9K_GOOGLE_APP_CRED_TYPE | type + # P9K_GOOGLE_APP_CRED_PROJECT_ID | project_id + # P9K_GOOGLE_APP_CRED_CLIENT_EMAIL | client_email + # + # Note: ${VARIABLE//\%/%%} expands to ${VARIABLE} with all occurrences of '%' replaced by '%%'. + typeset -g POWERLEVEL9K_GOOGLE_APP_CRED_DEFAULT_CONTENT_EXPANSION='${P9K_GOOGLE_APP_CRED_PROJECT_ID//\%/%%}' + + ##############[ toolbox: toolbox name (https://github.com/containers/toolbox) ]############### + # Toolbox color. + typeset -g POWERLEVEL9K_TOOLBOX_FOREGROUND=0 + typeset -g POWERLEVEL9K_TOOLBOX_BACKGROUND=3 + # Don't display the name of the toolbox if it matches fedora-toolbox-*. + typeset -g POWERLEVEL9K_TOOLBOX_CONTENT_EXPANSION='${P9K_TOOLBOX_NAME:#fedora-toolbox-*}' + # Custom icon. + # typeset -g POWERLEVEL9K_TOOLBOX_VISUAL_IDENTIFIER_EXPANSION='⭐' + # Custom prefix. + # typeset -g POWERLEVEL9K_TOOLBOX_PREFIX='in ' + + ###############################[ public_ip: public IP address ]############################### + # Public IP color. + typeset -g POWERLEVEL9K_PUBLIC_IP_FOREGROUND=7 + typeset -g POWERLEVEL9K_PUBLIC_IP_BACKGROUND=0 + # Custom icon. + # typeset -g POWERLEVEL9K_PUBLIC_IP_VISUAL_IDENTIFIER_EXPANSION='⭐' + + ########################[ vpn_ip: virtual private network indicator ]######################### + # VPN IP color. + typeset -g POWERLEVEL9K_VPN_IP_FOREGROUND=0 + typeset -g POWERLEVEL9K_VPN_IP_BACKGROUND=6 + # When on VPN, show just an icon without the IP address. + # Tip: To display the private IP address when on VPN, remove the next line. + typeset -g POWERLEVEL9K_VPN_IP_CONTENT_EXPANSION= + # Regular expression for the VPN network interface. Run `ifconfig` or `ip -4 a show` while on VPN + # to see the name of the interface. + typeset -g POWERLEVEL9K_VPN_IP_INTERFACE='(gpd|wg|(.*tun)|tailscale)[0-9]*|(zt.*)' + # If set to true, show one segment per matching network interface. If set to false, show only + # one segment corresponding to the first matching network interface. + # Tip: If you set it to true, you'll probably want to unset POWERLEVEL9K_VPN_IP_CONTENT_EXPANSION. + typeset -g POWERLEVEL9K_VPN_IP_SHOW_ALL=false + # Custom icon. + # typeset -g POWERLEVEL9K_VPN_IP_VISUAL_IDENTIFIER_EXPANSION='⭐' + + ###########[ ip: ip address and bandwidth usage for a specified network interface ]########### + # IP color. + typeset -g POWERLEVEL9K_IP_BACKGROUND=4 + typeset -g POWERLEVEL9K_IP_FOREGROUND=0 + # The following parameters are accessible within the expansion: + # + # Parameter | Meaning + # ----------------------+------------------------------------------- + # P9K_IP_IP | IP address + # P9K_IP_INTERFACE | network interface + # P9K_IP_RX_BYTES | total number of bytes received + # P9K_IP_TX_BYTES | total number of bytes sent + # P9K_IP_RX_BYTES_DELTA | number of bytes received since last prompt + # P9K_IP_TX_BYTES_DELTA | number of bytes sent since last prompt + # P9K_IP_RX_RATE | receive rate (since last prompt) + # P9K_IP_TX_RATE | send rate (since last prompt) + typeset -g POWERLEVEL9K_IP_CONTENT_EXPANSION='${P9K_IP_RX_RATE:+⇣$P9K_IP_RX_RATE }${P9K_IP_TX_RATE:+⇡$P9K_IP_TX_RATE }$P9K_IP_IP' + # Show information for the first network interface whose name matches this regular expression. + # Run `ifconfig` or `ip -4 a show` to see the names of all network interfaces. + typeset -g POWERLEVEL9K_IP_INTERFACE='[ew].*' + # Custom icon. + # typeset -g POWERLEVEL9K_IP_VISUAL_IDENTIFIER_EXPANSION='⭐' + + #########################[ proxy: system-wide http/https/ftp proxy ]########################## + # Proxy color. + typeset -g POWERLEVEL9K_PROXY_FOREGROUND=4 + typeset -g POWERLEVEL9K_PROXY_BACKGROUND=0 + # Custom icon. + # typeset -g POWERLEVEL9K_PROXY_VISUAL_IDENTIFIER_EXPANSION='⭐' + + ################################[ battery: internal battery ]################################# + # Show battery in red when it's below this level and not connected to power supply. + typeset -g POWERLEVEL9K_BATTERY_LOW_THRESHOLD=20 + typeset -g POWERLEVEL9K_BATTERY_LOW_FOREGROUND=1 + # Show battery in green when it's charging or fully charged. + typeset -g POWERLEVEL9K_BATTERY_{CHARGING,CHARGED}_FOREGROUND=2 + # Show battery in yellow when it's discharging. + typeset -g POWERLEVEL9K_BATTERY_DISCONNECTED_FOREGROUND=3 + # Battery pictograms going from low to high level of charge. + typeset -g POWERLEVEL9K_BATTERY_STAGES='\UF008E\UF007A\UF007B\UF007C\UF007D\UF007E\UF007F\UF0080\UF0081\UF0082\UF0079' + # Don't show the remaining time to charge/discharge. + typeset -g POWERLEVEL9K_BATTERY_VERBOSE=false + typeset -g POWERLEVEL9K_BATTERY_BACKGROUND=0 + + #####################################[ wifi: wifi speed ]##################################### + # WiFi color. + typeset -g POWERLEVEL9K_WIFI_FOREGROUND=0 + typeset -g POWERLEVEL9K_WIFI_BACKGROUND=4 + # Custom icon. + # typeset -g POWERLEVEL9K_WIFI_VISUAL_IDENTIFIER_EXPANSION='⭐' + + # Use different colors and icons depending on signal strength ($P9K_WIFI_BARS). + # + # # Wifi colors and icons for different signal strength levels (low to high). + # typeset -g my_wifi_fg=(0 0 0 0 0) # <-- change these values + # typeset -g my_wifi_icon=('WiFi' 'WiFi' 'WiFi' 'WiFi' 'WiFi') # <-- change these values + # + # typeset -g POWERLEVEL9K_WIFI_CONTENT_EXPANSION='%F{${my_wifi_fg[P9K_WIFI_BARS+1]}}$P9K_WIFI_LAST_TX_RATE Mbps' + # typeset -g POWERLEVEL9K_WIFI_VISUAL_IDENTIFIER_EXPANSION='%F{${my_wifi_fg[P9K_WIFI_BARS+1]}}${my_wifi_icon[P9K_WIFI_BARS+1]}' + # + # The following parameters are accessible within the expansions: + # + # Parameter | Meaning + # ----------------------+--------------- + # P9K_WIFI_SSID | service set identifier, a.k.a. network name + # P9K_WIFI_LINK_AUTH | authentication protocol such as "wpa2-psk" or "none"; empty if unknown + # P9K_WIFI_LAST_TX_RATE | wireless transmit rate in megabits per second + # P9K_WIFI_RSSI | signal strength in dBm, from -120 to 0 + # P9K_WIFI_NOISE | noise in dBm, from -120 to 0 + # P9K_WIFI_BARS | signal strength in bars, from 0 to 4 (derived from P9K_WIFI_RSSI and P9K_WIFI_NOISE) + + ####################################[ time: current time ]#################################### + # Current time color. + typeset -g POWERLEVEL9K_TIME_FOREGROUND=0 + typeset -g POWERLEVEL9K_TIME_BACKGROUND=7 + # Format for the current time: 09:51:02. See `man 3 strftime`. + typeset -g POWERLEVEL9K_TIME_FORMAT='%D{%H:%M:%S}' + # If set to true, time will update when you hit enter. This way prompts for the past + # commands will contain the start times of their commands as opposed to the default + # behavior where they contain the end times of their preceding commands. + typeset -g POWERLEVEL9K_TIME_UPDATE_ON_COMMAND=false + # Custom icon. + # typeset -g POWERLEVEL9K_TIME_VISUAL_IDENTIFIER_EXPANSION='⭐' + # Custom prefix. + # typeset -g POWERLEVEL9K_TIME_PREFIX='at ' + + # Example of a user-defined prompt segment. Function prompt_example will be called on every + # prompt if `example` prompt segment is added to POWERLEVEL9K_LEFT_PROMPT_ELEMENTS or + # POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS. It displays an icon and yellow text on red background + # greeting the user. + # + # Type `p10k help segment` for documentation and a more sophisticated example. + function prompt_example() { + p10k segment -b 1 -f 3 -i '⭐' -t 'hello, %n' + } + + # User-defined prompt segments may optionally provide an instant_prompt_* function. Its job + # is to generate the prompt segment for display in instant prompt. See + # https://github.com/romkatv/powerlevel10k#instant-prompt. + # + # Powerlevel10k will call instant_prompt_* at the same time as the regular prompt_* function + # and will record all `p10k segment` calls it makes. When displaying instant prompt, Powerlevel10k + # will replay these calls without actually calling instant_prompt_*. It is imperative that + # instant_prompt_* always makes the same `p10k segment` calls regardless of environment. If this + # rule is not observed, the content of instant prompt will be incorrect. + # + # Usually, you should either not define instant_prompt_* or simply call prompt_* from it. If + # instant_prompt_* is not defined for a segment, the segment won't be shown in instant prompt. + function instant_prompt_example() { + # Since prompt_example always makes the same `p10k segment` calls, we can call it from + # instant_prompt_example. This will give us the same `example` prompt segment in the instant + # and regular prompts. + prompt_example + } + + # User-defined prompt segments can be customized the same way as built-in segments. + typeset -g POWERLEVEL9K_EXAMPLE_FOREGROUND=3 + typeset -g POWERLEVEL9K_EXAMPLE_BACKGROUND=1 + # typeset -g POWERLEVEL9K_EXAMPLE_VISUAL_IDENTIFIER_EXPANSION='⭐' + + # Transient prompt works similarly to the builtin transient_rprompt option. It trims down prompt + # when accepting a command line. Supported values: + # + # - off: Don't change prompt when accepting a command line. + # - always: Trim down prompt when accepting a command line. + # - same-dir: Trim down prompt when accepting a command line unless this is the first command + # typed after changing current working directory. + typeset -g POWERLEVEL9K_TRANSIENT_PROMPT=always + + # Instant prompt mode. + # + # - off: Disable instant prompt. Choose this if you've tried instant prompt and found + # it incompatible with your zsh configuration files. + # - quiet: Enable instant prompt and don't print warnings when detecting console output + # during zsh initialization. Choose this if you've read and understood + # https://github.com/romkatv/powerlevel10k#instant-prompt. + # - verbose: Enable instant prompt and print a warning when detecting console output during + # zsh initialization. Choose this if you've never tried instant prompt, haven't + # seen the warning, or if you are unsure what this all means. + typeset -g POWERLEVEL9K_INSTANT_PROMPT=verbose + + # Hot reload allows you to change POWERLEVEL9K options after Powerlevel10k has been initialized. + # For example, you can type POWERLEVEL9K_BACKGROUND=red and see your prompt turn red. Hot reload + # can slow down prompt by 1-2 milliseconds, so it's better to keep it turned off unless you + # really need it. + typeset -g POWERLEVEL9K_DISABLE_HOT_RELOAD=true + + # If p10k is already loaded, reload configuration. + # This works even with POWERLEVEL9K_DISABLE_HOT_RELOAD=true. + (( ! $+functions[p10k] )) || p10k reload +} + +# Tell `p10k configure` which file it should overwrite. +typeset -g POWERLEVEL9K_CONFIG_FILE=${${(%):-%x}:a} + +(( ${#p10k_config_opts} )) && setopt ${p10k_config_opts[@]} +'builtin' 'unset' 'p10k_config_opts' diff --git a/.scripts/bashed-catbox.sh b/.scripts/bashed-catbox.sh new file mode 100755 index 0000000..d6c0a98 --- /dev/null +++ b/.scripts/bashed-catbox.sh @@ -0,0 +1,539 @@ + +#!/bin/bash +# +# CatBox v2.0 +# An implementation of catbox.moe API in Bash +# Author: MineBartekSA +# Gist: https://gist.github.com/MineBartekSA/1d42d6973ddafb82793fd49b4fb06591 +# Change log: https://gist.github.com/MineBartekSA/1d42d6973ddafb82793fd49b4fb06591?permalink_comment_id=4596132#gistcomment-4596132 +# +# MIT License +# +# Copyright (c) 2023 Bartłomiej Skoczeń +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# + +_version="2.0" + +_catbox_host="https://catbox.moe/user/api.php" +_litter_host="https://litterbox.catbox.moe/resources/internals/api.php" +_hash_file="$HOME/.catbox" + +_curl_add="" + +_reset="\e[0m" +_bold="\e[1m" +_red="\e[91m" +_yellow="\e[93m" + +## Utils + +no_color() { + unset _reset _bold _red _yellow #########??????????? +} + +version() { + echo -e $_bold"CatBox"$_reset" v"$_version >&5 + echo "A catbox.moe API implementation in Bash" +} + +usage() { + [ -z $1 ] && version || echo $1 + echo + echo "Usage: catbox [arguments] [options]" + echo + echo "Commands:" + echo " user [user hash] - Gets current or sets global user hash. Pass 'off' to remove global user hash" + echo " file - Upload files to catbox.moe" + echo " temp [expiary] - Upload files to litterbox.catbox.moe" + echo " url - Upload files from URLs to catbox.moe" + echo " delete - Delete files from catbox.moe" + echo " album - Album Managment" + echo + echo "Global options:" + echo " -s, --silent - Only output upload links (stderr will still show)" + echo " -S, --silent-all - Silent option but also silences stderr" + echo " -n, --no-color - Disable output coloring" + echo " -u, --user-hash[=] - Pass user hash" + echo " -V, --verbose - Show verbose output (in album)" +} + +has_hash() { + [ -z "$HASH" ] && [ -z "$USER_HASH" ] && echo false || echo true +} + +## Command functions + +upload_files() { + declare -i fail=0 + for file in "${@:2}" + do + name=$(basename -- "$file") + echo -e $_bold"$name"$_reset":" + if ! ( [ -f "$file" ] || [ -L "$file" ] || [ "$file" == "-" ] ) + then + echo -e $_bold$_red"File '$file' doesn't exist!"$_reset >&2 + fail+=1 + continue + fi + link=$(curl --fail-with-body -F reqtype=fileupload $_curl_add -F "fileToUpload=@$file" $1) + if [ $? -ne 0 ] + then + echo -e $_bold$_red"Failed to upload: "$_reset$_red$link$_reset >&2 + fail+=1 + continue + fi + echo -n $link | xclip -selection clipboard + echo -en "Uploaded to: "$_bold + echo $link >&5 + echo -en $_reset + done + [ $fail -eq $[$#-1] ] && exit 2 + return 0 +} + +catbox_command() { + curl -s --fail-with-body -F reqtype=$1 $_curl_add "${@:2}" $_catbox_host & + pid=$! + if [ ! $SILENT ] + then + echo -en "\e[sPlase wait... |" >&5 + declare -i stage=1 + while ps -p $pid > /dev/null + do + case $stage in + 0 | 4) + echo -en "\e[1D|" >&5 + ;; + 1 | 5) + echo -en "\e[1D/" >&5 + ;; + 3 | 7) + echo -en "\e[1D\\" >&5 + ;; + 2 | 6) + echo -en "\e[1D-" >&5 + ;; + esac + stage+=1 + [ $stage -eq 8 ] && stage=0 + sleep 0.1 + done + echo -ne "\e[u\e[KDone!" >&5 + fi + wait $pid +} + +generic_command() { + declare -i fail=0 + for item in "${@:5}" + do + echo -en $_bold"$($3 "$item")"$_reset": " + res=$(catbox_command $1 -F "$2=$item") + if [ $? -eq 0 ] + then + $4 "$res" + else + [ $SILENT ] && echo -en $_red"$item: " >&2 || echo -en "\e[u" + echo -e $_red$res$_reset >&2 + fail+=1 + fi + done + [ $fail -eq $[$#-4] ] && exit 2 + return 0 +} + +url_success() { + echo -en "\e[u" + echo $* >&5 + echo -n $* | xclip -selection clipboard +} + +upload_urls() { + generic_command urlupload url "basename -- " url_success $@ +} + +delete_success() { + echo -e "\e[uSuccesfully deleted" +} + +delete_files() { + echo "Deleting..." + generic_command deletefiles files echo delete_success $@ +} + +album_usage() { + echo "Usage: catbox album [arguments]" + echo + echo -e $_bold$_yellow"Note: Every album command requires user hash" + echo -e " For title or description, double quote every text longer than one word"$_reset + echo + echo "Commands:" + echo " create <description> <file(s)> - Create album" + echo " edit <short> <title> <description> [file(s)] - Modify album" + echo " add <short> <file(s)> - Add files to an album" + echo " remove <short> <file(s)> - Remove files from an album" + echo " delete <short> - Delete album" +} + +album_create() { + files="${@:3}" + echo "Creating album..." + if [ $VERBOSE ] + then + echo "Title : $1" >&5 + echo "Description: $2" >&5 + echo "Files : $files" >&5 + fi + + album=$(catbox_command createalbum -F "title=$1" -F "desc=$2" -F "files=$files") + if [ $? -ne 0 ] + then + exec >&2 + echo -e $_red$_bold"Failed to create a new album!"$_reset + echo -e $_red$album$_reset + exit 2 + fi + + echo -n $album | xclip -selection clipboard + echo -e "\nAlbum created successfully" + if [ $VERBOSE ] + then + echo "Album short: ${album:21}" >&5 + echo "Album url : $album" >&5 + else + echo "${album:21} | $album" >&5 + fi +} + +album_edit() { + files="${@:4}" + echo "Modifing album..." + if [ $VERBOSE ] + then + echo "Album Short: $1" >&5 + echo "Title : $2" >&5 + echo "Description: $3" >&5 + echo "Files : $files" >&5 + fi + + res=$(catbox_command editalbum -F "short=$1" -F "title=$2" -F "desc=$3" -F "files=$files") + if [ $? -ne 0 ] + then + exec >&2 + echo -e $_red$_bold"Failed to modify album!"$_reset + echo -e $_red$res$_reset + exit 2 + fi + + echo -e "\nAlbum modified successfully" +} + +album_add() { + files="${@:2}" + echo "Adding files to the album..." + if [ $VERBOSE ] + then + echo "Album short: $1" + echo "Files : $files" + fi + + res=$(catbox_command addtoalbum -F "short=$1" -F "files=$files") + if [ $? -ne 0 ] + then + exec >&2 + echo -e $_red$_bold"Failed to add files to the album!"$_reset + echo -e $_red$res$_reset + exit 2 + fi + + echo -e "\nSuccessfully added files to the album" +} + +album_remove() { + files="${@:2}" + echo "Removing files from the album..." + if [ $VERBOSE ] + then + echo "Album short: $1" + echo "Files : $files" + fi + + res=$(catbox_command removefromalbum -F "short=$1" -F "files=$files") + if [ $? -ne 0 ] + then + exec >&2 + echo -e $_red$_bold"Failed to remove files from the album!"$_reset + echo -e $_red$res$_reset + exit 2 + fi + + echo -e "\nSuccessfully removed files from the album" +} + +album_delete() { + echo "Deleting albums..." + generic_command deletealbum short echo delete_success $@ +} + +## Start + +# Check if curl exists +curl --version >> /dev/null +if [ $? -ne 0 ] +then + echo -e $_red"cURL not found!"$_reset >&2 + echo "Please check if you have cURL installed on your system" >&2 + exit 3 +fi + +# Setup a file descriptor for bypassing silent option +exec 5<&1 + +# Handle global options +declare -i count=1 +while [ $count -le $# ] +do + case ${!count} in + -S | --silent-all) + exec 2>/dev/null + set -- "${@:1:$count-1}" -s -s "${@:$count+1}" + ;; + -s | --silent) + exec >/dev/null + SILENT=1 + ;; + -h | --help | --usage) + exec 5>/dev/null + usage + exit 0 + ;; + -v | --version) + version + exit 0 + ;; + -n | --no-color) + no_color + ;; + -u | --user-hash | --user-hash=*) + if [[ ${!count} == --user-hash=* ]] + then + HASH=${!count:12} + else + get=$[$count+1] + HASH=${!get} + set -- "${@:1:$count-1}" "${@:$count+1}" + fi + [ ! -z "$HASH" ] && _curl_add="-F userhash=$HASH " + ;; + -V | --verbose) + VERBOSE=1 + ;; + *) + count+=1 + continue + esac + set -- "${@:1:$count-1}" "${@:$count+1}" +done +unset count no_color + +# Read user hash if it was not given through global options +if [ -z ${HASH+x} ] && [ -f $_hash_file ] +then + while read line + do + if [[ $line != \#* ]] && [ "$line" != "" ] + then + USER_HASH=$line + _curl_add="-F userhash=$USER_HASH " + break + fi + done < $_hash_file + unset line +fi + +# Handle commands +case $1 in +version) + version + ;; +help | usage) + exec 5>&1 + usage + ;; +user) + if [ -z $2 ] + then + if [ "$(has_hash)" == "true" ] + then + if ! [ -z "$HASH" ] + then + echo "User hash given!" + echo -n "User hash: " + echo $HASH >&5 + else + echo "User hash present!" + echo -n "User hash: " + echo $USER_HASH >&5 + fi + echo "CatBox will act as you" + else + echo "No user hash" + echo "CatBox will act annonymously" + fi + elif [ "$2" == "off" ] + then + rm $_hash_file + echo "CatBox will now upload annonymously" + else + echo -e "# CatBox v2 User Hash\n$2" > $_hash_file + echo "User hash set!" + echo "CatBox will now upload files to your account" + fi + ;; +file) + if [ $# -eq 1 ] + then + exec >&2 + echo "Usage: catbox file <filename> [<filename>...] - Upload files to catbox.moe" + echo "Anonymously uploaded files cannot be deleted" + exit 1 + fi + [ "$(has_hash)" == "false" ] && echo "Uploading annonymously..." || echo "Uploading..." + upload_files $_catbox_host "${@:2}" + ;; +temp) + if [ $# -lt 2 ] + then + exec >&2 + echo "Usage: catbox temp <filename> [<filename>...] [1h/12h/24h/72h] - Upload files to litterbox.catbox.moe" + echo "Only the given expiry times are supported" + echo "By default, temporary files will expire after an hour" + exit 1; + fi + [[ ${@: -1:1} == @(1|12|24|72)h ]] && time=${@: -1:1} && end=-1 || time=1h || end=0 + _curl_add="-F time=$time" + echo "Uploading temporarily..." + upload_files $_litter_host "${@:2:$#-1$end}" + ;; +url) + if [ $# -eq 1 ] + then + exec >&2 + echo "Usage: catbox url <url> [<url>...] - Upload files from urls to catbox.moe" + echo "Anonymously uploaded files cannot be deleted" + exit 1 + fi + [ "$(has_hash)" == "false" ] && echo "Uploading annonymously..." || echo "Uploading..." + upload_urls "${@:2}" + ;; +delete) + if [ $# -eq 1 ] + then + exec >&2 + echo "Usage: catbox delete <filename> [<filename>...] - Delete files from your catbox.moe account" + echo "This command required a catbox.moe account" + echo "Please add your user hash by using the catbox user command" + echo "Filenames must be the names of files already hosted on catbox.moe" + echo "Anonymously uploaded files cannot be deleted" + exit 1 + elif [ "$(has_hash)" == "false" ] + then + exec >&2 + echo -e $_bold$_red"No user hash!"$_reset + echo -e $_red"Please add your user hash" + echo -e "Use the catbox user command to do so"$_reset + exit 1 + fi + delete_files ${@:2} + ;; +album) + if [ $# -gt 1 ] && [ "$(has_hash)" == "false" ] + then + exec >&2 + echo -e $_bold$_red"No user hash!"$_reset + echo -e $_red"Please add your user hash" + echo -e "Use the catbox user command to do so"$_reset + exit 1 + fi + case $2 in + create) + if [ $# -lt 5 ] + then + exec >&2 + echo "Usage: catbox album create <title> <description> <filename> [<filename> ...] - Create an album with given title, description, and files" + echo -e $_yellow"For title or description, double quote every text longer than one word"$_reset + echo "Filenames must be the names of files already hosted on catbox.moe" + exit 1 + fi + album_create "$3" "$4" ${@:5} + ;; + edit) + if [ $# -lt 5 ] + then + exec >&2 + echo "Usage: catbox album edit <short> <title> <description> [<filename> ...] - Modify the entirety of the album" + echo -e $_yellow"For title or description, double quote every text longer than one word" + echo -e "Filenames are not necessary, but given none, the album will become empty"$_reset + echo "Filenames must be the names of files already hosted on catbox.moe" + exit 1 + fi + album_edit $3 "$4" "$5" ${@:6} + ;; + add) + if [ $# -lt 4 ] + then + exec >&2 + echo "Usage: catbox album add <short> <filename> [<filename> ...] - Add files to the album" + echo "Filenames must be the names of files already hosted on catbox.moe" + exit 1 + fi + album_add $3 ${@:4} + ;; + remove) + if [ $# -lt 4 ] + then + exec >&2 + echo "Usage: catbox album remove <short> <filename> [<filename> ...] - Remove files from the album" + echo "Filenames must be the names of files already hosted on catbox.moe" + exit 1 + fi + album_remove $3 ${@:4} + ;; + delete) + if [ $# -lt 3 ] + then + echo "Usage: catbox album delete <short> [<short> ...] - Delete album(s)" >&2 + exit 1 + fi + album_delete ${@:3} + ;; + *) + exec >&2 + album_usage + exit 1 + esac + ;; +*) + exec >&2 + exec 5>&2 + usage + exit 1 +esac diff --git a/.scripts/cc.sh b/.scripts/cc.sh new file mode 100755 index 0000000..d40e184 --- /dev/null +++ b/.scripts/cc.sh @@ -0,0 +1 @@ +WINEPREFIX=~/.wine32 wine '/run/media/gor/Nuevo vol/Microsoft Chat/CChat_MP3.exe' diff --git a/.scripts/screenshot_save_and_upload_last_to_catbox.sh b/.scripts/screenshot_save_and_upload_last_to_catbox.sh new file mode 100755 index 0000000..cf57681 --- /dev/null +++ b/.scripts/screenshot_save_and_upload_last_to_catbox.sh @@ -0,0 +1,5 @@ +FOLDER=~/Screenshots/uploaded_screenshots/ +SCRIPT_PATH=~/.scripts/bashed-catbox.sh +flameshot gui -s --path $FOLDER +file_path=$(ls $FOLDER -Art | tail -n 1 | xargs -I {} realpath "$FOLDER/{}") +"$SCRIPT_PATH" file -s "$file_path" | xclip diff --git a/.zshrc b/.zshrc new file mode 100644 index 0000000..9da223b --- /dev/null +++ b/.zshrc @@ -0,0 +1,121 @@ +neofetch +# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc. +# Initialization code that may require console input (password prompts, [y/n] +# confirmations, etc.) must go above this block; everything else may go below. +if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then + source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" +fi + +# If you come from bash you might have to change your $PATH. +# export PATH=$HOME/bin:$HOME/.local/bin:/usr/local/bin:$PATH + +# Path to your Oh My Zsh installation. +export ZSH="$HOME/.oh-my-zsh" + +# Set name of the theme to load --- if set to "random", it will +# load a random theme each time Oh My Zsh is loaded, in which case, +# to know which specific one was loaded, run: echo $RANDOM_THEME +# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes +#ZSH_THEME="robbyrussell" +ZSH_THEME="powerlevel10k/powerlevel10k" +# Set list of themes to pick from when loading at random +# Setting this variable when ZSH_THEME=random will cause zsh to load +# a theme from this variable instead of looking in $ZSH/themes/ +# If set to an empty array, this variable will have no effect. +# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" ) + +# Uncomment the following line to use case-sensitive completion. +# CASE_SENSITIVE="true" + +# Uncomment the following line to use hyphen-insensitive completion. +# Case-sensitive completion must be off. _ and - will be interchangeable. +# HYPHEN_INSENSITIVE="true" + +# Uncomment one of the following lines to change the auto-update behavior +# zstyle ':omz:update' mode disabled # disable automatic updates +# zstyle ':omz:update' mode auto # update automatically without asking +# zstyle ':omz:update' mode reminder # just remind me to update when it's time + +# Uncomment the following line to change how often to auto-update (in days). +# zstyle ':omz:update' frequency 13 + +# Uncomment the following line if pasting URLs and other text is messed up. +# DISABLE_MAGIC_FUNCTIONS="true" + +# Uncomment the following line to disable colors in ls. +# DISABLE_LS_COLORS="true" + +# Uncomment the following line to disable auto-setting terminal title. +# DISABLE_AUTO_TITLE="true" + +# Uncomment the following line to enable command auto-correction. +# ENABLE_CORRECTION="true" + +# Uncomment the following line to display red dots whilst waiting for completion. +# You can also set it to another string to have that shown instead of the default red dots. +# e.g. COMPLETION_WAITING_DOTS="%F{yellow}waiting...%f" +# Caution: this setting can cause issues with multiline prompts in zsh < 5.7.1 (see #5765) +# COMPLETION_WAITING_DOTS="true" + +# Uncomment the following line if you want to disable marking untracked files +# under VCS as dirty. This makes repository status check for large repositories +# much, much faster. +# DISABLE_UNTRACKED_FILES_DIRTY="true" + +# Uncomment the following line if you want to change the command execution time +# stamp shown in the history command output. +# You can set one of the optional three formats: +# "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd" +# or set a custom format using the strftime function format specifications, +# see 'man strftime' for details. +# HIST_STAMPS="mm/dd/yyyy" + +# Would you like to use another custom folder than $ZSH/custom? +# ZSH_CUSTOM=/path/to/new-custom-folder + +# Which plugins would you like to load? +# Standard plugins can be found in $ZSH/plugins/ +# Custom plugins may be added to $ZSH_CUSTOM/plugins/ +# Example format: plugins=(rails git textmate ruby lighthouse) +# Add wisely, as too many plugins slow down shell startup. +plugins=( + git + zsh-autosuggestions + zsh-syntax-highlighting +) + +source $ZSH/oh-my-zsh.sh + +# User configuration + +# export MANPATH="/usr/local/man:$MANPATH" + +# You may need to manually set your language environment +# export LANG=en_US.UTF-8 + +# Preferred editor for local and remote sessions +# if [[ -n $SSH_CONNECTION ]]; then +# export EDITOR='vim' +# else +# export EDITOR='nvim' +# fi + +# Compilation flags +# export ARCHFLAGS="-arch $(uname -m)" + +# Set personal aliases, overriding those provided by Oh My Zsh libs, +# plugins, and themes. Aliases can be placed here, though Oh My Zsh +# users are encouraged to define aliases within a top-level file in +# the $ZSH_CUSTOM folder, with .zsh extension. Examples: +# - $ZSH_CUSTOM/aliases.zsh +# - $ZSH_CUSTOM/macos.zsh +# For a full list of active aliases, run `alias`. +# +# Example aliases +# alias zshconfig="mate ~/.zshrc" +# alias ohmyzsh="mate ~/.oh-my-zsh" +#source ~/powerlevel10k/powerlevel10k.zsh-theme + +# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. +[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh +alias config='/usr/bin/git --git-dir=/home/gor/.cfg/ --work-tree=/home/gor' diff --git a/README.md b/README.md new file mode 100644 index 0000000..5d54959 --- /dev/null +++ b/README.md @@ -0,0 +1,36 @@ +hola cid perdon puede que la haya cagado con el tamaño por meter chromium XD + +<h1>Instalacion</h1> +¿Estás buscando una receta de arroz y huevo con buen sabor y que sea súper fácil y rápida de preparar? Pues aquí descubrirás 3 recetazas (+1 extra) para que te prepares una comida rica rica en menos de 10 minutos. + +¡Vamos allá! + +¿Qué llevan estas recetas de arroz y huevo? +Ingredientes para 2 personas: + +Arroz +Huevos +Calabacín +Lomo embutido +Ajos tiernos +Sal +Salsa de soja +Aceite de oliva +Aceite de sésamo +Equipamiento útil para hacer estas recetas de arroz con huevo +Aquí tienes una lista de accesorios, ingredientes o utensilios de cocina recomendables para hacer esta receta: + +Arrocera +Aceite de sésamo +Salsa de soja +¿Cómo hacer estas recetas fáciles de arroz con huevo? +Aquí tienes las 3 recetas con arroz y huevo, más una receta extra que lleva también ajos tiernos, calabacín y lomo embutido. Por si las recetas con solo arroz y el huevo te parecen muy sosas jeje. + +Antes de nada, debes saber que todas las recetas llevan arroz blanco cocido. Como el paso de cocinar el arroz blanco cocido es el mismo para las 4 recetas, te lo comento ya y así no tengo que ponerlo en cada una de las preparaciones. + +Arroz “frito” con huevos revueltos +Echa un chorro de aceite de oliva en una sartén, bate un par de huevos con una pizca de sal, y saltéalos hasta hacer unos huevos revueltos bien hechos. + +Una vez tengas los huevos revueltos, añade el arroz cocido, un chorrito pequeño de salsa de soja para darle color, una pizca más de sal, un chorrito de aceite de sésamo y mézclalo todo bien. + +¡Listo! Ya puedes servirlo en un plato o un bol y disfrutarlo. \ No newline at end of file