add crontab

This commit is contained in:
lelgenio 2020-07-10 23:33:04 -03:00
parent a17bd2e0f3
commit ec34e7dbeb
3 changed files with 20 additions and 6 deletions

View File

@ -30,6 +30,7 @@ profiles:
- mpd
- dav
- mutt
- crontab
variables:
key:
left: h
@ -70,7 +71,6 @@ dotfiles:
dst: ~/.config/sway/config
actions:
- reload_sway
- notify
fish:
src: fish.fish
dst: ~/.config/fish/config.fish
@ -79,13 +79,11 @@ dotfiles:
dst: ~/.config/mako/config
actions:
- makoreload
- notify
waybar:
src: waybar
dst: ~/.config/waybar
actions:
- reload_sway
- notify
kitty:
src: kitty.conf
dst: ~/.config/kitty/kitty.conf
@ -97,7 +95,6 @@ dotfiles:
dst: ~/.lesskey
actions:
- lesskey
- notify
scripts:
src: scripts
dst: ~/.local/bin
@ -131,6 +128,11 @@ dotfiles:
mutt:
src: neomutt/
dst: ~/.config/neomutt/
crontab:
src: crontab
dst: ~/.local/share/crontab
actions:
- crontab_install
actions:
notify: notify-send "Updating dotfiles"
makoreload: makoctl reload
@ -144,3 +146,6 @@ actions:
+qall
&> /dev/null
& disown
crontab_install: |
crontab -r
crontab ~/.local/share/crontab

9
dotfiles/crontab Normal file
View File

@ -0,0 +1,9 @@
# {{@@ header() @@}}
PATH={{@@ env["PATH"] @@}}
#minute hour day month day_week cmd
*/5 * * * * forecast json
*/5 * * * * checkmail update
* */5 * * * vdirsyncer sync
# vim: commentstring=#\ %s

View File

@ -55,7 +55,7 @@
input "type:touchpad" {
#disable while typing
# dwt enabled
dwt disabled
natural_scroll enabled
tap enabled
}
@ -97,7 +97,7 @@
bindsym $mod+Shift+c reload; exec pkill kanshi && kanshi
# Lock Sway
bindsym $mod+Control+$suspend exec sudo systemctl suspend
bindsym $mod+Control+$suspend exec loginctl suspend
# Exit sway (logs you out of your Wayland session)
bindsym $mod+Shift+e exec swaynag -t warning -m 'Do you really want to exit sway?' -b 'Yes, exit sway' 'swaymsg exit'