Compare commits
No commits in common. "189370f9d5fdcd53d3e8db56cb8a15daa17450e2" and "2b1ca4f29a60c1ddea0c44b6f789fe75edfcd3cb" have entirely different histories.
189370f9d5
...
2b1ca4f29a
|
@ -22,6 +22,7 @@ in {
|
|||
networkmanagerapplet # Internet configuration.
|
||||
pamixer pavucontrol pulseaudio # Audio.
|
||||
playerctl # Multimedia controls.
|
||||
sway-contrib.inactive-windows-transparency # Transparent unfocused windows.
|
||||
wl-clipboard # Clipboard.
|
||||
];
|
||||
|
||||
|
@ -35,4 +36,11 @@ in {
|
|||
"--config=${config}"
|
||||
];
|
||||
};
|
||||
|
||||
environment = {
|
||||
variables = {
|
||||
SWAY_IWT_PATH = "${pkgs.sway-contrib.inactive-windows-transparency}/bin/inactive-windows-transparency.py";
|
||||
# PATH = [ "/etc/swaybin" ]; # NOTE: Kept as an example on PATH modification.
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ wallpaper, style, ... }: let
|
||||
alpha = style.opacity.hex;
|
||||
alpha = style.opacity.inactive.hex;
|
||||
accent = style.color.accent + alpha;
|
||||
bg = style.color.bg.dark + alpha;
|
||||
border = style.color.border + alpha;
|
||||
|
|
|
@ -19,6 +19,9 @@
|
|||
# Fullscreen.
|
||||
bindsym $mod+${key.sway.window.fullscreen} fullscreen
|
||||
|
||||
# Dim inactive windows.
|
||||
exec $SWAY_IWT_PATH --opacity ${toString(style.opacity.inactive.int)}
|
||||
|
||||
# Drag floating windows by holding down $mod and left mouse button.
|
||||
# Resize them with right mouse button + $mod.
|
||||
# Despite the name, also works for non-floating windows.
|
||||
|
|
|
@ -70,8 +70,11 @@
|
|||
desktop = config.stylix.opacity.desktop;
|
||||
popup = config.stylix.opacity.popups;
|
||||
terminal = config.stylix.opacity.terminal;
|
||||
inactive = {
|
||||
int = 0.85;
|
||||
hex = "D9";
|
||||
};
|
||||
};
|
||||
|
||||
window = {
|
||||
gap = 8;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ style, util, setting, ... }: let
|
||||
alpha = style.opacity.hex;
|
||||
alpha = style.opacity.inactive.hex;
|
||||
in {
|
||||
config = util.trimTabs ''
|
||||
anchor=top-center
|
||||
|
|
|
@ -53,7 +53,6 @@
|
|||
JAVA_HOME = "${jdk}";
|
||||
LD_LIBRARY_PATH = "${lib.makeLibraryPath buildInputs}";
|
||||
ANDROID_SDK_ROOT = "${androidSdk}/libexec/android-sdk/";
|
||||
SOURCE_DATE_EPOCH = "${toString(self.lastModified)}";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -14,8 +14,6 @@
|
|||
default = pkgs.mkShell rec {
|
||||
nativeBuildInputs = with pkgs; [ ];
|
||||
buildInputs = with pkgs; [ ];
|
||||
|
||||
SOURCE_DATE_EPOCH = "${toString(self.lastModified)}";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -47,7 +47,6 @@
|
|||
tex
|
||||
];
|
||||
buildInputs = with pkgs; [ ];
|
||||
SOURCE_DATE_EPOCH = "${toString(self.lastModified)}";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -32,7 +32,6 @@
|
|||
xorg.libXi
|
||||
];
|
||||
LD_LIBRARY_PATH = "${lib.makeLibraryPath buildInputs}";
|
||||
SOURCE_DATE_EPOCH = "${toString(self.lastModified)}";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue