File /home/guest/.config/gtk-3.0/gtk.css
Code: Select all
/*set custom gtk3/css code below */
/*
*
* Execute line below to see the changes
* xfce4-panel -r
*
*/
@import url("./whiskermenu.css");
...
File /home/guest/.config/gtk-3.0/whiskermenu.css
Code: Select all
#whiskermenu-window.background {
background-color: rgba(0,0,0,.25);
background-color: rgba(255, 255, 255, .815); /**//* esto lo cambia todo */
background-image:linear-gradient(to top right,rgba(242,243,246,0.98),rgba(219,224,230,0.98),rgba(215,220,226,0.98));
color: #202020;
filter: blur(150px);
}
#whiskermenu-window border {
/* box-shadow: inset 0 0 90px 150px rgba(0,0,0, .75); *//* direction Hor px Vert px blur spread color */
box-shadow: inset 5 5 100px 150px rgba(0,0,0, .75); /* alpha(currentColor, 0.85); */
border-color: darkgoldenrod;
border-radius: 5px;
border-style: ridge;
border-width: 3px;
filter: blur(10px);
padding: 5px;
transition: filter .5s ease-out;
/*
transition: filter .5s ease;
*/
}
#whiskermenu-window {
background-color: rgba(54,59,73,.75); /* #363b49; *//* #444855; rgba(68,72,85,.75) */
color: darkgoldenrod;
font-family: Unispace;
font-size: 12px;
font-weight: 100;
text-shadow: 0px 1px 1px rgba(0,0,0,.7);
}
/* Search bar */
#whiskermenu-window entry {
background: transparent; /*#cccccc; */
border: none; /* -color: goldenrod; */
box-shadow: inset 0 -4px #aaaaaa;
color: #aaaaaa;
font-size: 15px;
}
#whiskermenu-window button {
/* background-color: #363b49; *//* rgba(60, 62, 64, 0) */
background-image: none;
border-color: transparent;
border-radius: 8px 8px;
border-style: outset;
border-width: 1px 3px 5px 1px;
color: darkgoldenrod;
font: Unispace Italic 14px;
font-weight: bold;
padding: 2px; /* 5px */
text-shadow: 0 1px 1px rgba(0,0,0,.95); /* 0 -1px */
-gtk-icon-shadow: 0 1px 1px rgba(0,0,0,0.7);
}
#whiskermenu-window button:hover {
background-image: linear-gradient(to bottom, #363b49, #4f596c); /* #5e6064, #393A3B */
border-color: #20242b; /* transparent; */
color: goldenrod;
/* text-shadow: 0 1px 1px rgba(0,0,0,.95); */
}
#whiskermenu-window button:checked {
/* background-color: #363b49; */
/* box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2); */
color: goldenrod;
}
#whiskermenu-window treeview {
/* background-color: transparent; */
background-color: rgb(0,0,0); /* fallback color */
background-color: rgba(0,0,0, .3); /* Black w/opacity/see-through */
color: #aaaaaa;
}
#whiskermenu-window treeview:hover {
border: 1px solid goldenrod; /* #8fa1b3; *//* añadido #20242b */
/* background-image: linear-gradient(to bottom, #363b49, #4f596c); *//* #5e6064, #393A3B */
color: #ffffff;
}
General: Background opacity = 99 (There's a visual bug that shows a pixel in the corners of the menu, when it should be transparent. Will fixed later).
Appearance:Menu: Check "Position search..." and "Position commands..." options
Behavior:Menu: Check "Switch categories by hovering"
File /home/guest/.config/conky/conky.conf
Code: Select all
--[[
Ideas:
===========================================================
--
-- echo $XDG_CURRENT_DESKTOP
-- xfwm4 -V
--
-- Wheather
-- ${font Unispace:size=9}${texeci 1800 curl -s 'http://wttr.in/Toronto?TQMm0'}${font}\
-- External ip:
-- dig +short myip.opendns.com @resolver1.opendns.com || nslookup . ifcfg.me || dig +short . @ifcfg.me || curl -s https://4.ifcfg.me || dig +short o-o.myaddr.l.google.com @ns1.google.com txt
-- ${color6}★ Titulares ${color1}${hr 5}
-- ${color7}${font monospace:size=7}${scroll 150 10 BBC// ${rss http://newsrss.bbc.co.uk/rss/newsonline_uk_edition/world/rss.xml 2 item_titles 5 1} |
-- CBS// ${rss http://feeds.cbsnews.com/CBSNewsMain 15 item_titles 5 1}}${font}
-- UNICODE CHARS REQUIRE 4 BYTES. Ex.: [guest@porteus ~]$ printf "\\uf2ca"
-- SEARCH FOR 'FONTAWESOME CHEATSHEET'
-- https://fontawesome.com/icons?d=gallery&q=temp&m=free
-- DISK1
-- DISK2
--
-- CPU
-- MEM
-- FAN1
-- FAN2
-- TEMP
-- NET
-- UP
-- DN
-- MESSAGES
-- CALENDAR
-- DATE
-- TIME
-- USER SECRET
-- BAT 0%
-- BAT 25%
-- BAT 50%
-- BAT 75%
-- BAT 100%
-- MENU
-- MAP MARKER
-- NODE
-- ${color6}» Titulares ${color1}${hr 5}
-- ${color7}${font Unispace:size=7}${scroll 150 10 BBC// ${rss http://newsrss.bbc.co.uk/rss/newsonline_uk_edition/world/rss.xml 2 item_titles 5 1} | CBS// ${rss http://feeds.cbsnews.com/CBSNewsMain 15 item_titles 5 1}}${font}
-- Read: ${diskio_read}/s ${offset 60}Write: ${diskio_write}/s${color7}
-- ${diskiograph_read 25,150 0b1208 77b753} ${diskiograph_write 25,150 0b1208 77b753}${color}
-- ${color5}» mem ${color}
-- ${color5}» disk${color}
-- ${color5}» cpu ${color}
-- ${color5}» bat ${color}
-- upspeedgraph 2c5275 4682b4
-- downspeedgraph 4682b4 2c5275
-- diskiograph_write 4682b4 2c5275
-- diskiograph_read 2c5275 4682b4
--»
]]
conky.config = {
--
-- Global options for window layout
--
-- Enable true transparency
background = true, -- Merge with background
cpu_avg_samples = 2,
double_buffer = true, -- Enable double buffering
if_up_strictness = 'link', -- only active interfaces
net_avg_samples = 2,
own_window = true,
own_window_transparent = false,
own_window_argb_visual = true,
own_window_argb_value = 180, -- desde 0 (transparente) a 255 (opaco)
-- own_window_Class = 'Conky',
own_window_type = 'normal', -- desktop, normal, override, conky, dock, panel
own_window_hints = 'below,sticky,skip_taskbar,skip_pager', --undecorated,
pad_percents = 2,
short_units = true, --G instead of Gib
temperature_unit = 'celsius',
update_interval = 1.0, -- Update each second
-- fiddle with window
use_spacer = 'right', --none, right
minimum_width = 330, minimum_height = 1048, -- Minimum size of text area
maximum_width = 350,
draw_shades = true,
draw_outline = false,
draw_borders = false,
draw_graph_borders = false,
use_xft = true,
font = 'Unispace:size=10',
xftalpha = 1,
alignment = 'top_right', -- Text alignment
gap_x = 0, -- Gap between borders of screen and text (padding)
gap_y = 0,
total_run_times = 0,
default_color = 'gray60',
default_shade_color = 'black',
--
-- Colors
--
-- Old
-- color0 = 'gray60',-- white
-- color1 = 'slategray',-- gray
-- color2 = 'darkgoldenrod',-- yellow bolded logos
-- color3 = 'gold',-- bright yellow shadows
-- color4 = 'purple',-- darkpink
-- color5 = 'lightpink',-- pink
-- color6 = 'skyblue',-- blue
-- color7 = 'slategray',-- sections color
-- color8 = 'darkseagreen',-- green
-- color9 = 'crimson',-- red warnings and alerts
color0 = 'gray60', -- gray60 silver dimgray
color1 = 'lightslategray', -- slategray / lightslategray / 778899 / 708090
color2 = 'gray', -- yellow bolded logos
color3 = 'goldenrod', -- bright yellow shadows
color4 = 'lightcyan', -- HEADERS lightblue deepskyblue powderblue=b0e0e6 aqua=00ffff
color5 = '6d7b8d', -- METERS steelblue lightcyan slategray
color6 = 'skyblue', -- blue skyblue lightblue lightsteelblue lightskyblue deepskyblue royalblue dodgerblue
color7 = 'lightpink', -- pink darkpink
color8 = 'darkseagreen', -- green
color9 = 'maroon', -- crimson red warnings and alerts
--
-- Content start
--
};
conky.text = [[
${image /home/guest/.icons/batmanimated.gif -p 0,0 -s 64x64}${voffset 10}\
#${tab 100}${shadecolor gold}${font Unispace:bold:italic:size=24}${color darkgoldenrod}${time %H:%M}${font Unispace:bold:size=10}${time .%S}
${tab 100}${shadecolor ADBBAD}${font Unispace:bold:italic:size=24}${color 6D7B8D}${time %H:%M}${font Unispace:bold:size=10}${time .%S}
${tab 100}${font Unispace:bold:italic:size=10}${time %a %d-%b-%Y}\
${shadecolor}${font}${color1}
${alignc}${color 333333}-${color 666666}-${color 999999}-${color cccccc}-${color ffffff}-${color} ${exec lsb_release -drsc} ${alignc}Kernel ${kernel} ${machine} ${color ffffff}-${color cccccc}-${color 999999}-${color 666666}-${color 333333}-${color}
###${exec acpi | cut -d "," -f 1,2}\
${if_existing /sys/class/power_supply/BAT0}\
${color5}${font FontAwesome:size=12}${font}${color}${battery_percent}% - ${battery_time}\
${endif}\
${color}${font Unispace:italic:size=10}${execi 3600 awk -F: '/model name/{print $2}' /proc/cpuinfo|uniq|tr -s ' '}${font}${color1}
${alignc}${color 333333}-${color 666666}-${color 999999}-${color cccccc}-${color ffffff}-${color cccccc}-${color 999999}-${color 666666}-${color 333333}-${color}
${color5}${font FontAwesome:size=12}${font}${color} ${if_match ${cpu} > 80}${color9}${endif}$cpu% ${color}${execi 60 sensors|awk '/Core/{print $3}'|paste -sd ,} MoBo: ${color5}${font FontAwesome:size=12}${font}${color} ${hwmon temp 1}°C${color #6d7b8d}
${cpubar cpu1 4,100} ${cpubar cpu2 4,100}${color}
#${cpubar cpu3 4,100} ${cpubar cpu4 4,100}${color}
Top CPU PID CPU% MEM%
${color cccccc}${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}${color 999999}
${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}${color 666666}
${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color5}${font FontAwesome:size=12}${font}${color} ${if_match ${memperc} > 80}${color9}${endif}$memperc %
RAM: ${color #6d7b8d}${membar 4,100} ${color} $mem de $memmax
SWP: ${color #6d7b8d}${swapbar 4,100} ${color} $swap de $swapmax
Top RAM PID MEM% CPU%
${color cccccc}${top_mem name 1} ${top_mem pid 1} ${top_mem mem 1} ${top_mem cpu 1}${color 999999}
${top_mem name 2} ${top_mem pid 2} ${top_mem mem 2} ${top_mem cpu 2}${color 666666}
${top_mem name 3} ${top_mem pid 3} ${top_mem mem 3} ${top_mem cpu 3}
${color5}${font FontAwesome:size=12}${font}${color}
###${execpi 5 df -h | awk '/\/dev\/sd/ {{if ($5 >= 80) {printf "${color9}"}};{printf " %s${tab 20}${color #6d7b8d}${fs_bar 4,100 %s}${color} ${fs_size %s} ${fs_free %s}${fs_used %s}\n",substr($1,6),$6,$2,$4,$5}}'}
${execpi 5 df -h | awk '/\/dev\/sd/ {{if ($5 >= 80) {printf "${color9}"}};{printf " %s${tab 20}${color #6d7b8d}${fs_bar 3,100 %s}${color} %5.5s %5.5s %s\n",substr($1,6),$6,$2,$4,$5}}'}
${voffset 5}${diskiograph_read 15,150 77b753 0b1208}${color} ${voffset 0}Read: ${diskio_read}/s${color #6d7b8d}
${voffset 2}${diskiograph_write -15,150 0b1208 77b753}${color} ${voffset 0}Write: ${diskio_write}/s
${color5}${font FontAwesome:size=12}${font}${color}${alignc}${addr eth0} || ${execi -3600 curl -s https://ipinfo.io/ip}${color}${voffset 6}
${color5}${font FontAwesome:size=12}${font}${color} ${upspeedgraph eth0 20,150 5377b7 080b12 -t -l}${voffset 2}${font Ubuntu Mono:size=10} δ=${upspeed eth0} Ʃ=${totalup eth0}${voffset -2}
${color5}${font FontAwesome:size=12}${font}${color} ${downspeedgraph eth0 -30,150 080b12 5377b7 -t -l}${voffset -2}${font Ubuntu Mono:size=10} δ=${downspeed eth0} Ʃ=${totaldown eth0}${font}
#${color7}» net${color} ${goto 150} || ${blink ${execi -3600 curl -s https://ipinfo.io/ip}}
#${execp < /proc/net/route awk 'NR==2{printf "${goto 50}${voffset -17}${addr %s}\n\nUP: ${upspeed %s}${goto 165}DN: ${downspeed %s}\n${color7}${upspeedgraph %s 25,150} ${downspeedgraph %s 25,150}${color}${tab}\n",$1,$1,$1,$1,$1}'}
#TLU: ${totalup eth0}${goto 160}TLD: ${totaldown eth0}
Connections: ${color goldenrod} ${tcp_portmon 1 65535 count} ${color5}
${font FontAwesome:size=12} ${font}Online ${color}${uptime}${blink _}
]];
Add some stuff (icons,images,themes,fonts) you may need with this config.
I will be updating this post with some more .css tricks