From 4b1b3e4dec46f409524c18675329f38a163a8fdf Mon Sep 17 00:00:00 2001 From: Tobias Reisinger Date: Thu, 3 Oct 2019 01:30:26 +0200 Subject: [PATCH] add: rofi ssh sftp selector fix: auto linker for home removed --- .bash_aliases | 5 ++++- .config/i3/config | 1 - .config/rofi/config | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.bash_aliases b/.bash_aliases index e515281..89e9a3f 100644 --- a/.bash_aliases +++ b/.bash_aliases @@ -1,7 +1,7 @@ alias aliases='vim ~/.bash_aliases && bashrc-reload' 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-i3='vim ~/.config/i3/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 md5='ms5' alias md5sum-dir='function _md5sum-dir(){ find $1 -type f -exec md5sum {} \; | md5sum; }; _md5sum-dir' 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' diff --git a/.config/i3/config b/.config/i3/config index ae4fd48..f397328 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -197,7 +197,6 @@ smart_gaps on ### 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 setxkbmap de diff --git a/.config/rofi/config b/.config/rofi/config index 52f7bd9..b7930a5 100644 --- a/.config/rofi/config +++ b/.config/rofi/config @@ -3,4 +3,4 @@ rofi.font: hack 10 rofi.modi: combi,ssh 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}];"