From bdf05773400cd7775374ca958af1274c307550ec Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Tue, 31 Dec 2019 09:45:00 +0100 Subject: [PATCH 1/7] Feat: Add bopytex tmuxp config --- files/dotfiles/tmuxp/bopytex.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 files/dotfiles/tmuxp/bopytex.yml diff --git a/files/dotfiles/tmuxp/bopytex.yml b/files/dotfiles/tmuxp/bopytex.yml new file mode 100644 index 0000000..66ee989 --- /dev/null +++ b/files/dotfiles/tmuxp/bopytex.yml @@ -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 From d53d1f270d59f98d6791487d31e45d95c1fb179b Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Thu, 2 Jan 2020 11:47:38 +0100 Subject: [PATCH 2/7] Feat: add cardboard from mars --- files/dotfiles/newsboat/urls | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/files/dotfiles/newsboat/urls b/files/dotfiles/newsboat/urls index d87ab2b..8446db3 100644 --- a/files/dotfiles/newsboat/urls +++ b/files/dotfiles/newsboat/urls @@ -5,9 +5,11 @@ https://www.youtube.com/feeds/videos.xml?channel_id=UCsRIv1fsbnQRIPKmUQbRzZg "Te https://www.youtube.com/feeds/videos.xml?channel_id=UCUQo7nzH1sXVpzL92VesANw "Tech" https://www.youtube.com/feeds/videos.xml?channel_id=UC9C07cryUrKzLuAzwITPA3A "SC2" "SC2HL" +https://www.youtube.com/feeds/videos.xml?channel_id=UCsvh0nzm3j2POa_eEhEMm5A "TerraformingMars" "Cardboard From Mars" -https://www.youtube.com/feeds/videos.xml?channel_id=UCg7HRuQ93hl9v8dTSt_XDHA "Ferme" "~Banabé" +https://www.youtube.com/feeds/videos.xml?channel_id=UCg7HRuQ93hl9v8dTSt_XDHA "DIY" "~Banabé" + https://www.youtube.com/feeds/videos.xml?channel_id=UCsM4_jihNFYe4CtSkXvDR-Q "Ferme" "~permaculture agroécologie etc..." https://www.youtube.com/feeds/videos.xml?channel_id=UC2avy3Pwc3yVtt-tPKJn33A "Ferme" "~Ma ferme autonome" https://www.youtube.com/feeds/videos.xml?channel_id=UCleSLCKdAEovKJxX-Kgbccw "Ferme" "~Ma ferme autonome2" From 29f823cb7670fe6e50e7de6350c48b2c2f570cd9 Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Sat, 25 Jan 2020 06:39:26 +0100 Subject: [PATCH 3/7] Feat: add new chennel --- files/dotfiles/newsboat/urls | 1 + 1 file changed, 1 insertion(+) diff --git a/files/dotfiles/newsboat/urls b/files/dotfiles/newsboat/urls index 8446db3..7cf9970 100644 --- a/files/dotfiles/newsboat/urls +++ b/files/dotfiles/newsboat/urls @@ -36,6 +36,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" From a80d6ed5a533fd9b01a60c2d63502037e05c8ced Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Sat, 1 Feb 2020 06:15:08 +0100 Subject: [PATCH 4/7] Feat: add fab ytb --- files/dotfiles/newsboat/urls | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/files/dotfiles/newsboat/urls b/files/dotfiles/newsboat/urls index 7cf9970..6224623 100644 --- a/files/dotfiles/newsboat/urls +++ b/files/dotfiles/newsboat/urls @@ -5,11 +5,9 @@ https://www.youtube.com/feeds/videos.xml?channel_id=UCsRIv1fsbnQRIPKmUQbRzZg "Te https://www.youtube.com/feeds/videos.xml?channel_id=UCUQo7nzH1sXVpzL92VesANw "Tech" https://www.youtube.com/feeds/videos.xml?channel_id=UC9C07cryUrKzLuAzwITPA3A "SC2" "SC2HL" -https://www.youtube.com/feeds/videos.xml?channel_id=UCsvh0nzm3j2POa_eEhEMm5A "TerraformingMars" "Cardboard From Mars" -https://www.youtube.com/feeds/videos.xml?channel_id=UCg7HRuQ93hl9v8dTSt_XDHA "DIY" "~Banabé" - +https://www.youtube.com/feeds/videos.xml?channel_id=UCg7HRuQ93hl9v8dTSt_XDHA "Ferme" "~Banabé" https://www.youtube.com/feeds/videos.xml?channel_id=UCsM4_jihNFYe4CtSkXvDR-Q "Ferme" "~permaculture agroécologie etc..." https://www.youtube.com/feeds/videos.xml?channel_id=UC2avy3Pwc3yVtt-tPKJn33A "Ferme" "~Ma ferme autonome" https://www.youtube.com/feeds/videos.xml?channel_id=UCleSLCKdAEovKJxX-Kgbccw "Ferme" "~Ma ferme autonome2" From 9e0db7bfb42a5313741c0f52bdbb5e6e2e0ba3f7 Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Thu, 6 Feb 2020 08:28:45 +0100 Subject: [PATCH 5/7] Feat: force vifm to open en current directory --- files/dotfiles/tmuxp/enseignement.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/dotfiles/tmuxp/enseignement.yml b/files/dotfiles/tmuxp/enseignement.yml index fef89d0..64c7143 100644 --- a/files/dotfiles/tmuxp/enseignement.yml +++ b/files/dotfiles/tmuxp/enseignement.yml @@ -12,4 +12,4 @@ windows: panes: - git status - blank - - vifm + - vifm . . From 01c68dd90807701706abb5247c6dfc9795a8adf0 Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Sun, 23 Feb 2020 05:41:35 +0100 Subject: [PATCH 6/7] Feat: Add stoppost notify to backup sevices --- files/choux_borg.service | 2 ++ files/dd_borg/automatic-backup.service | 2 ++ 2 files changed, 4 insertions(+) diff --git a/files/choux_borg.service b/files/choux_borg.service index af854ec..533b5d8 100644 --- a/files/choux_borg.service +++ b/files/choux_borg.service @@ -8,3 +8,5 @@ IOSchedulingClass=2 IOSchedulingPriority=7 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' diff --git a/files/dd_borg/automatic-backup.service b/files/dd_borg/automatic-backup.service index c0209d2..4a58e59 100644 --- a/files/dd_borg/automatic-backup.service +++ b/files/dd_borg/automatic-backup.service @@ -1,4 +1,6 @@ [Service] Type=oneshot 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' From dc0b6e139b27686e13ae59fe374d452a7f6acc05 Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Sun, 23 Feb 2020 05:43:28 +0100 Subject: [PATCH 7/7] Feat: Add StartPre backup notify --- files/choux_borg.service | 1 + files/dd_borg/automatic-backup.service | 1 + 2 files changed, 2 insertions(+) diff --git a/files/choux_borg.service b/files/choux_borg.service index 533b5d8..e932246 100644 --- a/files/choux_borg.service +++ b/files/choux_borg.service @@ -6,6 +6,7 @@ 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"' diff --git a/files/dd_borg/automatic-backup.service b/files/dd_borg/automatic-backup.service index 4a58e59..2692112 100644 --- a/files/dd_borg/automatic-backup.service +++ b/files/dd_borg/automatic-backup.service @@ -1,5 +1,6 @@ [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'