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.


Messages - PackRat

Pages: 1 2 [3] 4 5 ... 141
31
Artwork & Screenshots / Re: April 2018 screenshot thread
« on: April 16, 2018, 05:50:51 PM »
@vastone - what club do you recommend for this?


32
Artwork & Screenshots / Re: April 2018 screenshot thread
« on: April 14, 2018, 03:56:29 PM »
Being checking out different shells lately - zsh and mksh are both pretty good (but I don't do anywhere near enough scripting etc ... to say any one shell is better than the other):


33
Scripts / Re: vsido-exit (systemd based logout script for VSIDO)
« on: April 11, 2018, 12:19:19 AM »
Was bored, reworked the session exit script to vertical:

Code: [Select]
#!/bin/sh

yad --form --class=VsidoExit --width=165 --borders=5 --height=320 --undecorated --skip-taskbar --image=/home/doug/temp/vsido.png --image-on-top --center \
--field="  Log Out!gnome-logout!Log Out":fbtn "pkill `wmctrl -m | awk '/Name/ {print tolower($2)}'`" \
--field="  Hibernate!gnome-session-hibernate!Hibernate":fbtn "systemctl hybernate" \
--field="  Suspend!gnome-session-suspend!Suspend":fbtn "systemctl suspend" \
--field="  Restart!system-reboot!Restart":fbtn "systemctl reboot" \
--field="  Shut Down!gnome-shutdown!Shut Down":fbtn "systemctl poweroff" \
--button=gtk-cancel \

Cropped logo -



34
Artwork & Screenshots / Re: April 2018 screenshot thread
« on: April 03, 2018, 10:13:16 PM »
fluxbox, openbox + tint2:

     

35
I've Got a Life / Re: Fishing appears to be popular with this group
« on: April 01, 2018, 11:52:47 PM »
ocean fishing and crabbing -

Atlantic croaker -



Last hurricane to come through damaged the fishing pier:


36
Artwork & Screenshots / April 2018 screenshot thread
« on: March 31, 2018, 10:50:12 PM »
Please remember to use thumbnails  :)

spectrwm and fluxbox -


37
Artwork & Screenshots / Re: March 2018 Screenshot Thread
« on: March 25, 2018, 07:17:21 PM »
@jedi - nice, good luck with the medical.

You going to be watching the rodeo or participating  :D

openbox, tint2 -


38
Tint2 Support and Scripts / Re: Tint2 Configs and scrots
« on: March 25, 2018, 07:15:06 PM »


tint2 config -

launcher button for jgmenu, executors for cpu%, load average, core temps:

Code: [Select]
# Tint2 config file
# Generated by tintwizard (http://code.google.com/p/tintwizard/)
# For information on manually configuring tint2 see http://code.google.com/p/tint2/wiki/Configure

# Background definitions
# ID 1
rounded = 0
border_width = 0
background_color = #212121 100
border_color = #2E2E2E 100

# Background definitions
# ID 2
rounded = 1
border_width = 1
background_color = #2A2A2A 100
border_color = #2A2A2A 100

# ID 3
rounded = 1
border_width = 1
background_color = #3D3D3D 100
border_color = #3D3D3D 100

# ID 4
rounded = 1
border_width = 1
background_color = #5C5C58 100
border_color = #636363 80

# ID 5
rounded = 1
border_width = 1
background_color = #A43949 100
border_color = #000000 100

# ID 6
rounded = 1
border_width = 1
background_color = #E0E0D5 100
border_color = #050314 100

# separators define all used
separator=new
separator_background_id = 0
separator_color = 0
separator_style = empty
separator_size = 1
separator_padding = 1 0

separator=new
separator_background_id = 0
separator_color = 0
separator_style = empty
separator_size = 2
separator_padding = 1 0

separator=new
separator_background_id = 0
separator_color = 0
separator_style = empty
separator_size = 2
separator_padding = 1 0

separator=new
separator_background_id = 0
separator_color = 0
separator_style = empty
separator_size = 2
separator_padding = 1 0

separator=new
separator_background_id = 0
separator_color = 0
separator_style = empty
separator_size = 2
separator_padding = 1 0

