This commit is contained in:
Frieder Schlesier 2022-02-12 16:51:21 +01:00
parent f2925f2c65
commit 011902d18d
5 changed files with 23 additions and 3 deletions

View File

@ -42,6 +42,8 @@ bindsym $mod+d exec dmenu_run
# bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
bindsym Ctrl+Shift+l exec i3lock-fancy
bindsym $mod+o exec gnome-calculator
# bindsym $mod+b exec ~/clickit.sh
# change focus
bindsym $mod+j focus left

View File

@ -32,7 +32,7 @@ This function should only modify configuration layer settings."
;; List of configuration layers to load.
dotspacemacs-configuration-layers
'(
'(systemd
;; ----------------------------------------------------------------
;; Example of useful layers you may want to use right away.
;; Uncomment some layer names and press `SPC f e R' (Vim style) or
@ -50,7 +50,8 @@ This function should only modify configuration layer settings."
html
latex
markdown
org
(org :variables
org-enable-roam-support t)
plantuml
python
ranger
@ -586,7 +587,8 @@ you should place your code here."
"* PHONE %?\n %i\n %a") ; template
("a" "Articles"
entry (file+weektree "~/Documents/Org/journal.org")
entry
(file+weektree "~/Documents/Org/journal.org")
"* %? \n%x \n %u\n- $?")
)
)

14
restic-cheatsheet.org Normal file
View File

@ -0,0 +1,14 @@
* Restic - backups
https://restic.readthedocs.io/en/stable/
- init repo :: ~restic init --repo <path>~
- backup :: ~restic -r <path> --verbose backup <path>~
- restore :: ~restic -r <path> restore <ID/latest> --target /tmp/restore-work~
- restore latest via path :: ~restic -r <path> restore latest --path "somepath"~
- list snapshots :: ~restic -r <path> snapshots~
- copy snapshots between repos :: with filtering
#+begin_src bash
restic -r <sourcerepo> copy --repo2 <targetrepo> --path <path> <ID/latest>
#+end_src

View File

@ -237,6 +237,7 @@ install_workstation_apps() {
--no-install-recommends
TARGET="/home/$USERNAME/.emacs.d"
rm -rf ${TARGET}
git clone https://github.com/syl20bnr/spacemacs "${TARGET}"
# rm -rf "${TARGET}"/private/snippets
# git clone https://github.com/AndreaCrotti/yasnippet-snippets "${TARGET}"/private/yas-snippets

View File

@ -77,3 +77,4 @@ if ! shopt -oq posix; then
. /etc/bash_completion
fi
fi
. "$HOME/.cargo/env"