mirror of
https://github.com/librephoenix/nixos-config
synced 2025-04-21 01:34:34 +05:30
Set cursor theme
This commit is contained in:
parent
0d4a95157a
commit
97251a7c87
|
@ -1,4 +1,4 @@
|
||||||
{ config, lib, pkgs, stdenv, browser, term, spawnEditor, font, hyprland-plugins, ... }:
|
{ config, lib, pkgs, stdenv, toString, browser, term, spawnEditor, font, hyprland-plugins, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
|
@ -10,6 +10,12 @@
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
|
gtk.cursorTheme = {
|
||||||
|
package = pkgs.quintom-cursor-theme;
|
||||||
|
name = if (config.stylix.polarity == "light") then "Quintom_Ink" else "Quintom_Snow";
|
||||||
|
size = 36;
|
||||||
|
};
|
||||||
|
|
||||||
wayland.windowManager.hyprland = {
|
wayland.windowManager.hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
plugins = [
|
plugins = [
|
||||||
|
@ -18,6 +24,8 @@
|
||||||
settings = { };
|
settings = { };
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
exec-once = dbus-update-activation-environment DISPLAY XAUTHORITY WAYLAND_DISPLAY
|
exec-once = dbus-update-activation-environment DISPLAY XAUTHORITY WAYLAND_DISPLAY
|
||||||
|
exec-once = hyprctl setcursor '' + config.gtk.cursorTheme.name + " " + builtins.toString config.gtk.cursorTheme.size + ''
|
||||||
|
|
||||||
exec-once = pypr
|
exec-once = pypr
|
||||||
exec-once = nm-applet
|
exec-once = nm-applet
|
||||||
exec-once = GOMAXPROCS=1 syncthing --no-browser
|
exec-once = GOMAXPROCS=1 syncthing --no-browser
|
||||||
|
|
Loading…
Reference in a new issue