separator=new
separator_background_id = 0
separator_color = 0
separator_style = empty
separator_size = 2
separator_padding = 1 0

separator=new
separator_background_id = 0
separator_color = 0
separator_style = empty
separator_size = 2
separator_padding = 1 0

separator=new
separator_background_id = 0
separator_color = 0
separator_style = empty
separator_size = 2
separator_padding = 1 0

separator=new
separator_background_id = 0
separator_color = 0
separator_style = empty
separator_size = 2
separator_padding = 1 0

separator=new
separator_background_id = 0
separator_color = 0
separator_style = empty
separator_size = 1
separator_padding = 1 0

# buttons P
button = new
button_icon = /home/doug/.config/tint2/void-logo.png
#button_text =
#button_font =
button_font_color = #FFFFFF 100
button_tooltip = Application Menu
button_background_id = 0
button_centered = 1
button_padding = 1 1 2
button_max_icon_size = 64
button_lclick_command = jgmenu --config-file=/home/doug/.config/jgmenu/jgmenurc_jwm
button_mclick_command = rofi-apps
button_rclick_command = void-logout
#button_uwheel_command = text
#button_dwheel_command = text

# executor cpu
execp = new
execp_font = Office Code Pro Regular 10
execp_font_color = #ECECEC 100
execp_background_id = 0
execp_centered = 0
execp_padding = 0 0 0
execp_command = mpstat 1 1 | awk '$3 ~ /CPU/ { for(i=1;i<=NF;i++) { if ($i ~ /%idle/) field=i } } $3 ~ /all/ { printf("%d%",100 - $field) }'
execp_interval = 3
execp_lclick_command = urxvt -e htop -s PERCENT_CPU

# executor load
execp = new
execp_font = Office Code Pro Regular 10
execp_font_color = #ECECEC 100
execp_background_id = 0
execp_centered = 0
execp_padding = 0 0 0
execp_command = awk '{print $1" "$2" "$3}' < /proc/loadavg
execp_interval = 3
execp_lclick_command = urxvt -e htop -s PERCENT_CPU

# executor Core0
execp = new
execp_font = Office Code Pro Regular 10
execp_font_color = #ECECEC 100
execp_background_id = 0
execp_centered = 0
execp_padding = 0 0 0
execp_command = sensors | awk '/Core 0/{gsub("+","");print $3}'
execp_interval = 3
execp_lclick_command = urxvt -e sensors

# executor Core1
execp = new
execp_font = Office Code Pro Regular 10
execp_font_color = #ECECEC 100
execp_background_id = 0
execp_centered = 0
execp_padding = 0 0 0
execp_command = sensors | awk '/Core 2/{gsub("+","");print $3}'
execp_interval = 3
execp_lclick_command = urxvt -e sensors

# Panel
# panel_items = :P:T:S:B:C:
panel_items = :P:E:E:T:S:E:E:B:C:
panel_monitor = all
panel_position = bottom center horizontal
panel_size = 0 30
panel_margin = 0 0
panel_padding = 1 3 3
panel_dock = 0
wm_menu = 1
panel_layer = top
panel_background_id = 1

# Panel Autohide
autohide = 0
autohide_show_timeout = 0.7
autohide_hide_timeout = 1.5
autohide_height = 2
strut_policy = follow_size

# Taskbar
taskbar_mode = multi_desktop
#taskbar_mode = single_desktop
taskbar_padding = 1 1 2
taskbar_background_id = 2
taskbar_active_background_id = 3

# Tasks
urgent_nb_of_blink = 7
task_icon = 1
task_text = 0
task_centered = 1
task_maximum_size = 30 30
task_padding = 4 0
task_background_id = 0
task_iconified_background_id = 0
task_active_background_id = 4
task_urgent_background_id = 5
task_tooltip = 1

# Task Icons
task_icon_asb = 75 0 0
task_active_icon_asb = 100 0 0
task_urgent_icon_asb = 100 0 0
task_iconified_icon_asb = 75 0 0

# Fonts
task_font = Roboto Regular 10
task_font_color = #191919 80
task_active_font_color = #070707 80
task_urgent_font_color = #D42727 100
task_iconified_font_color = #191919 80
font_shadow = 0

