yipengsun / nix-config

My NixOS/nix-darwin config
2 stars 0 forks source link

Migrate my awesome wm config #8

Closed yipengsun closed 2 years ago

yipengsun commented 2 years ago
yipengsun commented 2 years ago

xsession looks like a bad idea. I'll roll my own xinit module and profile then.

yipengsun commented 2 years ago

This looks cool: https://github.com/guotsuan/awesome-revelation

yipengsun commented 2 years ago

Also, maybe I should solve this and #5 with a single module that writes custom .xinitrc.

yipengsun commented 2 years ago

Also, https://discourse.nixos.org/t/awesomewm-luamodules-apparently-not-taking-effect/8507 is useful to show how to include search path for awesome.

I might also use luajit.

yipengsun commented 2 years ago

Currently I'm just doing exec awesome in .xinitrc, and this suffers the same problem as mentioned in the discussion above, that awesome can't locate Lua modules:

❯ awesome --version
awesome 4.3 (Too long)
 • Compiled against Lua 5.2.4 (running with Lua 5.2)
 • D-Bus support: ✔
 • execinfo support: ✔
 • xcb-randr version: 1.6
 • LGI version: [string "return require('lgi.version')"]:1: module 'lgi.version' not found:
        no field package.preload['lgi.version']
        no file './share/lua/5.2/lgi/version.lua'
        no file './lgi/version.lua'
        no file './lgi/version/init.lua'
        no file './lib/lua/5.2/lgi/version.so'
        no file './lgi/version.so'
        no file './lib/lua/5.2/loadall.so'
        no file './lib/lua/5.2/lgi.so'
        no file './lgi.so'
        no file './lib/lua/5.2/loadall.so'
yipengsun commented 2 years ago

Something about a quake-esque drop-down terminal in lain: https://github.com/awesomeWM/awesome/issues/3495

yipengsun commented 2 years ago

OK, can't use luajit because latest lain requires lua5_3. Use that instead.

yipengsun commented 2 years ago

Dynamic tagging is provided by https://github.com/Elv13/tyrannical

yipengsun commented 2 years ago

OpenWeather now requires an API key: https://github.com/lcpz/lain/wiki/weather