summaryrefslogtreecommitdiff
path: root/nixos/config/hypr/hyprland.lua
diff options
context:
space:
mode:
authorNantha Sorubakanthan <nantha@mielota.com>2026-06-07 13:01:13 +0200
committerNantha Sorubakanthan <nantha@mielota.com>2026-06-07 13:01:13 +0200
commit5549bbcc3c8f8c37b371b61fb7ac2b51f5a73a06 (patch)
treea24fdfd3e42f85a18491c0f99c24bf6200c7c32d /nixos/config/hypr/hyprland.lua
parent0f0e252fc0fe134c202536935ea30af3d220d828 (diff)
change cursor in hyprland
Diffstat (limited to 'nixos/config/hypr/hyprland.lua')
-rw-r--r--nixos/config/hypr/hyprland.lua17
1 files changed, 9 insertions, 8 deletions
diff --git a/nixos/config/hypr/hyprland.lua b/nixos/config/hypr/hyprland.lua
index 0472b3b..5bfb333 100644
--- a/nixos/config/hypr/hyprland.lua
+++ b/nixos/config/hypr/hyprland.lua
@@ -27,12 +27,17 @@ hl.on("hyprland.start", function()
hl.exec_cmd("sh ~/.local/bin/unblock-pipewire.sh")
hl.exec_cmd("gsettings set org.gnome.desktop.interface gtk-theme \"Adwaita-dark\"")
hl.exec_cmd("gsettings set org.gnome.desktop.interface color-scheme \"prefer-dark\"")
+ hl.exec_cmd("hyprpaper")
end)
hl.env("GDK_BACKEND", "wayland,x11,*")
hl.env("XDG_CURRENT_DESKTOP", "Hyprland")
hl.env("XDG_SESSION_TYPE", "wayland")
hl.env("XDG_SESSION_DESKTOP", "Hyprland")
+hl.env("XCURSOR_THEME", "Bibata-Modern-Ice")
+hl.env("XCURSOR_SIZE", 24)
+hl.env("HYPRCURSOR_THEME", "Bibata-Modern-Ice")
+hl.env("HYPRCURSOR_SIZE", 24)
hl.config({
general = {
@@ -121,14 +126,10 @@ hl.bind(mainMod .. " + SHIFT + S", hl.dsp.window.move({ workspace = "special:mag
hl.bind(mainMod .. " + mouse:272", hl.dsp.window.drag(), { mouse = true })
hl.bind(mainMod .. " + mouse:273", hl.dsp.window.resize(), { mouse = true })
-hl.bind("XF86AudioRaiseVolume", hl.dsp.exec_cmd("wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+"),
- { locked = true, repeating = true })
-hl.bind("XF86AudioLowerVolume", hl.dsp.exec_cmd("wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-"),
- { locked = true, repeating = true })
-hl.bind("XF86AudioMute", hl.dsp.exec_cmd("wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"),
- { locked = true, repeating = true })
-hl.bind("XF86AudioMicMute", hl.dsp.exec_cmd("wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle"),
- { locked = true, repeating = true })
+hl.bind("XF86AudioRaiseVolume", hl.dsp.exec_cmd("wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+"), { locked = true, repeating = true })
+hl.bind("XF86AudioLowerVolume", hl.dsp.exec_cmd("wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-"), { locked = true, repeating = true })
+hl.bind("XF86AudioMute", hl.dsp.exec_cmd("wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"), { locked = true, repeating = true })
+hl.bind("XF86AudioMicMute", hl.dsp.exec_cmd("wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle"), { locked = true, repeating = true })
hl.bind("XF86MonBrightnessUp", hl.dsp.exec_cmd("brightnessctl -e4 -n2 set 5%+"), { locked = true, repeating = true })
hl.bind("XF86MonBrightnessDown", hl.dsp.exec_cmd("brightnessctl -e4 -n2 set 5%-"), { locked = true, repeating = true })
hl.bind("XF86AudioNext", hl.dsp.exec_cmd("playerctl next"), { locked = true })