Compare commits
2 commits
2b1ca4f29a
...
189370f9d5
Author | SHA1 | Date | |
---|---|---|---|
Dmitry Voronin | 189370f9d5 | ||
Dmitry Voronin | b0fe4f6ec7 |
|
@ -16,14 +16,13 @@ in {
|
||||||
|
|
||||||
services.gnome.gnome-keyring.enable = lib.mkForce false;
|
services.gnome.gnome-keyring.enable = lib.mkForce false;
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
gnome.adwaita-icon-theme # GTK icons.
|
gnome.adwaita-icon-theme # GTK icons.
|
||||||
grim slurp # Screenshot.
|
grim slurp # Screenshot.
|
||||||
mako # Notification system.
|
mako # Notification system.
|
||||||
networkmanagerapplet # Internet configuration.
|
networkmanagerapplet # Internet configuration.
|
||||||
pamixer pavucontrol pulseaudio # Audio.
|
pamixer pavucontrol pulseaudio # Audio.
|
||||||
playerctl # Multimedia controls.
|
playerctl # Multimedia controls.
|
||||||
sway-contrib.inactive-windows-transparency # Transparent unfocused windows.
|
wl-clipboard # Clipboard.
|
||||||
wl-clipboard # Clipboard.
|
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.sway = {
|
programs.sway = {
|
||||||
|
@ -36,11 +35,4 @@ in {
|
||||||
"--config=${config}"
|
"--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
|
{ wallpaper, style, ... }: let
|
||||||
alpha = style.opacity.inactive.hex;
|
alpha = style.opacity.hex;
|
||||||
accent = style.color.accent + alpha;
|
accent = style.color.accent + alpha;
|
||||||
bg = style.color.bg.dark + alpha;
|
bg = style.color.bg.dark + alpha;
|
||||||
border = style.color.border + alpha;
|
border = style.color.border + alpha;
|
||||||
|
|
|
@ -19,9 +19,6 @@
|
||||||
# Fullscreen.
|
# Fullscreen.
|
||||||
bindsym $mod+${key.sway.window.fullscreen} 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.
|
# Drag floating windows by holding down $mod and left mouse button.
|
||||||
# Resize them with right mouse button + $mod.
|
# Resize them with right mouse button + $mod.
|
||||||
# Despite the name, also works for non-floating windows.
|
# Despite the name, also works for non-floating windows.
|
||||||
|
|
|
@ -70,10 +70,7 @@
|
||||||
desktop = config.stylix.opacity.desktop;
|
desktop = config.stylix.opacity.desktop;
|
||||||
popup = config.stylix.opacity.popups;
|
popup = config.stylix.opacity.popups;
|
||||||
terminal = config.stylix.opacity.terminal;
|
terminal = config.stylix.opacity.terminal;
|
||||||
inactive = {
|
hex = "D9";
|
||||||
int = 0.85;
|
|
||||||
hex = "D9";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
window = {
|
window = {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{ style, util, setting, ... }: let
|
{ style, util, setting, ... }: let
|
||||||
alpha = style.opacity.inactive.hex;
|
alpha = style.opacity.hex;
|
||||||
in {
|
in {
|
||||||
config = util.trimTabs ''
|
config = util.trimTabs ''
|
||||||
anchor=top-center
|
anchor=top-center
|
||||||
|
|
|
@ -49,10 +49,11 @@
|
||||||
];
|
];
|
||||||
buildInputs = with pkgs; [];
|
buildInputs = with pkgs; [];
|
||||||
|
|
||||||
GRADLE_OPTS = "-Dorg.gradle.project.android.aapt2FromMavenOverride=${androidSdk}/libexec/android-sdk/build-tools/${buildTools}/aapt2";
|
GRADLE_OPTS = "-Dorg.gradle.project.android.aapt2FromMavenOverride = ${androidSdk}/libexec/android-sdk/build-tools/${buildTools}/aapt2";
|
||||||
JAVA_HOME = "${jdk}";
|
JAVA_HOME = "${jdk}";
|
||||||
LD_LIBRARY_PATH = "${lib.makeLibraryPath buildInputs}";
|
LD_LIBRARY_PATH = "${lib.makeLibraryPath buildInputs}";
|
||||||
ANDROID_SDK_ROOT = "${androidSdk}/libexec/android-sdk/";
|
ANDROID_SDK_ROOT = "${androidSdk}/libexec/android-sdk/";
|
||||||
|
SOURCE_DATE_EPOCH = "${toString(self.lastModified)}";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -14,6 +14,8 @@
|
||||||
default = pkgs.mkShell rec {
|
default = pkgs.mkShell rec {
|
||||||
nativeBuildInputs = with pkgs; [ ];
|
nativeBuildInputs = with pkgs; [ ];
|
||||||
buildInputs = with pkgs; [ ];
|
buildInputs = with pkgs; [ ];
|
||||||
|
|
||||||
|
SOURCE_DATE_EPOCH = "${toString(self.lastModified)}";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -47,6 +47,7 @@
|
||||||
tex
|
tex
|
||||||
];
|
];
|
||||||
buildInputs = with pkgs; [ ];
|
buildInputs = with pkgs; [ ];
|
||||||
|
SOURCE_DATE_EPOCH = "${toString(self.lastModified)}";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -32,6 +32,7 @@
|
||||||
xorg.libXi
|
xorg.libXi
|
||||||
];
|
];
|
||||||
LD_LIBRARY_PATH = "${lib.makeLibraryPath buildInputs}";
|
LD_LIBRARY_PATH = "${lib.makeLibraryPath buildInputs}";
|
||||||
|
SOURCE_DATE_EPOCH = "${toString(self.lastModified)}";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue