Control HYPRLAND with HYPRCTL. Develop your THEME switcher, GAME mode and more.
Вставка
- Опубліковано 15 лип 2024
- In this video I will show you how to use HYPRCTL, the command line interface for HYPRLAND. hyprctl is a utility for controlling some parts of the compositor from a CLI or a script. If you install with make install, or any package, it should automatically be installed.
I will share with you several use cases how you can use hyprctl in your script:
00:00 Overview
01:08 hyprctl in Hyprland Wiki
01:45 Using hyprctl keywords
07:47 Batch hyprctl commands
08:37 Create your own Theme Switcher
13:54 Game Mode with hyprctl
15:21 hyprctl Dispatchers
17:51 More with hyprctl
18:23 Notifications with hyprctl
19:43 Window information
You can find detailed information in the Hyprland Wiki:
👉 wiki.hyprland.org/Configuring...
You can download the ML4W Dotfiles 2.9 from GitLab:
👉 gitlab.com/stephan-raabe/dotf...
ML4W Dotfiles Wiki:
👉 gitlab.com/stephan-raabe/dotf...
You can install the dotfiles with one command in your terminal.
👉 gitlab.com/stephan-raabe/dotf...
For NVIDIA users: Please check the Hyprland Wiki Page:
👉 wiki.hyprland.org/Nvidia/
Linux is a great Operating System (OS) that supports me every day at my business and my private live. Linux is stable, fast and you can customize it to individual needs. In this channel, I want to share my setup of Arch Linux with the window managers Hyprland and Qtile.
My name is Stephan Raabe and I'm a Digital Marketing Professional with more than 20 years of experience in B2B Digital Marketing, computer science and web technologies.
This channel provides tutorials about Linux, the distribution Arch, window managers (e.g. Hyprland, Qtile) and desktop environments, and Microsoft 365 (Office 365) plus other cloud based services that I use in Digital Marketing activities.
👉 ML4W Dotfiles for Hyprland: gitlab.com/stephan-raabe/dotf...
👉 ML4W Dotfiles Wiki: gitlab.com/stephan-raabe/dotf...
👉 ML4W Hyprland Starter: github.com/mylinuxforwork/hyp...
👉 ML4W Hyprland Starter Wiki: github.com/mylinuxforwork/hyp...
👉 ML4W Hyprland Settings App: github.com/mylinuxforwork/hyp...
👉 Homepage: www.ml4w.com
👉 Discord: / discord
👉 MyChatGPT Python Script: github.com/mylinuxforwork/cha...
#hyprland #archlinux #learning #tutorial #linux
What a swing of body at 00:00
👍
Another great video like the ones you usually give us, Stephan. I loved how educational this one in particular is since it allows us to create personal combinations. I love your channel. Greetings from Argentina.
Wieder ein tolles Video wie die, die du uns normalerweise gibst, Stephan. Besonders gut hat mir gefallen, wie lehrreich dieses Buch ist, da es uns ermöglicht, persönliche Kombinationen zu erstellen. Ich liebe deinen Kanal. Grüße aus Argentinien. (German version via Google Translate)
Thank you so much for your feedback. Regards back from Germany.
Thank you so much for this. I never knew about the batch mode! Very cool stuff
Thanks.
As always, thanks for the breakdown man. I appreciate the hyprctl usage and listing out how the variables work. That said, Vielen Dank im Voraus for upcoming hyprland items!!
Thanks for your feedback.
very nice, as usual!
Thanks.
Love your dotfiles 🤩
Thank you.
I installed it, but there are many bugs, like right-clicking on Chromium or Rofi bugs.
@@wooshbait36 set chromium to wayland mode.
not his dots fault.
Wow I am configuring my system, it is my first time, I am using NixOS so I can't copy your ml4w directly, so I was just learning stuff, I was moving towards these theme switching scripts since a week, but haven't come closer to that, and now while sleeping saw this video, won't see it now, saving it to watch later, and I hope this time I will learn about these theme switchers, and will implement in my hyprland nixos setup
Same here. Using nixos again. 😅
Please share with me your results
Have fun!
I just use hyprland on arch and nixos
Very nice video, as always. Can I ask which is your text editor?
Thanks. I am using code.
very cool video can you make one how to configure waybar with cava in it
Thanks for your feedback. In the meantime you can find information here github.com/Alexays/Waybar/wiki/Module:-Cava
your work is very interesting now...ever think about turn your work into full fledge distro one day....its good idea to see your work into top distrowatch charts and be challedge to kde and gnome distros when your version is your owned better version of hyprland custom made version by artist in mind that you should make it full fledge gui and distro...what do you think ??
Thank you so much for your feedback. Creating an own distro is a huge project. Currently I am focusing on a post installation script. But let's see what's coming in the future.
Thank you for your amazing educational videos!
One thing I can't figure out so far using Hyprland with Waybar is how to make unused (empty) workspaces to change their color. Is it only .css config thing? I tried to write a few lines of settings, but none of them worked.
Never tried this out. But sounds interesting. It seems there is a dedicated css class for it: #workspaces button.empty documented here github.com/Alexays/Waybar/wiki/Module:-Hyprland
I managed to make it work.
@@wooshbait36 Great.
I actually made it, lol. It was only css config and the point was that you need to put your workspaces config entries in special order. Like workspaces, workspaces button, workspaces button.empty, workspaces button.active and workspaces button:hover. And then it works like a charm.
This is great! Now I understand what I need to create a program to make changes on the go... But I want to know, is there any tutorial I can follow to create a GUI for it? I was thinking about integrating your appimage to my dotfiles but I don't know how to modify it to translate it to Spanish hahaha so my intention is to program a GUI on my own... If you can guide me to a tutorial to do it, it will be highly appreciated
Thank you so much for your feedback. There are several options for a GUI interface. Every framework that can execute bash scripts would work. You know I use GTK4 with Python for my Hyprland settings app gitlab.com/stephan-raabe/ml4w-hyprland-settings But you can also use electron, python with other gui libraries, ags should work as well. Many options possible….
Sorry for out of topic comment but can i use your dotfiles with an 1280*1024 monitor? My main monitor is dead and i have to use this one for a month or two.
Yes. Should work. Maybe waybar could be a bit compressed.
Very cool window manager. Still nvidia is not recommended?
Hyprland still doesn’t support officially Nvidia GPUs. But many users reported success. wiki.hyprland.org/Nvidia/
I need help resolving an issue I encounter when installing and switching between different desktop environments (DE) on my Linux system. I'm currently using KDE, but I also use Hyprland and Gnome.Whenever I switch from KDE to Hyprland or Gnome, I'm prompted to create a GNUPG configuration. Additionally, when I log into websites like Google using the Chrome browser in one DE and then switch to another, I have to log into all my accounts again. This happens every time I switch between KDE, Gnome, and Hyprland.How can I fix this issue so that my login sessions and GNUPG configuration are preserved across different desktop environments?
Hi. What's your distro? And have you tested thisbbs.archlinux.org/viewtopic.php?id=285563
I have issues enabling VRR with hyprland and amd system on tumbleweed. hyprctl monitors shows it should be supported - but it is not, not in games, not in love vrrtest, monitor is stuck on whatever I set as refresh rate, 120 or 144 (it worked properly on windows instance so it is not a hardware issues). Maybe could you dig that part and provide some explanation and potential caveats?
Thanks for your feedback. Currently I have not any experiences with VRR. So my suggestion is to open an issue on Hyprland github.
Hello! I really do love your video and I'm so impressed and obsessed with your work, but I'm meeting a problem which is when I turn on my pc I don't have the login page of hyprland but I have a black screen showing me my mouse, nothing else, so I have to press alt+ctrl+F3 so then I can start hyprland and I can normally use it, but I hope I can find a way so that i get tod of the black screen and have a log in page (I'm not using a virtual machine btw)
Hi. Thanks for reporting the issue. That means if you start Hyprland from a display manager it fails. But from tty it works. Which display manager are you using?
@@mylinuxforwork im using sddm! by searching in the internet i just figured out that it wont automatically start for some reasons
@@mylinuxforwork I dont know if this helps but for a reason i dont know i had to install qt5-graphicaleffects and qt5-quickcontrols2 before i could use sddm. Im on EndeavourOS, if this is important. I hope that helps in any way.
How can I active the right click of my mousepad?
Amazing video
Thank you. Can you check this section? input:touchpad:clickfinger_behavior in wiki.hyprland.org/Configuring/Variables/#touchpad Would be cool if you could share your results.
@@mylinuxforwork I fixed it, thanks, very useful and im very thankful, You are AMAZING
@@luisarturomezasanchez1417 Can you share your changes you made in your configuration to make it running?
@@mylinuxforwork Sure, I edited the file ~/$USER/dotfiles/hypr/conf/keyboard.conf
There I added
clickfinger_behavior = false
In the "for laptop" section
@@luisarturomezasanchez1417 Thank you.
is it possible to change the font in the terminal, is there such a possibility
You can change the font in this file in your dotfiles/alacritty folder gitlab.com/stephan-raabe/dotfiles/-/blob/main/alacritty/alacritty.toml?ref_type=heads
When i install your script on a fresh arch install and i open Hyprland its just black shows me the cursor and sometimes it works but the cursor is super buggy like for windows it shows up but then only shows then me the cursor shadow on other elements like the statusbar? some months before it worked all Perfectly
🤔
That's interesting. Do you have an NVidia GPU? You can also try to install the latest dev branch/rolling release.
Yes gtx 950
@@rehufgoerhwfr please follow wiki.hyprland.org/Nvidia/
I want power to have blurred browser but when visiting UA-cam site I want to the blur automatically get disabled. It very annoying watch a blurred UA-cam video like yours but yet the blur looks really cool because it looks consistent and cohesive with the rest of the windows/operating system.
You can create a window rule to disable blur when the window title includes UA-cam. Open UA-cam in a browser and execute hyprctl clients to get the information needed to write a window rule.
@@mylinuxforwork Thank You Stephan i really appreciate it!!
So why no gui for that like Gnome Settings, that look like easy stuff to dev!
Please check gitlab.com/stephan-raabe/ml4w-hyprland-settings That’s the Hyprland Settings App based on GTK4 and Python. Please check this video ua-cam.com/video/7CbOCfSY-sA/v-deo.html