Omarchy + Rotation (Framework 12)

Got it running specifying whole path in bindings.conf “exec-once /usr/local/bin/FW12Rotate”. Love

1 Like

Thanks!

Just for everyone’s information, the application now reads a scaling value from a file as well, meaning you can have a custom value now.

Just doing a little drive by here to announce that FW12Rotate is on the AUR at:

2 Likes

Thanks a lot!

Happy to say that this all works perfectly on NixOS, as long as you change the shebang accordingly (#!/usr/bin/env bash)

1 Like

Hi Thomas, if you have any feedback on something that I could make easier or an improvement I would be appreciative of the feedback.

Hope your 12 is rotating the way you want!

I just wanted to take a moment to recognize the fantastic work you’ve been doing for the community. Thid looks great, and it’s clear how much effort you put into supporting everyone who’s diving into Linux for the first time.

The Framework 12 + Omarchy combo feels like the perfect “peanut‑butter‑jelly” mix—smooth, powerful, and surprisingly easy to get started with. It’s opening doors for many of us who were previously hesitant.

If possible, could you share a step‑by‑step guide for setting up your AUR repository? Right now most of us are only able to tweak keybindings (vim is its own thing) and pull packages directly from the AUR, but a detailed walkthrough would be incredibly helpful for getting the full benefit of your setup.

Right now I gather the following.

  1. Download AUR (en) - fw12rotate-git

  2. Change they keybindings…

bind = SUPER, R, exec, ~/.config/hypr/toggle-rotation.sh
exec-once = /usr/local/bin/FW12Rotate

But it seems to not quite work when i use the keybinding.

Thanks again for everything you’re doing—your contributions are truly making this 12 inch more usable!

1 Like

Thank you very much! For installing the application via the AUR (using yay, for example), when it finishes it should show you these steps in your terminal:

To set up automatic screen rotation:

  1. Copy the toggle script: cp /usr/share/fw12rotate-git/toggle-rotation.sh ~/.config/hypr/toggle-rotation.sh
  2. Make it executable: chmod +x ~/.config/hypr/toggle-rotation.sh
  3. Add to your hyprland.conf:
    exec-once = /usr/local/bin/fw12rotate
    bind = SUPER, R, exec, ~/.config/hypr/toggle-rotation.sh
    (You are free, of course, to use whatever keybinding makes the most sense to you.)
  4. Restart Hyprland or the computer to apply changes.

When you first run the application it will create a scale file in your .config/hypr/ folder. It will set your scaling to 2.0 (2) by default. If you would like to use a different scaling value, (I use 1.2, for example) you will need to open this file and change it:

nano .config/hypr/scale

Here just make sure your value uses a decimal. (1.0, 1.2, 1.33) I need to update the AUR install file with those details. (which has now been updated. Thanks again!)

Hopefully this is what you meant. Let me know if you are having any other issues. I’m happy to help!

Thanks for the explanation! I still need a little hand‑holding.

I didn’t use YAY; instead, I used the Omarchy auto‑downloader that comes with the system. So these steps dont pop up. just says DONE.

I have a couple of follow‑up questions:

  1. Step 1 – Copying the script
    I found the file toggle-rotation.sh at /usr/share/fw12rotate-git/. Should I copy the entire script file into ~/.config/hypr/? Right now I only have an empty file named rotation-toggle in that directory.

  2. Step 2 – Making it executable
    How do I make the script executable? Is it sufficient to run the following command in a terminal?

    chmod +x ~/.config/hypr/toggle-rotation.sh
    
  1. Yes that is correct. The rotation-toggle and scale files are used by the application. More about that below. For now yes copy the script as you detailed above.
  2. This is correct as well. This script allows you to turn rotation on and off in Hyprland.
  3. The hyprland.conf file you need to add the binding an exec line to is in the .config/hypr/ directory as well.

The scale file is important because if it is not the same as what you have set in your .config/hypr/monitor.conf file, you’ll notice everytime you rotate the screen that your scaling changes. If you have not touched the monitor.conf than your scaling is set to 2.0 already, so the default value in there will be fine.

Do you mean that you used the Omarchy menu to Install → AUR → fw12rotation-git, and that is how you installed the application?

One additional note is that nano is not installed by default on the system. To install it you would type the following:

sudo pacman -S nano

Thank you for the detailed post…. Working on the framework now! You made it possible for me to get everything working smoothly. I really appreciate the kind support you provided along the way; I learned a lot while following your instructions on the thread… little things you just do to solve problems. The main issue is i did not have Nano, and because Omarchy does everything for you when I used Omarchy menu to Install → AUR → fw12rotation-git, it just showed “done” and I missed your instructions.

I’m curious, are you thinking about expanding the Git repository with additional utilities? And would adding a keyboard layout for tablet mode be on the roadmap? That would be a fantastic addition!

Regardless, this is such a great tool for the framework community.

1 Like

Thank you very much for your kind comments! I haven’t thought about creating a onscreen keyboard. I believe there are some already out in the open. If I have the time I’ll look at putting it together and making it easy to get going on Omarchy.

I bought a 12 because I really wanted touch and pen input. I, however, don’t use those things very often. I mainly use the 12 in laptop mode. Out of all of my Framework products, the 12 is my absolute favorite. Really looking forward to seeing what upgrades Framework will have available for these down the road.