From d8fb3446661a1f220b3e576c39d612eca2b15bce Mon Sep 17 00:00:00 2001 From: Andrew Luchuk Date: Sat, 5 Sep 2026 11:39:26 -0400 Subject: [PATCH] Various Improvements --- dms/colors.lua | 27 +++++++++++++++++++++++++++ hyprland.lua | 1 + keybinds.lua | 19 ++++++++++--------- 3 files changed, 38 insertions(+), 9 deletions(-) create mode 100644 dms/colors.lua diff --git a/dms/colors.lua b/dms/colors.lua new file mode 100644 index 0000000..3d2febb --- /dev/null +++ b/dms/colors.lua @@ -0,0 +1,27 @@ +-- Auto-generated by DMS Matugen hook — do not edit manually. +-- Remove require("dms.colors") from hyprland.lua to override. + +hl.config({ + general = { + col = { + active_border = "rgb(9ecafc)", + inactive_border = "rgb(8c9199)", + }, + }, + group = { + col = { + border_active = "rgb(9ecafc)", + border_inactive = "rgb(8c9199)", + border_locked_active = "rgb(ffb4ab)", + border_locked_inactive = "rgb(8c9199)", + }, + groupbar = { + col = { + active = "rgb(9ecafc)", + inactive = "rgb(8c9199)", + locked_active = "rgb(ffb4ab)", + locked_inactive = "rgb(8c9199)", + }, + }, + }, +}) diff --git a/hyprland.lua b/hyprland.lua index d8d536e..073f94a 100644 --- a/hyprland.lua +++ b/hyprland.lua @@ -67,6 +67,7 @@ hl.env("QT_QPA_Plafrom", "wayland") hl.env("ELECTRON_OZONE_PLATFORM_HINT", "auto") hl.env("QT_QPA_PLATFORMTHEME", "gtk3") hl.env("QT_QPA_PLATFORMTHEME_QT6", "gtk3") +hl.env("GTK_THEME", "Adwaita:dark") ----------------------- diff --git a/keybinds.lua b/keybinds.lua index 022389e..8598a78 100644 --- a/keybinds.lua +++ b/keybinds.lua @@ -31,15 +31,16 @@ hl.bind(mainMod .. " + CTRL + R", hl.dsp.exec_cmd("hyprctl reload")) -- Specialized Keybinds (such as play, volume up/down, etc) -hl.bind("XF86MonBrightnessUp", hl.dsp.exec_cmd("brightnessctl -q s +10%")) -hl.bind("XF86MonBrightnessDown", hl.dsp.exec_cmd("brightnessctl -q s 10-%")) -hl.bind("XF86AudioRaiseVolume", hl.dsp.exec_cmd("wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+")) -hl.bind("XF86AudioLowerVolume", hl.dsp.exec_cmd("wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-")) -hl.bind("XF86AudioMute", hl.dsp.exec_cmd("pactl set-sink-mute @DEFAULT_SINK@ toggle")) -hl.bind("XF86AudioPlay", hl.dsp.exec_cmd("playerctl play-pause")) -hl.bind("XF86AudioPause", hl.dsp.exec_cmd("playerctl pause")) -hl.bind("XF86AudioNext", hl.dsp.exec_cmd("playerctl next")) -hl.bind("XF86AudioPrev", hl.dsp.exec_cmd("playerctl previous")) +-- The commented out Keybinds are provided by DMS, so I re-adding them can cause conflicts +-- hl.bind("XF86MonBrightnessUp", hl.dsp.exec_cmd("brightnessctl -q s +10%")) +-- hl.bind("XF86MonBrightnessDown", hl.dsp.exec_cmd("brightnessctl -q s 10-%")) +-- hl.bind("XF86AudioRaiseVolume", hl.dsp.exec_cmd("wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+")) +-- hl.bind("XF86AudioLowerVolume", hl.dsp.exec_cmd("wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-")) +-- hl.bind("XF86AudioMute", hl.dsp.exec_cmd("pactl set-sink-mute @DEFAULT_SINK@ toggle")) +-- hl.bind("XF86AudioPlay", hl.dsp.exec_cmd("playerctl play-pause")) +-- hl.bind("XF86AudioPause", hl.dsp.exec_cmd("playerctl pause")) +-- hl.bind("XF86AudioNext", hl.dsp.exec_cmd("playerctl next")) +-- hl.bind("XF86AudioPrev", hl.dsp.exec_cmd("playerctl previous")) hl.bind("code:238", hl.dsp.exec_cmd("brightnessctl -d smc::kbd_backlight s +10")) hl.bind("XF86Calculator", hl.dsp.exec_cmd(calculator))