Aylur / dotfiles

My personal config files
Other
2.42k stars 127 forks source link

New on Linux, how to install when already had a Hyprland #84

Open CorvusCorax0000 opened 10 months ago

CorvusCorax0000 commented 10 months ago

I'm new on Linux, using Arch. I followed the tutorial and got this Hyprland https://github.com/soldoestech/hyprland. Now I want to install yours but got no idea where to start from. Please help me, thank you.

Aylur commented 10 months ago

Will update the readme and write a guide sometime in the near future, as I moved almost everything to nix, its a bit more than just cp * ~/.config but basically you have to install the dependencies listed and copy the contents of the ags directory to ~/.config/ags/

Balssh commented 9 months ago

I'm new on Linux, using Arch. I followed the tutorial and got this Hyprland https://github.com/soldoestech/hyprland. Now I want to install yours but got no idea where to start from. Please help me, thank you.

If you still need help I can provide some, as I recently moved to using AGS with Hyprland on Arch.

marocainperdu commented 9 months ago

I'm new on Linux, using Arch. I followed the tutorial and got this Hyprland https://github.com/soldoestech/hyprland. Now I want to install yours but got no idea where to start from. Please help me, thank you.

If you still need help I can provide some, as I recently moved to using AGS with Hyprland on Arch.

That would be appreciated please ๐Ÿ™๐Ÿพ

Balssh commented 9 months ago

Iโ€™m just reinstalling my arch comp with hyprland and ags. If I donโ€™t forget Iโ€™ll post here tomorrow how and what I did.

On Sun, 10 Dec 2023 at 20:03, Momo Kabil @.***> wrote:

I'm new on Linux, using Arch. I followed the tutorial and got this Hyprland https://github.com/soldoestech/hyprland. Now I want to install yours but got no idea where to start from. Please help me, thank you.

If you still need help I can provide some, as I recently moved to using AGS with Hyprland on Arch.

That would be appreciated please ๐Ÿ™๐Ÿพ

โ€” Reply to this email directly, view it on GitHub https://github.com/Aylur/dotfiles/issues/84#issuecomment-1849036318, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATU7DJ7UTJCLHOYJ2HVSM7DYIX2O7AVCNFSM6AAAAAA6UKWDHOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBZGAZTMMZRHA . You are receiving this because you commented.Message ID: @.***>

Balssh commented 9 months ago

I'm new on Linux, using Arch. I followed the tutorial and got this Hyprland https://github.com/soldoestech/hyprland. Now I want to install yours but got no idea where to start from. Please help me, thank you.

If you still need help I can provide some, as I recently moved to using AGS with Hyprland on Arch.

That would be appreciated please ๐Ÿ™๐Ÿพ

First make sure you have a hyprland config at hand that has the keybinds and setups for ags and also that you have a Nerd Font installed. Then install ags and its dependencies and copy a config to ~/.config/ags (either the one on this repo, or you can check my dotfiles or any other config). Then replace your current Hyprland config with the one you prepared earlier and restart Hyprland. Try this and send me a message if it doesn't work.

Caraffa-git commented 8 months ago

Hi, I'm also new to Hyprland. I just finished my fresh archinstall and I installed everything from dependencies, but after running ags in the console nothing happens, I only get this:

(com.github.Aylur.ags:1732): Gjs-WARNING **: 00:03:26.074: JS ERROR: Error: Requiring NM, version none: Typelib file for namespace 'NM' (any version) not found
require@resource:///org/gnome/gjs/modules/esm/gi.js:16:28
@gi://NM:3:25
_init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34

(com.github.Aylur.ags:1732): Gjs-Console-CRITICAL **: 00:03:26.077: cat: /sys/class/thermal/thermal_zone0/temp: No such file or directory

I know there is a fix for temp error but I'll do it later.

First make sure you have a hyprland config at hand that has the keybinds and setups for ags and also that you have a Nerd Font installed.

@Balssh what do you mean by "setups for ags"? Also, how do you make ags start automatically?

EDIT: Nevermind, i had to install gnome-bluetooth-3.0, networkmanager, libdbusmenu-gtk3

keilmillerjr commented 6 months ago

Here is how to install ags on arch with hyprland already installed.

