• 11 Posts
  • 18 Comments
Joined 1 year ago
cake
Cake day: June 9th, 2023

help-circle















  • I had many issues running Arch+Wayland+nvidia because, as a long-time i3 user, I figured that migrating to Sway would be the best choice based on so many people in the community talking about it. I tried moving over several times, every few months to see if the experience had improved but each time I got frustrated with how terrible and buggy the environment was.

    Trying out Hyprland was a complete game-changer. I’ve been running it full-time for about 2 months and it’s completely stable, supports everything I need to run, and is more efficient: the battery on my laptop lasts about 30% longer compared to my i3/picom/X11 setup.

    So yeah, I highly recommend Hyprland if you’ve tried sway in the past and didn’t get anywhere with it.














  • Using hyprland+nvidia, I’ve had good luck using this screen_shader command:

    hyprctl keyword decoration:screen_shader /path/to/flux.glsl
    

    Where flux.glsl is

    // blue light filter shader
    // values from https://reshade.me/forum/shader-discussion/3673-blue-light-filter-similar-to-f-lux
    
    precision mediump float;
    varying vec2 v_texcoord;
    uniform sampler2D tex;
    
    void main() {
    
        vec4 pixColor = texture2D(tex, v_texcoord);
    
        // green
        pixColor[1] *= 0.855;
    
        // blue
        pixColor[2] *= 0.725;
    
        gl_FragColor = pixColor;
    }