Search found 53 matches
- Sat Jun 17, 2017 10:57 pm
- Forum: HOW-TO (/usr/share/man)
- Topic: Post your Command line tricks
- Replies: 283
- Views: 108151
Re: Post your Command line tricks
The first one is the vanilla way to create linux containers, so the last line is basically what happens when you use lxc-create or docker run. The second one is more... subtle. The #include statement in C is read by the compiler at compilation time, and included in the code as if it were part of the...
- Wed Jun 14, 2017 10:53 pm
- Forum: SCRIPTS (/usr/local/bin)
- Topic: automatic notifications through dunst
- Replies: 13
- Views: 7900
Re: automatic notifications through dunst
It's been a while since I last played with it, but I remember that the best trick to auto choose the battery was:
Shell expension has never failed me here, even with dash as /bin/sh. And most people only have a single battery anyway ;)
Code: Select all
BAT=/sys/class/power_supply/BAT*
- Wed Jun 14, 2017 10:45 pm
- Forum: HOW-TO (/usr/share/man)
- Topic: Post your Command line tricks
- Replies: 283
- Views: 108151
Re: Post your Command line tricks
You guys should certainly check this: http://www.tedunangst.com/flak/post/sct-set-color-temperature A simple way to update you screen color to the time of day. Now to get back to the topic of cool CLI tricks: echo 'main(){printf("hello, world!\n"); return 0}' > hello.c cc -static hello.c -...
- Thu Mar 16, 2017 10:23 pm
- Forum: INTRODUCTIONS & CHAT (/dev/null)
- Topic: Internet scavenger hunt
- Replies: 5
- Views: 4535
Re: Internet scavenger hunt
Don't hesitate to ping me on IRC if you're stuck!
- Wed Mar 15, 2017 4:13 pm
- Forum: INTRODUCTIONS & CHAT (/dev/null)
- Topic: Internet scavenger hunt
- Replies: 5
- Views: 4535
Re: Internet scavenger hunt
Cool! So could you work it out a bit more?
- Tue Mar 14, 2017 12:14 pm
- Forum: INTRODUCTIONS & CHAT (/dev/null)
- Topic: Internet scavenger hunt
- Replies: 5
- Views: 4535
Internet scavenger hunt
Hello meat lovers! I know you're all linux enthusiasts and hobbyist, so I figured you might like to take part into an internet challenge I set up. This is a quest were you are following a bunch of hints step-by-step, in order to discover... Well, you'll know when you'll discover it! In order to avoi...
- Tue Feb 09, 2016 12:04 pm
- Forum: SCREENSHOTS (/usr/bin/scrot)
- Topic: Desktop that Moves
- Replies: 135
- Views: 54308
Re: Desktop that Moves
There are so many creative ways to use dmenu! I've been using it to extract/open url in my terminal:
http://raw.z3bra.org/dev/random/st-xurls.webm
http://raw.z3bra.org/dev/random/st-xurls.webm
- Tue Feb 09, 2016 12:01 pm
- Forum: HOW-TO (/usr/share/man)
- Topic: Post your Command line tricks
- Replies: 283
- Views: 108151
Re: Post your Command line tricks
The meme version:
Code: Select all
curl -s icanhazip.com
- Mon Nov 30, 2015 3:54 pm
- Forum: SCREENSHOTS (/usr/bin/scrot)
- Topic: Desktop that Moves
- Replies: 135
- Views: 54308
Re: Desktop that Moves
This looks pretty cool! You used the tile.sh script at the end, right?
- Tue Sep 22, 2015 9:25 pm
- Forum: CONFIGS & XRESOURCES (/home/bbq/.config)
- Topic: wmutils / sxhkd
- Replies: 62
- Views: 43321
Re: wmutils / sxhkd
New update regarding wmutils! And I need some help from you guys. I made a new branch on the core/ repo named "wmlib". You can check it here: https://github.com/wmutils/core/tree/wmlib. For now it is supposed to work EXACTLY like the master branch, except all the functions have been export...
- Sun Sep 20, 2015 11:10 pm
- Forum: CONFIGS & XRESOURCES (/home/bbq/.config)
- Topic: wmutils / sxhkd
- Replies: 62
- Views: 43321
Re: wmutils / sxhkd
It was a pleasure ;)
- Sat Sep 19, 2015 11:26 pm
- Forum: SCREENSHOTS (/usr/bin/scrot)
- Topic: Desktop that Moves
- Replies: 135
- Views: 54308
Re: Desktop that Moves
Making a quick scratchpad using wmutils: http://raw.z3bra.org/dev/random/scratchpad.webm
I love when people ask me things like "can you do <X> with wmutils?". It always end up with a nice script and webm!
I love when people ask me things like "can you do <X> with wmutils?". It always end up with a nice script and webm!
- Wed Sep 09, 2015 7:23 pm
- Forum: CONFIGS & XRESOURCES (/home/bbq/.config)
- Topic: wmutils / sxhkd
- Replies: 62
- Views: 43321
Re: wmutils / sxhkd
These are not "separate" projects. We created contrib for people willing to contribute to the project, by providing scripts that would both be used by the community, and serve as a kind of "documentation". To avoid having an empty project, I converted some of my existing script t...
- Wed Sep 09, 2015 12:01 am
- Forum: CONFIGS & XRESOURCES (/home/bbq/.config)
- Topic: wmutils / sxhkd
- Replies: 62
- Views: 43321
Re: wmutils / sxhkd
Hey hi fellas! I wish I started reading it from the start. I feel truly proud to see the dedication you put into this, and would love to give a hand! I know my script cover more cases than the one in contrib, and it should be fixed. This repo is for the community, so if you,have any idea to improve ...
- Mon May 04, 2015 4:27 pm
- Forum: POLLS (/usr/bin/dialog)
- Topic: What's your uname?
- Replies: 264
- Views: 773968
Re: What's your uname?
Which one? Pick the one you prefer ;) Linux gavroche 3.14.22-1-grsec #2-Alpine SMP Thu Oct 23 12:53:13 GMT 2014 x86_64 Linux Linux cosette 3.19.1 #2 SMP Mon Mar 23 20:34:36 CET 2015 x86_64 AMD A10-5800K APU with Radeon(tm) HD Graphics AuthenticAMD GNU/Linux Linux z3bra-vm 3.19.3-3-ARCH #1 SMP PREEMP...
- Wed Apr 29, 2015 8:12 pm
- Forum: HOW-TO (/usr/share/man)
- Topic: Post your Command line tricks
- Replies: 283
- Views: 108151
Re: Post your Command line tricks
Oh, my bad, I forgot the most important bit!
It will then output what's currently loaded in the database
Code: Select all
xrdb -query | grep -E '\*color[0-9]*:'
- Wed Apr 29, 2015 5:52 pm
- Forum: HOW-TO (/usr/share/man)
- Topic: Post your Command line tricks
- Replies: 283
- Views: 108151
Re: Post your Command line tricks
Hey, did you know? You can interact with the X resources database using its client: "xrdb".
And as every database client, it can both write and READ data to/from the database:
And as every database client, it can both write and READ data to/from the database:
Code: Select all
xrdb | grep -E '\*color[0-9]*:'
- Tue Apr 21, 2015 12:24 pm
- Forum: CONFIGS & XRESOURCES (/home/bbq/.config)
- Topic: wmutils / sxhkd
- Replies: 62
- Views: 43321
Re: swm
@machinebacon: Also, for your WM idea (one window per workspace), you could do the following using wew(1) from the opt repo, and sxhkd(1) from baskerville: This one will define what happens when a new window is created (so putting it fullscreen, on top of others and add its ID to a file), and deleti...
- Tue Apr 21, 2015 11:53 am
- Forum: CONFIGS & XRESOURCES (/home/bbq/.config)
- Topic: wmutils / sxhkd
- Replies: 62
- Views: 43321
Re: swm
Yeah that could be nice! Should it be a thread to share scrots or scripts?
- Tue Apr 21, 2015 1:45 am
- Forum: CONFIGS & XRESOURCES (/home/bbq/.config)
- Topic: wmutils / sxhkd
- Replies: 62
- Views: 43321
Re: swm
So much love for swm & wmutils in there, thanks for this ! @dkeg: dcat wrote swm by taking inspiration from 2bwm, so you might like it as well. Now it's meant to be used with wmutils, as it will only handle the mouse, and windiw borders (it has double borders too!) You guys might want to check t...