From 7e2b7344d76d7f1418526b527cc034de896861df Mon Sep 17 00:00:00 2001 From: CramMK Date: Wed, 29 Jan 2020 09:52:31 +0100 Subject: [PATCH] Add actions and screenshot --- config.yaml | 12 +++++++++++- dotfiles/bashrc | 3 +++ dotfiles/config/i3/config | 1 + 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/config.yaml b/config.yaml index a2a38c7..e1eb475 100644 --- a/config.yaml +++ b/config.yaml @@ -1,3 +1,7 @@ +actions: + cache-font: fc-cache -f -v + reload-xresources: xrdb ~/.Xresources + vundle-refresh: vim +VundleClean! +VundleInstall +VundleInstall! +qall config: backup: true create: true @@ -9,12 +13,16 @@ dotfiles: f_vimrc: src: vimrc dst: ~/.vimrc + actions: + - vundle-refresh f_gitconfig: src: gitconfig dst: ~/.gitconfig f_xresources: src: Xresources dst: ~/.Xresources + actions: + - reload-xresources f_config: src: config/i3/config dst: ~/.config/i3/config @@ -24,11 +32,13 @@ dotfiles: f_inconsolata-regular.ttf: src: fonts/Inconsolata-Regular/Inconsolata-Regular.ttf dst: ~/.fonts/Inconsolata-Regular/Inconsolata-Regular.ttf + actions: + - cache-font f_gdbinit: src: gdbinit dst: ~/.gdbinit profiles: - default: + marc: dotfiles: - f_bashrc - f_vimrc diff --git a/dotfiles/bashrc b/dotfiles/bashrc index 5d067fc..c33bcf5 100755 --- a/dotfiles/bashrc +++ b/dotfiles/bashrc @@ -18,6 +18,9 @@ alias ll="ls -l" alias la="ls -la" alias rm="rm -i" +# Screenhots +alias screenshot="import ~/Downloads/Screenshot-$(date '+%Y%m%d-%H%M%S').png" + # Common files alias bashrc="vim ~/.bashrc" alias sourcebashrc="source ~/.bashrc" diff --git a/dotfiles/config/i3/config b/dotfiles/config/i3/config index 2fc067a..201550a 100644 --- a/dotfiles/config/i3/config +++ b/dotfiles/config/i3/config @@ -187,6 +187,7 @@ bindsym Ctrl+Shift+2 exec --no-startup-id setxkbmap de # Remove title bar new_window 1pixel + {%@@ if exists('/home/mthomas') @@%} # CONFIG FOR WORK # Locking