# System Tray
systray = 1
systray_padding = 0 0 2
systray_sort = ascending
systray_background_id = 0
systray_icon_size = 18
systray_icon_asb = 100 0 0

# Clock
time1_format = %k:%M
time1_font = Office Code Pro Regular 10
time2_format = %F
time2_font = Sans 0
clock_font_color = #ECECEC 100
clock_tooltip =
clock_padding = 0 0
clock_background_id = 0
clock_rclick_command = yad --calendar --title=Calendar --skip-taskbar --width=256 --height=256 --posx=-100 --posy=-100 --class=Yad_Calendar --timeout=60 --timeout-indicator=bottom --text ""
time1_timezone = :US/Eastern
time2_timezone =

# Battery
battery_hide = never
battery_low_status = 25
battery_low_cmd = notify-send "battery low"
battery_full_cmd = notify-send "battery full"
ac_connected_cmd = "On AC Power"
ac_disconnected_cmd = "AC Power Disconnected"
battery_font_color = #ECECEC 100

bat1_format = %p
bat1_font = Office Code Pro Regular 10
bat2_format = %t
bat2_font = Sans 0

## Format for battery line 1. Default: %p. (since 1.0) Format specification:
# %s: State (charging, discharging, full, unknown).
# %m: Minutes left until completely charged/discharged (estimated).
# %h: Hours left until completely charged/discharged (estimated).
# %t: Time left. Shows "hrs:mins" when charging/discharging, or "Ful\" when full.
# %p: Percentage. Includes the % sign.

battery_padding = 1 1
battery_background_id = 0
battery_tooltip_enabled = 0
#battery_lclick_command = text : Command to execute on left click. (since 0.12.1)
#battery_rclick_command = text : Command to execute on right click. (since 0.12.1)
#battery_mclick_command = text : Command to execute on middle click. (since 0.12.1)
#battery_uwheel_command = text : Command to execute on wheel scroll up. (since 0.12.1)
#battery_dwheel_command = text : Command to execute on wheel scroll down. (since 0.12.1)

# Tooltips
tooltip_padding = 2 2
tooltip_show_timeout = 0.8
tooltip_hide_timeout = 0.3
tooltip_background_id = 6
tooltip_font = Monospace 11
tooltip_font_color = #050314 100

# Mouse
mouse_left = toggle_iconify
mouse_middle = none
mouse_right = close
mouse_scroll_up = toggle
mouse_scroll_down = iconify

# End of config


39
WM Designs and Discussions / Re: Using FLUXBOX as a Window Manager
« on: March 15, 2018, 03:11:38 PM »
Was reading through the man page for fluxbox to look for something I spotted in the ~/.fluxbox/init file (the fluxbox resource file) and I came across this:

Quote
session.titlebar.{left|right}: buttons
           The buttons or icons to place in the titlebar of decorated windows.
           You may specify any number, space-delimited.

           The available options are:
               Close Maximize MenuIcon Minimize Shade Stick LHalf RHalf

           Default left: Stick

           Default right: Shade Minimize Maximize Close

           LHalf and RHalf are buttons to quickly place a window into the left
           and right half of the current monitor.

I never knew abouit the LHalf and RHalf buttons before; I've seen lhalf.pixmap and rhalf.pixmap settings in themes before, but thought it was a reference to the window.

So I checked them out, and sure enough it's a button to tile left/right on the screen:



Unfortunately, they do not toggle like the Maximize, Shade, and Stick button do so the use is limited. Still, and interesting feature of fluxbox.

40
Media Room / Re: Just listened to
« on: March 13, 2018, 01:13:20 PM »
They've come a long way -



41
Conky / Re: Conky Support, Codes and Screenshots
« on: March 10, 2018, 05:48:12 PM »
one line conky -



