]> git.madduck.net Git - etc/awesome.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Merge pull request #65 from projektile/master
authorLuke Bonham <copycat-killer@users.noreply.github.com>
Sat, 27 Sep 2014 13:27:38 +0000 (15:27 +0200)
committerLuke Bonham <copycat-killer@users.noreply.github.com>
Sat, 27 Sep 2014 13:27:38 +0000 (15:27 +0200)
update dynamic border change

widgets/alsa.lua
widgets/yawn/localizations/zh_TW [new file with mode: 0644]

index 114e2b2744d5cfc9bad45ef2cfa444d370ae4145..f62a150d18fcd7969accaeb53118841117d05107 100644 (file)
@@ -23,14 +23,14 @@ local alsa = {}
 local function worker(args)
     local args     = args or {}
     local timeout  = args.timeout or 5
-    local channel  = args.channel or "Master -c 1"
+    local channel  = args.channel or "Master"
     local settings = args.settings or function() end
 
     alsa.widget = wibox.widget.textbox('')
 
     function alsa.update()
-        local f = assert(io.popen('amixer get ' .. channel))
-        local mixer = f:read("*all")
+        local f = assert(io.popen('amixer -M get ' .. channel))
+        local mixer = f:read("*a")
         f:close()
 
         volume_now = {}
diff --git a/widgets/yawn/localizations/zh_TW b/widgets/yawn/localizations/zh_TW
new file mode 100644 (file)
index 0000000..03644c1
--- /dev/null
@@ -0,0 +1,61 @@
+Now:|現在:
+Sun:|週日:
+Mon:|週一:
+Tue:|週二:
+Wed:|週三:
+Thu:|週四:
+Fri:|週五:
+Sat:|週六:
+Mostly Sunny|晴時多雲
+Sunny|大太陽
+Sun|太陽
+Rain/Thunder|雨時有雷
+Isolated Thunderstorms|局部雷雨
+Scattered Thunderstorms|零星雷雨
+Thundershowers|雷陣雨
+Thunderstorms|雷雨
+Thunder in the Vicinity|局部性雷雨
+Thunder|雷嗚
+AM|上午
+PM|下午
+Early|早
+Late|晚有
+Few|短暫
+Severe|惡劣
+Clear|晴朗
+Fair|晴
+Partly|局部
+Mostly|大部
+Cloudy|多雲
+Clouds|有雲
+Scattered Showers|零星陣雨
+Light Snow Showers|小陣雪
+Snow Showers|陣雪
+Heavy Snow|大雪
+Scattered Snow Showers|零星陣雪
+Mixed Rain And Snow|雨夾雪
+Mixed Rain And Sleet|雨時雨夾雪
+Mixed Snow And Sleet|雪時雨夾雪
+Mixed Rain And Hail|雨夾冰雹
+Snow Flurries|陣雪
+Blowing Snow|風吹雪
+Blowing Rain|風吹雨
+Heavy Rain|大雨
+Freezing Rain|凍雨
+Showers|陣雨
+Light Rain|小雨
+Heavy|大
+Rain|雨
+Windy|有風
+Wind|風
+Snow|雪
+Sleet|冰珠
+Freezing Drizzle|凍毛毛雨
+Light Drizzle|細雨
+Drizzle|毛毛雨
+Hail|冰雹
+Fog|霧
+Foggy|有霧
+Haze|霾
+Light|小
+With|與