add some qt theming and waybar modules

This commit is contained in:
Leonardo Eugênio 2022-07-21 00:29:12 -03:00
parent cc9f895ec5
commit ed6f853da0
2 changed files with 30 additions and 4 deletions

View file

@ -177,6 +177,7 @@ in
enable = true;
wrapperFeatures.gtk = true;
};
# programs.qt5ct.enable = true;
programs.steam.enable = true;
# Some programs need SUID wrappers, can be configured further or are
# started in user sessions.

View file

@ -108,6 +108,8 @@ in {
# Theming
orchis_theme_compact
papirus_red
libsForQt5.qtstyleplugins
qt5.qtsvg
## fonts
liberation_ttf
hack-font
@ -229,7 +231,7 @@ in {
"clock"
];
modules-right = [
"tray"
"pulseaudio"
"network"
];
"network" = {
@ -242,9 +244,30 @@ in {
"format-linked" = "";
"format-disconnected" = "";
};
"tray" = {
"spacing" = 7;
"icon-size" = 19;
"clock" = {
"interval"=60;
"format"="<b>{:%H:%M %a %d/%m}</b>";
"tooltip"=false;
};
"pulseaudio"= {
"interval"= 5;
"tooltip"=false;
"scroll-step"= 10;
"format"= "{icon}";
"format-bluetooth"= "";
"format-bluetooth-muted"= "";
"format-muted"= "";
"format-icons"= {
"headphone"= [" " " 奔" " "];
"handsfree"= "";
"headset"= "";
"phone"= "";
"portable"= "";
"car"= "";
"default"= ["" "奔" ""];
};
"on-click"= "pavucontrol";
"on-click-right"= "pulse-sink";
};
}];
style = ''
@ -553,6 +576,7 @@ in {
// workspace_binds
// prev_next_binds
// movement_binds
// audio_binds
// system_binds
# // map (key: "$mod+${key} workspace prev_on_output") [ key.tabL "bracketleft" "Prior" "button9" "button4" ]
# // map (key: "$mod+${key} workspace next_on_output") [ key.tabL "bracketleft" "Prior" "button9" "button4" ]
@ -615,6 +639,7 @@ in {
style.package = pkgs.libsForQt5.qtstyleplugins;
style.name = "gtk2";
};
programs.mangohud.enable = true;
systemd.user.services = {
firefox = {