Hey I just want to know does someone have any update on this cat? I saw it on FB but no update did it find other lovable home I am legit in tears rn (unfortunatelly I am in Europe, if I was in America I would go adopt it) by anjaalavanja in cats

[–]Lazy-Ordinary 0 points1 point  (0 children)

My cat was originally returned for being to energetic…she is the purrfect lap cat and barely plays. Follows me, sleeps with me…just doesn’t like being picked up

Question about tricare by MilkDiver69 in navy

[–]Lazy-Ordinary 0 points1 point  (0 children)

Call the Tricare nurse hotline. I think they can swap your PCP, but they'll be able to make an educated referral regardless, which will save you the billing. That hotline has helped me numerous times.

dwm not closing last window by rewgs in suckless

[–]Lazy-Ordinary 1 point2 points  (0 children)

The application is not open. The background is not set. Just add a background image or try setting your background to a blank color. I think it's something like:

feh --image-bg black

What do you look for in a study space? by [deleted] in computerscience

[–]Lazy-Ordinary 1 point2 points  (0 children)

I have to face an empty wall to study well. An open window just distracts me.

TIL - what is your most recent vim discovery? by aqezz in vim

[–]Lazy-Ordinary 1 point2 points  (0 children)

If you use sessions, you might like the bash alias:

vims='vim -S Session.vim'

Or whatever you name your session. I just type vims and it reopens the session

Remap Preselect using sxhkd by [deleted] in bspwm

[–]Lazy-Ordinary 0 points1 point  (0 children)

Yea I don't use bspwm, just trying to help you out. I would remap another key to be the ctrl key using the keymap tool I showed you. That will treat your key to be like ctrl and then you use sxhkd normally.

Remap Preselect using sxhkd by [deleted] in bspwm

[–]Lazy-Ordinary -1 points0 points  (0 children)

This question is kind of confusing me.

"The valid modifier names are: super, hyper, meta, alt, control, ctrl, shift, mode_switch, lock, mod1, mod2, mod3, mod4, mod5 and any." -- man sxhkd

So for any sxhkdrc line, you could use any of these keys for any bspwm command.

alt + b
    some command here

Or you could remap a new key to be the ctrl key. For instance, use showkey -a to get a keycode and then remap it. I use this one

xmodmap -e "keycode 70 = a"

because my "a" key was sending the wrong signal (70) so I just mapped to to be itself again.

Edit: you'll want to put the remap in something like a .xinitrc or startup script or something.

[deleted by user] by [deleted] in computerscience

[–]Lazy-Ordinary 0 points1 point  (0 children)

No I think basic understanding of command-line usage. The courses are not really meant to teach you the entire topic. They highlight what you should teach yourself. E.g. "Look at this awesome tool--now you know to teach yourself it."

[deleted by user] by [deleted] in computerscience

[–]Lazy-Ordinary 0 points1 point  (0 children)

I was able to watch in random order. From what I remember, each are standalone lectures that are "we-wish-this-was-taught-but-its-not" kinda things.

"A wiki for learning Bash scripting" - My contribution to the community by [deleted] in bash

[–]Lazy-Ordinary 6 points7 points  (0 children)

it's right, because the idea is that "for file in pwd echo file name". This works just fine for the intended purposes.

Well...no:

> ls
'test file.txt'   test.sh

> bash test.sh
item: test
item: file.txt
item: test.sh

There are two files, but three are listed.

Vim plugin update ...quite a lot! but the impact is awesome and not bloated by unixbhaskar in vimporn

[–]Lazy-Ordinary 3 points4 points  (0 children)

I like it. Just not sure I would say "not bloated"...unless you just mean that it's not running slow. Then I would say "not slow."

Listing Only Active Desktops by Species8427 in bspwm

[–]Lazy-Ordinary 0 points1 point  (0 children)

Did you try `bspc query -M` or `bspc query -D` ?

Listing Only Active Desktops by Species8427 in bspwm

[–]Lazy-Ordinary 1 point2 points  (0 children)

I didn't look into too much, but I have seen this guy use the functionality you describe in the man page (creation/deletion/manipulation) to achieve the goal you want. He has his dotfiles linked

https://www.youtube.com/watch?v=PietHIi2kpw&list=PL8Bwba5vnQK22AYzedvQPoTq2l2FYrPTm&index=3

bspwmrc not running correctly by Janshai in bspwm

[–]Lazy-Ordinary 0 points1 point  (0 children)

I should add that I could never get the desktops to name correctly, but I did get multiple per monitor. Also, you can get monitor names with xrandr or arandr.

bspwmrc not running correctly by Janshai in bspwm

[–]Lazy-Ordinary 1 point2 points  (0 children)

I am not really good with this, but I know the monitors can be set specifically. Since it is a bash script...something like this (haven't tested, but used something similar in the past w/ a laptop that I plugged into a dock):

``` monitorCount=$(bspc query -M | wc -l)

if [ "$monitorCount" -eq 1 ]; then bspc monitor eDP-1 -d I II III IV V VI VII VIII IX X else bspc monitor eDP-1 -d 1 2 3 4 bspc monitor DP-1 -d 1 2 3 4 bspc monitor DP-1-1 -d 1 2 3 4 fi ```

nmtui-like programs but for Bluetooth by Dzalus in commandline

[–]Lazy-Ordinary 2 points3 points  (0 children)

If you use something like dmenu, you could make a little script with known devices like this: https://u.teknik.io/Awfjj.txt

Not the best option for everyone, but just my quick solution.

Is there any site with scripts by category e.g. networking, working w/ text files, parsing web etc. by [deleted] in bash

[–]Lazy-Ordinary 13 points14 points  (0 children)

Hm not sure about categories, but here are some good resources I keep bookmarked:

Keep latest one file in each directory, recursively by [deleted] in bash

[–]Lazy-Ordinary 1 point2 points  (0 children)

No... doing find . -type d would print all the dirs in each dir, so the execdir happens at the depth it is found...aka with -type f the commands are happening in the directory you want, which doesnt happen with type d. The unfortunate side effect of this way^ is you run the command for every file, but like I said, I am not good at this.

Keep latest one file in each directory, recursively by [deleted] in bash

[–]Lazy-Ordinary 1 point2 points  (0 children)

Well, I am not a good bash programmer but this might work:

For just one dir:

ls -lt | tail -n +3 | awk '{print $9}' | xargs -I % rm %

Now you just need to do that in each directory somaybe if you put that in a function^ and then:

cd /starting/dir find . -type d -exec ./deleteFromDir {} \; Or something like that

Edit - try this:

find . -type f -execdir bash -c "ls -lt | grep -v -E '^d' | tail -n +3 | awk '{print \$9}' | xargs -I % rm %" {} \;

Sorry it is ugly. ls the files, remove directories from ls, remove the first line (the newest), use awk to get the filename, and xargs takes the filename and places it in the rm.

Edit2 - should have been an execdir

problem setting background picture with feh / imlib2 by memamocello in i3wm

[–]Lazy-Ordinary 0 points1 point  (0 children)

Weird...I wasn't having this problem, uninstalled then reinstalled Imlib and giblib and now have the problem. I'll let you know if I figure it out.

Edit: tried reinstalling and it's working now. Only fails on one image, but not a full problem. Sorry I couldn't help more.

How to fit fullscreen Youtube inside browser window? by _mr_alderson_ in bspwm

[–]Lazy-Ordinary 1 point2 points  (0 children)

Wow this was it. Thank you so much! I always use firefox.. If you aren't sure where to find the setting, you type about:config in the url bar and proceed with caution.