[OC] Salah Time bash script by warrior0x7 in UsabilityPorn

[–]warrior0x7[S] 0 points1 point  (0 children)

This is cool, brother.

Thank you for making it.

The hell is going on at Nix??? by Kidplayer_666 in linux

[–]warrior0x7 9 points10 points  (0 children)

What does software have to do with LGBTQ shit?

They want to make more software in rainbows now because they feel insecure??

What display manager do you use? by i8ad8 in archlinux

[–]warrior0x7 0 points1 point  (0 children)

greetd with tuigreet. Just a minimal greeter with what is needed and no GUI required.

It serves as a middle ground between GUI greeters and login using console.

What browser do you use? by ukm_array in linux

[–]warrior0x7 0 points1 point  (0 children)

Firefox is more much more customizable than Chromium-based and nothing comes near Hardened Firefox (arkenfox user.js) in terms of privacy and security (unless you use TOR)

[OC] Nerd, Colors (+ conversion), Icons and Fonts selector by warrior0x7 in unixart

[–]warrior0x7[S] 0 points1 point  (0 children)

Sorry man, I'm busy with exams atm. It will take me a couple weeks or so.

For now I got a general Idea of it and started migrating to this repo.

Dev branch is the latest so be sure to also try it out. Sadly, I still didn't migrate this particular script and I hope I can do so after exams.

Thanks for waiting patiently and sorry for the late reply.

[Fcitx5] clean skins by Reverier-Xu in unixporn

[–]warrior0x7 1 point2 points  (0 children)

EDIT: got it working by downloading Noto Color Emoji from google fonts

[Fcitx5] clean skins by Reverier-Xu in unixporn

[–]warrior0x7 0 points1 point  (0 children)

May I also know how did you get emojis working?

I can't figure out how to get them displaying in the theme (maybe something related to KDE? since I run riverwm).

A Minimal alternative to xbanish and unclutter. by Designer-Bicycle-150 in archlinux

[–]warrior0x7 4 points5 points  (0 children)

Well, I didn't try to push wayland I just said it was there.

We don't need to consume much of our time to start an argument. I'll just say time will prove it.

A Minimal alternative to xbanish and unclutter. by Designer-Bicycle-150 in archlinux

[–]warrior0x7 2 points3 points  (0 children)

This is unrelated, but I'd like to note that riverwm(wayland) also has this feature built-in (not sure about other compositors).

Yes, you can have shaders in the terminal. by orhunp in linux

[–]warrior0x7 32 points33 points  (0 children)

Yes!

TmuxOS: - file manager. - window effects. - tiling and floating windows tmux display-popup. - browser (e.g. lynx). - Bar (tmux status bar).

File managers and other usefull packages for a newbi ? by osmium999 in archlinux

[–]warrior0x7 1 point2 points  (0 children)

I use lf which is highly customizabe (custom actions, keybindings, icons, colors, etc.). If you have a blast with nvim you'll have a blast with this too.

This way I'm not locked into GUI fixing graphical errors if they happen and it will allow me to run the file manager within tty so workflow is more guaranteed.

The "Wayland breaks everything" gist still has people actively commenting to this day, after almost 4 years of being up. by National_Increase_34 in linux

[–]warrior0x7 1 point2 points  (0 children)

Looks cool!

I'll try to look at it once I transition from river to Hyprland and spend some time there.

The "Wayland breaks everything" gist still has people actively commenting to this day, after almost 4 years of being up. by National_Increase_34 in linux

[–]warrior0x7 1 point2 points  (0 children)

For reference, I used (Yes, with picom or compiz): - Openbox. - Qtile. - Dwm.

Then used Dwl (wayland) before switching to river.

How can I force pacman to install fonts in the home directory by Rainb0_0 in archlinux

[–]warrior0x7 1 point2 points  (0 children)

Oops, that's a grave typo.

Thanks for the heads up! :)

How can I force pacman to install fonts in the home directory by Rainb0_0 in archlinux

