Tweak aerc and add mail status to waybar
This commit is contained in:
parent
934243e49c
commit
283e2ecbdf
3 changed files with 10 additions and 8 deletions
|
@ -1,11 +1,11 @@
|
|||
[ui]
|
||||
index-columns = date<*,name<17,flags>4,subject<*
|
||||
index-columns = date<12,name<25,flags>4,subject<*
|
||||
column-date = {{.DateAutoFormat .Date.Local}}
|
||||
column-name = {{index (.From | names) 0}}
|
||||
column-flags = {{.Flags | join ""}}
|
||||
column-subject = {{.ThreadPrefix}}{{.Subject}}
|
||||
timestamp-format = Jan 02 15:04
|
||||
sidebar-width = 20
|
||||
sidebar-width = 12
|
||||
empty-message = (no messages)
|
||||
empty-dirlist = (no folders)
|
||||
mouse-enabled = false
|
||||
|
@ -41,6 +41,3 @@ text/* = awk -f /usr/lib/aerc/filters/plaintext
|
|||
template-dirs = /usr/share/aerc/templates/
|
||||
quoted-reply = quoted_reply
|
||||
forwards = forward_as_body
|
||||
|
||||
[hooks]
|
||||
mail-received = notify-send -a aerc "New email from $AERC_FROM_NAME" "$AERC_SUBJECT"
|
||||
|
|
|
@ -41,14 +41,14 @@ column_meter_modes_1=1
|
|||
column_meters_2=Memory LoadAverage NetworkIO DiskIO Tasks Uptime Systemd
|
||||
column_meter_modes_2=1 1 1 2 2 2 2
|
||||
tree_view=0
|
||||
sort_key=47
|
||||
sort_key=46
|
||||
tree_sort_key=47
|
||||
sort_direction=-1
|
||||
tree_sort_direction=-1
|
||||
tree_view_always_by_pid=1
|
||||
all_branches_collapsed=1
|
||||
screen:Main=PID USER PRIORITY NICE M_VIRT M_RESIDENT M_SHARE STATE PERCENT_CPU PERCENT_MEM TIME Command
|
||||
.sort_key=PERCENT_MEM
|
||||
.sort_key=PERCENT_CPU
|
||||
.tree_sort_key=PERCENT_MEM
|
||||
.tree_view=0
|
||||
.tree_view_always_by_pid=1
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
"fixed-center": false,
|
||||
"modules-left": ["sway/workspaces", "sway/mode", "sway/scratchpad"],
|
||||
"modules-center": [],
|
||||
"modules-right": ["custom/timer", "custom/nagios", "custom/task", "custom/weather", "custom/aqi", "memory", "cpu", "clock", "tray"],
|
||||
"modules-right": ["custom/timer", "custom/maildir", "custom/nagios", "custom/task", "custom/weather", "custom/aqi", "memory", "cpu", "clock", "tray"],
|
||||
"sway/scratchpad": {
|
||||
"format": "{icon} {count}",
|
||||
"show-empty": false,
|
||||
|
@ -59,6 +59,11 @@
|
|||
"exec": "$HOME/workspace/foxstatus/modules/timer.py",
|
||||
"max-length": 20,
|
||||
"interval": 60
|
||||
},
|
||||
"custom/maildir": {
|
||||
"exec": "$HOME/workspace/foxstatus/modules/maildir.py",
|
||||
"max-length": 7,
|
||||
"interval": 60
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue