New Posts  All Forums:Forum Nav:

Show Your Linux - Page 378  

Poll Results: Which Linux Desktop do you use?

This is a multiple choice poll
  • 12% of voters (103)
    Gnome 2 / Mate
  • 10% of voters (85)
    Gnome-Shell
  • 13% of voters (117)
    Unity
  • 18% of voters (158)
    Cinnamon
  • 17% of voters (148)
    KDE
  • 15% of voters (134)
    XFCE
  • 4% of voters (39)
    LXDE
  • 1% of voters (15)
    Enlightenment / E17
  • 6% of voters (55)
    OpenBox / FluxBox
  • 3% of voters (30)
    Awesome / DWM
  • 9% of voters (81)
    Other
845 Total Votes  
post #3771 of 7733
Quote:
Originally Posted by jrl1357 View Post

and another rep for shrak! it works. I'm going to have alot of fun messing with this, although for now its almost the same

Congrats, and have fun thumb.gif


If you ever want to get into patching;

http://dwm.suckless.org/patches/

and for a lot of random, but awesome patches that aren't on the official site along with some terms, this thread is pretty awesome;

https://bbs.archlinux.org/viewtopic.php?id=92895&p=1

Quote:
Originally Posted by Xaero252 View Post

I have an interesting question for you - do you use a mouse at all anymore? I mean I'm a fan of doing the majority of computing tasks via keyboard, but I still find myself relying on the mouse for certain navigation of menus etc. And then obviously, when I start playing games. I think I would definitely prefer using full keyboard on a laptop, outside of small navigation tasks.

I use whatever we want to call....

appropriate_term.png

while web browsing ( on laptop, mouse while on desktop ).

Other than that, I don't touch it. I can't stand the mouse anymore. A shame too since I had gotten really into gaming a few years back and got a nice mouse... that now pretty much sits 95% of the time, lol.
Edited by Shrak - 9/30/12 at 6:41pm
post #3772 of 7733
ok, new look





is there a way to add a thin white line at the bottom of the panal (kind of to match the conky)

anyway, one guess on the movie

will be looking though those links very soon wink.gif
post #3773 of 7733
Quote:
Originally Posted by jrl1357 View Post

ok, new look Warning: Spoiler! (Click to show)

is there a way to add a thin white line at the bottom of the panal (kind of to match the conky)
anyway, one guess on the movie
will be looking though those links very soon wink.gif

If you want to try one of my older builds before i started breaking it with other hacks;
dwm-5.8.2-shrak-old.zip 120k .zip file



Already patched with;

Statuscolors
Pertag
XFT and Pango
Bottom margin ( creates a gap for my dzen or conky bar like in my screens up top, when bar is on bottom gap is on top and vice versa )
panel padding
text alignment
bar border ( capable of being a single like, such as mine, or a full 1 px box all around. currently only a 1px bar on bottom for top bar alignment )
color definitions for each part of the bar.
and some other randoms



If you use my setup you'll likely have to remove the -h 16 from dmenucmd as that's for a dmenu patch to add height.
Code:
static const char *dmenucmd[] = { "dmenu_run", "-i", "-b", "-p", "Run command:", 
                                  "-fn",        dmenufont, 
                                  "-nb",        colors[0][ColBG], 
                                  "-nf",        colors[0][ColFG], 
                                  "-sb",        colors[1][ColBG], 
                                  "-sf",        colors[1][ColFG],
-                                  "-h",         "13", NULL };
+                                 NULL };

Also, setting " static const Bool resizehints = False; " will fix that gap on the bottom of your terminal.

And if you want to add the status to the right of the bar instead of "dwm-{version}" then add this to your .xinitrc;

As well, it's using Mod4Key ( Windows Key ) and not Alt.
Code:
# Start DWM status
while true;
    do 
     source /home/sarge/documents/scripts/dwm-status.sh
    sleep 1s
  done &

( obviously change the path to the file )

and here's a small script I've had laying around;
Code:
mem(){
     mem="$(free -m | grep buffers/cache | awk '{print $3}')"
     echo -e " Mem: $mem "
     }

dte(){
     dte="$(date "+%a   %m/%d/%Y   %I:%M")"
     echo -e " $dte "
     }

col(){ 
     echo -en "\x01"
}

sep(){ 
        echo -e "•"
     }

# Pipe to status bar
  xsetroot -name "$(col)$(mem) $(sep) $(dte)"


the \x01 is the color to be used from config.h. x01 obvious means the first 1 color. just change if to the color of your choice that you can define in config.h ( already nine define, just change what you will ).
Edited by Shrak - 10/1/12 at 7:28am
post #3774 of 7733
Quote:
Originally Posted by Shrak View Post

Quote:
Originally Posted by jrl1357 View Post

ok, new look Warning: Spoiler! (Click to show)

is there a way to add a thin white line at the bottom of the panal (kind of to match the conky)
anyway, one guess on the movie
will be looking though those links very soon wink.gif

If you want to try one of my older builds before i started breaking it with other hacks;
dwm-5.8.2-shrak-old.zip 120k .zip file



Already patched with;

Statuscolors
Pertag
XFT and Pango
Bottom margin ( creates a gap for my dzen or conky bar like in my screens up top, when bar is on bottom gap is on top and vice versa )
panel padding
text alignment
bar border ( capable of being a single like, such as mine, or a full 1 px box all around. currently only a 1px bar on bottom for top bar alignment )
color definitions for each part of the bar.
and some other randoms



If you use my setup you'll likely have to remove the -h 16 from dmenucmd as that's for a dmenu patch to add height.
Code:
static const char *dmenucmd[] = { "dmenu_run", "-i", "-b", "-p", "Run command:", 
                                  "-fn",        dmenufont, 
                                  "-nb",        colors[0][ColBG], 
                                  "-nf",        colors[0][ColFG], 
                                  "-sb",        colors[1][ColBG], 
                                  "-sf",        colors[1][ColFG],
-                                  "-h",         "13", NULL };
+                                 NULL };

Also, setting " static const Bool resizehints = False; " will fix that gap on the bottom of your terminal.

And if you want to add the status to the right of the bar instead of "dwm-{version}" then add this to your .xinitrc;

As well, it's using Mod4Key ( Windows Key ) and not Alt.
Code:
# Start DWM status
while true;
    do 
     source /home/sarge/documents/scripts/dwm-status.sh
    sleep 1s
  done &

( obviously change the path to the file )

and here's a small script I've had laying around;
Code:
mem(){
     mem="$(free -m | grep buffers/cache | awk '{print $3}')"
     echo -e " Mem: $mem "
     }

dte(){
     dte="$(date "+%a   %m/%d/%Y   %I:%M")"
     echo -e " $dte "
     }

col(){ 
     echo -en "\x01"
}

sep(){ 
        echo -e "•"
     }

# Pipe to status bar
  xsetroot -name "$(col)$(mem) $(sep) $(dte)"


the \x01 is the color to be used from config.h. x01 obvious means the first 1 color. just change if to the color of your choice that you can define in config.h ( already nine define, just change what you will ).

thanks! I'll look though that and into more patches soon. I'll be adding that status script for sure thumb.gif
post #3775 of 7733
added some layout patches biggrin.gif

I can't find the one I really want though, that border bar. you wouldn't happen to still have the diff would you? or know where to get it?
Edited by jrl1357 - 10/1/12 at 2:20pm
post #3776 of 7733
o_O



I'm a linux n00b, deal with it. X3
post #3777 of 7733
Quote:
Originally Posted by Miki View Post

o_O

I'm a linux n00b, deal with it. X3

What icon set are you using?
     
CPUGraphicsRAMHard Drive
Intel Core m3-6Y30 Intel HD515 8GB 1866DDR3L Micron M600 MTFDDAV256MBF M.2, 256 GB 
CoolingOSOSMonitor
Fanless Win10 Home x64 Kubuntu 16.04 (requires Linux kernel 4.5/4.6) 13.3 inch 16:9, 1920x1080 pixel, AU Optronics A... 
CPUMotherboardGraphicsRAM
AthlonIIX4 640 3.62GHz (250x14.5) 2.5GHz NB Asus M4A785TD-M EVO MSI GTX275 (Stock 666) 8GBs of GSkill 1600 
RAMHard DriveHard DriveHard Drive
4GBs of Adata 1333 Kingston HyperX 3k 120GB WD Caviar Black 500GB Hitachi Deskstar 1TB 
Optical DriveCoolingOSOS
LG 8X BDR (WHL08S20) Cooler Master Hyper 212+ Kubuntu x64 Windows 7 x64 
OSMonitorPowerCase
Bodhi Linux x64 Acer G215H (1920x1080) Seasonic 520 HAF912 
CPUMotherboardGraphicsRAM
N450 1.8GHz AC and 1.66GHz batt ASUS proprietary for 1001P GMA3150 (can play bluray now!?) 1GB DDR2 
Hard DriveOptical DriveOSOS
160GB LGLHDLBDRE32X Bodhi Linux Fedora LXDE 
OSOSMonitorKeyboard
Kubuntu SLAX 1280x600 + Dell 15inch Excellent! 
PowerCase
6 cells=6-12hrs and a charger 1001P MU17 Black 
  hide details  
     
CPUGraphicsRAMHard Drive
Intel Core m3-6Y30 Intel HD515 8GB 1866DDR3L Micron M600 MTFDDAV256MBF M.2, 256 GB 
CoolingOSOSMonitor
Fanless Win10 Home x64 Kubuntu 16.04 (requires Linux kernel 4.5/4.6) 13.3 inch 16:9, 1920x1080 pixel, AU Optronics A... 
CPUMotherboardGraphicsRAM
AthlonIIX4 640 3.62GHz (250x14.5) 2.5GHz NB Asus M4A785TD-M EVO MSI GTX275 (Stock 666) 8GBs of GSkill 1600 
RAMHard DriveHard DriveHard Drive
4GBs of Adata 1333 Kingston HyperX 3k 120GB WD Caviar Black 500GB Hitachi Deskstar 1TB 
Optical DriveCoolingOSOS
LG 8X BDR (WHL08S20) Cooler Master Hyper 212+ Kubuntu x64 Windows 7 x64 
OSMonitorPowerCase
Bodhi Linux x64 Acer G215H (1920x1080) Seasonic 520 HAF912 
CPUMotherboardGraphicsRAM
N450 1.8GHz AC and 1.66GHz batt ASUS proprietary for 1001P GMA3150 (can play bluray now!?) 1GB DDR2 
Hard DriveOptical DriveOSOS
160GB LGLHDLBDRE32X Bodhi Linux Fedora LXDE 
OSOSMonitorKeyboard
Kubuntu SLAX 1280x600 + Dell 15inch Excellent! 
PowerCase
6 cells=6-12hrs and a charger 1001P MU17 Black 
  hide details  
post #3778 of 7733
Quote:
Originally Posted by jrl1357 View Post

added some layout patches biggrin.gif
I can't find the one I really want though, that border bar. you wouldn't happen to still have the diff would you? or know where to get it?

That was one of my own little hacks ( someone else also did it at the Arch linux forums, in the link I posted earlier in this thread ) tongue.gif

Open up dwm.c, find void drawbar ( alphebetical order in the c file ) and add the two lines below near the end like I have.
Code:
void
drawbar(Monitor *m){
    ...
    ...
    ...
    ...
+    XSetForeground(dpy, dc.gc, dc.colors[8][ColBorder]);
+    XDrawRectangle(dpy, dc.drawable, dc.gc, 0, bh-1, m->ww, 0);
    XCopyArea(dpy, dc.drawable, m->barwin, dc.gc, 0, 0, m->ww, bh, 0, 0);    
    XSync(dpy, False);
}

*Note; you'll likely have to change the " dc.colors[8][ColBorder] " to be whatever it's supposed to be without the statuscolors patch, as it's meant to be used with it. I can't think of it off the top of my mind and don't have a vanilla source atm ( on my phone, lol ).


Edit: It's " col[ColBorder] ", so give that a try ( unless you apply the statuscolors patch, highly recommended anyways, then just change the 8 to 0-3 ( as you won't have 8 statuscolors defined by default) ). The only problem to not using statuscolors with it, is the border will change colors depending on whether or not the desktop has a window on it. So, as an example;

With;


Without;


Quote:
Originally Posted by Rookie1337 View Post

What icon set are you using?

Those are Faenza icons.
Edited by Shrak - 10/1/12 at 6:34pm
post #3779 of 7733
Quote:
Originally Posted by Shrak View Post

Quote:
Originally Posted by jrl1357 View Post

added some layout patches biggrin.gif
I can't find the one I really want though, that border bar. you wouldn't happen to still have the diff would you? or know where to get it?

That was one of my own little hacks ( someone else also did it at the Arch linux forums, in the link I posted earlier in this thread ) tongue.gif

Open up dwm.c, find void drawbar ( alphebetical order in the c file ) and add the two lines below near the end like I have.
Code:
void
drawbar(Monitor *m){
    ...
    ...
    ...
    ...
+    XSetForeground(dpy, dc.gc, dc.colors[8][ColBorder]);
+    XDrawRectangle(dpy, dc.drawable, dc.gc, 0, bh-1, m->ww, 0);
    XCopyArea(dpy, dc.drawable, m->barwin, dc.gc, 0, 0, m->ww, bh, 0, 0);    
    XSync(dpy, False);
}

*Note; you'll likely have to change the " dc.colors[8][ColBorder] " to be whatever it's supposed to be without the statuscolors patch, as it's meant to be used with it. I can't think of it off the top of my mind and don't have a vanilla source atm ( on my phone, lol ).


Edit: It's " col[ColBorder] ", so give that a try ( unless you apply the statuscolors patch, highly recommended anyways, then just change the 8 to 0-3 ( as you won't have 8 statuscolors defined by default) ). The only problem to not using statuscolors with it, is the border will change colors depending on whether or not the desktop has a window on it. So, as an example;

With;


Without;


Quote:
Originally Posted by Rookie1337 View Post

What icon set are you using?

Those are Faenza icons.

its working but its either black or gray when I want it white. how do I tell it what color? though statuscolors? suckless doesn't have a patch for 6.0 just 5.9
post #3780 of 7733
Quote:
Originally Posted by jrl1357 View Post

its working but its either black or gray when I want it white. how do I tell it what color? though statuscolors? suckless doesn't have a patch for 6.0 just 5.9

Head over to the Arch forums ( specifically the link I provided a few posts ago ). Plenty of users have already made updated patches tongue.gif

And yes, that's why I suggest statuscolors so much tongue.gif
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
This thread is locked