Changed waybar

This commit is contained in:
Aleksandr Lebedev 2024-11-07 21:24:07 +01:00
parent 67600e89a8
commit a6c775e46c
4 changed files with 16 additions and 7 deletions

View file

@ -136,6 +136,12 @@
kdePackages.kimageformats kdePackages.kimageformats
kdePackages.dolphin kdePackages.dolphin
kdePackages.dolphin-plugins kdePackages.dolphin-plugins
# user packages
obs-studio
vesktop
vscode-fhs
]; ];
programs.kdeconnect.enable = true; programs.kdeconnect.enable = true;
programs.kdeconnect.package = pkgs.kdePackages.kdeconnect-kde; programs.kdeconnect.package = pkgs.kdePackages.kdeconnect-kde;
@ -246,6 +252,9 @@
enable = true; enable = true;
image = ./hyprland/wallpaper.jpg; image = ./hyprland/wallpaper.jpg;
autoEnable = true; autoEnable = true;
opacity = {
desktop = 0.5;
};
targets = { targets = {
gtk.enable = true; gtk.enable = true;
}; };

View file

@ -71,8 +71,9 @@
# (pkgs.writeShellScriptBin "my-hello" '' # (pkgs.writeShellScriptBin "my-hello" ''
# echo "Hello, ${config.home.username}!" # echo "Hello, ${config.home.username}!"
# '') # '')
obs-studio #obs-studio
vesktop #vesktop
#vscode-fhs
]; ];

View file

@ -13,13 +13,12 @@
style = '' style = ''
${builtins.readFile ./waybarstyle.css} ${builtins.readFile ./waybarstyle.css}
* { * {
font-size: 15px; font-size: 15px;
} }
''; '';
settings = [{ settings = [{
height = 20; height = 36;
layer = "top"; layer = "top";
position = "top"; position = "top";
tray = { spacing = 3; }; tray = { spacing = 3; };
@ -27,7 +26,7 @@
#"hyprland/window" #"hyprland/window"
"clock" "clock"
]; ];
modules-left = [ "hyprland/workspaces" ]; modules-left = [ "hyprland/workspaces" "hyprland/window" ];
modules-right = [ modules-right = [
"pulseaudio" "pulseaudio"
"network" "network"

View file

@ -10,7 +10,7 @@ window {
/*font-weight: bold;*/ /*font-weight: bold;*/
} }
window#waybar { window#waybar {
background: rgba(0, 0, 0, 0); background: transparent;/*rgba(0, 0, 0, 0);*/
} }
/*-----module groups----*/ /*-----module groups----*/
.modules-right { .modules-right {