{"id":225,"date":"2022-09-18T20:02:39","date_gmt":"2022-09-18T12:02:39","guid":{"rendered":"https:\/\/blog.messyghost.net\/?p=225"},"modified":"2022-11-18T21:55:48","modified_gmt":"2022-11-18T13:55:48","slug":"%e6%9c%80%e8%bf%91-3","status":"publish","type":"post","link":"https:\/\/blog.messyghost.net\/?p=225","title":{"rendered":"\u6700\u8fd1"},"content":{"rendered":"\n<p>\u6700\u8fd1\u6311\u6218\u4e86\u4e00\u4e0bLinux\u4e0b\u7684\u5e73\u94fa\u5f0fwm\u3002\u5148\u662f\u6311\u6218\u4e86\u4e00\u4e0bdwm\u2014\u2014\u57fa\u4e8e\u6e90\u7801\u8fdb\u884c\u914d\u7f6e\u548c\u62d3\u5c55\u7684wm\u3002\u5b83\u7684\u201c\u4e3b\u4ece\u7a97\u53e3\u201d\u7684\u8bbe\u8ba1\u6211\u5f88\u559c\u6b22\uff0c\u4f46\u662f\u5b83\u57fa\u4e8e\u6e90\u7801\u662f\u771f\u53d7\u4e0d\u4e86\u2014\u2014\u4e0d\u4ec5\u6539\u914d\u7f6e\u5f88\u9ebb\u70e6\uff0c\u6253\u62d3\u5c55\u8fd8\u8981\u4f9d\u8d56\u7248\u672c\u76f8\u5173\u7684patch\u4e14\u6781\u6613\u8d77\u51b2\u7a81\uff0c\u641e\u5f97\u6211\u6bcf\u6253\u4e00\u4e2apatch\u90fd\u8981\u5728git\u4e0acommit\u4e00\u6b21\uff0c\u5bb3\u6015\u4ec0\u4e48\u65f6\u5019\u7ffb\u8f66\u4e86\u3002\uff08\u5c0f\u63d2\u66f2:\u4e2d\u9014\u6253\u4e00\u4e2apatch\u65f6\u8d77\u4e86\u51b2\u7a81\uff0c\u6211\u53bb\u624b\u52a8\u89e3\u51b3\uff0c\u6ca1\u60f3\u5230\u89e3\u51b3\u540e\u7f16\u8bd1\u4e0d\u901a\u8fc7\uff0c\u56e0\u4e3a\u6709\u4e00\u4e2a\u672a\u58f0\u660e\u7684\u53d8\u91cf\uff0c\u7ed9\u6211\u6574\u5410\u4e86\uff09<\/p>\n\n\n\n<p>\u7136\u540e\u8f6c\u6218bspwm\u3002\u8fd9\u4e2awm\u7684\u201c\u53ea\u505awm\u201d\u7684\u7406\u5ff5\u8ba9\u6211\u8033\u76ee\u4e00\u65b0\uff0c\u4e5f\u5bfc\u81f4\u6211\u914d\u7f6e\u4e86\u4e00\u6bb5\u65f6\u95f4\uff0c\u4e0d\u8fc7\u6bd4dwm\u90a3\u79cd\u9b54\u6539\u6e90\u7801\u7684\u7ea7\u522b\u8981\u597d\u591a\u4e86\uff08\u6211\u53ea\u60f3\u7528\u4e2awm\u800c\u5df2\uff0c\u771f\u4e0d\u60f3\u7406\u89e3wm\u662f\u600e\u4e48\u5de5\u4f5c\u7684\uff09\u3002\u76ee\u524d\u7528bspwm+polybar+sxhkd\u3002\uff08\u5c0f\u63d2\u66f2:\u4e4b\u524d\u7528dwm\u7684\u65f6\u5019\u5c1d\u8bd5\u5199\u4e2apy\u811a\u672c\u8fd0\u884cxsetroot\u6765\u8bbe\u7f6estatus bar\uff0c\u4f46\u8ba9\u6211\u6ca1\u60f3\u5230\u7684\u4e8b\u60c5\u53c8\u53d1\u751f\u4e86\u2014\u2014dwm\u7684autostart\u7684patch\u542f\u52a8\u7684daemon\uff0c\u5728dwm\u9000\u51fa\u540e\u4e0d\u4f1a\u81ea\u5df1\u9000\u51fa\uff0c\u5bfc\u81f4\u5982\u679c\u767b\u5f55\u4e24\u6b21\u7684\u8bdd\uff0c\u8fd9\u4e2astatus bar\u7684\u5237\u65b0\u9891\u7387\u4f1a\u53d8\u5f97\u5f88\u53e4\u602a\u3002\u6700\u540e\u53d1\u73b0\u8fd9\u73a9\u610f\u672c\u8eab\u5c31\u662f\u8fd9\u6837\u7684\uff0c\u4e0d\u80fd\u89e3\u51b3\uff0c\u9664\u975e\u52a0\u4e2a\u9501\uff0c\u6240\u4ee5\u6211\u7528slstatus\u8c03\u7528\u811a\u672c\u4e86\u2026\u2026\uff09\u8fd9\u91ccsxhkd\u8fd8\u6709\u4e2a\u5751\uff0c\u5c31\u662f\u4e00\u4e2a\u542b{}\u7684\u5feb\u6377\u952e\u7684\u547d\u4ee4\u4e0b\u51fa\u73b0\u7684\u7b2c\u4e8c\u5bf9{}\u7684\u7ed3\u679c\u4f1a\u5f88\u8be1\u5f02\uff0c\u89e3\u51b3\u65b9\u6cd5\u662f\u7528shell\u53d8\u91cf\u628a\u547d\u4ee4\u91cc\u7684{}\u7ed9\u5b58\u8d77\u6765\u2026\u2026\u4e4b\u540e\u770b\u7740manpage\u6539\u6539sxhkd\u7684\u914d\u7f6e\uff0c\u5220\u6389\u9ebb\u70e6\u5f97\u8981\u6b7b\u7684st\u6362\u6210alacritty\uff0c\u770b\u7740wiki\u548cexample\u914d\u7f6e\u4e00\u4e0bpolybar\u2026\u2026\u5c31\u5dee\u4e0d\u591a\u914d\u7f6e\u597d\u4e86\u3002<\/p>\n\n\n\n<p>\u76ee\u524d\u8fd8\u6ca1\u7ed9polybar\u52a0\u7f51\u7edc\u72b6\u6001\uff0c\u73b0\u5728\u662f\u7528NetworkManager\uff0c\u8fd8\u662fdhcpcd\uff0c\u8fd8\u662fsystemd-networkd\u597d\u5462\u2026\u2026<\/p>\n\n\n\n<p>\u8fd8\u6709\u4e00\u4e2a\u65b0\u53d1\u73b0\u662f\u66f4\u65b0\u4e86\u5185\u6838\u4ee5\u540e\u5982\u679c\u4e0d\u91cd\u542f\uff0ctuntap\u5c31\u7528\u4e0d\u4e86\u4e86\uff0c\u4e4b\u524d\u8fd8\u4ee5\u4e3a\u662f\u4ec0\u4e48\u95ee\u9898\u2026\u2026<\/p>\n\n\n\n<p>\u4e0d\u77e5\u9053\u4ec0\u4e48\u65f6\u5019\u7684\u8865\u5145\uff1aKDE\u6c38\u8fdc\u7684\u795e\uff01\uff01\u4e0d\u6298\u817e\u8fd9\u4e9b\u5947\u602a\u7684WM\u4e86\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6700\u8fd1\u6311\u6218\u4e86\u4e00\u4e0bLinux\u4e0b\u7684\u5e73\u94fa\u5f0fwm\u3002\u5148\u662f\u6311\u6218\u4e86&#8230;<\/p>\n<div class=\"more-link-wrapper\"><a class=\"more-link\" href=\"https:\/\/blog.messyghost.net\/?p=225\">Continue reading<span class=\"screen-reader-text\">\u6700\u8fd1<\/span><\/a><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,2],"tags":[],"class_list":["post-225","post","type-post","status-publish","format-standard","hentry","category-3","category-2","entry"],"_links":{"self":[{"href":"https:\/\/blog.messyghost.net\/index.php?rest_route=\/wp\/v2\/posts\/225","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.messyghost.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.messyghost.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.messyghost.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.messyghost.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=225"}],"version-history":[{"count":2,"href":"https:\/\/blog.messyghost.net\/index.php?rest_route=\/wp\/v2\/posts\/225\/revisions"}],"predecessor-version":[{"id":262,"href":"https:\/\/blog.messyghost.net\/index.php?rest_route=\/wp\/v2\/posts\/225\/revisions\/262"}],"wp:attachment":[{"href":"https:\/\/blog.messyghost.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=225"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.messyghost.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=225"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.messyghost.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=225"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}