• 1 Post
  • 10 Comments
Joined 1 year ago
cake
Cake day: November 24th, 2023

help-circle
  • I think this is a limitation of i3, because I also had a similar issue with another script.

    For example on my polybar I have this when changing the volume:

    scroll-up = pulsemixer --change-volume +5 --unmute --max-volume 100 && pactl list sinks | awk '/State: /{flag=1} /dB/ && flag {printf("%.0fdB", $7); exit}' | xargs -I {} dunstify -r 11 -t 1000 "Main Vol: {}"
    
    scroll-down = pulsemixer --change-volume -5 --unmute --max-volume 100 && pactl list sinks | awk '/State: /{flag=1} /dB/ && flag {printf("%.0fdB", $7); exit}' | xargs -I {} dunstify -r 11 -t 1000 "Main Vol: {}"
    

    It has no problems running, however I also wanted to do the same with i3 when I press the volume keys on my keyboard and i3 can’t do it, I had to make it a script file and point i3 to it for it to work.

    But why do you want it in one line in the first place? Multiline scripts have no performance drop, and they are more readable.

    I prefer to have all i3 settings on one config file, that is easier for me, it is just one file that I need to backup and also one file that I need to edit when changing things.

    On ther other hand if the scripts are their on individual files, I have to make sure that the script has the permission to run, put the script on its place, etc.

    I also have a keybind to open my i3config so I can do quick changes to it on the fly, while if every script had its own file I would need to navigate thru each one individually.

    For example I recently began testing voidlinux and on void my monitors have different names than on arch, so my i3config didn’t work by just being dropped in I had to edit the file.

    To do so I just told mousepad to find all instances where the name DP-1 is and replace it for DisplayPort-0, same for DP-2 to Display-Port-1, etc, etc.

    If my monitor settings had been its own script file that i3 ran, I would have also needed to open it and edit it.

    That is why I would prefer to have the scripts on the i3config, not a big deal but if it is possible I would like to know for the cases where it doesn’t work.






  • Try using yuzu-mainline-git from the aur and change your compile flags (edit makepkg.conf) to match=native mtune=native and O3. That gives a 15% boost in totk.

    Also use zram instead of zswap as that that causes terrible stuttering on yuzu if you are short of ram. The usual recommendation is to use zstd compression but I can tell you that lz4 performs better on yuzu.

    “sudo pacman -S zram generator” then “sudo nano /etc/systemd/zram-generator.conf” and paste this:

    [zram0]
    zram-size = ram
    compression-algorithm = lz4
    swap-priority = 100
    

    Also make sure you are running gamemode with yuzu. Same with steam games.



  • As long as you only keep the Manjaro repos in your system, it is like using it on Arch, which even you Arch the Aur isn’t perfect.

    Because the Manjaro repos don’t sync at the same time with the Arch repos, you might not be able to install/update some Aur packages as the version of X dependency might not match during that time.

    But literary, Manjaro has been the most stable distro I’ve run, even more stable than Arch that recently broke on my system and required manual intervention because of their recent changes on their repo migration.


  • Samueru@lemmy.mltoFediverse@lemmy.worldAverage Lemmy Active Users by Month
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    4
    ·
    edit-2
    1 year ago

    Try manjaro, and hear me out here:

    Manjaro is actually the only distro that I would recommend to a beginner, actual beginner in this case is someone that should not be running a single terminal command to get their system to work (which is what people are expecting to do when they tell you to use Endevour or CachyOS lol)

    WIth ubuntu/debian based distros you will either have to deal with installing flatpaks/snaps, which come with their own set of issues like not following the system theme, using the wrong system font, issues accesing the internet, issues accesing the home directory (yeah steam flatpak can’t be placed in the home directory lol).

    You could try adding PPAs which is not something I would recommend a beginner to do.

    Also some games like BeamNG hate having irqbalance, which usually comes by default on debian based distros.

    On the other hand Manjaro already ships with pamac which is their GUI store that supports everything, including Aur packages which means 0 issues having to deal with broken permissions or theming if you want to install apps that are usually not found in the official repos.

    Their own official repo even includes brave-browser and fastfetch, two apps that I use that are usually very hard to find in other distros.