Code: [Select]
conky.config = {
--#############################################
-- Settings
--#############################################
background = true,
use_xft = true,
-- font = 'Office Code Pro:Medium:size=10',
-- font = 'Ubuntu:Medium:size=10',
font = 'Inconsolata LGC:regular:size=10',
xftalpha = 1.0,
update_interval = 1.0,
update_interval_on_battery = 30.0,
total_run_times = 0,

own_window = true,
own_window_colour = '#070707',
own_window_transparent = true,
    own_window_type = 'override',
--    own_window_type = 'dock',
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
own_window_class = 'ConkyHoriz',
own_window_title = 'ConkyHoriz',
--#############################################
-- Compositing tips:
-- Conky can play strangely when used with
-- different compositors. I have found the
-- following to work well, but your mileage
-- may vary. Comment/uncomment to suit.
--#############################################

 -- own_window_argb_visual = true,
 --own_window_argb_value 2

--#############################################

no_buffers = true,
uppercase = true,
cpu_avg_samples = 2,
override_utf8_locale = true,
short_units = true,
imlib_cache_size = 0,
pad_percents = 1,
-- max_specials = '2048',
max_user_text = 3200,
text_buffer_size = 1024,
no_buffers = true,
if_up_strictness = 'address',
double_buffer = true,
minimum_width = 1366, minimum_height = 0,
maximum_width = 1366,
draw_shades = false,
draw_outline = false,
draw_borders = false,
draw_graph_borders = false,
border_inner_margin = 1,
border_outer_margin = 1,

default_color = '#DAC79C',
default_shade_color = '#000000',
default_outline_color = '#828282',
color0 = '#FFFFFF',
color1 = '#000000',
color2 = '#FF0000',-- - red
color3 = '#FFFF00',-- - yellow
color4 = '#0000FF',-- - blue
color5 = '#00FF00',-- - green
color6 = '#FFA500',-- - orange
color7 = '#00CDCD',-- - cyan3
color8 = '#FFD700',-- - gold
color9 = '#F00F16',-- - reddish

alignment = 'top_middle',
gap_x = 0,
gap_y = 0,

-- -- doesn't seem to work when docked in the slit --#
lua_load = '~/conky/transbg.lua',
lua_draw_hook_pre = 'draw_bg 4 0 0 0 0 0x070707 0.58',

-- Mem:${offset 8}${if_match ${memperc}<=50}${color7}${else}${if_match ${memperc}<=70}${color8}${else}${if_match ${memperc}>70}${color9}${endif}${endif}${endif}${memperc}%${color}${offset 32}\

};

conky.text = [[
${goto 12}Uptime:${offset 8}${uptime_short} \
${goto 264}Core0:${offset 8}${if_match ${hwmon 0 temp 2}<=50}${color7}${else}${if_match ${hwmon 0 temp 2}<=70}${color8}${else}${if_match ${hwmon 0 temp 2}>70}${color9}${endif}${endif}${endif}${hwmon 0 temp 2}${offset 2}°C${color}${offset 16} \
Core1:${offset 8}${if_match ${hwmon 0 temp 4}<=50}${color7}${else}${if_match ${hwmon 0 temp 4}<=70}${color8}${else}${if_match ${hwmon 0 temp 4}>70}${color9}${endif}${endif}${endif}${hwmon 0 temp 4}${offset 2}°C${color}${offset 16} \
CPU:${offset 8}${if_match ${cpu}<=50}${color7}${else}${if_match ${cpu}<=70}${color8}${else}${if_match ${cpu}>70}${color9}${endif}${endif}${endif}${cpu cpu0}%${color}${offset 16}${loadavg 1}${offset 8}${loadavg 2}${offset 8}${loadavg 3}${offset 16} \
Batt:${offset 8}${execpi 60 acpi -b | awk '/Battery 0/ {print $3}' | cut -c1-4}${offset 8}${if_match ${battery_percent BAT0}<=15}${color9}${blink ${battery_percent BAT0}%}${color}${else}${if_match ${battery_percent BAT0}<=33}${color8}${battery_percent BAT0}%${else}${if_match ${battery_percent BAT0}>33}${color7}${battery_percent BAT0}%${endif}${endif}${endif}${color}${offset 16} \
Net:${if_up wlo1}${offset 8}${wireless_bitrate wlo1}${endif}${offset 16}${if_match ${wireless_link_qual_perc wlo1}<=30}${color9}${blink ${wireless_link_qual_perc wlo1}%}${color}${else}${if_match ${wireless_link_qual_perc wlo1}<=50}${color8}${wireless_link_qual_perc wlo1}%${else}${if_match ${wireless_link_qual_perc wlo1}>50}${color7}${wireless_link_qual_perc wlo1}%${endif}${endif}${endif}${color}${offset 16}${if_up wlo1}U:${offset 8}${upspeedf wlo1}${offset 24}D:${offset 8}${downspeedf wlo1}${endif}${color}\
${alignr 12}${time %a %e %b}
]];

