mirror of
https://github.com/EdenQwQ/nixos.git
synced 2026-07-16 22:16:51 +08:00
update flake, maomao->mango
This commit is contained in:
parent
40e8577af0
commit
01c25a82c8
16 changed files with 158 additions and 154 deletions
|
|
@ -1,3 +1,4 @@
|
|||
{ inputs, pkgs, ... }:
|
||||
{
|
||||
programs.firefox = {
|
||||
enable = true;
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
./niri
|
||||
./swhkd.nix
|
||||
./scroll
|
||||
./maomaowm
|
||||
./mango
|
||||
];
|
||||
home.packages = with pkgs; [
|
||||
swww
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
./waybar.nix
|
||||
];
|
||||
|
||||
wayland.windowManager.maomaowm = {
|
||||
wayland.windowManager.mango = {
|
||||
enable = true;
|
||||
settings =
|
||||
with config.lib.stylix.colors;
|
||||
|
|
@ -337,14 +337,14 @@
|
|||
killall swhkd
|
||||
killall swhks
|
||||
swhks &
|
||||
doas swhkd -c ~/.config/maomao/swhkdrc &
|
||||
doas swhkd -c ~/.config/mango/swhkdrc &
|
||||
swww kill
|
||||
swww-daemon --namespace background &
|
||||
killall clash-meta
|
||||
clash-meta -d ~/.config/clash &
|
||||
wlsunset -s 00:00 -S 00:00 -t 5000 -T 5001 &
|
||||
killall .waybar-wrapped
|
||||
waybar -c ~/.config/maomao/waybar/config.jsonc -s ~/.config/maomao/waybar/style.css &
|
||||
waybar -c ~/.config/mango/waybar/config.jsonc -s ~/.config/mango/waybar/style.css &
|
||||
killall .nm-applet-wrap
|
||||
killall .blueman-applet
|
||||
fcitx5 -d -r &
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
{ user, ... }:
|
||||
{
|
||||
xdg.configFile."maomao/swhkdrc".text = ''
|
||||
xdg.configFile."mango/swhkdrc".text = ''
|
||||
include /home/${user}/.config/swhkd/basic.swhkdrc
|
||||
include /home/${user}/.config/swhkd/tofi.swhkdrc
|
||||
'';
|
||||
|
|
@ -136,7 +136,7 @@ in
|
|||
};
|
||||
};
|
||||
home.file = {
|
||||
".config/maomao/waybar/config.jsonc".text =
|
||||
".config/mango/waybar/config.jsonc".text =
|
||||
let
|
||||
otherMonitorsConfig =
|
||||
map (
|
||||
|
|
@ -188,19 +188,19 @@ in
|
|||
]
|
||||
|
||||
'';
|
||||
".config/maomao/waybar/colors.css".text =
|
||||
".config/mango/waybar/colors.css".text =
|
||||
# css
|
||||
(builtins.mapAttrs (name: value: "@define-color ${name} ${value};") colors)
|
||||
|> builtins.attrValues
|
||||
|> builtins.concatStringsSep "\n";
|
||||
".config/maomao/waybar/tray.css".text =
|
||||
".config/mango/waybar/tray.css".text =
|
||||
# css
|
||||
''
|
||||
#tray {
|
||||
background: shade(alpha(${trayBackgroundColor}, 0.9), 1);
|
||||
}
|
||||
'';
|
||||
".config/maomao/waybar/style.css".text =
|
||||
".config/mango/waybar/style.css".text =
|
||||
# css
|
||||
''
|
||||
@import "animation.css";
|
||||
|
|
@ -383,9 +383,9 @@ in
|
|||
#tray > .needs-attention {
|
||||
-gtk-icon-effect: highlight;
|
||||
}
|
||||
|
||||
'';
|
||||
".config/maomao/waybar/animation.css".text =
|
||||
|
||||
'';
|
||||
".config/mango/waybar/animation.css".text =
|
||||
# css
|
||||
''
|
||||
@keyframes gradient {
|
||||
|
|
@ -11,6 +11,7 @@ in
|
|||
autoEnable = false;
|
||||
targets.gtk.enable = true;
|
||||
targets.gtk.flatpakSupport.enable = true;
|
||||
polarity = "dark";
|
||||
cursor = {
|
||||
package = pkgs.graphite-cursors;
|
||||
name = "graphite-dark";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue