Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Share Your Suggestions and Ideas! #42

Open
Frost-Phoenix opened this issue Oct 9, 2024 · 20 comments
Open

Share Your Suggestions and Ideas! #42

Frost-Phoenix opened this issue Oct 9, 2024 · 20 comments

Comments

@Frost-Phoenix
Copy link
Owner

Welcome to the suggestions thread! This is a place to discuss your ideas for improving this configuration. I’m open to all feedback, whether it’s recommending alternative software or proposing enhancements. Please feel free to share your thoughts!

@Frost-Phoenix Frost-Phoenix pinned this issue Oct 9, 2024
@0x733
Copy link

0x733 commented Oct 10, 2024

Welcome to the suggestions thread! This is a place to discuss your ideas for improving this configuration. I’m open to all feedback, whether it’s recommending alternative software or proposing enhancements. Please feel free to share your thoughts!

First of all, I think it’s perfectly reasonable to focus on this. Specifically, are there any software tools that you find dysfunctional, inadequate, or overly dependent, which you are looking to replace but haven’t found alternatives for? If so, let me know, and we can try to search for alternatives.

@Frost-Phoenix
Copy link
Owner Author

Frost-Phoenix commented Oct 10, 2024

The main things that I want to change:

Visual:

  • waybar design (or completely change bar)
  • Improve rofi theme (maybe?)
  • gtk theme
  • hyprland borders

Software:

  • change the clipboard config (currently there are some problem with copying and the config for clipboard is all over the place)
  • add a Zoomer application (like woomer, but this one take ages to compile so maybe another one)
  • add flatpak support
  • change browser (waiting for zen browser in nixpkgs)

Other:

  • do a small video presentation for the readme (instead of screenshots)

These are the main things right now, but I'm there are more things that should be change.

@Frost-Phoenix
Copy link
Owner Author

I also want to take a look at hardening systemd services and hardening Nix configurations, but since I know basically nothing about it atm this will have to wait a little.

@Frost-Phoenix
Copy link
Owner Author

@0x733 are there other utility / software you think could be replace by better alternative ? Or maybe some that could be added ?

@Frost-Phoenix
Copy link
Owner Author

As I already change the todo list in my prior comment multiple time I think I will add a todo section in the readme, and improve it at the same time.

@0x733
Copy link

0x733 commented Oct 11, 2024

I’m quite ill. Once I recover a bit, I’ll definitely take a look at the configurations.

@0x733
Copy link

0x733 commented Oct 11, 2024

The main things that I want to change:

Visual:

  • waybar design (or completely change bar)

  • Improve rofi theme (maybe?)

  • gtk theme

  • hyprland borders

Software:

  • change the clipboard config (currently there are some problem with copying and the config for clipboard is all over the place)

  • add a Zoomer application (like woomer, but this one take ages to compile so maybe another one)

  • add flatpak support

  • change browser (waiting for zen browser in nixpkgs)

Other:

  • do a small video presentation for the readme (instead of screenshots)

These are the main things right now, but I'm there are more things that should be change.

I took a quick look, Zen Browser is not in the official repositories, but a community has been built around it.

Link

@Balssh
Copy link
Contributor

Balssh commented Oct 12, 2024

I have successfully enabled Flatpak in my config, which is based 90% on yours. Want me to make a PR for that?

Regarding waybar and rofi: for waybar I really like how clean it looks, honestly one of the best waybar configs I have seen around. Only thing I really modified is the roman numerals to Japanese ones. I also like rofi's simple config, although I will want to check how to enable wrapping when cycling through the list of apps.

Maybe an overall improvement to your config would be some easy way to change to another theme. Maybe by using something like stylix?

@Frost-Phoenix
Copy link
Owner Author

I have successfully enabled Flatpak in my config, which is based 90% on yours. Want me to make a PR for that?

Yes, that would be much appreciated! I also so in your config that you are using the zen browser, is it from flatpack? If so I didn't saw it in you config, is there a way to download it via flatpack from the nixos config? If it is possible and you know how to do it a pr for that is also welcome.

Regarding waybar and rofi: for waybar I really like how clean it looks, honestly one of the best waybar configs I have seen around. Only thing I really modified is the roman numerals to Japanese ones. I also like rofi's simple config, although I will want to check how to enable wrapping when cycling through the list of apps.

Thanks! Tbh I'm not really sure I will change it, and the wrapping in rofi is a good point, will also look into that.

Maybe an overall improvement to your config would be some easy way to change to another theme. Maybe by using something like stylix?

Totaly, I've seen it before but never took the time to dig in. It sure is on my todo list but for long term. I don't have that much time atm so I will look into it in a few weeks.

@Frost-Phoenix
Copy link
Owner Author

For flatpack I found those tow way of adding packages, using systemd or with nix-flatpak. I think the second one looks quite promising.

@Balssh
Copy link
Contributor

Balssh commented Oct 13, 2024

Yes, that would be much appreciated! I also so in your config that you are using the zen browser, is it from flatpack? If so I didn't saw it in you config, is there a way to download it via flatpack from the nixos config? If it is possible and you know how to do it a pr for that is also welcome.