42
Artwork & Screenshots / Re: March 2018 Screenshot Thread
« on: March 08, 2018, 08:17:10 PM »
@riV - no problem.


43
WM Designs and Discussions / Re: Fluxbox Styles
« on: March 06, 2018, 05:24:46 PM »


Code: [Select]
!
! fluxbox style - moonstone
! created by PackRat
! creation date - 03-06-2018
!
! This program is free software: you can redistribute it and/or modify
! it under the terms of the GNU General Public License as published by
! the Free Software Foundation, either version 3 of the License, or
! (at your option) any later version.

! This program is distributed in the hope that it will be useful,
! but WITHOUT ANY WARRANTY; without even the implied warranty of
! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
! GNU General Public License for more details see <http://www.gnu.org/licenses/>.

! FONT OPTIONS
*.font: Source Serif Pro-11:regular
toolbar.workspace.font:          Source Code Pro-11:regular
toolbar.clock.font:              Source Code Pro-11:regular
!toolbar.iconbar.focused.font:    Source Serif Pro-11:semibold
!toolbar.iconbar.unfocused.font:  Source Serif Pro-11:regular
!window.font:                    <font>
!window.label.focus.font:         Source Serif Pro-11:regular
!window.label.unfocus.font:       Source Serif Pro-11:regular
!menu.frame.font:                <font>
!menu.hilite.font:               Source Serif Pro-11:regular
!menu.title.font:                <font>

!TOOLBAR OPTIONS
toolbar: flat gradient vertical
toolbar.height:                 24
toolbar.bevelWidth:             0
toolbar.color:                  #E4E4E4
toolbar.colorTo:                #E4E4E4
toolbar.borderColor:            #AAAAAA
toolbar.borderWidth:            1
toolbar.shaped:                 false
!toolbar.pixmap:                 <filename>

toolbar.clock:                  flat gradient vertical
toolbar.clock.borderColor:      #AAAAAA
toolbar.clock.borderWidth:      0
toolbar.clock.justify:          Center
!toolbar.clock.pixmap:           <filename>
toolbar.clock.color:            #E4E4E4
toolbar.clock.colorTo:          #E4E4E4
toolbar.clock.textColor:        #050505

toolbar.systray: parentrelative
!toolbar.systray.color: #0D1114
!toolbar.systray.colorTo: #0D1114

toolbar.workspace:              flat gradient vertical
toolbar.workspace.color:        #E4E4E4
toolbar.workspace.colorTo:      #E4E4E4
toolbar.workspace.justify:      Center
toolbar.workspace.textColor:    #050505
toolbar.workspace.borderColor:  #AAAAAA
toolbar.workspace.borderWidth:  0
!toolbar.workspace.pixmap:       <filename>

toolbar.button: parentrelative
toolbar.button.PicColor: #2F2F2F
toolbar.button.scale: 0.5

toolbar.iconbar.empty:          flat gradient vertical
toolbar.iconbar.empty.color:    #E4E4E4
toolbar.iconbar.empty.colorTo:  #E4E4E4
toolbar.iconbar.borderColor:    #AAAAAA
toolbar.iconbar.borderWidth:    1
!toolbar.iconbar.empty.pixmap:   <filename>

toolbar.iconbar.focused:        raised gradient vertical
toolbar.iconbar.focused.color: #424153
toolbar.iconbar.focused.colorTo: #424153
toolbar.iconbar.focused.borderColor: #AAAAAA
toolbar.iconbar.focused.borderWidth:    1
toolbar.iconbar.focused.justify:        Center
toolbar.iconbar.focused.textColor: #FCFCFC
!toolbar.iconbar.focused.pixmap: yellow-black.png

toolbar.iconbar.unfocused:        raised gradient vertical
toolbar.iconbar.unfocused.color:       #E4E4E4
toolbar.iconbar.unfocused.colorTo:     #E4E4E4
toolbar.iconbar.unfocused.borderColor: #AAAAAA
toolbar.iconbar.unfocused.borderWidth:  1
toolbar.iconbar.unfocused.justify:      Center
toolbar.iconbar.unfocused.textColor:  #2F2F2F
!toolbar.iconbar.unfocused.pixmap: <filename>

!WINDOW OPTIONS
window.title.height:            20
window.justify:                 Center
window.bevelWidth:              0
window.borderColor:             #2F2F2F
window.borderWidth:             1
!window.roundCorners:            <{Top|Bottom}{Left|Right}>
!window.frame.focusColor:        <color>
!window.frame.unfocusColor:      <color>

window.title.focus:             flat gradient vertical
window.title.focus.color:       #E4E4E4
window.title.focus.colorTo:     #E4E4E4
!window.title.focus.pixmap:      <filename>
window.title.unfocus:           flat gradient vertical
window.title.unfocus.color:     #E4E4E4
window.title.unfocus.colorTo:   #E4E4E4
!window.title.unfocus.pixmap:    <filename>

!window.label.active:            flat gradient vertical gradient horizontal
!window.label.active.textColor:  #E5E5E5

window.label.focus:             flat gradient vertical
window.label.focus.color:       #424153
window.label.focus.colorTo:     #424153
window.label.focus.textColor:   #FCFCFC
!window.label.focus.pixmap:      title.png

window.label.unfocus:           flat gradient vertical
window.label.unfocus.color:     #E4E4E4
window.label.unfocus.colorTo:   #E4E4E4
window.label.unfocus.textColor: #2F2F2F
!window.label.unfocus.pixmap:    title.png

window.button.focus:            flat gradient vertical
window.button.focus.color:      #E4E4E4
window.button.focus.colorTo:    #E4E4E4
window.button.focus.picColor:   #2F2F2F
window.button.pressed: sunken bevel2
window.button.pressed.color:    #AAAAAA
window.button.pressed.colorTo:  #AAAAAA
window.button.unfocus:          flat gradient vertical
window.button.unfocus.color:    #E4E4E4
window.button.unfocus.colorTo:  #E4E4E4
window.button.unfocus.picColor: #2F2F2F

window.grip.focus:              flat
window.grip.focus.color:        #424153
window.grip.focus.colorTo:      #424153
!window.grip.focus.pixmap:       <filename>
window.grip.unfocus:            flat
window.grip.unfocus.color:      #E4E4E4
window.grip.unfocus.colorTo:    #E4E4E4
!window.grip.unfocus.pixmap:     <filename>
window.handle.focus:            flat gradient vertical
window.handle.focus.color:      #E4E4E4
window.handle.focus.colorTo:    #E4E4E4
!window.handle.focus.pixmap:     <filename>
window.handle.unfocus:          flat gradient vertical
window.handle.unfocus.color:    #E4E4E4
window.handle.unfocus.colorTo:  #E4E4E4
!window.handle.unfocus.pixmap:   <filename>
window.handleWidth:             4
!window.iconify.pixmap:          <filename>
!window.iconify.pressed.pixmap:  <filename>
!window.iconify.unfocus.pixmap:  <filename>

!! Window decoration pixmaps
!window.button.focus.pixmap:     <filename>
!window.button.unfocus.pixmap:   <filename>
!window.button.pressed.pixmap:   <filename>
!window.close.pixmap:            button-close-hover.png
!window.close.pressed.pixmap:    close-pressed.xpm
!window.close.unfocus.pixmap:    <filename>
!window.maximize.pixmap:         maximize-prelight.xpm
!window.maximize.pressed.pixmap: <filename>
!window.maximize.unfocus.pixmap: <filename>
!window.iconify.pixmap:         maximize-prelight.xpm
!window.iconify.pressed.pixmap: maximize-pressed.xpm
!window.iconify.unfocus.pixmap: <filename>
!window.shade.pixmap:            maximize-prelight.xpm
!window.shade.pressed.pixmap:    <filename>
!window.shade.unfocus.pixmap:    <filename>
!window.stick.pixmap:            maximize-prelight.xpm
!window.stick.pressed.pixmap:    <filename>
!window.stick.unfocus.pixmap:    <filename>
!window.stuck.pixmap:            <filename>
!window.stuck.unfocus.pixmap:    <filename>
!window.lhalf.pixmap:            <filename>
!window.lhalf.unfocus.pixmap:    <filename>
!window.rhalf.pixmap:            <filename>
!window.rhalf.unfocus.pixmap:    <filename>

!MENU OPTIONS
!menu.roundCorners:              <{Top|Bottom}{Left|Right}>
menu.itemHeight:                20
menu.bevelWidth:                1
menu.borderColor:               #2F2F2F
menu.borderWidth:               1
!menu.bullet:                    <{empty|square|triangle|diamond}>
menu.bullet: triangle
menu.bullet.position:           right
menu.frame:                     raised
menu.frame.color:               #E4E4E4
menu.frame.colorTo:             #E4E4E4
menu.frame.disableColor:        #9C9C9C
menu.frame.justify:             Left
!menu.frame.pixmap:              <filename>
menu.frame.textColor:           #2F2F2F
menu.hilite:                    flat gradient vertical
menu.hilite.color:              #424153
menu.hilite.colorTo:            #424153
menu.hilite.justify:            Left
!menu.hilite.pixmap:             <filename>
menu.hilite.textColor:          #FCFCFC

menu.title:                     flat gradient vertical
menu.title.color:               #424153
menu.title.colorTo:             #424153
!menu.title.pixmap:              <filename>
menu.title.textColor:           #FCFCFC
menu.title.justify:             Center
menu.titleHeight:               20

!menu.selected.pixmap:           <filename>
!menu.submenu.pixmap:            <filename>
!menu.unselected.pixmap:         <filename>

! usually do not change background and slit

!BACKGROUND
! Every style must specify the background option. If you don’t want your
! style to change the user’s background, then use ‘background: none’.
! background: centered|aspect|tiled|fullscreen|random|solid|gradient <texture>|mod|none|unset
! background.pixmap: <file or directory>
! background.color: <color>
! background.colorTo: <color>
! background.modX: <integer>
! background.modY: <integer>
! background: none

!SLIT
slit: flat
slit.bevelWidth: 0
slit.borderColor: #101010
slit.borderWidth: 0
slit.color:         #101010
slit.colorTo:       #101010
!slit.pixmap: <filename>
           
! EOF

44
Artwork & Screenshots / Re: March 2018 Screenshot Thread
« on: March 06, 2018, 02:37:23 PM »
Actully, the way that xset is output, you can just use the first character -

Code: [Select]
[pts/4]-[~]% xset q | awk '/00:/ {print $6 " " $7 " " $8}'
Num Lock: on
[pts/4]-[~]% xset q | awk '/00:/ {print $2 " " $3 " " $4}'
Caps Lock: off
[pts/4]-[~]%

fun with text parsing  ;D

45
Artwork & Screenshots / Re: March 2018 Screenshot Thread
« on: March 06, 2018, 02:28:27 PM »
@riV - using grep with awk is usually overkill - using the big hammer to pound finishing nails sort of thing.

Just use awk by itself and use grep with sed.

and you don't necessarily need the heading in your conky, you can do it all with awk, use quotes to space:

Code: [Select]
[pts/0]-[~]% xset q | awk '/Caps Lock:/ {print $2 " " $3 " " $4}'
Caps Lock: off
[pts/0]-[~]% xset q | awk '/Caps Lock:/ {print $2 " " $3 " " $4}'
Caps Lock: on
[pts/0]-[~]% xset q | awk '/Num Lock:/ {print $6 " " $7 " " $8}'
Num Lock: on
[pts/0]-[~]% xset q | awk '/Num Lock:/ {print $6 " " $7 " " $8}'
Num Lock: off
[pts/0]-[~]% xset q | awk '/Num Lock:/ {print $6 " " $7 " " $8}'
Num Lock: on

back on topic -

 

Pages: 1 2 [3] 4 5 ... 141