Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - PackRat

#2341
WM Designs and Discussions / Re: Fluxbox Styles
April 03, 2013, 03:35:26 PM
Took Vastone's VSIDO most recent theme and tweaked the color scheme a bit. Main change was to make the active window and iconbar a dark green gradient instead of dark blue:

#This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License.
#(http://creativecommons.org/licenses/by-sa/3.0/de/deed.en)



################################################################################
#
# name: bias_allblack
# made: tenner
# date: 02-07-2005
# http://www.tenr.de
#
# modified by vastone and packrat - april 2013
############################################################## FONTS ###########

*.font: Ubuntu-9
#menu.frame.font: sans-8:bold
#menu.title.font: sans-10:bold
#toolbar.clock.font: sans-12:bold
#toolbar.workspace.font: tahoma-10:bold
#toolbar.iconbar.focused.font: sans-8:bold
#toolbar.iconbar.unfocused.font: sans-8
#window.font: sans-8

############################################################## MENU ############

menu.bevelWidth: 2

menu.hight: 21

menu.borderColor: #000000
menu.borderWidth: 1

menu.bullet.position: Right

menu.frame: sunken Gradient Vertical
menu.frame.pixmap:
menu.frame.justify: left
menu.frame.color: #2B3139
menu.frame.colorTo: #010103
menu.frame.textColor: #E6E6E6

menu.title: flat Bevel1 Gradient vertical
menu.title.pixmap:
menu.title.justify: center
menu.title.color: #3B473B
menu.title.colorTo: #010103
menu.title.textColor: #E5E5FF

menu.hilite: flat bevel1 Gradient vertical
menu.hilite.pixmap:
menu.hilite.color: #3B473B
menu.hilite.colorTo: #010301
menu.hilite.textColor: #E5E5FF

menu.bullet: empty

############################################################## TOOLBAR #########

toolbar.bevelWidth: 0

toolbar.borderWidth: 1
toolbar.borderColor: #000000

toolbar.height: 18

toolbar.justify: center

toolbar.clock: flat bevel1 gradient vertical
toolbar.clock.pixmap:
toolbar.clock.justify: right
toolbar.clock.textColor: #E5E5FF
toolbar.clock.color: #2B3139
toolbar.clock.colorTo: #010103

toolbar.systray: flat bevel1 gradient vertical
toolbar.systray.pixmap:
toolbar.systray.justify: Center
toolbar.systray.textColor: #
toolbar.systray.color: #2B3139
toolbar.systray.colorTo: #010103

toolbar.workspace: flat bevel1 gradient vertical
toolbar.workspace.pixmap:
toolbar.workspace.justify: Center
toolbar.workspace.textColor: #E5E5FF
toolbar.workspace.color: #2B3139
toolbar.workspace.colorTo: #010103

toolbar.button: flat bevel1 gradient vertical
toolbar.button.pixmap:
toolbar.button.picColor: #E5E5FF
toolbar.button.color: #2B3139
toolbar.button.colorTo: #010103
toolbar.button.pressed.pixmap:
toolbar.button.pressed.picColor: #616161
toolbar.button.pressed.color: #3B4247
toolbar.button.pressed.colorTo: #010103

toolbar.iconbar.empty: flat bevel1 gradient vertical
toolbar.iconbar.empty.pixmap:
toolbar.iconbar.empty.color: #2B3139
toolbar.iconbar.empty.colorTo: #010103

toolbar.iconbar.focused: raised bevel1 gradient vertical
toolbar.iconbar.focused.pixmap:
toolbar.iconbar.focused.textColor: #E5E5FF
toolbar.iconbar.focused.color: #3B473B
toolbar.iconbar.focused.colorTo: #010301
toolbar.iconbar.focused.justify: center

toolbar.iconbar.unfocused: raised bevel1 gradient vertical
toolbar.iconbar.unfocused.pixmap:
toolbar.iconbar.unfocused.textColor: #616161
toolbar.iconbar.unfocused.color: #2B3139
toolbar.iconbar.unfocused.colorTo: #010103
toolbar.iconbar.unfocused.justify: center

############################################################## WINDOW ##########
# window.roundCorners: TopRight TopLeft
window.bevelWidth: 2
window.shade: false
window.borderWidth: 1
window.borderColor: #2B2B2B

window.justify: Center

window.title.height: 18

window.title.focus: flat gradient vertical
window.title.focus.color: #3B4247
window.title.focus.colorTo: #010103
window.title.unfocus: flat gradient vertical
window.title.unfocus.color: #3B4247
window.title.unfocus.colorTo: #010103

window.label.focus: flat gradient vertical
window.label.focus.color: #3B473B
window.label.focus.colorTo: #010301
window.label.focus.textColor: #B6B8C1

window.label.unfocus: flat gradient vertical
window.label.unfocus.color: #3b4247
window.label.unfocus.colorTo: #010103
window.label.unfocus.textColor: #65676B

window.button.focus: flat gradient vertical
window.button.focus.color:      #3B4247
window.button.focus.colorTo:      #010103
window.button.focus.picColor: #B6B8C1

window.button.unfocus: flat gradient vertical
window.button.unfocus.Color: #3b4247
window.button.unfocus.ColorTo: #010103
window.button.unfocus.picColor: #65676B
window.button.pressed: parentrelative
window.button.pressed.color: #
window.button.pressed.colorTo: #
window.button.pressed.picColor: #000000

window.handle.focus: flat gradient vertical
window.handle.focus.color: #4E5A6A
window.handle.focus.colorTo: #010508
window.handle.unfocus: gradient vertical
window.handle.unfocus.color: #3C4552
window.handle.unfocus.colorTo: #010508
window.handleWidth: 2

window.grip.focus: raised gradient vertical
window.grip.focus.color: #3b4247
window.grip.focus.colorTo: #010103
window.grip.unfocus: raised
window.grip.unfocus.color: #2B2B2B
window.grip.unfocus.colorTo: #2B2B2B

################################################################################
slit: flat
slit.bevelWidth:
slit.borderColor:
slit.borderWidth:
slit.color:
slit.colorTo:
slit.pixmap:

# EOF


eye candy in the April screenshot thread.
#2342
Artwork & Screenshots / Re: April 2013 Screenshots
April 03, 2013, 03:29:57 PM
Updated kernel so my SD card has full functionality, updated to most recent of T's weather scripts so the icons are back, some Tao for everyone to ponder, and added some compositing bling:



@Sector11 - hook me up with that wall (the clipper ship) por favor.

@vastone - the theme will be posted in the window manager (fluxbox themes) thread.
#2343
Artwork & Screenshots / Re: April 2013 Screenshots
April 02, 2013, 02:30:59 PM
@vastone -

used your blue theme as template - nice work - and changed active color to a dark green gradient:

#2344
Artwork & Screenshots / Re: April 2013 Screenshots
April 02, 2013, 01:21:52 AM
Thanks. Duly borrowed and tweaking in progress:

#2345
Artwork & Screenshots / Re: April 2013 Screenshots
April 02, 2013, 12:28:16 AM
Thanks

What fluxbox theme you using; custom?
#2346
Artwork & Screenshots / Re: April 2013 Screenshots
April 02, 2013, 12:15:04 AM
Changed the colors up a bit:

#2347
Artwork & Screenshots / Re: March 2013 Screenshots
March 28, 2013, 03:32:11 PM
@Sector11 -

Blueprints .... blueprints? We don't need no stinkin' blueprints!   ;D



Nice looking shots, vsidoans.
#2348
Yes, I duplicated the problem you're having. Although, using Alt-Shift-Tab cycled through all of them.

edit - did some searching; looks like it is related to the focus model. I was using click-to-focus which I think is the default. Switching over to mouse focus, or mouse focus strict solves the problem on my system. I can also get the Alt-Tab working as expected if I leave it as click-to-focus, but turn off the Auto Raise option.

This focus model pretty much makes things behave the way I want:



Edit - too weird -

If I change the default:

Mod1 Tab :NextWindow {groups} (workspace=[current])
Mod1 Shift Tab :PrevWindow {groups} (workspace=[current])


to:

Mod1 Tab :NextWindow (workspace=[current])
Mod1 Shift Tab :PrevWindow (workspace=[current])


in the $HOME/.fluxbox/keys file, the Alt-Tab and Alt-Shift-Tab works as expected with the default focus model. Eliminating {groups}, however, results in tabbed windows not being treated as a group.

Final Edit - I couldn't duplicate the issue on my desktop computer. Desktop is Debian Wheezy, and the laptop is Debian Sid and has a touch-pad. Other than that, pretty much the same setup.
#2349
Artwork & Screenshots / Re: March 2013 Screenshots
March 16, 2013, 02:11:57 PM
@lwfitz Nice one - one thought though, switch from xterm to rxvt-unicode and use the blur feature:

-blr 5

5-7 on the blurring works well without slowing down the terminal refresh; might clash with fluxbox transparency though.

And now that I'm thinking about it, can the lua functions be written to include blurring so that the conky backgrounds would blur?
#2350
Not a whole lot to say - almost the entire theme/desktop is Fvwm. There is no system tray in Fvwm so I use stalonetray. Mainly because it supports transparency and color gradients if needed. Peksystray and Xysystray also work well but are more limited. All three are swallowed into FvwmButtons more readily that trayer  to create a traditional taskbar in my experience. Xclock provides the clock. The rest is all Fvwm configuration.

Nothing particularly fascinating under the hood; all pretty well documented Fvwm functions.
#2351
Artwork & Screenshots / Re: March 2013 Screenshots
March 11, 2013, 12:33:07 PM
Some nice shots this month.

Will tint2 be the default panel for fluxbxo VSIDO?

And the shot -

#2352
Use wget with the -c option; from the manpage:

-c,  --continue                resume getting a partially-downloaded file.

very handy for large files like iso images in case your bandwidth gets interrupted.

wget -c <the file being downloaded>
#2353
Every forum needs a thread about Fvwm so I started one.  :D

Lightweight, incredibly configurable, stable window manager. Desktop is all Fvwm with FvwmPager, FvwmIconMan, stalonetray, and xclock swallowed by FvwmButtons to create the standard xfce/gnome2 type panel. A function defined in the Fvwm configuration files creates a thumbnail for iconified windows instead of the usual icon:

Vastone likes to say "screenshot or it didn't happen" and it's his forum, so:

#2354
No problem.

As promised, the screenshot. Fluxbox - latest built from git sources, compton, real transparency in urxvt-unicode (requires an .Xdefault setting), tabbed urxvt, and conky in the slit so that maximzed windows do not cover all that useful info:

#2355
WM Designs and Discussions / Re: i3 (tiling WM)
March 11, 2013, 03:35:31 AM
For vastone - well, anyone really.

pretty much stock i3 config file - the documentation on the i3 site is awesome. Some changes to the default keybindings; I use a fluxbox-fvwm baseline for my key bindings to save on my aging memory.

# This file has been auto-generated by i3-config-wizard(1).
# It will not be overwritten, so edit it as you like.
#
# Should you change your keyboard layout somewhen, delete
# this file and re-run i3-config-wizard(1).
#

# i3 config file (v4)
#
# Please see http://i3wm.org/docs/userguide.html for a complete reference!

set $mod Mod4
set $ALT Mod1

default_orientation horizontal
workspace_layout tabbed
new_window 1pixel

# window colours: border background text
client.focused        #0F0F0F #FFA252 #0A0A0A
client.focused_inactive    #0F0F0F #5697B2 #E5E5EE
client.unfocused    #0F0F0F #5697B2 #E5E5EE
client.urgent        #E1696E #E1696E #E5E5EE

# font for window titles. ISO 10646 = Unicode
# font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
font -xos4-terminus-medium-r-normal-*-12-120-72-72-c-60-iso10646-1
# font pango:Droid Sans Mono, Terminus Regular 10

# Use Mouse+$mod to drag floating windows to their wanted position
# floating_modifier $mod
floating_modifier $ALT

exec xrdb -l /home/doug/.Xdefaults
exec xmodmap /home/doug/.Xmodmap
exec xsetroot -mod 1 1 -fg mediumslateblue -bg lightslategray
exec urxvtd -q -f -o
exec update-notifier
exec nm-applet
exec fbsetbg -t -r "$HOME/pixmaps/"

# start a terminal
#bindsym $mod+Return exec i3-sensible-terminal
bindsym $ALT+F1 exec urxvtc

# kill focused window
bindsym $ALT+F4 kill

# start dmenu (a program launcher)
bindsym $ALT+F2 exec dmenu_run -nb rgb:01/01/01 -nf rgb:f6/f6/ff -sf rgb:01/01/01 -sb rgb:00/CD/7B

bindsym XF86HomePage exec firefox
bindsym $mod+F14 exec thunderbird
bindsym $mod+Control+l exec medit
bindsym Menu exec spacefm
bindsym $mod+Control+g exec gimp
bindsym $ALT+F3 exec uxterm -geom 80x24+32+32
bindsym $mod+Shift+F3 exec urxvt -e tmux

bindsym XF86AudioRaiseVolume exec "$HOME/bin/volup.sh"
bindsym XF86AudioLowerVolume exec "$HOME/bin/voldwn.sh"
bindsym XF86AudioMute exec "$HOME/bin/volmute.sh"

assign [class="Navigator"] 2
for_window [class="Navigator"] border 1pixel
assign [class="Firefox"] 2
for_window [class="Firefox"] border 1pixel
assign [class="Thunderbird"] 2
for_window [class="Thunderbird"] border 1pixel
assign [class="Gimp"] 3
for_window [class="Gimp"] border normal
assign [class="Gnome-mplayer"] 4
for_window [class="Gnome-mplayer"] floating enable
for_window [class="XFontsel"] floating enable
for_window [title="Event Tester"] floating enable
for_window [class="Gcolor2"] floating enable
for_window [class="UXTerm"] floating enable
for_window [class="UXTerm"] border 1pixel

# change focus
#bindsym $mod+j focus left
#bindsym $mod+k focus down
#bindsym $mod+l focus up
#bindsym $mod+semicolon focus right

bindsym $ALT+Tab focus right
bindsym $ALT+Shift+Tab focus left

# alternatively, you can use the cursor keys:
bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right focus right

# move focused window
#bindsym $mod+Shift+J move left
#bindsym $mod+Shift+K move down
#bindsym $mod+Shift+L move up
#bindsym $mod+Shift+colon move right

# alternatively, you can use the cursor keys:
bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right

# split in horizontal orientation
bindsym $mod+h split h

# split in vertical orientation
bindsym $mod+v split v

# enter fullscreen mode for the focused container
bindsym $mod+f fullscreen

# change container layout (stacked, tabbed, default)
bindsym $mod+s layout stacking
bindsym $mod+t layout tabbed
bindsym $mod+d layout default

# toggle tiling / floating
bindsym $mod+Shift+space floating toggle

# change focus between tiling / floating windows
bindsym $mod+space focus mode_toggle

# focus the parent container
bindsym $mod+p focus parent

# focus the child container
# bindcode $mod+c focus child

# switch to workspace
bindsym $mod+1 workspace 1
bindsym $mod+2 workspace 2
bindsym $mod+3 workspace 3
bindsym $mod+4 workspace 4
bindsym $mod+5 workspace 5
bindsym $mod+6 workspace 6
bindsym $mod+7 workspace 7
bindsym $mod+8 workspace 8
bindsym $mod+9 workspace 9
bindsym $mod+0 workspace 10

# move focused container to workspace
bindsym $mod+Shift+exclam move container to workspace 1
bindsym $mod+Shift+at move container to workspace 2
bindsym $mod+Shift+numbersign move container to workspace 3
bindsym $mod+Shift+dollar move container to workspace 4
bindsym $mod+Shift+percent move container to workspace 5
bindsym $mod+Shift+asciicircum move container to workspace 6
bindsym $mod+Shift+ampersand move container to workspace 7
bindsym $mod+Shift+asterisk move container to workspace 8
bindsym $mod+Shift+parenleft move container to workspace 9
bindsym $mod+Shift+parenright move container to workspace 10

# reload the configuration file
bindsym $mod+Shift+C reload
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
bindsym $mod+q restart
# exit i3 (logs you out of your X session)
bindsym $mod+Shift+Q exit

# resize window (you can also use the mouse for that)
mode "resize" {
        # These bindings trigger as soon as you enter the resize mode

        # Pressing left will shrink the window's width.
        # Pressing right will grow the window's width.
        # Pressing up will shrink the window's height.
        # Pressing down will grow the window's height.
        bindsym j resize shrink width 10 px or 10 ppt
        bindsym k resize grow height 10 px or 10 ppt
        bindsym l resize shrink height 10 px or 10 ppt
        bindsym semicolon resize grow width 10 px or 10 ppt

        # same bindings, but for the arrow keys
        bindsym Right resize shrink width 10 px or 10 ppt
        bindsym Down resize grow height 10 px or 10 ppt
        bindsym Up resize shrink height 10 px or 10 ppt
        bindsym Left resize grow width 10 px or 10 ppt

        # back to normal: Enter or Escape
        bindsym Return mode "default"
        bindsym Escape mode "default"
}

bindsym $mod+r mode "resize"

# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
bar {
       position top
       workspace_buttons yes
       colors {
          background #0F0F0F
          statusline #E5E5EE
          focused_workspace #FFA252 #FFA252 #0A0A0A
          active_workspace #7FB256 #0F0F0F #E5E5E5
          inactive_workspace #5697B2 #5697B2 #E5E5E5
          urgent_workspace #E1696E #E16963 #E5E5E5
              }
       status_command /home/doug/bin/conky_i3bar.sh
#      status_command conky
}


the script for conky; colorized using JSON - also documented on i3 site; many thanks to #! BBQer jkeg for this one:

################################################
# Pass colors to i3 status bar conky with JSON #
################################################

## Create a script in ~/bin and name it conky_i3bar.sh. 

#!/bin/sh

# Send the header so that i3bar knows we want to use JSON:
echo '{ "version": 1 }'

# Begin the endless array.
echo '['

# We send an empty first array of blocks to make the loop simpler:
echo '[],'

# Now send blocks with information forever:
exec conky -c /home/doug/.i3/.conkyrc


and the .conkyrc

out_to_x no
own_window no
out_to_console yes
background no
max_text_width 0
update_interval 1.0
total_run_times 0
short_units yes
cpu_avg_samples 4
use_spacer none

TEXT
# JSON for i3bar

[

{ "full_text" : "  Up: ${uptime_short}  " , "color" : "\#E5E5EE" },

        { "full_text" : "  CPU: ${cpu}%  " , "color" :
                ${if_match ${cpu}>33}"\#FF2828"${else}"\#E5E5EE"${endif} },

        { "full_text" : "  CORE0: ${execpi 60 /home/doug/conky/TCore0.sh}°C  " , "color" :
                ${if_match ${execpi 60 /home/doug/conky/TCore0.sh}>=80}"\#FF2828"${else}${if_match ${execpi 60 /home/doug/conky/TCore0.sh}>=50}"\#FAFA10"${else}"\#E5E5EE"${endif}${endif} },

        { "full_text" : "  CORE1: ${execpi 60 /home/doug/conky/TCore1.sh}°C  " , "color" :
                ${if_match ${execpi 60 /home/doug/conky/TCore1.sh}>=80}"\#FF2828"${else}${if_match ${execpi 60 /home/doug/conky/TCore1.sh}>=50}"\#FAFA10"${else}"\#E5E5EE"${endif}${endif} },

        { "full_text" : "  RAM  ${memperc}%  " , "color" :
                ${if_match ${memperc}>20}"\#FF2828"${else}"\#E5E5EE"${endif} } ,

        { "full_text" : "  WLAN:  ${wireless_link_qual_perc wlan0}% " , "color" :
                ${if_match ${wireless_link_qual_perc wlan0}<50}"\#FF2828"${else}"\#E5E5EE"${endif} },

{ "full_text" : "  U:  ${upspeedf wlan0} " , "color" :
                ${if_match ${upspeedf wlan0}<=500}"\#E5E5EE"${else}"\#00EEEE"${endif} },

{ "full_text" : "  D:  ${downspeedf wlan0} " , "color" :
                ${if_match ${downspeedf wlan0}<=500}"\#E5E5EE"${else}"\#00EEEE"${endif} },

        { "full_text" : "  BATT:  ${battery_percent BAT0}%  " , "color" :
                ${if_match ${battery_percent BAT0}<=15}"\#FF2828"${else}${if_match ${battery_percent BAT0}<=33}"\#FAFA10"${else}"\#E5E5EE"${endif}${endif} } ,

{ "full_text" : "  ${time %a %e %b  %k:%M}  " , "color" : "\#E5E5EE" }

],


a non-colored conky that doesn't require the JSON formatting works just fine.

The TCore0.sh for CPU temp - based on output from lm-sensors:

#!/bin/sh
sensors | awk '/Core 0/ {gsub(/\+/,"",$3); gsub(/\..+/,"",$3); print $3}'