fix: cursor size inconsistent
This commit is contained in:
parent
1307aa78fa
commit
5951b04024
11 changed files with 81 additions and 41 deletions
|
|
@ -1,4 +1,9 @@
|
|||
{ pkgs, lib, inputs, system, terminal }:
|
||||
{
|
||||
pkgs,
|
||||
terminal,
|
||||
xcursor-size,
|
||||
...
|
||||
}:
|
||||
let
|
||||
swayncScript = pkgs.pkgs.writeShellScriptBin "swaync-start" ''
|
||||
XDG_CONFIG_HOME="$HOME/.dummy" # Prevent swaync use default gtk theme
|
||||
|
|
@ -10,6 +15,8 @@ let
|
|||
dconf write /org/cinnamon/desktop/applications/terminal/exec "''\'${terminal}''\'" &
|
||||
dconf write /org/cinnamon/desktop/applications/terminal/exec-arg "''\'''\'" &
|
||||
|
||||
dconf write /org/gnome/desktop/interface/cursor-size ${xcursor-size} &
|
||||
|
||||
uwsm app -- ${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1 &
|
||||
uwsm app -- ${swayncScript}/bin/swaync-start &
|
||||
dbus-update-activation-environment --systemd --all &
|
||||
|
|
@ -24,4 +31,3 @@ let
|
|||
'';
|
||||
in
|
||||
''${startupScript}/bin/start''
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue