From 52a5c4d1a6905c259ed941f7b2dd1a5b6b790f8d Mon Sep 17 00:00:00 2001 From: Johannes Findeisen Date: Sat, 8 Aug 2015 02:10:34 +0200 Subject: [PATCH] added two new aliases for backups and some test fixes in awesome config. --- .config/awesome/rc.lua | 10 ++++++---- .zshrc | 2 ++ 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index 6ab81d30..b9b2d8c4 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -520,12 +520,14 @@ awful.rules.rules = { raise = true, keys = clientkeys, buttons = clientbuttons } }, - { rule = { class = "MPlayer" }, - properties = { floating = true } }, - { rule = { class = "pinentry" }, - properties = { floating = true } }, + --{ rule = { class = "MPlayer" }, + -- properties = { floating = true } }, + --{ rule = { class = "pinentry" }, + -- properties = { floating = true } }, { rule = { class = "gimp" }, properties = { floating = true } }, + { rule = { instance = "urxvt" }, + properties = { floating = true } }, -- Set Firefox to always map on tags number 2 of screen 1. -- { rule = { class = "Firefox" }, -- properties = { tag = tags[1][2] } }, diff --git a/.zshrc b/.zshrc index 0ff076ae..df01bc16 100644 --- a/.zshrc +++ b/.zshrc @@ -105,6 +105,8 @@ alias llah='ls -lah --color' alias lsd='ls -ld --color' alias vi=vim alias xterm=$TERMINAL +alias backup_t410='rsync -avr --delete --delete-excluded --exclude=/dev --exclude=/proc --exclude=/sys --exclude=/run / /run/media/hanez/BACKUP1000GB/t410/' +alias backup_11s='rsync -avr --delete --delete-excluded --exclude=/dev --exclude=/proc --exclude=/sys --exclude=/run / /run/media/hanez/BACKUP1000GB/11s/' # I use xterm and this sets a nice title with hostname and cwd in it. case $TERM in