diff --git a/awesome/pravitekeys.lua b/awesome/pravitekeys.lua index 962c3fb..8ba3b93 100644 --- a/awesome/pravitekeys.lua +++ b/awesome/pravitekeys.lua @@ -35,8 +35,14 @@ pravitekeys = awful.util.table.join( awful.key({ modkey }, "e", function () - -- run_or_raise("emacsclient -a '' -c -n", {class = "Emacs"}) - run_or_raise("emacs", {class = "Emacs"}) + run_or_raise("emacsclient -a '' -c -n", {class = "Emacs"}) + -- run_or_raise("emacs", {class = "Emacs"}) + end), + + awful.key({ modkey }, "d", + function () + run_or_raise("gtk-launch dingtalk", {class = "dingtalk"}) + -- run_or_raise("emacs", {class = "Emacs"}) end), awful.key({ modkey, "Shift" }, "e", diff --git a/awesome/rc.lua b/awesome/rc.lua index 6925ce2..56c63cd 100644 --- a/awesome/rc.lua +++ b/awesome/rc.lua @@ -166,13 +166,15 @@ local function tag_config() emacs = screen[2].tags[2], media = screen[2].tags[3], virtualbox = screen[2].tags[4], + other2 = screen[1].tags[3], } else tags.specify = { firefox = screen[1].tags[2], emacs = screen[1].tags[3], media = screen[1].tags[4], - virtualbox = screen[1].tags[5] + virtualbox = screen[1].tags[5], + other2 = screen[1].tags[6], } end return tags @@ -766,6 +768,9 @@ awful.rules.rules = { { rule = { class = "Emacs" }, properties = { tag = mytags.specify.emacs, switchtotag = true, fullscreen = true } }, + { rule = { class = "dingtalk" }, + properties = { tag = mytags.specify.other2 } }, + { rule = { class = "Gimp", role = "gimp-image-window" }, properties = { maximized = true } }, } diff --git a/gentoo_portage/package.license b/gentoo_portage/package.license index ee4e1a4..b37a491 100644 --- a/gentoo_portage/package.license +++ b/gentoo_portage/package.license @@ -4,6 +4,8 @@ app-emulation/virtualbox-bin PUEL dev-embedded/sdcc MicroChip-SDCC dev-db/mongodb SSPL-1 net-analyzer/nmap NPSL +net-im/deepin-wine-wechat Tencent +net-im/dingtalk all-rights-reserved net-misc/anydesk AnyDesk-TOS net-misc/teamviewer TeamViewer sys-kernel/linux-firmware no-source-code linux-fw-redistributable diff --git a/gentoo_portage/package.use b/gentoo_portage/package.use index 4a23c80..3f80a25 100644 --- a/gentoo_portage/package.use +++ b/gentoo_portage/package.use @@ -98,4 +98,14 @@ x11-wm/awesome LUA_SINGLE_TARGET: lua5-3 -lua5-1 dev-embedded/sdcc device-lib mcs51 packihx # MPD/MPC -media-sound/ncmpcpp clock outputs taglib visualizer \ No newline at end of file +media-sound/ncmpcpp clock outputs taglib visualizer + +# deepin-wine-wechat +# media-libs/libcanberra pulseaudio +# media-libs/mesa osmesa -vaapi +# media-plugins/alsa-plugins pulseaudio +# x11-drivers/nvidia-drivers abi_x86_32 +# x11-libs/libva -opengl + +# dingtalk +media-plugins/alsa-plugins pulseaudio diff --git a/gentoo_portage/repos.conf b/gentoo_portage/repos.conf index 0295b12..493c591 100644 --- a/gentoo_portage/repos.conf +++ b/gentoo_portage/repos.conf @@ -3,10 +3,11 @@ main-repo = gentoo [gentoo] location = /var/db/repos/gentoo -sync-type = rsync +sync-type = git +sync-uri = https://mirrors.tuna.tsinghua.edu.cn/git/gentoo-portage.git +# sync-type = rsync # sync-uri = rsync://rsync.gentoo.org/gentoo-portage -sync-uri = rsync://mirrors.tuna.tsinghua.edu.cn/gentoo-portage -# sync-uri = rsync://rsync.mirrors.ustc.edu.cn/gentoo-portage/ +# sync-uri = rsync://mirrors.tuna.tsinghua.edu.cn/gentoo-portage auto-sync = yes sync-rsync-verify-jobs = 1 # 拉取 gpg 密钥很慢,关闭之 @@ -24,3 +25,9 @@ sync-webrsync-verify-signature = yes # for daily squashfs snapshots #sync-type = squashdelta #sync-uri = mirror://gentoo/../snapshots/squashfs + +[gentoo-zh] +location = /var/db/repos/gentoo-zh +sync-type = git +sync-uri = https://github.com/microcai/gentoo-zh.git +auto-sync = yes \ No newline at end of file