mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-04-25 16:08:30 +02:00
bettered up the pww package
This commit is contained in:
parent
8196d6e741
commit
cf7f8dcda7
6 changed files with 35 additions and 22 deletions
|
@ -1,5 +1,11 @@
|
|||
{ pkgs, ... }:
|
||||
{ pkgs, lib, ... }:
|
||||
{
|
||||
|
||||
# fixes qt themes
|
||||
environment.variables = {
|
||||
"QT_STYLE_OVERRIDE" = lib.mkForce "kvantum";
|
||||
"QT_QPA_PLATFORMTHEME" = lib.mkForce "Dracula";
|
||||
};
|
||||
# open ports for kde connect
|
||||
networking.firewall = rec {
|
||||
allowedTCPPortRanges = [{ from = 1714; to = 1764; }];
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ self, config, pkgs, hyprland, ... }:
|
||||
{
|
||||
systemd.user.services.waybar.Service.Environment = "PATH=${pkgs.hyprland}/bin:${pkgs.playerctl}/bin:${pkgs.pulseaudio}/bin";
|
||||
systemd.user.services.waybar.Service.Environment = "PATH=${pkgs.hyprland}/bin";
|
||||
programs.waybar = {
|
||||
enable = true;
|
||||
systemd.enable = true;
|
||||
|
@ -33,7 +33,7 @@
|
|||
format = " {}";
|
||||
max-length = 80;
|
||||
return-type = "json";
|
||||
exec = "${self.packages.x86_64-linux.pww}/bin/pww -w spotifyd:title -f '{{title}} - {{artist}}' -p None 2> /dev/null";
|
||||
exec = "${self.packages.x86_64-linux.pww}/bin/pww -w spotifyd:title -p None 2> /dev/null";
|
||||
};
|
||||
cpu = {
|
||||
format = "{usage}% ";
|
||||
|
|
|
@ -19,6 +19,7 @@ in
|
|||
user = "root";
|
||||
port = 2222;
|
||||
};
|
||||
falkenstein-1 = matchBlocks."rfive.de";
|
||||
"kaki" = {
|
||||
hostname = "kaki.ifsr.de";
|
||||
user = "root";
|
||||
|
|
|
@ -1,12 +1,11 @@
|
|||
{ pkgs, nix-colors, ... }:
|
||||
{
|
||||
|
||||
# home.packages = with pkgs; [ libsForQt5.qtstyleplugin-kvantum ];
|
||||
home.packages = with pkgs; [ libsForQt5.qtstyleplugin-kvantum ];
|
||||
colorScheme = nix-colors.colorSchemes.dracula;
|
||||
|
||||
# theme hardcoded to dracula, too lazy to make all this base16
|
||||
home.sessionVariables.GTK_THEME = "Dracula";
|
||||
home.sessionVariables.QT_QPA_PLATFORMTHEME = "Dracula";
|
||||
qt = {
|
||||
enable = true;
|
||||
style = {
|
||||
|
@ -31,4 +30,9 @@
|
|||
package = pkgs.dracula-theme;
|
||||
size = 16;
|
||||
};
|
||||
xdg.configFile = {
|
||||
"Kvantum/Dracula/Dracula.kvconfig".source = "${pkgs.dracula-theme}/share/Kvantum/Dracula/Dracula.kvconfig";
|
||||
"Kvantum/Dracula/Dracula.svg".source = "${pkgs.dracula-theme}/share/Kvantum/Dracula/Dracula.svg";
|
||||
"Kvantum/kvantum.kvconfig".text = "[General]\ntheme=Dracula";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue