Small bindings and scripts changes
This commit is contained in:
parent
6e20a3c29f
commit
35a16b43e8
@ -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
|
@ -2,7 +2,7 @@
|
||||
" Key Bindings
|
||||
"==============
|
||||
" Leader key
|
||||
let mapleader = ' '
|
||||
let mapleader = "\<Space>"
|
||||
let g:move_key_modifier = 'A'
|
||||
|
||||
"~~~~~~~~~~~~~~~~~
|
||||
|
@ -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
|
||||
|
@ -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 -
|
||||
|
@ -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 -
|
||||
|
@ -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"
|
||||
|
11
.xinitrc
11
.xinitrc
@ -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 &
|
||||
|
Loading…
x
Reference in New Issue
Block a user