Changes in configs
This commit is contained in:
parent
451af383b5
commit
665686c305
@ -15,3 +15,7 @@ video/x-matroska=video.desktop
|
||||
inode/directory=file.desktop
|
||||
x-scheme-handler/http=linkhandler.desktop
|
||||
x-scheme-handler/https=linkhandler.desktop
|
||||
x-scheme-handler/discord-610508934456934412=discord-610508934456934412.desktop
|
||||
|
||||
[Added Associations]
|
||||
application/rss+xml=text.desktop;nvim.desktop;rss.desktop;
|
||||
|
@ -1,7 +1,7 @@
|
||||
super + Return
|
||||
$TERMINAL
|
||||
super + {_,ctrl,alt +} b
|
||||
{search,$BROWSER,torbrowser-launcher}
|
||||
{search,$BROWSER,tor-browser}
|
||||
super + {_,shift +} d
|
||||
rofi -show {run,drun}
|
||||
super + shift + s
|
||||
@ -11,8 +11,8 @@ super + c
|
||||
|
||||
super + s; {t,m,n,v,c}
|
||||
{tuirent,mails,rss,fm,ncmp}
|
||||
super + a; {g,k,l,i}
|
||||
{gimp,keepassxc,libreoffice,inkscape}
|
||||
super + a; {g,k,l,i,m}
|
||||
{gimp,keepassxc,libreoffice,inkscape,minecraft-launcher}
|
||||
|
||||
super + {_,ctrl +} m
|
||||
rofi-mpd {-a,-s} && refbar
|
||||
@ -64,5 +64,5 @@ ctrl + XF86Audio{Next,Prev}
|
||||
XF86AudioStop
|
||||
mpc stop && refbar
|
||||
|
||||
super + {Left,Up,Down,Right}
|
||||
ctrl + alt + {Left,Up,Down,Right}
|
||||
rotscreen {left,normal,inverted,right}
|
||||
|
@ -49,7 +49,7 @@ nnoremap w :view<cr>
|
||||
vnoremap w :view<cr>gv
|
||||
nnoremap cc cw<c-u>
|
||||
nnoremap I za<c-u>
|
||||
nnoremap x :!sxiv -btf *<Cr>
|
||||
nnoremap x :!sxiv -btf * -q<Cr>
|
||||
unmap Y
|
||||
nnoremap Y :!xclip -selection clipboard -t image/png < %c<cr>:echo expand('%"c:p') "is copied to clipboard"<cr>
|
||||
|
||||
|
@ -8,8 +8,7 @@ ps ax | grep -q newsboat$ && \
|
||||
|
||||
echo " " > /tmp/newsupdate
|
||||
refbar &
|
||||
/usr/bin/newsboat -x reload
|
||||
rm -f /tmp/newsupdate
|
||||
/usr/bin/newsboat -x reload && rm -f /tmp/newsupdate
|
||||
refbar &
|
||||
|
||||
newsboat -x print-unread | awk '{ print $1 }' > "$HOME/.cache/news_unread"
|
||||
|
@ -4,6 +4,6 @@ icon="$(cat "/tmp/newsupdate" 2>/dev/null)"
|
||||
|
||||
unread="$(cat "$HOME/.cache/news_unread" 2>/dev/null)"
|
||||
|
||||
printf ""
|
||||
printf ""
|
||||
[ "$unread" ] && printf " %s" "$unread"
|
||||
echo "$icon"
|
||||
|
@ -12,6 +12,8 @@ case "$1" in
|
||||
curl -sL "$1" > "/tmp/$(echo "$1" | sed "s/.*\///")" && sxiv -a "/tmp/$(echo "$1" | sed "s/.*\///")" >/dev/null 2>&1 & ;;
|
||||
*mp3|*flac|*opus|*mp3?source*)
|
||||
setsid tsp curl -LO "$1" >/dev/null 2>&1 & ;;
|
||||
*.onion*)
|
||||
tor-browser "$1" ;;
|
||||
*)
|
||||
if [ -f "$1" ]; then "$TERMINAL" -e "$EDITOR $1"
|
||||
else setsid $BROWSER "$1" >/dev/null 2>&1 & fi ;;
|
||||
|
@ -17,7 +17,7 @@ chosen="$(
|
||||
url="$(grep -m 1 "$chosen" "$bmfile" | awk '{ print $1 }')"
|
||||
[ ! "$url" ] && {
|
||||
[ "$(echo "$chosen" | grep "[a-z|0-9]\.[a-z|0-9]")" ] &&
|
||||
url="$chosen" || url="https://duckduckgo.com/?q=$chosen"
|
||||
url="$chosen" || url="http://searx.samedamci.me/?=&q=$chosen"
|
||||
}
|
||||
|
||||
"$BROWSER" "$url"
|
||||
|
1
.profile
1
.profile
@ -39,6 +39,7 @@ export FZF_DEFAULT_OPTS='
|
||||
export SEL="$(awk '/define sel/ { print $3 }' ~/.config/Xresources)"
|
||||
export ASEL="$(awk '/define asel/ { print $3 }' ~/.config/Xresources)"
|
||||
export C12="$(awk '/color12/ { print $2 }' ~/.config/Xresources)"
|
||||
eval "$(ssh-agent)"
|
||||
! pgrep -x Xorg >/dev/null && exec startx
|
||||
}
|
||||
|
||||
|
3
.xinitrc
3
.xinitrc
@ -13,10 +13,11 @@ telegram-desktop &
|
||||
xrdb ~/.config/Xresources &
|
||||
setwall &
|
||||
dbar &
|
||||
exec ~/.local/bin/scripts/startdwm
|
||||
|
||||
setxkbmap -layout 'pl' -option caps:swapescape &
|
||||
xset r rate 300 50 &
|
||||
xsetroot -cursor_name left_ptr &
|
||||
xmodmap -e "keycode 135 = Super_L" &
|
||||
unclutter -idle 2 &
|
||||
|
||||
exec ~/.local/bin/scripts/startdwm
|
||||
|
Loading…
x
Reference in New Issue
Block a user