This commit is contained in:
Dmitry Zakharchenko 2023-07-11 15:54:37 +03:00
parent 577b24ddc5
commit b90b1a6ae8
11 changed files with 23 additions and 47 deletions

View file

@ -1,5 +1,3 @@
# -*- conf -*-
term=xterm-256color
initial-window-size-chars=80x24
pad=2x2
@ -47,5 +45,3 @@ show-urls-launch=Mod1+f
[search-bindings]
find-next=Mod1+n
find-prev=Mod1+Shift+n
# vim: ft=dosini

View file

@ -4,7 +4,7 @@ mpd_port = "6600"
# Directories for storing ncmpcpp files
ncmpcpp_directory = ~/.config/ncmpcpp
lyrics_directory = ~/.local/share/lyrics
lyrics_directory = ~/.cache/lyrics
# Playlist
playlist_display_mode = "classic" (classic/columns)
@ -43,5 +43,3 @@ search_engine_display_mode = "columns" (classic/columns)
follow_now_playing_lyrics = "yes"
user_interface = "alternative" (classic/alternative)
execute_on_song_change="pkill -RTMIN+11 someblocks"
vim:ft=config

View file

@ -1,8 +1,7 @@
"TECH" "(---)"
https://www.phoronix.com/rss.php "(www)"
https://linuxgamingcentral.com/posts/index.xml "(www)" "~Linux Gaming Central"
https://go.dev/blog/feed.atom "(www)"
https://drewdevault.com/blog/index.xml "(www)" "~Drew DeVault"
https://spacepub.space/feeds/videos.xml?videoChannelId=2 "(prb)"
https://lobste.rs/top/rss "(www)" "~Lobsters"
https://youtube.com/feeds/videos.xml?channel_id=UCKTehwyGCKF-b2wo0RKwrcg "(ytb)"
https://youtube.com/feeds/videos.xml?channel_id=UCl2mFZoRqjw_ELax4Yisf6w "(ytb)"
@ -24,16 +23,13 @@ https://youtube.com/feeds/videos.xml?channel_id=UCpi0JLkVK0RrAHkfpB3B2Aw "(ytb)"
https://youtube.com/feeds/videos.xml?channel_id=UC2WNW0NZVyMeEPvtLmScgvQ "(ytb)"
https://youtube.com/feeds/videos.xml?channel_id=UCiUkcNS6W0n8QdosuZASduQ "(ytb)"
"TCH" "(---)"
https://twitchrss.appspot.com/vod/uebermarginal "(tch)" "~uebermarginal"
https://twitchrss.appspot.com/vod/lastmiles "(tch)" "~lastmiles"
https://twitchrss.appspot.com/vod/bashbunni "(tch)" "~bashbunni"
https://twitchrss.appspot.com/vod/teej_dv "(tch)" "~teej_dv"
"PPL" "(---)"
https://lukesmith.xyz/rss.xml "(www)" "~Luke's Webpage"
https://notrelated.xyz/rss "(www)" "~Not Related"
https://lukesmith.xyz/peertube "(prt)"
https://emersion.fr/blog/atom.xml "(www)"
https://isaacfreund.com/blog/feed.xml "(www)"
https://drewdevault.com/blog/index.xml "(www)" "~Drew DeVault"
https://spacepub.space/feeds/videos.xml?videoChannelId=2 "(prb)"
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=UC3ltptWa0xfrDweghW94Acg "(ytb)"
@ -51,7 +47,6 @@ https://youtube.com/feeds/videos.xml?channel_id=UCf_kbk7T6-3Cw1o3KA4hxCg "(ytb)"
https://youtube.com/feeds/videos.xml?channel_id=UC-b89a0Fw6pNoP-g-_qLeiw "(ytb)"
https://youtube.com/feeds/videos.xml?channel_id=UC9RM-iSvTu1uPJb8X5yp3EQ "(ytb)"
https://youtube.com/feeds/videos.xml?channel_id=UCR1D15p_vdP3HkrH8wgjQRw "(ytb)"
https://youtube.com/feeds/videos.xml?channel_id=UCjjElKokwu5KCN2PeHzE9Eg "(ytb)" "~Furydrops"
https://youtube.com/feeds/videos.xml?channel_id=UCbWcXB0PoqOsAvAdfzWMf0w "(ytb)"
https://youtube.com/feeds/videos.xml?channel_id=UCo4au6lRX4-_gIczBneEZWA "(ytb)"
https://youtube.com/feeds/videos.xml?channel_id=UCsK84qDhiw7SwtZonplxavg "(ytb)"
@ -91,9 +86,6 @@ https://rss.nixnet.services/?action=display&bridge=Bandcamp&context=By+band&band
https://repology.org/maintainer/dmitz%40disroot.org/feed-for-repo/alpine_edge/atom "(www)"
https://github.com/kolunmi/sandbar/commits/main.atom "(ghb)"
https://github.com/djpohly/dwl/commits/main.atom "(ghb)"
https://git.sr.ht/~raphi/somebar/log/master/rss.xml "(srt)"
https://github.com/riverwm/river/commits/master.atom "(ghb)"
https://github.com/lukesmithxyz/voidrice/commits/master.atom "(ghb)"
https://github.com/LukeSmithxyz/dwm/commits/master.atom "(ghb)"
https://github.com/qutebrowser/qutebrowser/releases.atom "(ghb)"
https://github.com/newsboat/newsboat/releases.atom "(ghb)"

