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; enable = true;
wrapperFeatures.gtk = true; wrapperFeatures.gtk = true;
}; };
# programs.qt5ct.enable = true;
programs.steam.enable = true; programs.steam.enable = true;
# Some programs need SUID wrappers, can be configured further or are # Some programs need SUID wrappers, can be configured further or are
# started in user sessions. # started in user sessions.

View file

@ -108,6 +108,8 @@ in {
# Theming # Theming
orchis_theme_compact orchis_theme_compact
papirus_red papirus_red
libsForQt5.qtstyleplugins
qt5.qtsvg
## fonts ## fonts
liberation_ttf liberation_ttf
hack-font hack-font
@ -229,7 +231,7 @@ in {
"clock" "clock"
]; ];
modules-right = [ modules-right = [
"tray" "pulseaudio"
"network" "network"
]; ];
"network" = { "network" = {
@ -242,9 +244,30 @@ in {
"format-linked" = ""; "format-linked" = "";
"format-disconnected" = ""; "format-disconnected" = "";
}; };
"tray" = { "clock" = {
"spacing" = 7; "interval"=60;
"icon-size" = 19; "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 = '' style = ''
@ -553,6 +576,7 @@ in {
// workspace_binds // workspace_binds
// prev_next_binds // prev_next_binds
// movement_binds // movement_binds
// audio_binds
// system_binds // system_binds
# // map (key: "$mod+${key} workspace prev_on_output") [ key.tabL "bracketleft" "Prior" "button9" "button4" ] # // 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" ] # // 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.package = pkgs.libsForQt5.qtstyleplugins;
style.name = "gtk2"; style.name = "gtk2";
}; };
programs.mangohud.enable = true; programs.mangohud.enable = true;
systemd.user.services = { systemd.user.services = {
firefox = { firefox = {