Small bindings and scripts changes

This commit is contained in:
samedamci 2020-06-08 10:13:40 +02:00
parent 9644e956f3
commit 451af383b5
No known key found for this signature in database
GPG Key ID: FCB4A9A20D00E894
7 changed files with 18 additions and 23 deletions

View File

@ -1,9 +0,0 @@
http://lukesmith.xyz/rss.xml "luke smith"
https://notrelated.libsyn.com/rss "luke smith"
https://www.youtube.com/feeds/videos.xml?channel_id=UC2eYFnH61tmytImy1mTYvhA "luke smith" "~Luke Smith (YouTube)"
https://suckless.org/atom.xml "linux"
https://privacytools.statuspage.io/history.rss "privacy"
https://www.archlinux.org/feeds/news/ "linux"
https://www.parabola.nu/feeds/news/ "linux"
https://gynvael.coldwind.pl/rss_pl.php "tech" "~Gynvael Coldwind"
http://postmarketos.org/blog/feed.atom

View File

@ -2,7 +2,7 @@
" Key Bindings
"==============
" Leader key
let mapleader = ' '
let mapleader = "\<Space>"
let g:move_key_modifier = 'A'
"~~~~~~~~~~~~~~~~~

View File

@ -33,13 +33,19 @@ bindkey -M vicmd "^f" f_run
bindkey -M viins "^f" f_run
# pac
pac_run() { pac; zle redisplay; }
pac_run() {
pac
zle redisplay
}
zle -N pac_run
bindkey -M vicmd "^p" pac_run
bindkey -M viins "^p" pac_run
# aur
aur_run() { aur; zle redisplay; }
aur_run() {
aur
zle redisplay
}
zle -N aur_run
bindkey -M vicmd "^a" aur_run
bindkey -M viins "^a" aur_run

View File

@ -2,4 +2,4 @@
# Menu with AUR packages.
yay -Slq | fzf -m --preview 'yay -Si {1}' | yay -S -
yay -Slq | fzf -m --preview 'yay -Si {1}' --height 45% | yay -S -

View File

@ -2,7 +2,4 @@
# Menu with official repository packages.
package="$(pacman -Slq | fzf -m --preview 'pacman -Si {1}')"
[ ! "$package" ] && exit
sudo pacman -S "$package"
pacman -Slq | fzf -m --preview 'yay -Si {1}' --height 45% | yay -S -

View File

@ -2,7 +2,7 @@
# Set desktop background.
[ "$1" ] && { xwallpaper --maximize "$1" && exit 1; }
[ "$1" ] && { xwallpaper --zoom "$1" && exit 1; }
if [ "$(cat /etc/hostname)" = "pc" ]; then
res="1920x1080"

View File

@ -6,11 +6,6 @@ picom &
mpd &
dunst &
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 &
syncthing -no-browser &
telegram-desktop &
@ -19,3 +14,9 @@ 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 &