Adding mail widget in awesome
This commit is contained in:
parent
43893af38d
commit
80e0136e81
|
@ -394,6 +394,26 @@
|
|||
:widget wibox.container.margin
|
||||
:right (dpi 10)})
|
||||
|
||||
(set s.mailtext (awful.widget.watch "muunread" 360))
|
||||
(set s.mailicon (wibox.widget.textbox " "))
|
||||
(set s.mailspace (wibox.widget.textbox " "))
|
||||
|
||||
(set s.mailwidget { 1 { 1 { 1 (wibox.widget {
|
||||
1 s.mailicon
|
||||
2 s.mailtext
|
||||
3 s.mailspace
|
||||
:layout wibox.layout.fixed.horizontal
|
||||
:fg beautiful.base0B
|
||||
})
|
||||
:widget wibox.container.margin
|
||||
:left (dpi 9)}
|
||||
:widget wibox.container.background
|
||||
:shape gears.shape.rounded_bar
|
||||
:bg beautiful.bg_normal
|
||||
:fg beautiful.base0C}
|
||||
:widget wibox.container.margin
|
||||
:right (dpi 10)})
|
||||
|
||||
(set s.mysystray { 1 { 1 { 1 (wibox.widget.systray)
|
||||
:widget wibox.container.margin
|
||||
:right (dpi 10)
|
||||
|
@ -410,11 +430,12 @@
|
|||
(set s.myrightwidgets {
|
||||
1 {
|
||||
:layout wibox.layout.fixed.horizontal
|
||||
1 s.cpuwidget
|
||||
2 s.volumewidget
|
||||
3 (if laptop s.batterywidget s.myemptywidget)
|
||||
4 (if (= s.index 1) s.mysystray)
|
||||
5 s.mylayoutbox
|
||||
1 s.mailwidget
|
||||
2 s.cpuwidget
|
||||
3 s.volumewidget
|
||||
4 (if laptop s.batterywidget s.myemptywidget)
|
||||
5 (if (= s.index 1) s.mysystray)
|
||||
6 s.mylayoutbox
|
||||
}
|
||||
:widget wibox.container.background
|
||||
})
|
||||
|
|
|
@ -57,6 +57,17 @@
|
|||
:placement (+ awful.placement.no_offscreen awful.placement.centered)
|
||||
}
|
||||
}
|
||||
;; Emacs
|
||||
{
|
||||
:rule_any {
|
||||
:instance [
|
||||
"emacs"
|
||||
]
|
||||
}
|
||||
:properties {
|
||||
:size_hints_honor false
|
||||
}
|
||||
}
|
||||
;; Org-Agenda
|
||||
{
|
||||
:rule_any {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
[FileDialog]
|
||||
="======"
|
||||
history=file:///home/chris/Pictures, file:///home/chris/Videos, file:///home/chris, file:///home/chris/Downloads, file:///home/chris/Documents/TFC Stuff/newsletterpics
|
||||
lastVisited=file:///home/chris
|
||||
lastVisited=file:///home/chris/Downloads
|
||||
qtVersion=5.15.2
|
||||
shortcuts=file:, file:///home/chris
|
||||
sidebarWidth=116
|
||||
|
|
2
scripts/muunread
Executable file
2
scripts/muunread
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
mu find flag:unread AND NOT flag:trashed AND NOT maildir:\"/outlook/Junk\" AND NOT maildir:\"/office/Junk Email\" AND NOT maildir:\"/outlook/Deleted\" AND NOT maildir:\"/office/Deleted Items\" | wc -l
|
|
@ -1,2 +1,2 @@
|
|||
#!/bin/sh
|
||||
pacman -Qq | fzf --preview 'pacman -Qil {}' --layout=reverse --bind 'enter:execute(pacman -Qil {} | less)'
|
||||
pacman -Qq | sk --preview 'pacman -Qil {}' --layout=reverse --bind 'enter:execute(pacman -Qil {} | less)'
|
||||
|
|
Loading…
Reference in a new issue