Small bindings and scripts changes
This commit is contained in:
parent
9644e956f3
commit
451af383b5
@ -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
|
" Key Bindings
|
||||||
"==============
|
"==============
|
||||||
" Leader key
|
" Leader key
|
||||||
let mapleader = ' '
|
let mapleader = "\<Space>"
|
||||||
let g:move_key_modifier = 'A'
|
let g:move_key_modifier = 'A'
|
||||||
|
|
||||||
"~~~~~~~~~~~~~~~~~
|
"~~~~~~~~~~~~~~~~~
|
||||||
|
@ -33,13 +33,19 @@ bindkey -M vicmd "^f" f_run
|
|||||||
bindkey -M viins "^f" f_run
|
bindkey -M viins "^f" f_run
|
||||||
|
|
||||||
# pac
|
# pac
|
||||||
pac_run() { pac; zle redisplay; }
|
pac_run() {
|
||||||
|
pac
|
||||||
|
zle redisplay
|
||||||
|
}
|
||||||
zle -N pac_run
|
zle -N pac_run
|
||||||
bindkey -M vicmd "^p" pac_run
|
bindkey -M vicmd "^p" pac_run
|
||||||
bindkey -M viins "^p" pac_run
|
bindkey -M viins "^p" pac_run
|
||||||
|
|
||||||
# aur
|
# aur
|
||||||
aur_run() { aur; zle redisplay; }
|
aur_run() {
|
||||||
|
aur
|
||||||
|
zle redisplay
|
||||||
|
}
|
||||||
zle -N aur_run
|
zle -N aur_run
|
||||||
bindkey -M vicmd "^a" aur_run
|
bindkey -M vicmd "^a" aur_run
|
||||||
bindkey -M viins "^a" aur_run
|
bindkey -M viins "^a" aur_run
|
||||||
|
@ -2,4 +2,4 @@
|
|||||||
|
|
||||||
# Menu with AUR packages.
|
# 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.
|
# Menu with official repository packages.
|
||||||
|
|
||||||
package="$(pacman -Slq | fzf -m --preview 'pacman -Si {1}')"
|
pacman -Slq | fzf -m --preview 'yay -Si {1}' --height 45% | yay -S -
|
||||||
[ ! "$package" ] && exit
|
|
||||||
|
|
||||||
sudo pacman -S "$package"
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# Set desktop background.
|
# Set desktop background.
|
||||||
|
|
||||||
[ "$1" ] && { xwallpaper --maximize "$1" && exit 1; }
|
[ "$1" ] && { xwallpaper --zoom "$1" && exit 1; }
|
||||||
|
|
||||||
if [ "$(cat /etc/hostname)" = "pc" ]; then
|
if [ "$(cat /etc/hostname)" = "pc" ]; then
|
||||||
res="1920x1080"
|
res="1920x1080"
|
||||||
|
11
.xinitrc
11
.xinitrc
@ -6,11 +6,6 @@ picom &
|
|||||||
mpd &
|
mpd &
|
||||||
dunst &
|
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 &
|
syncthing -no-browser &
|
||||||
telegram-desktop &
|
telegram-desktop &
|
||||||
@ -19,3 +14,9 @@ xrdb ~/.config/Xresources &
|
|||||||
setwall &
|
setwall &
|
||||||
dbar &
|
dbar &
|
||||||
exec ~/.local/bin/scripts/startdwm
|
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