add: rofi ssh sftp selector
fix: auto linker for home removed
This commit is contained in:
parent
873062e899
commit
4b1b3e4dec
3 changed files with 5 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
alias aliases='vim ~/.bash_aliases && bashrc-reload'
|
alias aliases='vim ~/.bash_aliases && bashrc-reload'
|
||||||
alias bashrc-reload='source ~/.bashrc'
|
alias bashrc-reload='source ~/.bashrc'
|
||||||
|
|
||||||
alias config-bashrc='vim ~/.bashrc && reload-bashrc'
|
alias config-bashrc='vim ~/.bashrc && bashrc-reload'
|
||||||
alias config-dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
|
alias config-dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
|
||||||
alias config-i3='vim ~/.config/i3/config'
|
alias config-i3='vim ~/.config/i3/config'
|
||||||
alias config-i3status='vim ~/.config/i3status/config'
|
alias config-i3status='vim ~/.config/i3status/config'
|
||||||
|
@ -26,8 +26,11 @@ alias ls='ls -Flh --color=never'
|
||||||
|
|
||||||
alias lsblk='lsblk -o +PARTLABEL -o +FSTYPE'
|
alias lsblk='lsblk -o +PARTLABEL -o +FSTYPE'
|
||||||
|
|
||||||
|
alias md5='ms5'
|
||||||
alias md5sum-dir='function _md5sum-dir(){ find $1 -type f -exec md5sum {} \; | md5sum; }; _md5sum-dir'
|
alias md5sum-dir='function _md5sum-dir(){ find $1 -type f -exec md5sum {} \; | md5sum; }; _md5sum-dir'
|
||||||
|
|
||||||
alias pacman-autoremove='sudo pacman -Rns $(pacman -Qtdq)'
|
alias pacman-autoremove='sudo pacman -Rns $(pacman -Qtdq)'
|
||||||
|
|
||||||
|
alias ssh-sftp='$(read -t 2 -r tool; if [[ -z "$tool" ]]; then tool="ssh"; fi; echo $tool)'
|
||||||
|
|
||||||
alias rm='rm -I'
|
alias rm='rm -I'
|
||||||
|
|
|
@ -197,7 +197,6 @@ smart_gaps on
|
||||||
|
|
||||||
### Launchers
|
### Launchers
|
||||||
|
|
||||||
exec_always ln -sf /mnt/shome/tobias/* /home/tobias/
|
|
||||||
exec_always hid_info=$(xinput -list | grep -i 'Arduino LLC Arduino Micro.*keyboard' | grep -o 'id=..');hid_info=${hid_info:3:4};setxkbmap -device "$hid_info" us;
|
exec_always hid_info=$(xinput -list | grep -i 'Arduino LLC Arduino Micro.*keyboard' | grep -o 'id=..');hid_info=${hid_info:3:4};setxkbmap -device "$hid_info" us;
|
||||||
exec_always setxkbmap de
|
exec_always setxkbmap de
|
||||||
|
|
||||||
|
|
|
@ -3,4 +3,4 @@ rofi.font: hack 10
|
||||||
rofi.modi: combi,ssh
|
rofi.modi: combi,ssh
|
||||||
rofi.theme: /usr/share/rofi/themes/Arc-Dark.rasi
|
rofi.theme: /usr/share/rofi/themes/Arc-Dark.rasi
|
||||||
|
|
||||||
rofi.ssh-command: {terminal} -e bash -ic "{ssh-client} {host} [-p {port}]"
|
rofi.ssh-command: {terminal} -e bash -ic "ssh-sftp {host} [-p {port}];"
|
||||||
|
|
Loading…
Reference in a new issue