hisso.li
  • Login
Show Navigation
  • Public

    • Groups

Conversation

Notices

  1. matoken (matoken@gnusocial.matoken.org)'s status on Sunday, 26-Aug-2018 21:17:32 JST matoken matoken
    awesome wm の設定ファイルの rc.lua に ~ とか $HOME とか使えないようなのでフルマスで書いてたんだけどいつもと違うアカウントに clone して色々動かなく><
    調べたら os.getenv("HOME") で拾えるよう
    こんな感じにした

    +home = os.getenv("HOME")

    - awful.key({ }, "Print", function () awful.util.spawn("/home/mk/.config/awesome/bin/ss-root.sh", false) end),
    - awful.key({ "Mod1" }, "Print", function () awful.util.spawn("/home/mk/.config/awesome/bin/ss-window.sh", false) end),
    - awful.key({ "Shift" }, "Print", function () awful.util.spawn("/home/mk/.config/awesome/bin/ss-area.sh", false) end),
    + awful.key({ }, "Print", function () awful.util.spawn(home .. "/.config/awesome/bin/ss-root.sh", false) end),
    + awful.key({ "Mod1" }, "Print", function () awful.util.spawn(home .. "/.config/awesome/bin/ss-window.sh", false) end),
    + awful.key({ "Shift" }, "Print", function () awful.util.spawn(home .. "/.config/awesome/bin/ss-area.sh", false) end),
    In conversation Sunday, 26-Aug-2018 21:17:32 JST from gnusocial.matoken.org permalink
    • Help
    • About
    • FAQ
    • Privacy
    • Source
    • Version
    • Contact

    hisso.li is a social network. It runs on GNU social, version 2.0.0-alpha0, available under the GNU Affero General Public License.

    Creative Commons Attribution 3.0 All hisso.li content and data are available under the Creative Commons Attribution 3.0 license.

    Switch to desktop site layout.