Это видео недоступно.
Сожалеем об этом.

Control HYPRLAND with HYPRCTL. Develop your THEME switcher, GAME mode and more.

Поделиться
HTML-код
  • Опубликовано: 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....
    You can download the ML4W Dotfiles 2.9 from GitLab:
    👉 github.com/myl...
    ML4W Dotfiles Wiki:
    👉 github.com/myl...
    You can install the dotfiles with one command in your terminal.
    👉 github.com/myl...
    For NVIDIA users: Please check the Hyprland Wiki Page:
    👉 wiki.hyprland....
    Welcome to my channel! I'm Stephan Raabe, a Digital Marketing Professional with over 20 years of experience in B2B digital marketing, computer science, and web technologies.
    Linux is an exceptional operating system that powers my business and personal life every day. It's stable, fast, and highly customizable to meet individual needs. On this channel, I share my Arch Linux setup, share experiences with differnet Linux distributions, featuring window managers like Hyprland and Qtile.
    Whether you're a Linux enthusiast or someone looking to optimize your tech setup, there's something here for you. Subscribe and let's explore together!
    👉 ML4W Dotfiles for Hyprland: github.com/myl...
    👉 ML4W Dotfiles Wiki: github.com/myl...
    👉 ML4W Hyprland Starter: github.com/myl...
    👉 ML4W Hyprland Starter Wiki: github.com/myl...
    👉 ML4W Hyprland Settings App: github.com/myl...
    👉 Homepage: www.ml4w.com
    👉 Discord: / discord
    👉 ChatGPT Python Script: github.com/myl...
    #hyprland #archlinux #learning #tutorial #linux

Комментарии • 62

  • @sutalk1236
    @sutalk1236 2 месяца назад +10

    What a swing of body at 00:00

  • @gabrielfernandez8975
    @gabrielfernandez8975 2 месяца назад +3

    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)

    • @mylinuxforwork
      @mylinuxforwork  2 месяца назад

      Thank you so much for your feedback. Regards back from Germany.

  • @jrabbott34
    @jrabbott34 Месяц назад

    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!!

  • @donaldwilliams6821
    @donaldwilliams6821 2 месяца назад

    Thank you so much for this. I never knew about the batch mode! Very cool stuff

  • @AppsTricksByNazakatUmrani
    @AppsTricksByNazakatUmrani 2 месяца назад +1

    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

    • @sutalk1236
      @sutalk1236 2 месяца назад

      Same here. Using nixos again. 😅

    • @sutalk1236
      @sutalk1236 2 месяца назад

      Please share with me your results

    • @mylinuxforwork
      @mylinuxforwork  Месяц назад

      Have fun!

    • @annandar
      @annandar Месяц назад

      I just use hyprland on arch and nixos

  • @syedarbaazhussain7791
    @syedarbaazhussain7791 2 месяца назад +2

    Love your dotfiles 🤩

    • @mylinuxforwork
      @mylinuxforwork  2 месяца назад +1

      Thank you.

    • @wooshbait36
      @wooshbait36 2 месяца назад

      I installed it, but there are many bugs, like right-clicking on Chromium or Rofi bugs.

    • @CVLova
      @CVLova 2 месяца назад +1

      @@wooshbait36 set chromium to wayland mode.
      not his dots fault.

  • @thrisighsty
    @thrisighsty 2 месяца назад

    very nice, as usual!

  • @cristhianz91
    @cristhianz91 2 месяца назад

    Very nice video, as always. Can I ask which is your text editor?

  • @user78405
    @user78405 Месяц назад

    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 ??

    • @mylinuxforwork
      @mylinuxforwork  Месяц назад

      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.

  • @oyinbra
    @oyinbra Месяц назад

    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?

    • @mylinuxforwork
      @mylinuxforwork  Месяц назад

      Hi. What's your distro? And have you tested thisbbs.archlinux.org/viewtopic.php?id=285563

  • @anghDescartes
    @anghDescartes Месяц назад

    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?

    • @mylinuxforwork
      @mylinuxforwork  Месяц назад

      Thanks for your feedback. Currently I have not any experiences with VRR. So my suggestion is to open an issue on Hyprland github.

  • @callmesteve7874
    @callmesteve7874 2 месяца назад +1

    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.

    • @mylinuxforwork
      @mylinuxforwork  2 месяца назад +1

      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

    • @wooshbait36
      @wooshbait36 2 месяца назад

      I managed to make it work.

    • @mylinuxforwork
      @mylinuxforwork  2 месяца назад

      @@wooshbait36 Great.

    • @callmesteve7874
      @callmesteve7874 2 месяца назад

      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.

  • @gizzmoguy.
    @gizzmoguy. 2 месяца назад

    I want power to have blurred browser but when visiting RUclips site I want to the blur automatically get disabled. It very annoying watch a blurred RUclips video like yours but yet the blur looks really cool because it looks consistent and cohesive with the rest of the windows/operating system.

    • @mylinuxforwork
      @mylinuxforwork  Месяц назад

      You can create a window rule to disable blur when the window title includes RUclips. Open RUclips in a browser and execute hyprctl clients to get the information needed to write a window rule.

    • @gizzmoguy.
      @gizzmoguy. Месяц назад

      @@mylinuxforwork Thank You Stephan i really appreciate it!!

  • @muhammadabid9784
    @muhammadabid9784 Месяц назад

    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.

    • @mylinuxforwork
      @mylinuxforwork  Месяц назад

      Yes. Should work. Maybe waybar could be a bit compressed.

  • @lajos9134
    @lajos9134 Месяц назад

    Very cool window manager. Still nvidia is not recommended?

    • @mylinuxforwork
      @mylinuxforwork  Месяц назад +1

      Hyprland still doesn’t support officially Nvidia GPUs. But many users reported success. wiki.hyprland.org/Nvidia/

  • @MrAndrewKeyboards
    @MrAndrewKeyboards 2 месяца назад

    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

    • @mylinuxforwork
      @mylinuxforwork  2 месяца назад +1

      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….

  • @RayanMouzaoui-lq8sl
    @RayanMouzaoui-lq8sl Месяц назад

    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)

    • @mylinuxforwork
      @mylinuxforwork  Месяц назад

      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?

    • @RayanMouzaoui-lq8sl
      @RayanMouzaoui-lq8sl Месяц назад

      @@mylinuxforwork im using sddm! by searching in the internet i just figured out that it wont automatically start for some reasons

    • @BerosCerberus
      @BerosCerberus Месяц назад

      @@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.

  • @rehufgoerhwfr
    @rehufgoerhwfr Месяц назад

    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
    🤔

    • @mylinuxforwork
      @mylinuxforwork  Месяц назад +1

      That's interesting. Do you have an NVidia GPU? You can also try to install the latest dev branch/rolling release.

    • @rehufgoerhwfr
      @rehufgoerhwfr Месяц назад

      Yes gtx 950

    • @mylinuxforwork
      @mylinuxforwork  Месяц назад

      @@rehufgoerhwfr please follow wiki.hyprland.org/Nvidia/

  • @luisarturomezasanchez1417
    @luisarturomezasanchez1417 Месяц назад

    How can I active the right click of my mousepad?
    Amazing video

    • @mylinuxforwork
      @mylinuxforwork  Месяц назад +1

      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.

    • @luisarturomezasanchez1417
      @luisarturomezasanchez1417 Месяц назад

      @@mylinuxforwork I fixed it, thanks, very useful and im very thankful, You are AMAZING

    • @mylinuxforwork
      @mylinuxforwork  Месяц назад

      @@luisarturomezasanchez1417 Can you share your changes you made in your configuration to make it running?

    • @luisarturomezasanchez1417
      @luisarturomezasanchez1417 Месяц назад

      @@mylinuxforwork Sure, I edited the file ~/$USER/dotfiles/hypr/conf/keyboard.conf
      There I added
      clickfinger_behavior = false
      In the "for laptop" section

    • @mylinuxforwork
      @mylinuxforwork  Месяц назад +1

      @@luisarturomezasanchez1417 Thank you.

  • @Adamy-69
    @Adamy-69 2 месяца назад

    So why no gui for that like Gnome Settings, that look like easy stuff to dev!

    • @mylinuxforwork
      @mylinuxforwork  2 месяца назад +2

      Please check gitlab.com/stephan-raabe/ml4w-hyprland-settings That’s the Hyprland Settings App based on GTK4 and Python. Please check this video ruclips.net/video/7CbOCfSY-sA/видео.html

  • @HarunAhmetovic-gt5fi
    @HarunAhmetovic-gt5fi Месяц назад

    is it possible to change the font in the terminal, is there such a possibility

    • @mylinuxforwork
      @mylinuxforwork  Месяц назад

      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

  • @faizo007
    @faizo007 2 месяца назад

    very cool video can you make one how to configure waybar with cava in it

    • @mylinuxforwork
      @mylinuxforwork  2 месяца назад +1

      Thanks for your feedback. In the meantime you can find information here github.com/Alexays/Waybar/wiki/Module:-Cava