This commit is contained in:
whoami 2024-09-07 05:39:01 +00:00
parent 36a75f3536
commit ff19bb8051
3 changed files with 12 additions and 5 deletions

4
.vimrc
View File

@ -9,4 +9,8 @@ noremap <Right> <Nop>
noremap <silent><S-j> :tabprevious<cr>
noremap <silent><S-k> :tabnext<cr>
noremap <silent><S-n> :tabnew<cr>
noremap <silent><S-w> :tabclose<cr>
vmap <C-y> :!xclip -f -sel clip<CR>
map <C-p> :-1r !xclip -o -sel clip<CR>

7
.zshrc
View File

@ -22,7 +22,7 @@ alias vi="vim"
alias htop="htop -C"
alias f="sshfs fileServer:files/ ~/fileServer"
alias fu="fusermount3 -u ~/fileServer"
alias r="sudo rmmod rmi_smbus && sudo modprobe rmi_smbus; sudo sv restart NetworkManager"
#alias r="sudo rmmod rmi_smbus && sudo modprobe rmi_smbus; sudo sv restart NetworkManager"
alias weather="curl wttr.in/~Warsaw-Poland"
alias m="mpv ~/music/*"
alias mr="mpv ~/music/* --shuffle"
@ -33,7 +33,10 @@ alias proton="STEAM_COMPAT_CLIENT_INSTALL_PATH=~/.local/share/Steam/ STEAM_COMPA
alias sxiv="sxiv -a"
alias irc="weechat"
alias in="doas pacman -S"
alias sy="doas pacmna -Sy"
alias sy="doas pacman -Sy"
alias up="doas pacman -Syu"
alias se="pacman -Ss"
alias p="doas poweroff"
alias r="doas reboot"
alias h="cat .zsh_history | fzf"
alias b="vi ~/.bookmarks/bookmarks"

View File

@ -1,8 +1,8 @@
#!/bin/bash
[[ ! -f ~/.bookmarks ]] && touch ~/.bookmarks
[[ ! -f ~/.bookmarks ]] && touch ~/.bookmarks/bookmarks
dupa=$(awk '{print $1}' ~/.bookmarks | dmenu -l 15 -p "Bookmarks")
dupa=$(awk '{print $1}' ~/.bookmarks/bookmarks | dmenu -l 15 -p "Bookmarks")
while read p; do
[[ $(echo $p | awk '{print $1}') == $dupa ]] && xdotool type $(echo $p | awk '{print $2}')
done < ~/.bookmarks
done < ~/.bookmarks/bookmarks