Compare commits
5
Commits
6a0b19dbd2
...
mininux
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0750df7d61
|
||
|
|
acf9d5a276
|
||
|
|
ef1ce70bda
|
||
|
|
4fc1a78ce4
|
||
|
|
127e93c05a
|
No files matched your search
@@ -818,7 +818,7 @@ mail-received=notify-send "[$AERC_ACCOUNT/$AERC_FOLDER] New mail from $AERC_FROM
|
||||
#
|
||||
# Executed when aerc starts
|
||||
#aerc-startup=aerc :terminal calcurse && aerc :next-tab
|
||||
aerc-startup=aerc :terminal khal interactive && aerc :next-tab
|
||||
aerc-startup=aerc :terminal khal interactive && aerc :next-tab && aerc :terminal newsboat -r && aerc :next-tab
|
||||
|
||||
#
|
||||
# Executed when aerc shuts down.
|
||||
|
||||
@@ -38,7 +38,6 @@ conky.config = {
|
||||
font = 'Fira Code:size=10',
|
||||
gap_x = -1800,
|
||||
gap_y = 40,
|
||||
minimum_height = 950,
|
||||
minimum_width = 300,
|
||||
|
||||
net_avg_samples = 2,
|
||||
@@ -162,9 +161,7 @@ ${color grey}Processes $hr
|
||||
${color gray}Count: $color$processes
|
||||
${color grey}Infos $hr
|
||||
$color${font FiraCode Nerd Font:size=10}${execi 1800 curl -s 'wttr.in/?format=4'}$font
|
||||
${color gray}mto $color${new_mails ]]..mailpath..[[/minecraftonitch/INBOX/ 900} / ${mails ]]..mailpath..[[/minecraftonitch/INBOX/ 900} | ${color gray}d.t $color${new_mails ]]..mailpath..[[/d.tonitch/INBOX/ 900} / ${mails ]]..mailpath..[[/d.tonitch/INBOX/ 900} | ${color gray}d.a $color${new_mails ]]..mailpath..[[/debucquoy.anthony/INBOX/ 900} / ${mails ]]..mailpath..[[/debucquoy.anthony/INBOX/ 900}
|
||||
${color grey}TODO $hr
|
||||
$color${execi 60 todo list --sort priority}
|
||||
${color grey}CALENDAR $hr
|
||||
$color${execi 60 khal list}
|
||||
]]
|
||||
${color grey}System: $color${execi 60 systemctl is-failed} $alignr${color grey}User:$color${execi 60 systemctl --user is-failed}
|
||||
${color grey}nc-sync:${execi 60 systemctl --user status nc-sync | awk '/Active:/ {sub(/[^;]*; /,"",$0);print;}'}
|
||||
${color grey}vdirsyncer:${execi 60 systemctl --user status vdirsyncer | awk '/Active:/ {sub(/[^;]*; /,"",$0);print;}'}
|
||||
]]
|
||||
@@ -0,0 +1,80 @@
|
||||
-- Conky, a system monitor https://github.com/brndnmtthws/conky
|
||||
--
|
||||
-- This configuration file is Lua code. You can write code in here, and it will
|
||||
-- execute when Conky loads. You can use it to generate your own advanced
|
||||
-- configurations.
|
||||
--
|
||||
-- Try this (remove the `--`):
|
||||
--
|
||||
-- print("Loading Conky config")
|
||||
--
|
||||
-- For more on Lua, see:
|
||||
-- https://www.lua.org/pil/contents.html
|
||||
--
|
||||
-- Conky Lua API: https://conky.cc/lua
|
||||
|
||||
-- Configuration settings: https://conky.cc/config_settings
|
||||
|
||||
io.input("/etc/hostname")
|
||||
hostname = io.read()
|
||||
|
||||
conky.config = {
|
||||
alignment = 'top_left',
|
||||
background = false,
|
||||
border_width = 1,
|
||||
|
||||
cpu_avg_samples = 2,
|
||||
double_buffer = true,
|
||||
update_interval = 1.0,
|
||||
|
||||
default_color = 'green',
|
||||
default_outline_color = 'green',
|
||||
default_shade_color = 'dark green',
|
||||
draw_borders = false,
|
||||
draw_graph_borders = true,
|
||||
draw_outline = false,
|
||||
draw_shades = true,
|
||||
extra_newline = false,
|
||||
font = 'Fira Code:size=10',
|
||||
gap_x = 1850,
|
||||
gap_y = 40,
|
||||
minimum_width = 300,
|
||||
|
||||
net_avg_samples = 2,
|
||||
no_buffers = true,
|
||||
|
||||
out_to_console = false,
|
||||
out_to_ncurses = false,
|
||||
out_to_stderr = false,
|
||||
out_to_wayland = false,
|
||||
out_to_x = true,
|
||||
|
||||
own_window = true,
|
||||
own_window_class = 'Conky',
|
||||
own_window_type = 'desktop',
|
||||
own_window_hints = 'undecorated,sticky,below,skip_taskbar,skip_pager',
|
||||
own_window_argb_visual = true,
|
||||
own_window_argb_value = 200,
|
||||
own_window_colour = "#222222",
|
||||
|
||||
show_graph_range = false,
|
||||
show_graph_scale = false,
|
||||
stippled_borders = 0,
|
||||
uppercase = false,
|
||||
use_spacer = 'none',
|
||||
use_xft = true,
|
||||
}
|
||||
|
||||
|
||||
if hostname == "minitonitchtop" then
|
||||
conky.config.gap_x = 20
|
||||
conky.config.font = 'Fira Code:size=14'
|
||||
end
|
||||
|
||||
-- Variables: https://conky.cc/variables
|
||||
conky.text = [[
|
||||
${color grey}TODO $hr
|
||||
$color${execi 60 todo list --sort priority}
|
||||
${color grey}CALENDAR $hr
|
||||
$color${execi 60 khal list}
|
||||
]]
|
||||
@@ -1,12 +1,22 @@
|
||||
[calendars]
|
||||
|
||||
[[google_local]]
|
||||
path = ~/.cache/calendar/google/*
|
||||
color = light blue
|
||||
type = discover
|
||||
|
||||
[[nextcloud_cal_local]]
|
||||
path = ~/.cache/calendar/nextcloud/*
|
||||
color = dark green
|
||||
type = discover
|
||||
|
||||
[[nextcloud_card_local]]
|
||||
path = ~/.cache/contact/nextcloud/*
|
||||
type = discover
|
||||
|
||||
[[umons]]
|
||||
path = ~/.cache/calendar/umons/*
|
||||
type = discover
|
||||
|
||||
[locale]
|
||||
timeformat = %H:%M
|
||||
@@ -23,7 +33,7 @@
|
||||
|
||||
[highlight_days]
|
||||
color = dark green
|
||||
default_color = dark blue
|
||||
default_color = light blue
|
||||
multiple = dark red
|
||||
|
||||
[view]
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
[Unit]
|
||||
Description=Syncronise Nextcloud instance
|
||||
Description=Run vdirSyncer
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=nextcloudcmd /media/nextcloud 'https://tonitch:jOkN5UaCMRRnjLIe3cH9KEXzb@nc.debucquoy.me'
|
||||
ExecStart=vdirsyncer sync
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
@@ -1,5 +1,5 @@
|
||||
[Unit]
|
||||
Description=Run nextcloud sync every 15 minutes
|
||||
Description=run vdirsyncer every 15 min
|
||||
|
||||
[Timer]
|
||||
OnActiveSec=10min
|
||||
|
||||
@@ -34,3 +34,34 @@ status_path = "~/.vdirsyncer/status/"
|
||||
b = "nextcloud_card_local"
|
||||
collections = ["from a"]
|
||||
metadata= ["displayname"]
|
||||
|
||||
[storage debucquoyanthony_remote]
|
||||
type = "google_calendar"
|
||||
client_id.fetch = ["command", "cat", "~/.config/pass/debucquoyanthony_id.txt"]
|
||||
client_secret.fetch = ["command", "cat", "~/.config/pass/debucquoyanthony_secret.txt"]
|
||||
token_file = "~/.config/pass/debucquoyanthony_token.txt"
|
||||
|
||||
[storage debucquoyanthony_local]
|
||||
type = "filesystem"
|
||||
path = "~/.cache/calendar/google/debucquoyanthony"
|
||||
fileext = ".ics"
|
||||
|
||||
[pair debucquoyanthony_cal]
|
||||
a = "debucquoyanthony_remote"
|
||||
b = "debucquoyanthony_local"
|
||||
collections = ["from a"]
|
||||
metadata= ["color", "displayname", "description", "order"]
|
||||
|
||||
[storage umons_remote]
|
||||
type = "http"
|
||||
url = "https://ical.umons.ac.be/0CAF46D3-390C-4D34-AE43-B662CD784F67.ics"
|
||||
|
||||
[storage umons_local]
|
||||
type = "filesystem"
|
||||
path = "~/.cache/calendar/umons/2026-2027"
|
||||
fileext = ".ics"
|
||||
|
||||
[pair umons]
|
||||
a = "umons_remote"
|
||||
b = "umons_local"
|
||||
collections = null
|
||||
Reference in new issue
Block a user