hosts/miyagi/sway: set cursor
This commit is contained in:
parent
6ff37f3c54
commit
e26739a272
1 changed files with 25 additions and 4 deletions
|
@ -7,10 +7,17 @@
|
|||
{
|
||||
services.greetd = {
|
||||
enable = true;
|
||||
settings.default_session = {
|
||||
command = "${lib.getExe pkgs.greetd.tuigreet} --time --cmd ${lib.getExe config.programs.sway.package}";
|
||||
user = "niko";
|
||||
};
|
||||
settings.default_session =
|
||||
let
|
||||
swayWrapper = pkgs.writeShellScript "sway-wrapper" ''
|
||||
export XCURSOR_THEME=volantes_cursors
|
||||
exec ${lib.getExe config.programs.sway.package}
|
||||
'';
|
||||
in
|
||||
{
|
||||
command = "${lib.getExe pkgs.greetd.tuigreet} --time --cmd ${swayWrapper}";
|
||||
user = "niko";
|
||||
};
|
||||
};
|
||||
|
||||
programs.sway = {
|
||||
|
@ -25,6 +32,11 @@
|
|||
settei.user.config =
|
||||
{ config, ... }:
|
||||
{
|
||||
home.pointerCursor = {
|
||||
name = "volantes_cursors";
|
||||
package = pkgs.volantes-cursors;
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
(writeShellApplication {
|
||||
name = "lock";
|
||||
|
@ -124,6 +136,15 @@
|
|||
output = "DP-1";
|
||||
}
|
||||
];
|
||||
config.seat."*" = {
|
||||
xcursor_theme = "volantes_cursors 24";
|
||||
};
|
||||
config.startup = [
|
||||
{
|
||||
command = "${lib.getExe' pkgs.glib "gsettings"} set org.gnome.desktop.interface cursor-theme 'volantes_cursors'";
|
||||
always = true;
|
||||
}
|
||||
];
|
||||
};
|
||||
programs.rofi = {
|
||||
enable = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue