运行Ubuntu 16.04,我安装了awesome-wm,我注意到通知看起来不正确。开箱即用0配置awesome-wm似乎没有使用正确的通知守护进程。我尝试安装dunst,虽然它在Unity中运行,但是真棒没什么区别。如何更改通知守护程序或至少自定义令人敬畏的通知外观?我甚至不需要正常地自定义它,但由于某种原因,通知中的图标很大,看起来像是未缩放的全分辨率。
答案 0 :(得分:1)
重复https://github.com/awesomeWM/awesome/issues/1862
有一个"修复"在我的一个分支中,但它还没有合并(当16.04发布时肯定没有合并。)
要使用与Awesome默认守护程序不同的通知守护程序,请在Sub strSplit()
Dim r As Range, lastRow As Long, rng As Range, k As Variant, d As Object, i As Long
Set d = CreateObject("Scripting.Dictionary")
lastRow = Cells(Rows.Count, 1).End(xlUp).Row
Set rng = Range("B2:B" & lastRow)
For Each r In rng
If Not IsEmpty(r) Then d(r.Value) = r.Offset(0, -1).Value
Next
For Each k In d.Keys
i = i + 1
Sheets(2).Cells(i + 1, 1) = d(k) 'column 1
Sheets(2).Cells(i + 1, 2) = k 'column 2
For Each r In rng
If k = r.Value Then
Sheets(2).Cells(i + 1, 5) = r.Offset(0, 3).Value 'column 5
Exit For
End If
Next
Sheets(2).Cells(i + 1, 3) = uniqNsort(k, rng, 1, d.Count) 'column 3
Sheets(2).Cells(i + 1, 4) = uniqNsort(k, rng, 2, d.Count) 'column 4
Next
Sheets(2).Select
End Sub
Function uniqNsort(k, rng As Range, rngOffsetCol As Long, rwNo As Long) As String 'get ordered list of unique items
Dim k1, r As Range, i As Long, d As Object
Set d = CreateObject("Scripting.Dictionary")
For Each r In rng
If k = r.Value Then
d(r.Offset(0, rngOffsetCol).Value) = r.Value
End If
Next
For Each k1 In d.Keys
Sheets(2).Cells(i + rwNo + 2, 1) = k1
i = i + 1
Next
Set r = Sheets(2).Range("A" & rwNo + 2 & ":A" & rwNo + i + 1)
r.Sort r.Columns(1)
uniqNsort = colToRw(r)
r.ClearContents
End Function
Function colToRw(r As Range) As String
Dim r1 As Range, is1st As Boolean
is1st = True
For Each r1 In r
If Not is1st Then
colToRw = colToRw & ", "
Else: is1st = False
End If
colToRw = colToRw & r1.Value
Next
End Function
中对require("naighty")
行进行评论。
很棒的4.3会有新的rc.lua
主题变量的解决方法,但它还没有发布。