Compare commits

..

6 Commits

Author SHA1 Message Date
venus
9caa1f45f7 basic overhead changes 2026-08-23 21:16:30 -05:00
venus
4037267d07 added config for portable monitor 2026-08-23 21:16:08 -05:00
venus
29d6177022 modified menu bar to native noctalia 2026-08-23 21:15:30 -05:00
venus
f4c54aa047 addid fan profile swithcing, not functional 2026-08-23 21:14:35 -05:00
venus
5695563d26 modified keybind for adding fan state 2026-08-23 21:13:46 -05:00
venus
4fac1b88ca modified lock screen keybind, added additional layout switching
keybinds, changed noctalia integration keybinds
2026-08-23 21:10:58 -05:00
7 changed files with 43 additions and 67 deletions

View File

@@ -22,7 +22,8 @@ hl.bind(mainMod .. "+ SHIFT + I" ,hl.dsp.layout("swapwithmaster master"))
hl.bind(mainMod .. "+ I" ,hl.dsp.layout("rollnext"))
hl.bind(mainMod .. "+ O" ,hl.dsp.layout("swapnext loop"))
hl.bind(mainMod .. "+ SHIFT + O" ,hl.dsp.layout("swapprev"))
hl.bind(mainMod .. "+ SEMICOLON" ,hl.dsp.layout("orientationcycle left center right"))
hl.bind(mainMod .. "+ SEMICOLON" ,hl.dsp.layout("orientationcycle right center left "))
hl.bind(mainMod .. " + SHIFT + SEMICOLON" ,hl.dsp.layout("orientationcycle top bottom"))
-- 1.3 resize with arrows
hl.bind(mainMod .. " + right " ,hl.dsp.window.resize({ x = 20, y = 0, relative = true}) , {repeating = true})
hl.bind(mainMod .. " + left " ,hl.dsp.window.resize({ x =-20, y = 0, relative = true}) , {repeating = true})
@@ -137,17 +138,19 @@ hl.bind(mainMod .. "+ CTRL + G" ,hl.dsp.exec_cmd("kitty agy" ,{ tag = "popu
---- 6. CUSTOM SCRIPTS AND FUNCTIONS ----
-- 6.1 custom key assignments
hl.config({ input = { kb_options = "caps:hyper", }})
hl.bind(hyper.. " + Hyper_L" ,function() hl.dispatch(hl.dsp.exec_cmd(ipc .. "plugin:clipper openPanel")) hl.dispatch(hl.dsp.submap("hyper-submap")) end)
-- hl.bind(hyper.. " + Hyper_L" ,function() hl.dispatch(hl.dsp.exec_cmd(ipc .. "plugin:clipper openPanel")) hl.dispatch(hl.dsp.submap("hyper-submap")) end)
hl.bind(hyper .. " + Hyper_L" ,hl.dsp.exec_cmd("noctalia msg panel-toggle clipboard"))
-- TODO fix remote screen and remote keyboard shortcuts
hl.bind(mainMod .. " + I" ,custom.remoteKM) -- Send Keyboard and Mouse input to phone via scrcpy
hl.bind(mainMod .. " + SHIFT + I" ,custom.remoteScreen) -- Open Phone Screen via scrcpy
hl.bind(mainMod .. " + CTRL + I" ,custom.remoteKM) -- Send Keyboard and Mouse input to phone via scrcpy
hl.bind(mainMod .. " + ALT + I" ,custom.remoteScreen) -- Open Phone Screen via scrcpy
hl.bind(mainMod .. "+ grave" ,custom.ToggleOddessyConnection) -- Toggle Oddesy monitor connection in hyprland
---- 7.
hl.bind(mainMod .. " + comma" ,hl.dsp.exec_cmd(ipc .. "controlCenter toggle"))
hl.bind(mainMod .. " + period" ,hl.dsp.exec_cmd(ipc .. "settings toggle"))
hl.bind(mainMod .. " + CTRL + SHIFT + L " ,hl.dsp.exec_cmd(ipc .. "lockScreen lock"))
hl.bind(mainMod .. " + ALT + L " ,hl.dsp.exec_cmd(ipc .. "lockScreen lock"))
hl.bind("ALT + C" ,hl.dsp.exec_cmd(ipc .. "plugin:clipper openPanel"))
hl.bind("code:148" ,hl.dsp.exec_cmd(ipc .. "plugin:noctalia-calulator toggle"))
hl.bind("PRINT" ,hl.dsp.exec_cmd("hyprshot -m active -m window --output-folder ~/Images/Screenshots"))

View File

@@ -69,7 +69,7 @@ hl.define_submap("quick-settings", function () -- An Interface for quickly acces
hl.bind(" L " ,hl.dsp.exec_cmd(ipc .. "sessionMenu toggle"))
hl.bind("B " ,hl.dsp.exec_cmd(ipc .. "battery togglePanel -- toggle battery panel"))
hl.bind("SHIFT + C " ,hl.dsp.exec_cmd(ipc .. "calendar toggle"))
hl.bind("F" ,hl.dsp.exec_cmd(ipc .. "calendar toggle"))
hl.bind("F" ,custom.switchFanSate)
-- Bind Submaps
hl.bind("L" ,hl.dsp.submap("layouts"))
hl.bind("N" ,function ()

View File

@@ -41,7 +41,17 @@ local function fanState()
local result = handle:read("*a")
handle:close()
return "lazy"
if result:find("laziest") then
return "laziest"
end
if result:find("medium") then
return "medium"
end
if result:find("deaf") then
return "deaf"
end
return "unknown"
end
function C.switchFanSate()
@@ -49,12 +59,15 @@ function C.switchFanSate()
if fanState() == "unknown" then
hl.exec_cmd('notify-send "fan profile unknown"')
return
elseif fanState() == "lazy" then
hl.exec_cmd("fw-fanctl set performance")
hl.exec_cmd('notify-send "fan profile set to performance"')
elseif fanState() == "laziest" then
hl.exec_cmd("fw-fanctl set medium")
hl.exec_cmd('notify-send "fan profile set to medium"')
elseif fanState() == "medium" then
hl.exec_cmd("fw-fanctl set deaf")
hl.exec_cmd('notify-send "fan profile set to deaf"')
else
hl.exec_cmd("fw-fanctl set lazy")
hl.exec_cmd('notify-send "fan profile set to lazy"')
hl.exec_cmd("fw-fanctl set laziest")
hl.exec_cmd('notify-send "fan profile set to laziest"')
end
end

View File

@@ -7,8 +7,9 @@ _G.fileManager = "dolphin"
_G.menu = "qs -c noctalia-shell ipc call launcher toggle"
_G.launcher = "vicinae"
_G.browser = "firefox"
_G.menuBar = "qs -c noctalia-shell"
_G.shellWrapper = "qs -c noctalia-shell"
-- _G.menuBar = "qs -c noctalia-shell"
_G.menuBar = "noctalia"
-- _G.shellWrapper = "qs -c noctalia-shell"
_G.blkmanager = "udiskie"
_G.email = "thunderbird"
_G.notes = "obsidian"
@@ -54,5 +55,3 @@ require("basic/devices")
-- require("plugins")
require("monitors")
-- For Noctalia Color templates
-- require("noctalia").apply_theme()

View File

@@ -1,7 +1,7 @@
background = rgba(000000ff)
base = rgba(000000ff)
text = rgba(e8d8ffff)
alternate_base = rgba(110d1aff)
bright_text = rgba(000000ff)
accent = rgba(b58fffff)
accent_secondary = rgba(c79affff)
background = rgba(191724ff)
base = rgba(191724ff)
text = rgba(e0def4ff)
alternate_base = rgba(26233aff)
bright_text = rgba(191724ff)
accent = rgba(ebbcbaff)
accent_secondary = rgba(9ccfd8ff)

View File

@@ -12,3 +12,9 @@ hl.monitor({
position = "auto", -- Or specific coordinates like "1920x0"
scale = 2 -- Increase if the UI is too small to read
})
hl.monitor({
output = "DP-4",
mode = "3840x1080@59.97Hz", -- Adjust to your phone's native resolution
position = "auto", -- Or specific coordinates like "1920x0"
scale = 2 -- Increase if the UI is too small to read
})

View File

@@ -1,45 +0,0 @@
-- Generated by Noctalia
local primary = "rgb(c8c4d7)"
local surface = "rgb(141314)"
local secondary = "rgb(c9c5cd)"
local error = "rgb(ffb4ab)"
local function apply_theme()
hl.config({
general = {
col = {
active_border = primary,
inactive_border = surface,
},
},
group = {
col = {
border_active = secondary,
border_inactive = surface,
border_locked_active = error,
border_locked_inactive = surface,
},
groupbar = {
col = {
active = secondary,
inactive = surface,
locked_active = error,
locked_inactive = surface,
},
},
},
})
end
return {
colors = {
primary = primary,
surface = surface,
secondary = secondary,
error = error,
},
apply_theme = apply_theme
}