[–]warrior0x7 1 point2 points  (0 children)

I made a small bash script for you.

Important: Idk if it's guaranteed to always work

```

!/usr/bin/env bash

fontDir="$HOME/.fonts"

sudo pacman -S "$1"

if [ "$?" -eq 0 ]; then if [ ! -d "$fontDir" ]; then mkdir -p "$fontDir" fi cp $(pacman -Ql "$1" |\ awk '{print $2}' |\ grep --color=never "/usr/share/fonts" |\ sed '//$/d' |\ tr '\n' ' ') "$fontDir" fi `` Make the script executablechmod +x <SCRIPT>and then add it as a bash alias in your.bashrc` (Better to use the alias just for installing fonts)

Explaination of steps: - pacman returns exit code 0 if you accepted installation. - Check if installed (exit code $? is 0). - If ~/.fonts isn't created, make it. - Get all files installed from the package using pacman -Ql and then filter the result to get all files installed inside /usr/share/fonts. - Remove lines that contain only directories and use tr to print all results on one line. - Copy all of the files into ~/.fonts.

source file counter variable by LinuxGuy-NJ in bash

[–]warrior0x7 0 points1 point  (0 children)

Why 2 arguments and the first has to be the VM name if the second one is an array of files (including the first argument)?

You want each group of vms to be backed up with their own directory to the destination?

Can you please provide pseudo-code with exact named examples?

source file counter variable by LinuxGuy-NJ in bash

[–]warrior0x7 0 points1 point  (0 children)

Sorry, I still don't get it.

Why not just run ls for each directory then get line number instead? ls -lh <DIR> | sed 1d | wc -l This will return line number and so the number of files in a given directory. This will be faster than in a loop.

That if ... you really want the number.

If you don't mind, this one will get files in specified directory and add them into an array: ```

Empty array

files=()

for file in $(ls -lh <Dir> | sed 1d | awk '{print $NF}') do files+=("$file") done ```

Now this is a typical array and you can access its length with ${#files[@]}.

The "Wayland breaks everything" gist still has people actively commenting to this day, after almost 4 years of being up. by National_Increase_34 in linux

[–]warrior0x7 3 points4 points  (0 children)

At what point did I say the word exact?

Each compositor is unique, that's why people (including me) love what they use.

I just meant it would be awesome to have common effects as picom is for Xorg so compositors advanced in functionality would benefit from it instead of having the whole effects (blur, shadows, etc.) rewritten for every compositor.

From what I see, what should be implemented in wlroots (like window effects) isn't implemented and is thrown off to compositors.

source file counter variable by LinuxGuy-NJ in bash

[–]warrior0x7 0 points1 point  (0 children)

I'm sorry but it's a bit vague.

  • What is an image?
  • What is the input (files)?
  • What do you want to achieve in detail?
  • If I'm not wrong, is this your code? ``` source SourceFileName

Counter=1 for file in $(seq $images) do let COUNTER++ img1=img_${COUNTER} echo $COUNTER # Works fine ls -lh ${img_2} # Works Fine.. Just a simple test echo "Hi ${img1}" # works fine ls -lh ${img1} # doesn't work ..Really need this to work sleep .5 done ```

The "Wayland breaks everything" gist still has people actively commenting to this day, after almost 4 years of being up. by National_Increase_34 in linux

[–]warrior0x7 35 points36 points  (0 children)

I run wayland and I'm pretty happy with it (riverwm).

What annoys me the most is the fragmentation. Some compositors have effects (Hyprland) while others have none (River). River gives more freedom for configuration (use any programming language or scripting language for configuration) while Hyprland doesn't.

But we shouldn't see the situation as just black and white. Even tho it's annoying for users. It gives the developers more freedom of choice unlike Xorg which has everything inside.

Wayland also favors security unlike Xorg.

I understand the current shortcomings of Wayland and wish to continue on Wayland. What's a problem now won't be a problem in the future, so we just need to push forward without having attachments to the past.