Merge branch 'master' of ssh://git_opytex/lafrite/Ansible_workstation

This commit is contained in:
Bertrand Benjamin 2020-02-24 06:36:02 +01:00
commit 1098ec8d81
5 changed files with 28 additions and 1 deletions

View File

@ -6,5 +6,8 @@ Type=simple
Nice=19
IOSchedulingClass=2
IOSchedulingPriority=7
ExecStartPre=notify-send "Backup starts"
ExecStartPre=/usr/bin/borg break-lock {{ borg_backup_repo }}
ExecStart={{ borg_script_path }}/{{ borg_script_filename }}
ExecStopPost=-bash -c '[[ $EXIT_STATUS == 0 ]] && notify-send "Backup finished"'
ExecStopPost=-bash -c '[[ $EXIT_STATUS != 0 ]] && notify-send "Backup failed." -u critical'

View File

@ -1,4 +1,7 @@
[Service]
Type=oneshot
ExecStartPre=notify-send "Backup starts"
ExecStart=/etc/backups/run.sh
ExecStopPost=-bash -c '[[ $EXIT_STATUS == 0 ]] && notify-send "Backup finished: Drive can be removed."'
ExecStopPost=-bash -c '[[ $EXIT_STATUS != 0 ]] && notify-send "Backup failed." -u critical'

View File

@ -34,6 +34,7 @@ https://www.youtube.com/feeds/videos.xml?channel_id=UC6mIxFTvXkWQVEHPsEdflzQ "El
https://www.youtube.com/feeds/videos.xml?channel_id=UCP6qAy9q_Lkhzu2reZfun9g "Ski" "~WINTERACTIVITY"
https://www.youtube.com/feeds/videos.xml?channel_id=UCjHh3N6jUJKdrtTqNorpRhg "Ski" "Bon appetit"
https://www.youtube.com/feeds/videos.xml?channel_id=UCdtrhMQTlTWNLGcmx1Qy80Q "Ski" "Fabien Maierhofer"
https://www.youtube.com/feeds/videos.xml?channel_id=UChkpEJqHjX-tGmYoGf8jdGA "Escalade" "EpicTV Relais Vertical"

View File

@ -0,0 +1,20 @@
session_name: bopytex
start_directory: ~/scripts/Bopytex/
shell_command_before: source venv/bin/activate.fish
windows:
- window_name: Editor
focus: true
panes:
- vim -c NERDTree
- window_name: Server
layout: main-vertical
panes:
- git fetch && git status
- tig
- window_name: Testing
layout: main-vertical
panes:
- blank
- blank

View File

@ -12,4 +12,4 @@ windows:
panes:
- git status
- blank
- vifm
- vifm . .