This commit is contained in:
Dmitry Zakharchenko 2023-03-18 16:42:53 +02:00
parent a2f4958ace
commit d7b0dc74c1
11 changed files with 23 additions and 10 deletions

View File

@ -1,5 +1,6 @@
# -*- conf -*-
term=xterm-256color
initial-window-size-chars=80x24
pad=2x2
selection-target=clipboard

View File

@ -9,7 +9,7 @@
pf = push -f
sc = pull --rebase upstream master
st = status -sb
un = reset HEAD --
un = reset --hard HEAD~1
[user]
name = Dmitry Zakharchenko
email = dmitz@disroot.org

View File

@ -1,6 +1,6 @@
#!/usr/bin/perl
# CLI Pipe Viewer 0.4.4 - configuration file
# CLI Pipe Viewer 0.4.5 - configuration file
use utf8;
@ -9,6 +9,7 @@ our $CONFIG = {
audio_quality => "best",
auto_captions => 0,
autoplay_mode => 0,
bypass_age_gate_native => 0,
bypass_age_gate_with_proxy => 1,
cache_dir => "$ENV{HOME}/.cache/pipe-viewer",
colors => 1,

View File

@ -1,4 +1,4 @@
c.url.searchengines = {'DEFAULT': 'https://lx.vern.cc/search.php?q={}',
c.url.searchengines = {'DEFAULT': 'https://search.femboy.hu/search.php?q={}',
'y': 'https://tube.cadence.moe/search?q={}',
'gh': 'https://github.com/search?q={}',
'md': 'https://reelgood.com/search?q={}',

View File

@ -6,11 +6,16 @@
"alt-speed-time-enabled": false,
"alt-speed-time-end": 1020,
"alt-speed-up": 50,
"announce-ip": "",
"announce-ip-enabled": false,
"anti-brute-force-enabled": false,
"anti-brute-force-threshold": 100,
"bind-address-ipv4": "0.0.0.0",
"bind-address-ipv6": "::",
"blocklist-enabled": false,
"blocklist-url": "http://www.example.com/blocklist",
"cache-size-mb": 4,
"default-trackers": "",
"dht-enabled": true,
"download-dir": "/home/dmitz/downloads/films",
"download-queue-enabled": true,
@ -30,7 +35,7 @@
"peer-port-random-high": 65535,
"peer-port-random-low": 49152,
"peer-port-random-on-start": false,
"peer-socket-tos": "default",
"peer-socket-tos": "le",
"pex-enabled": true,
"port-forwarding-enabled": true,
"preallocation": 1,
@ -47,13 +52,18 @@
"rpc-host-whitelist-enabled": true,
"rpc-password": "{0f6ad2424677cac9104f38499f79819bca2ab45ftzDtZncJ",
"rpc-port": 9091,
"rpc-socket-mode": "0750",
"rpc-url": "/transmission/",
"rpc-username": "",
"rpc-whitelist": "127.0.0.1",
"rpc-whitelist-enabled": true,
"scrape-paused-torrents-enabled": true,
"script-torrent-added-enabled": false,
"script-torrent-added-filename": "",
"script-torrent-done-enabled": true,
"script-torrent-done-filename": "torwrap",
"script-torrent-done-seeding-enabled": false,
"script-torrent-done-seeding-filename": "",
"seed-queue-enabled": false,
"seed-queue-size": 10,
"speed-limit-down": 100,
@ -61,8 +71,10 @@
"speed-limit-up": 100,
"speed-limit-up-enabled": false,
"start-added-torrents": true,
"tcp-enabled": true,
"torrent-added-verify-mode": "fast",
"trash-original-torrent-files": false,
"umask": 18,
"umask": "022",
"upload-slots-per-torrent": 14,
"utp-enabled": true
}

View File

@ -43,7 +43,7 @@ fileviewer *.[1-8] man ./%c | col -b
filetype <audio/*> mpv --no-video %c
filetype <video/*> mpv %f 2>/dev/null &
fileviewer <audio/*,video/*> mediainfo
fileviewer <audio/*,video/*> exiftool
filetype <image/*> rotdir %f 2>/dev/null | imv 2>/dev/null &
fileviewer <image/*> sixel %c %pw %ph %pd %pc
@ -51,4 +51,4 @@ fileviewer <image/*> sixel %c %pw %ph %pd %pc
filetype *.torrent torwrap add %c
fileviewer *.torrent transmission-show
set vifminfo=tui,dirstack,registers
set vifminfo=dhistory,chistory,tui,shistory,phistory,fhistory,dirstack,registers

BIN
.config/wall.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.9 MiB

View File

@ -25,7 +25,6 @@ export TERMINAL="foot"
export ELINKS_CONFDIR="$XDG_CONFIG_HOME"/elinks
export FZF_DEFAULT_OPTS="--layout=reverse --height 40%"
export GNUPGHOME="$XDG_DATA_HOME/gnupg"
export GOBIN="$HOME/.local/bin"
export GOPATH="$XDG_DOCUMENTS_DIR/code/go"
export GTK2_RC_FILES="$XDG_CONFIG_HOME/gtk-2.0/gtkrc-2.0"
export INPUTRC="$XDG_CONFIG_HOME/shell/inputrc"

View File

@ -3,7 +3,7 @@
feed="${1:-$(printf "%s" | tofi --prompt-text 'Paste URL or file path')}"
case "$feed" in
*mkv|*webm|*mp4|*watch?v*|*youtu.be*|*videos.lukesmith.xyz*|*spacepub.space*|*twitch.tv*)
*mkv|*webm|*mp4|*watch?v*|*youtu.be*|*yewtu.be*|*videos.lukesmith.xyz*|*spacepub.space*|*twitch.tv*)
case "$(printf "yt-dlp\\nyt-dlp (audio)\\nyt-dlp (music)\\nmpv\\nmpv (audio)" | tofi --prompt-text "Handle media with?")" in
"yt-dlp") qndl "$feed" >/dev/null 2>&1 ;;
"yt-dlp (audio)") qndl -a "$feed" >/dev/null 2>&1 ;;

View File

@ -13,7 +13,7 @@ case "$1" in
prompt "Turn on transmission-daemon?" "transmission-daemon" && notify-send "transmission-daemon enabled."
fi ;;
open)
check ; $TERMINAL tremc ;;
check ; $TERMINAL tremc -X ;;
add)
check ; sleep 1 && transmission-remote -a "$2" && notify-send "Torrent added." ;;
*)