installing packages

using pacdef

I am using pacdef with pikaur to manage and install packages. Below is my ags group file. You can use pacman and an aur helper of your choice. Do note I could not get two of the optional dependencies of aylurs-gtk-shell-git to install automatically. I do not know why. I attempted to install aylurs-gtk-shell-git with multiple aur helpers, all yielding the same result. The bun package fails due to an idiot writing the failing PKGBUILD. Use bun-bin instead.

# https://github.com/Aylur/ags
# https://github.com/Aylur/dotfiles
#*== optional package

[arch]

# asusctl           #*cli controls for asus laptops
aylurs-gtk-shell-git
brightnessctl
bun-bin
dart-sass
fd
gnome-bluetooth-3.0 # optional dependancy for aylurs-gtk-shell-git, need to install explicitly
hyprpicker          #*
libdbusmenu-gtk3    # optional dependancy for aylurs-gtk-shell-git, need to install explicitly
morewaita-git       # optional dependancy for aylurs dotfiles
rust                # required for matugen
slurp               #*
# supergfxctl       #*gpu switching for asus laptops
swappy              #*
swww
wayshot             #*
wf-recorder         #*
wl-clipboard        #*

[rust]
matugen

using pikaur

See using pacdef section above for comments. Some packages you may not want to include. If you are using yay, you may substitute the command as both utilities accept the same arguments.

$ pikaur -Syu asusctl aylurs-gtk-shell-git brightnessctl bun-bin dart-sass fd gnome-bluetooth-3.0 hyprpicker libdbusmenu-gtk3 rust slurp supergfxctl swappy swww wayshot wf-recorder wl-clipboard
$ cargo install matugen

services

If you installed the option package supergfxctl, you need to start the service, and enable it so it starts automatically on boot.

$ sudo systemctl start supergfxd
$ sudo systemctl enable supergfxd

editing hyprland config

# .config/hypr/hyprland.conf

exec-once = ags
bind = $mainMod_SHIFT, R,      exec, ags -q && ags
bind = $mainMod, R,            exec, ags -t launcher
bind = $mainMod, F12,          exec, ags -t powermenu
bind = $mainMod, Tab,          exec, ags -t overview

copying configuration files

To have a fully functioning desktop, I recommend starting with Aylur's dotfiles. You can always create your own configuration at a later time. ags has an excellent wiki.

$ cd ~
$ mkdir -p Repos/Aylur
$ cd Repos/Aylur
$ git clone https://github.com/Aylur/dotfiles.git
# cd dotfiles
$ git pull # use this command in the future to pull new commits
$ cp -r ags $HOME/.config # Danger: use flag -rf to force overwrite when updating.

starting ags

Restart your session, or run ags from a terminal. The latter is advised the first time so you can see the log.

You can debug at anytime by running $ killall ags and running $ ags from a terminal.

launcher (Aylur's dotfiles)

The launcher icon in the menu bar may be changed via the settings window, settings/bar/launcher/icon. Install the package gtk3-demos (provides the binary gtk3-icon-browser), or the package icon-library. Use either of these GUI applications to find a compatible icon. Although, the default one seems to be the most suitable.

wamunyima3 commented 6 months ago

I'm new on Linux, using Arch. I followed the tutorial and got this Hyprland https://github.com/soldoestech/hyprland. Now I want to install yours but got no idea where to start from. Please help me, thank you.

If you still need help I can provide some, as I recently moved to using AGS with Hyprland on Arch.

Is there a link to the help you gave so that even us can follow through

keilmillerjr commented 6 months ago

I'm new on Linux, using Arch. I followed the tutorial and got this Hyprland https://github.com/soldoestech/hyprland. Now I want to install yours but got no idea where to start from. Please help me, thank you.

If you still need help I can provide some, as I recently moved to using AGS with Hyprland on Arch.

Is there a link to the help you gave so that even us can follow through

I literally posted exactly how to do it step by step, only one post above yours.

https://github.com/Aylur/dotfiles/issues/84#issuecomment-1964478287

keilmillerjr commented 2 months ago

I added morewaita-git as optional dependency to aylurs dotfiles. This resolved issues with missing icons such as steam. See comment.