Compare commits
2 changed files with 18 additions and 36 deletions
|
|
@ -45,8 +45,7 @@ in
|
||||||
|
|
||||||
# The default theme, minus its hardcoded @define-color palette, so the GTK theme's colors show through
|
# The default theme, minus its hardcoded @define-color palette, so the GTK theme's colors show through
|
||||||
environment.etc."xdg/walker/themes/system/style.css".source =
|
environment.etc."xdg/walker/themes/system/style.css".source =
|
||||||
pkgs.runCommand "walker-system-style.css" { }
|
pkgs.runCommand "walker-system-style.css" { } ''
|
||||||
''
|
|
||||||
sed '/^@define-color/d' ${pkgs.walker.src}/resources/themes/default/style.css > $out
|
sed '/^@define-color/d' ${pkgs.walker.src}/resources/themes/default/style.css > $out
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
@ -138,14 +137,6 @@ in
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
# # Blur behind gaypanel's semi-transparent background
|
|
||||||
# layer-rules = [
|
|
||||||
# {
|
|
||||||
# match-namespace = [ "^panel$" ];
|
|
||||||
# blur.disable = false;
|
|
||||||
# }
|
|
||||||
# ];
|
|
||||||
|
|
||||||
outputs = {
|
outputs = {
|
||||||
HDMI-A-1.position.x = 0;
|
HDMI-A-1.position.x = 0;
|
||||||
DP-3.position.x = 1920;
|
DP-3.position.x = 1920;
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@
|
||||||
let
|
let
|
||||||
bar = pkgs.writeText "top.blp" ''
|
bar = pkgs.writeText "top.blp" ''
|
||||||
using Gtk 4.0;
|
using Gtk 4.0;
|
||||||
|
using Adw 1;
|
||||||
|
|
||||||
$GayPanel panel {
|
$GayPanel panel {
|
||||||
anchor-direction: top;
|
anchor-direction: top;
|
||||||
|
|
@ -33,17 +34,6 @@ let
|
||||||
}
|
}
|
||||||
|
|
||||||
[end]
|
[end]
|
||||||
Box {
|
|
||||||
spacing: 4;
|
|
||||||
|
|
||||||
// Hides itself when nothing is playing
|
|
||||||
$MprisWidget {
|
|
||||||
styles [
|
|
||||||
"pill",
|
|
||||||
"flat",
|
|
||||||
]
|
|
||||||
}
|
|
||||||
|
|
||||||
$SystemControlsWidget {
|
$SystemControlsWidget {
|
||||||
styles [
|
styles [
|
||||||
"pill",
|
"pill",
|
||||||
|
|
@ -52,14 +42,10 @@ let
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
# GNOME-style workspace dots, with the active one stretched into a pill
|
||||||
style = pkgs.writeText "style.css" ''
|
style = pkgs.writeText "style.css" ''
|
||||||
window.panel {
|
|
||||||
background: alpha(var(--window-bg-color), 0.5);
|
|
||||||
}
|
|
||||||
|
|
||||||
.workspaces button {
|
.workspaces button {
|
||||||
min-width: 8px;
|
min-width: 8px;
|
||||||
min-height: 8px;
|
min-height: 8px;
|
||||||
|
|
@ -71,6 +57,7 @@ let
|
||||||
|
|
||||||
.workspaces button.selected {
|
.workspaces button.selected {
|
||||||
min-width: 32px;
|
min-width: 32px;
|
||||||
|
padding: 0;
|
||||||
background: var(--window-fg-color);
|
background: var(--window-fg-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -81,9 +68,13 @@ let
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
wrappers.gaypanel = {
|
wrappers.gaypanel = {
|
||||||
basePackage = inputs.gaypanel.packages.${pkgs.stdenv.hostPlatform.system}.default.overrideAttrs {
|
basePackage =
|
||||||
patches = [ ./no-sound-panic.patch ];
|
inputs.gaypanel.packages.${pkgs.stdenv.hostPlatform.system}.default.overrideAttrs
|
||||||
};
|
(old: {
|
||||||
|
patches = (old.patches or [ ]) ++ [
|
||||||
|
./no-sound-panic.patch
|
||||||
|
];
|
||||||
|
});
|
||||||
|
|
||||||
prependFlags = [
|
prependFlags = [
|
||||||
"--config"
|
"--config"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue