end-4 / dots-hyprland

i hate minimalism so...
https://end-4.github.io/dots-hyprland-wiki/en/
GNU General Public License v3.0
4.61k stars 323 forks source link

[Issue] Configure whether hicolor-icon-theme is installed #749

Open solitudealma opened 3 months ago

solitudealma commented 3 months ago

The issue

(com.github.Aylur.ags:215451): Gtk-WARNING **: 12:01:41.761: Could not find the icon '/run/user/1000/tao/tray-icon-37be58df-c619-4345-b398-c3878860846d.png'. The 'hicolor' theme
was not found either, perhaps you need to install it.
You can get a copy from:
        http://icon-theme.freedesktop.org/releases
Logs ```plain (com.github.Aylur.ags:215451): Gjs-CRITICAL **: 12:01:41.732: JS ERROR: TypeError: self.children[previousShownIndex] is undefined IconTabContainer/setup/<@file:///home/solitudealma/.config/ags/modules/.commonwidgets/tabcontainer.js:116:13 hook/<@resource:///com/github/Aylur/ags/widgets/widget.js:43:25 _init/GLib.MainLoop.prototype.runAsync/
hakangoksu commented 3 months ago

Is this fresh install? Did you skip someparts in the install?

end-4 commented 3 months ago

just install that icon theme?

solitudealma commented 3 months ago

just install that icon theme?只需安装该图标主题?

I see the script didn't install the theme, maybe it couldn't find the theme location after I installed it

nixos package hicolor-icon-theme

{
  lib,
  pkgs,
  ...
}:
{
  home = {
    activation.agsActivatioinAction = lib.hm.dag.entryAfter [ "writeBoundary" ] ''
      rm -rf ~/.config/ags
      if [ ! -d ~/.config/ags ]; then
        cp -r ~/Zero/nix-config/home-manager/_mixins/configs/ags ~/.config/ags
      fi  
    '';
    # python -O ~/dotfiles/material-colors/generate.py --color "#0000FF"
    packages = with pkgs; [
      # hyprlang
      # hyprpicker
      # hyprutils
      # hyprwayland-scanner
      # xdg-dbus-proxy
      # python311Packages.pyxdg
      # adw-gtk3
      # libdbusmenu-gtk3
      # python311Packages.pip
      # python311Packages.pillow
      # gnome.gnome-bluetooth
      # bluez-tools
      # # pywal16
      # libadwaita
      # pavucontrol
      # gvfs
      # xarchiver
      # imagemagick
      # bibata-cursors
      # libdrm
      # lm_sensors
      # gnome.gnome-system-monitor
      # playerctl
      # lshw
      # cpio
      # meson
      # cmake
      # gtksourceview
      # gtksourceviewmm
      # cairomm
      # gtkmm3
      # tinyxml-2
      # python311Packages.requests
      # bun
      # gum
      # (tela-icon-theme.overrideAttrs (_: {
      #   installPhase = ''
      #     runHook preInstall

      #     patchShebangs install.sh
      #     mkdir -p $out/share/icons
      #     ./install.sh nord -d $out/share/icons
      #     jdupes -l -r $out/share/icons

      #     runHook postInstall
      #   '';
      # }))
      # meslo-lg
      # material-icons
      # material-design-icons

      gnome.gnome-control-center
      blueberry
      gammastep
      gnome.gnome-bluetooth
      material-symbols
      gnome-usage
      ddcutil
      inotify-tools
      ollama
      pywal
      dart-sass
      unstable.hicolor-icon-theme
      yad
      (python311.withPackages (p: [
        p.material-color-utilities
        p.pywayland
        materialyoucolor
        p.libsass
      ]))
    ];
  };

  programs.ags = {
    enable = true;
    configDir = null; # if ags dir is managed by home-manager, it'll end up being read-only. not too cool.
    # configDir = ./.config/ags;

    extraPackages = with pkgs; [
      unstable.hicolor-icon-theme
      gnome-usage
      gtksourceview
      gtksourceview4
      ollama
      python311Packages.material-color-utilities
      python311Packages.pywayland
      pywal
      dart-sass
      webkitgtk
      webp-pixbuf-loader
      ydotool
    ];
  };
}
end-4 commented 3 months ago

it doesn't install because it isn't explicitly required but hicolor is kind of the very basic fallback you should have (more)

solitudealma commented 3 months ago

it doesn't install because it isn't explicitly required它不会安装,因为没有明确要求 but hicolor is kind of the very basic fallback you should have (more)但 hicolor 是您应该拥有的非常基本的后备(更多

OK, then I'll ignore it for now. But why is there only WiFi but no volume icon on the right side of my bar? I moved the mouse to the upper right corner and found that the scroll wheel can change the volume. Also, how can I use the command to change the volume in this configuration? The command I copied from other configurations does not work, but the brightness is consistent.

end-4 commented 3 months ago

But why is there only WiFi but no volume icon on the right side of my bar?

install Material Symbols font

Also, how can I use the command to change the volume in this configuration?

just ugh, use it? the volume keys on your keyboard (if there are) should be able to run it, or scroll that corner

or it's the command you're asking for? to increase volume by 5%, run wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+ for volume down just replace that + with -

solitudealma commented 3 months ago

But why is there only WiFi but no volume icon on the right side of my bar?

install Material Symbols font

Also, how can I use the command to change the volume in this configuration?

just ugh, use it? the volume keys on your keyboard (if there are) should be able to run it, or scroll that corner

or it's the command you're asking for? to increase volume by 5%, run wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+ for volume down just replace that + with -

image After using your configuration, the performance on my system is as follows

end-4 commented 3 months ago

hold on, why did i tell you to install material symbols... sorry if you expect there to be a volume icon next to the wifi one, there isn't. i just don't find an icon sufficiently informative for volume, so i just don't have that

solitudealma commented 3 months ago

hold on, why did i tell you to install material symbols... sorry if you expect there to be a volume icon next to the wifi one, there isn't. i just don't find an icon sufficiently informative for volume, so i just don't have that

ok