View file

@ -1,5 +1,5 @@
c.url.searchengines = {'DEFAULT': 'https://librex.baczek.me/search.php?q={}',
'y': 'https://tube.cadence.moe/search?q={}',
c.url.searchengines = {'DEFAULT': 'https://search.zeroish.xyz/search.php?q={}',
'y': 'https://invidious.lunar.icu/search?q={}',
'gh': 'https://github.com/search?q={}',
'md': 'https://reelgood.com/search?q={}',
'rep': 'https://repology.org/projects/?search={}',

View file

@ -7,8 +7,6 @@ riverctl border-color-unfocused 0x262626
# General binds
riverctl map normal Super Return spawn foot
riverctl map normal Alt 1 spawn "wlfreerdp $XDG_DATA_HOME/rdp/aws.rdp /dynamic-resolution"
riverctl map normal Super A send-layout-cmd rivertile "padding toggle"
riverctl map normal Super B spawn "echo 'all toggle-visibility' > $XDG_RUNTIME_DIR/sandbar-0"
riverctl map normal Super C spawn "foot pipe-viewer"
riverctl map normal Super D spawn passmenu
@ -23,6 +21,7 @@ riverctl map normal Super T spawn "torwrap open"
riverctl map normal Super W spawn qutebrowser
riverctl map normal Super+Shift B spawn bluetooth
riverctl map normal Super+Shift BackSpace spawn "sysact reb"
riverctl map normal Super+Shift D spawn tofi-drun
riverctl map normal Super+Shift F toggle-float
riverctl map normal Super+Shift M spawn "foot -T float pulsemixer"
riverctl map normal Super+Shift Q spawn "sysact rest"
@ -71,17 +70,8 @@ riverctl map normal Super BackSlash focus-previous-tags
riverctl map normal Super+Shift J swap next
riverctl map normal Super+Shift K swap previous
# Scratchpad and sticky
all_tags=$(((1 << 32) - 1))
scratch_tag=$((1 << 20 ))
all_but_scratch_tag=$(( $all_tags ^ $scratch_tag ))
riverctl map normal Super Z set-view-tags $scratch_tag
riverctl map normal Super X toggle-focused-tags $scratch_tag
riverctl spawn-tagmask $all_but_scratch_tag
# Sticky
all_tags=$(((1 << 32) - 1))
sticky_tag=$((1 << 31))
all_but_sticky_tag=$(( $all_tags ^ $sticky_tag ))
@ -128,7 +118,7 @@ riverctl map-pointer normal Super BTN_MIDDLE toggle-float
riverctl map-pointer normal Super BTN_RIGHT resize-view
# Rules
riverctl rule-add float -title "float"
riverctl float-filter-add title "float"
# Autostart
autostart="pipewire mpd mako"
@ -136,10 +126,10 @@ for program in $autostart; do
pidof -sx "$program" || riverctl spawn "$program" &
done
riverctl spawn "startbar"
riverctl spawn "sbar"
riverctl spawn "gpg-agent --daemon"
riverctl declare-mode normal
riverctl default-layout rivertile
riverctl attach-mode bottom
rivertile -view-padding 4 -outer-padding 4 &
rivertile -view-padding 0 -outer-padding 0 &

View file

@ -15,7 +15,6 @@ d="cd $XDG_DOWNLOAD_DIR && ls" \
m="cd $XDG_MUSIC_DIR && ls" \
dc="cd $XDG_DOCUMENTS_DIR && ls" \
cf="cd $XDG_CONFIG_HOME && ls" \
gs="cd $GOPATH/src && ls" \
shr="cd $XDG_DATA_HOME && ls" \
sc="cd ~/.local/bin && ls" \
ap="cd $XDG_DOCUMENTS_DIR/code/alps/aports && ls" \
@ -28,7 +27,7 @@ cfu="$EDITOR $XDG_CONFIG_HOME/newsboat/urls" \
cfv="$EDITOR $XDG_CONFIG_HOME/nvim/init.lua" \
hist="$EDITOR $XDG_CACHE_HOME/history"
for program in zathura mpv imv; do
for program in zathura mpv imv ; do
alias $program="setsid -f $program"
done; unset program

View file

@ -17,7 +17,7 @@
"cache-size-mb": 4,
"default-trackers": "",
"dht-enabled": true,
"download-dir": "/home/dmitz/downloads/films",
"download-dir": "/home/dmitz/downloads/torrents",
"download-queue-enabled": true,
"download-queue-size": 5,
"encryption": 1,

View file

@ -53,4 +53,4 @@ fileviewer <image/*> sixel %c %pw %ph %pd %pc
filetype *.torrent torwrap add %c
fileviewer *.torrent transmission-show
set vifminfo=dhistory,chistory,tui,shistory,phistory,fhistory,dirstack,registers
set vifminfo=tui,registers

View file

@ -22,11 +22,13 @@ export FILE="vifm"
export READER="zathura"
export TERMINAL="foot"
export GNUPGHOME="$XDG_DATA_HOME/gnupg"
export GOMODCACHE="$XDG_CACHE_HOME/go/mod"
export GOPATH="$XDG_DOCUMENTS_DIR/code/go"
export GOPROXY=direct
export GOSUMDB=off
export GOTELEMETRY=off
export GOTOOLCHAIN=local
export GNUPGHOME="$XDG_DATA_HOME/gnupg"
export GTK2_RC_FILES="$XDG_CONFIG_HOME/gtk-2.0/gtkrc-2.0"
export INPUTRC="$XDG_CONFIG_HOME/shell/inputrc"
export LESS=-R

View file

@ -7,6 +7,4 @@ case $1 in
prompt "Reboot computer?" "doas reboot" ;;
rest)
prompt "Leave WM?" "riverctl exit" ;;
lock)
mpc pause; waylock -init-color 0x000000 -input-color 0x005577
esac

View file

@ -1,7 +1,8 @@
Include ~/.ssh/config.d/*
Match host * exec "gpg-connect-agent UPDATESTARTUPTTY /bye"
Host juno
HostName 18.159.216.33
Host *
User admin
RequestTTY yes
RemoteCommand screen -d -RR