For flatpak I didn't invest much time in figuring out how to do it declarative so I just services.flatpak.enable = true; as I mainly use it for Zen (for now), Steam and Vencord (thought I think these 2 could be set with nix itself). Nix-flatpak might be interesting, will look into.

L.E: I looked again in my config and I also have Steam declarative. I don't remember why I also installed it with Flatpak.

Thanks! Tbh I'm not really sure I will change it, and the wrapping in rofi is a good point, will also look into that.

This was actually far easier than I though: Balssh/nixos-config@007e05b

Totaly, I've seen it before but never took the time to dig in. It sure is on my todo list but for long term. I don't have that much time atm so I will look into it in a few weeks.

Don't worry, your work is already greatly appreciated!

@anentree
Copy link

anentree commented Oct 14, 2024

I love using specialworkspaces (sws) in hyprland. I have multiple monitors but of different aspect ratios. This can be a nightmare in sws if you center and float since it won't have the correct size on whichever monitor it didn't launch on. I wrote a script to fix it.

resize-sws() {
    # Wait for the window to appear or disappear (adjust the sleep time if needed)
    sleep 0.1
    
    if hyprctl activewindow | grep -q -E "class: (Spotify|thunderbird|teams-for-linux|kitty)"; then
       hyprctl dispatch resizeactive exact 90% 85%
       hyprctl dispatch float
       hyprctl dispatch centerwindow
    fi
}

In hyprland, I have two separate lines to properly activate it. Combining the lines proved inadequate, but I'm a new programmer.

bind = [ 
   "$mainMod, S, togglespecialworkspace, spotify"
   "$mainMod, S, exec, resize-sws"
];

Attached is my scripts.nix. resize-sws is currently in wall-change.sh. I need to separate it since I now know how to add files via git :)
wall-change.txt

@anentree
Copy link

anentree commented Oct 15, 2024

For flatpack I found those tow way of adding packages, using systemd or with nix-flatpak. I think the second one looks quite promising.

I've gotten 95% there to working correctly. I updated the following .nix files to get it running.
flake.txt
user.txt
flatpaks.txt - added to the home directory
Be sure to add services.flatpak.enable = true; to services.nix

Rebuilding goes smoothly and get these results from flatpak in the terminal

---> flatpak remotes
Name         Options
flathub      system
flathub-beta system
flathub-beta user

However, none of the flatpaks install as evident from the terminal when I type flatpak list. Nothing appears. So, it accepts the remote to be declarative, but doesn't install any flatpaks. Any ideas why?

@Frost-Phoenix
Copy link
Owner Author

For flatpack I found those tow way of adding packages, using systemd or with nix-flatpak. I think the second one looks quite promising.

I've gotten 95% there to working correctly. I updated the following .nix files to get it running. flake.txt user.txt flatpaks.txt - added to the home directory Be sure to add services.flatpak.enable = true; to services.nix

Rebuilding goes smoothly and get these results from flatpak in the terminal

---> flatpak remotes
Name         Options
flathub      system
flathub-beta system
flathub-beta user

However, none of the flatpaks install as evident from the terminal when I type flatpak list. Nothing appears. So, it accepts the remote to be declarative, but doesn't install any flatpaks. Any ideas why?

I think I got it working in fcff852.
My setup is almost the same as yours except I used the nixos module and not the homemanager one. And after a successful rebuild flatpak list showed the remote correctly, but a reboot was necessary for the app to show in rofi.

@JumpIn-Git
Copy link

small thing, but you use bbenoist.nix for nix support in vsc, but this only provides syntax coloring, i reccomend using jnoortheen.nix-ide since it has coloring and autocompletion, it does need nil or nixd installed

@Balssh
Copy link
Contributor

Balssh commented Oct 24, 2024

Another little QoL change would be btop -> bottom
In case dual booting with windows 11 and needing secure boot on (for games like LoL or Valorant), using lanzaboote is pretty easy.

@Frost-Phoenix
Copy link
Owner Author

Another little QoL change would be btop -> bottom

It's quite good but I think I still prefer btop overall, but having both of them wont hurt. Added it in b9e3a1e.

In case dual booting with windows 11 and needing secure boot on (for games like LoL or Valorant), using lanzaboote is pretty easy.

That looks really interesting, I will have a look at it at some point but not my priority rn.

@Balssh
Copy link
Contributor

Balssh commented Oct 26, 2024

I mean, you don't have to put in packages if you're not using them just to please us 😄

@FleskeFrans
Copy link

waybar design (or completely change bar)

AGS/HyprPanel could be a nice replacement for waybar.

@anentree
Copy link

anentree commented Nov 3, 2024

I recommend putting this code in the hyrp config for laptops

      gestures = {
        workspace_swipe = true;
        workspace_swipe_fingers = 3;
        workspace_swipe_distance = 50;
        workspace_swipe_invert = true;
        workspace_swipe_min_speed_to_force = 20;
        workspace_swipe_cancel_ratio = 0.5;
        workspace_swipe_create_new = true;
      };

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants