bindings
This commit is contained in:
1 parent
8f9ba18f0a
commit
501f38b90f
3 files changed
+40
-5
No files matched your search
@@ -38,3 +38,42 @@ hl.bind(mod .. " + SHIFT + equal", hl.dsp.window.resize({ x = 0, y = 50, relativ
|
||||
-- =========================
|
||||
hl.bind(mod .. " + mouse:272", hl.dsp.window.drag(), { mouse = true })
|
||||
hl.bind(mod .. " + mouse:273", hl.dsp.window.resize(), { mouse = true })
|
||||
|
||||
-- =========================
|
||||
-- Remote Control
|
||||
-- =========================
|
||||
---- bottom colors
|
||||
-- hl.bind("F10", hl.dsp.exec_cmd("")) -- red
|
||||
hl.bind("F11", hl.dsp.exec_cmd("chromium")) -- green
|
||||
-- hl.bind("F12", hl.dsp.exec_cmd("")) -- blue
|
||||
-- hl.bind("XF86Tools", hl.dsp.exec_cmd("")) -- blue
|
||||
|
||||
---- bottom 3
|
||||
-- hl.bind("F8", hl.dsp.exec_cmd("")) -- cog
|
||||
hl.bind("XF86AudioRecord", hl.dsp.window.close()) -- red dot
|
||||
-- hl.bind("F9", hl.dsp.exec_cmd("")) -- PVR
|
||||
|
||||
---- play controls
|
||||
hl.bind("XF86AudioRewind", hl.dsp.exec_cmd("playerctl previous"))
|
||||
hl.bind("XF86AudioPlay", hl.dsp.exec_cmd("playerctl play"))
|
||||
hl.bind("XF86AudioForward", hl.dsp.exec_cmd("playerctl next"))
|
||||
hl.bind("XF86AudioStop", hl.dsp.exec_cmd("playerctl stop"))
|
||||
|
||||
hl.bind("XF86ChannelUp", hl.dsp.focus({ direction = "right" }))
|
||||
hl.bind("XF86ChannelDown", hl.dsp.focus({ direction = "left" }))
|
||||
hl.bind("XF86HomePage", hl.dsp.exec_cmd("dms ipc spotlight toggle"))
|
||||
hl.bind("XF86AudioRaiseVolume", hl.dsp.exec_cmd("noctalia msg volume-up"), { locked = true })
|
||||
hl.bind("XF86AudioLowerVolume", hl.dsp.exec_cmd("noctalia msg volume-down"), { locked = true })
|
||||
|
||||
---- middle
|
||||
-- hl.bind("F5", hl.dsp.exec_cmd("")) -- LIVE TV
|
||||
-- hl.bind("XF86Launch6", hl.dsp.exec_cmd("")) -- TV Series
|
||||
-- hl.bind("F7", hl.dsp.exec_cmd("")) -- Void
|
||||
-- hl.bind("XF86Launch5", hl.dsp.exec_cmd("")) -- ⭐ Fav
|
||||
-- hl.bind("F4", hl.dsp.exec_cmd("")) -- Server
|
||||
-- hl.bind("Menu", hl.dsp.exec_cmd("")) -- Menu
|
||||
-- hl.bind("F6", hl.dsp.exec_cmd("")) -- Guide
|
||||
-- hl.bind("XF86Back", hl.dsp.exec_cmd("")) -- Back
|
||||
-- hl.bind("F3", hl.dsp.exec_cmd("")) -- Last
|
||||
-- hl.bind("XF86Info", hl.dsp.exec_cmd("")) -- Info
|
||||
-- hl.bind("XF86Search", hl.dsp.exec_cmd("")) -- XF86Search
|
||||
@@ -302,12 +302,8 @@ in
|
||||
virtualisation.docker = {
|
||||
enable = true;
|
||||
daemon.settings = {
|
||||
# Allows containers to access /dev/kfd and /dev/dri
|
||||
"default-runtime" = "runc";
|
||||
};
|
||||
};
|
||||
services.flatpak.enable = true;
|
||||
services.flatpak.packages = [
|
||||
"org.chromium.Chromium"
|
||||
];
|
||||
}
|
||||
@@ -30,7 +30,7 @@ let
|
||||
services.libinput.enable = true;
|
||||
environment.systemPackages = with pkgs; [
|
||||
# Browser
|
||||
chromium
|
||||
(chromium.override { enableWideVine = true; })
|
||||
# General utils
|
||||
libinput
|
||||
busybox
|
||||
|
||||
Reference in new issue
Block a user