Compare commits

...

4 Commits

Author SHA1 Message Date
Dmitry Zakharchenko d7b0dc74c1 misc 2023-03-18 16:42:53 +02:00
Dmitry Zakharchenko a2f4958ace newsboat: update feeds 2023-03-18 16:41:04 +02:00
Dmitry Zakharchenko 660972d04e colorscheme: update colors 2023-03-18 16:40:22 +02:00
Dmitry Zakharchenko 690d76a57b zsh: show git branch in prompt 2023-01-05 16:04:07 +02:00
16 changed files with 49 additions and 24 deletions

View File

@ -1,5 +1,6 @@
# -*- conf -*- # -*- conf -*-
term=xterm-256color
initial-window-size-chars=80x24 initial-window-size-chars=80x24
pad=2x2 pad=2x2
selection-target=clipboard selection-target=clipboard
@ -25,7 +26,7 @@ bright3=ffcc66 # bright yellow
bright4=a09f93 # bright blue bright4=a09f93 # bright blue
bright5=e8e6df # bright magenta bright5=e8e6df # bright magenta
bright6=d27b53 # bright cyan bright6=d27b53 # bright cyan
bright7=262626 # bright white bright7=ffffff # bright white
[key-bindings] [key-bindings]
clipboard-copy=Mod1+c clipboard-copy=Mod1+c

View File

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

View File

@ -5,17 +5,17 @@ color index white default "~R"
color index brightyellow default "~T" color index brightyellow default "~T"
color indicator yellow black color indicator yellow black
color sidebar_highlight yellow default color sidebar_highlight yellow default
color sidebar_divider black brightwhite color sidebar_divider black default
color sidebar_flagged red black color sidebar_flagged red black
color sidebar_new blue black color sidebar_new blue black
color normal blue black color normal blue black
color error red default color error red default
color tilde black default color tilde black default
color message blue brightwhite color message blue default
color markers red white color markers red white
color attachment white default color attachment white default
color search magenta default color search magenta default
color status white brightwhite color status white default
color hdrdefault green default color hdrdefault green default
color quoted green default color quoted green default
color quoted1 blue default color quoted1 blue default

View File

@ -1,4 +1,5 @@
"TECH" "(---)" "TECH" "(---)"
https://www.phoronix.com/rss.php "(www)"
https://go.dev/blog/feed.atom "(www)" https://go.dev/blog/feed.atom "(www)"
https://drewdevault.com/blog/index.xml "(www)" "~Drew DeVault" https://drewdevault.com/blog/index.xml "(www)" "~Drew DeVault"
https://spacepub.space/feeds/videos.xml?videoChannelId=2 "(prb)" https://spacepub.space/feeds/videos.xml?videoChannelId=2 "(prb)"
@ -12,7 +13,6 @@ https://youtube.com/feeds/videos.xml?channel_id=UCsnGwSIHyoYN0kiINAGUKxg "(ytb)"
https://youtube.com/feeds/videos.xml?channel_id=UC9-y-6csu5WGm29I7JiwpnA "(ytb)" https://youtube.com/feeds/videos.xml?channel_id=UC9-y-6csu5WGm29I7JiwpnA "(ytb)"
https://youtube.com/feeds/videos.xml?channel_id=UCkf4VIqu3Acnfzuk3kRIFwA "(ytb)" https://youtube.com/feeds/videos.xml?channel_id=UCkf4VIqu3Acnfzuk3kRIFwA "(ytb)"
https://youtube.com/feeds/videos.xml?channel_id=UCgXdyySqz7qH-lDiVG-7KwA "(ytb)" https://youtube.com/feeds/videos.xml?channel_id=UCgXdyySqz7qH-lDiVG-7KwA "(ytb)"
https://youtube.com/feeds/videos.xml?channel_id=UC3cntnJoRiiLaZ7dZwTTQ8A "(ytb)"
https://youtube.com/feeds/videos.xml?channel_id=UCW-HBBzxn7URXPHzWiZTq_A "(ytb)" https://youtube.com/feeds/videos.xml?channel_id=UCW-HBBzxn7URXPHzWiZTq_A "(ytb)"
https://youtube.com/feeds/videos.xml?channel_id=UCFzGyNKXPAglNq28qWYTDFA "(ytb)" https://youtube.com/feeds/videos.xml?channel_id=UCFzGyNKXPAglNq28qWYTDFA "(ytb)"
https://youtube.com/feeds/videos.xml?channel_id=UCdGUr1XKTND-CcGhq_b4eKw "(ytb)" https://youtube.com/feeds/videos.xml?channel_id=UCdGUr1XKTND-CcGhq_b4eKw "(ytb)"
@ -36,6 +36,7 @@ https://twitchrss.appspot.com/vod/teej_dv "(tch)" "~teej_dv"
https://lukesmith.xyz/rss.xml "(www)" "~Luke's Webpage" https://lukesmith.xyz/rss.xml "(www)" "~Luke's Webpage"
https://notrelated.xyz/rss "(www)" "~Not Related" https://notrelated.xyz/rss "(www)" "~Not Related"
https://lukesmith.xyz/peertube "(prt)" https://lukesmith.xyz/peertube "(prt)"
https://youtube.com/feeds/videos.xml?channel_id=UC2eYFnH61tmytImy1mTYvhA "(ytb)"
https://youtube.com/feeds/videos.xml?channel_id=UCxFGffCAi7wC-nl1jA13x1A "(ytb)" https://youtube.com/feeds/videos.xml?channel_id=UCxFGffCAi7wC-nl1jA13x1A "(ytb)"
https://youtube.com/feeds/videos.xml?channel_id=UC3ltptWa0xfrDweghW94Acg "(ytb)" https://youtube.com/feeds/videos.xml?channel_id=UC3ltptWa0xfrDweghW94Acg "(ytb)"
https://youtube.com/feeds/videos.xml?channel_id=UCOujgO5S-Zn8DqpFrvzeIqA "(ytb)" https://youtube.com/feeds/videos.xml?channel_id=UCOujgO5S-Zn8DqpFrvzeIqA "(ytb)"
@ -67,6 +68,7 @@ https://youtube.com/feeds/videos.xml?channel_id=UCbaKd4mhqd1QvfDp5EaUlHw "(ytb)"
https://youtube.com/feeds/videos.xml?channel_id=UCOaqC7XshSJO7PWwvjDJ1nQ "(ytb)" https://youtube.com/feeds/videos.xml?channel_id=UCOaqC7XshSJO7PWwvjDJ1nQ "(ytb)"
"HIS" "(---)" "HIS" "(---)"
https://youtube.com/feeds/videos.xml?channel_id=UCHUaKsX4N31qhxaboKS3PnA "(ytb)"
https://youtube.com/feeds/videos.xml?channel_id=UC5Dw9TFdbPJoTDMSiJdIQTA "(ytb)" https://youtube.com/feeds/videos.xml?channel_id=UC5Dw9TFdbPJoTDMSiJdIQTA "(ytb)"
https://youtube.com/feeds/videos.xml?channel_id=UCOuWeOkMrq84u5LY6apWQ8Q "(ytb)" https://youtube.com/feeds/videos.xml?channel_id=UCOuWeOkMrq84u5LY6apWQ8Q "(ytb)"
https://youtube.com/feeds/videos.xml?channel_id=UC2CmP3hssH0MAqV18UZs0Xw "(ytb)" https://youtube.com/feeds/videos.xml?channel_id=UC2CmP3hssH0MAqV18UZs0Xw "(ytb)"

View File

@ -78,7 +78,7 @@ call <sid>hi("Cursor", s:cterm00, s:cterm05, "", "")
call <sid>hi("NonText", s:cterm03, "", "", "") call <sid>hi("NonText", s:cterm03, "", "", "")
call <sid>hi("LineNr", s:cterm03, "", "", "") call <sid>hi("LineNr", s:cterm03, "", "", "")
call <sid>hi("SignColumn", s:cterm03, s:cterm01, "", "") call <sid>hi("SignColumn", s:cterm03, s:cterm01, "", "")
call <sid>hi("StatusLine", s:cterm05, s:cterm07, "none", "") call <sid>hi("StatusLine", s:cterm05, 235, "none", "")
call <sid>hi("StatusLineNC", s:cterm03, s:cterm01, "none", "") call <sid>hi("StatusLineNC", s:cterm03, s:cterm01, "none", "")
call <sid>hi("VertSplit", "", "", "none", "") call <sid>hi("VertSplit", "", "", "none", "")
call <sid>hi("ColorColumn", "", s:cterm01, "none", "") call <sid>hi("ColorColumn", "", s:cterm01, "none", "")
@ -88,9 +88,9 @@ call <sid>hi("CursorLineNr", s:cterm04, s:cterm01, "", "")
call <sid>hi("QuickFixLine", "", s:cterm01, "none", "") call <sid>hi("QuickFixLine", "", s:cterm01, "none", "")
call <sid>hi("PMenu", s:cterm05, s:cterm01, "none", "") call <sid>hi("PMenu", s:cterm05, s:cterm01, "none", "")
call <sid>hi("PMenuSel", s:cterm01, s:cterm05, "", "") call <sid>hi("PMenuSel", s:cterm01, s:cterm05, "", "")
call <sid>hi("TabLine", s:cterm0D, s:cterm07, "none", "") call <sid>hi("TabLine", s:cterm0D, 235, "none", "")
call <sid>hi("TabLineFill", s:cterm0D, s:cterm07, "none", "") call <sid>hi("TabLineFill", s:cterm0D, 235, "none", "")
call <sid>hi("TabLineSel", s:cterm02, s:cterm07, "none", "") call <sid>hi("TabLineSel", s:cterm02, 235, "none", "")
" Standard syntax highlighting " Standard syntax highlighting
call <sid>hi("Boolean", s:cterm09, "", "", "") call <sid>hi("Boolean", s:cterm09, "", "", "")

View File

@ -1,6 +1,6 @@
#!/usr/bin/perl #!/usr/bin/perl
# CLI Pipe Viewer 0.4.4 - configuration file # CLI Pipe Viewer 0.4.5 - configuration file
use utf8; use utf8;
@ -9,6 +9,7 @@ our $CONFIG = {
audio_quality => "best", audio_quality => "best",
auto_captions => 0, auto_captions => 0,
autoplay_mode => 0, autoplay_mode => 0,
bypass_age_gate_native => 0,
bypass_age_gate_with_proxy => 1, bypass_age_gate_with_proxy => 1,
cache_dir => "$ENV{HOME}/.cache/pipe-viewer", cache_dir => "$ENV{HOME}/.cache/pipe-viewer",
colors => 1, 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={}', 'y': 'https://tube.cadence.moe/search?q={}',
'gh': 'https://github.com/search?q={}', 'gh': 'https://github.com/search?q={}',
'md': 'https://reelgood.com/search?q={}', 'md': 'https://reelgood.com/search?q={}',

View File

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

View File

@ -1,5 +1,5 @@
highlight clear highlight clear
highlight Border cterm=none ctermfg=white ctermbg=lightwhite highlight Border cterm=none ctermfg=white ctermbg=235
highlight CmpMismatch cterm=bold ctermfg=white ctermbg=red highlight CmpMismatch cterm=bold ctermfg=white ctermbg=red
highlight CurrLine cterm=reverse ctermfg=black ctermbg=yellow highlight CurrLine cterm=reverse ctermfg=black ctermbg=yellow
highlight Device cterm=bold ctermfg=red ctermbg=default highlight Device cterm=bold ctermfg=red ctermbg=default
@ -7,7 +7,7 @@ highlight Directory cterm=none ctermfg=blue ctermbg=default
highlight Executable cterm=bold ctermfg=green ctermbg=default highlight Executable cterm=bold ctermfg=green ctermbg=default
highlight Selected cterm=bold ctermfg=yellow ctermbg=default highlight Selected cterm=bold ctermfg=yellow ctermbg=default
highlight Socket cterm=bold ctermfg=blue ctermbg=default highlight Socket cterm=bold ctermfg=blue ctermbg=default
highlight StatusLine cterm=none ctermfg=white ctermbg=lightwhite highlight StatusLine cterm=none ctermfg=white ctermbg=235
highlight TopLine cterm=none ctermfg=white ctermbg=lightwhite highlight TopLine cterm=none ctermfg=white ctermbg=235
highlight TopLineSel cterm=none ctermfg=white ctermbg=default highlight TopLineSel cterm=none ctermfg=white ctermbg=default
highlight Win cterm=none ctermfg=white ctermbg=default highlight Win cterm=none ctermfg=white ctermbg=default

View File

@ -43,7 +43,7 @@ fileviewer *.[1-8] man ./%c | col -b
filetype <audio/*> mpv --no-video %c filetype <audio/*> mpv --no-video %c
filetype <video/*> mpv %f 2>/dev/null & 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 & filetype <image/*> rotdir %f 2>/dev/null | imv 2>/dev/null &
fileviewer <image/*> sixel %c %pw %ph %pd %pc 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 filetype *.torrent torwrap add %c
fileviewer *.torrent transmission-show 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 ELINKS_CONFDIR="$XDG_CONFIG_HOME"/elinks
export FZF_DEFAULT_OPTS="--layout=reverse --height 40%" export FZF_DEFAULT_OPTS="--layout=reverse --height 40%"
export GNUPGHOME="$XDG_DATA_HOME/gnupg" export GNUPGHOME="$XDG_DATA_HOME/gnupg"
export GOBIN="$HOME/.local/bin"
export GOPATH="$XDG_DOCUMENTS_DIR/code/go" export GOPATH="$XDG_DOCUMENTS_DIR/code/go"
export GTK2_RC_FILES="$XDG_CONFIG_HOME/gtk-2.0/gtkrc-2.0" export GTK2_RC_FILES="$XDG_CONFIG_HOME/gtk-2.0/gtkrc-2.0"
export INPUTRC="$XDG_CONFIG_HOME/shell/inputrc" export INPUTRC="$XDG_CONFIG_HOME/shell/inputrc"

View File

@ -1,6 +1,16 @@
# Enable colors and change prompt: git_prompt() {
local branch="$(git symbolic-ref HEAD 2> /dev/null | cut -d'/' -f3-)"
local branch_truncated="${branch:0:30}"
if (( ${#branch} > ${#branch_truncated} )); then
branch="${branch_truncated}..."
fi
[ -n "${branch}" ] && echo " (${branch})"
}
setopt PROMPT_SUBST
autoload -U colors && colors # Load colors autoload -U colors && colors # Load colors
PROMPT='%1~%f%b $ ' PROMPT='%1~%f%b%F{blue}$(git_prompt)%f $ '
# gpg key for ssh authentication # gpg key for ssh authentication
export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)" export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"

View File

@ -3,7 +3,7 @@
feed="${1:-$(printf "%s" | tofi --prompt-text 'Paste URL or file path')}" feed="${1:-$(printf "%s" | tofi --prompt-text 'Paste URL or file path')}"
case "$feed" in 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 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") qndl "$feed" >/dev/null 2>&1 ;;
"yt-dlp (audio)") qndl -a "$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." prompt "Turn on transmission-daemon?" "transmission-daemon" && notify-send "transmission-daemon enabled."
fi ;; fi ;;
open) open)
check ; $TERMINAL tremc ;; check ; $TERMINAL tremc -X ;;
add) add)
check ; sleep 1 && transmission-remote -a "$2" && notify-send "Torrent added." ;; check ; sleep 1 && transmission-remote -a "$2" && notify-send "Torrent added." ;;
*) *)