update xmonad/conky conf

This commit is contained in:
Cedric Girard 2019-03-28 15:29:04 +01:00
parent b2f2b394c1
commit bd528e9216
7 changed files with 168 additions and 106 deletions

View file

@ -1,30 +1,37 @@
background no conky.config = {
use_xft yes background = false,
xftfont Helvetica:size=30 use_xft = true,
update_interval 600 font = 'Helvetica:size=30',
total_run_times 0 update_interval = 600,
own_window yes total_run_times = 0,
own_window_type desktop own_window = true,
own_window_transparent yes own_window_type = 'desktop',
own_window_hints undecorated,sticky,skip_taskbar,skip_pager --own_window_transparent yes
double_buffer yes own_window_argb_visual = true,
minimum_size 300 own_window_argb_value = 80,
maximum_width 500 own_window_hints = 'undecorated,sticky,skip_taskbar,skip_pager',
draw_shades yes double_buffer = true,
draw_outline no minimum_width = 300,
draw_borders no maximum_width = 500,
draw_graph_borders yes draw_shades = true,
default_color 808080 draw_outline = false,
default_shade_color 101319 draw_borders = false,
alignment top_left draw_graph_borders = true,
gap_x 15 default_color = '#808080',
gap_y 149 default_shade_color = '#101319',
no_buffers yes alignment = 'top_left',
uppercase no gap_x = 150,
cpu_avg_samples 2 gap_y = 300,
override_utf8_locale yes no_buffers = true,
uppercase = false,
cpu_avg_samples = 2,
override_utf8_locale = true,
TEXT };
conky.text = [[
${color ce2c51}${time %A} ${time %d} ${color ce2c51}${time %A} ${time %d}
${color ffffff}${time %B} ${time %Y} ${color ffffff}${time %B} ${time %Y}
# vim:set ft=conkyrc: ]];
-- vim:set ft=lua:

View file

@ -1,39 +1,47 @@
background no conky.config = {
use_xft yes background = false,
xftfont erus:size=08 use_xft = true,
update_interval 5 font = 'erus:size=08',
update_interval_on_battery 10 update_interval = 5,
total_run_times 0 update_interval_on_battery = 10,
own_window yes total_run_times = 0,
own_window_type desktop own_window = true,
own_window_transparent yes own_window_type = 'desktop',
own_window_hints undecorated,sticky,skip_taskbar,skip_pager --own_window_transparent yes
double_buffer yes own_window_argb_visual = true,
minimum_size 560 own_window_argb_value = 80,
maximum_width 560 own_window_hints = 'undecorated,sticky,skip_taskbar,skip_pager',
draw_shades no double_buffer = true,
draw_outline no minimum_width = 560,
draw_borders no maximum_width = 560,
draw_graph_borders yes draw_shades = true,
alignment top_left draw_outline = false,
gap_x 780 draw_borders = false,
gap_y 650 draw_graph_borders = true,
no_buffers yes alignment = 'top_left',
uppercase no gap_x = 1200,
cpu_avg_samples 2 gap_y = 850,
override_utf8_locale no no_buffers = true,
uppercase = false,
cpu_avg_samples = 2,
override_utf8_locale = false,
TEXT };
conky.text = [[
${goto 10}${color ce2c51}RAM ${goto 110}SWAP ${goto 210}BATTERY ${goto 320}WIRELESS \ ${goto 10}${color ce2c51}RAM ${goto 110}SWAP ${goto 210}BATTERY ${goto 320}WIRELESS \
${goto 460}ETHERNET\ ${goto 460}ETHERNET\
${goto 10}${color ffffff}used: ${mem}${goto 110}used: ${swap} ${goto 210}${battery} ${goto 320}wlan0: ${addr wlan0} \ ${goto 10}${color ffffff}used: ${mem}${goto 110}used: ${swap} ${goto 210}${battery BAT1} ${goto 320}wlan0: ${addr wlan0} \
${goto 460}eth0: ${addr eth0}\ ${goto 460}eth0: ${addr eth0}\
${goto 10}free: ${memeasyfree} ${goto 110}free: ${swapfree}${goto 210}${battery_bar 8,80} ${goto 320}essid: ${wireless_essid wlan0} \ ${goto 10}free: ${memeasyfree} ${goto 110}free: ${swapfree}${goto 210}${battery_bar 8,80 BAT1} ${goto 320}essid: ${wireless_essid wlan0} \
${goto 460}${downspeedf eth0}/${upspeedf eth0} KiB/s ${goto 460}${downspeedf eth0}/${upspeedf eth0} KiB/s
${goto 10}${membar 8,70} ${goto 110}${swapbar 8,70} ${goto 210}${battery_time}${goto 320}signal: ${wireless_link_bar 8,70 wlan0} \ ${goto 10}${membar 8,70} ${goto 110}${swapbar 8,70} ${goto 210}${battery_time BAT1}${goto 320}signal: ${wireless_link_bar 8,70 wlan0} \
${goto 320}${downspeedf wlan0}/${upspeedf wlan0} KiB/s ${goto 210}${battery BAT0}${goto 320}${downspeedf wlan0}/${upspeedf wlan0} KiB/s
${goto 210}${battery_bar 8,80 BAT0}
${goto 210}${battery_time BAT0}
# vim:set ft=conkyrc: ]];
-- vim:set ft=lua:

View file

@ -1,30 +1,37 @@
background no conky.config = {
use_xft yes background = false,
xftfont Helvetica:size=60 use_xft = true,
xftalpha 0.9 font = 'Helvetica:size=60',
update_interval 30 xftalpha = 0.9,
total_run_times 0 update_interval = 30,
own_window yes total_run_times = 0,
own_window_type desktop own_window = true,
own_window_transparent yes own_window_type = 'desktop',
own_window_hints undecorated,sticky,skip_taskbar,skip_pager --own_window_transparent yes
double_buffer yes own_window_argb_visual = true,
minimum_size 100 own_window_argb_value = 80,
maximum_width 250 own_window_hints = 'undecorated,sticky,skip_taskbar,skip_pager',
draw_shades yes double_buffer = true,
draw_outline no minimum_width = 100,
draw_borders no maximum_width = 250,
draw_graph_borders yes draw_shades = true,
default_color 808080 draw_outline = false,
default_shade_color 101319 draw_borders = false,
default_outline_color green draw_graph_borders = true,
alignment top_left default_color = '#808080',
gap_x 15 default_shade_color = '#101319',
gap_y 50 default_outline_color = 'green',
no_buffers yes alignment = 'top_left',
uppercase no gap_x = 150,
cpu_avg_samples 2 gap_y = 200,
override_utf8_locale no no_buffers = true,
TEXT uppercase = false,
cpu_avg_samples = 2,
override_utf8_locale = false,
};
conky.text = [[
${color ffffff}${time %H}:${color ffffff}${time %M} ${color ffffff}${time %H}:${color ffffff}${time %M}
# vim:set ft=conkyrc: ]];
-- vim:set ft=lua:

33
conky/conkyrc_wallpaper Normal file
View file

@ -0,0 +1,33 @@
conky.config = {
background = false,
use_xft = true,
font = 'erus:size=10',
update_interval = 20,
total_run_times = 0,
own_window = true,
own_window_type = 'desktop',
--own_window_transparent = true,
own_window_argb_visual = true,
own_window_argb_value = 80,
own_window_hints = 'undecorated,sticky,skip_taskbar,skip_pager',
double_buffer = true,
--minimum_height = 20,
--maximum_width = 500,
draw_shades = true,
draw_outline = false,
draw_borders = false,
--draw_graph_borders = true,
default_color = "808080",
default_shade_color = "101319",
alignment = 'top_left',
gap_x = 1450,
gap_y = 1050,
--false_buffers = true,
uppercase = false,
override_utf8_locale = true,
};
conky.text = [[
${color ffffff}${head ~/Images/wallpaper.txt 1}
]];
-- vim:set ft=lua:

View file

@ -3,13 +3,13 @@ Config { font = "-misc-fixed-*-*-*-*-10-*-*-*-*-*-*-*"
, fgColor = "#696969" , fgColor = "#696969"
, position = TopW L 90 , position = TopW L 90
, lowerOnStart = False , lowerOnStart = False
, commands = [ Run MultiCpu ["-t","C: <total>%","-L","30","-H","70","-n","#AE6F38","-l","#6B8836","-h","#C16F61"] 10 , commands = [ Run MultiCpu ["-t","C: <total>%","-L","30","-H","70","-n","#AE6F38","-l","#6B8836","-h","#C16F61"] 100
, Run Memory ["-t","M: <usedratio>%","-L","30","-H","70","-n","#AE6F38","-l","#6B8836","-h","#C16F61"] 10 , Run Memory ["-t","M: <usedratio>%","-L","30","-H","70","-n","#AE6F38","-l","#6B8836","-h","#C16F61"] 100
, Run Swap ["-t","S: <usedratio>%","-L","10","-H","30","-n","#AE6F38","-l","#6B8836","-h","#C16F61"] 10 , Run Swap ["-t","S: <usedratio>%","-L","10","-H","30","-n","#AE6F38","-l","#6B8836","-h","#C16F61"] 100
, Run Battery ["-t","B: <timeleft>"] 60 , Run Battery ["-t","B: <timeleft>"] 600
, Run Date "%a %b %_d %k:%M" "date" 10 , Run Date "%a %b %_d %k:%M" "date" 100
, Run StdinReader , Run StdinReader
, Run MPD ["-t", "<artist>: <title> (<album>) <statei>", "--", "-P", "|>", "-Z", "||", "-S", ""] 10 , Run MPD ["-t", "<artist>: <title> (<album>) <statei>", "--", "-P", "|>", "-Z", "||", "-S", ""] 100
, Run CommandReader "ledmon" "LED" , Run CommandReader "ledmon" "LED"
] ]
, sepChar = "%" , sepChar = "%"

View file

@ -1,17 +1,23 @@
out_to_console yes conky.config = {
out_to_x no out_to_console = true,
background yes out_to_x = false,
update_interval 1 background = true,
total_run_times 0 update_interval = 1,
use_spacer none total_run_times = 0,
own_window_type desktop use_spacer = 'none',
own_window_type = 'desktop',
lua_load ~/.config/conky/scripts/lua_scripts.lua lua_load = '~/.config/conky/scripts/lua_scripts.lua',
TEXT };
conky.text = [[
\ \
^ca(1,~/.config/conky/scripts/sysinfo_popup.sh)^fg(\#888888)^i(/usr/share/icons/stlarch_icons/cpu13.xbm)^ca()^fg(\#ffffff)${lua_parse format %3.0f ${cpu cpu1}}%${lua_parse format %3.0f ${cpu cpu2}}%${lua_parse format %3.0f ${cpu cpu3}}%${lua_parse format %3.0f ${cpu cpu4}}%\ ^ca(1,~/.config/conky/scripts/sysinfo_popup.sh)^fg(\#888888)^i(/usr/share/icons/stlarch_icons/cpu13.xbm)^ca()^fg(\#ffffff)${lua_parse format %3.0f ${cpu cpu1}}%${lua_parse format %3.0f ${cpu cpu2}}%${lua_parse format %3.0f ${cpu cpu3}}%${lua_parse format %3.0f ${cpu cpu4}}%\
^fg(\#888888) ^i(/usr/share/icons/stlarch_icons/mem1.xbm) ^fg(\#ffffff)$mem/$memmax\ ^fg(\#888888) ^i(/usr/share/icons/stlarch_icons/mem1.xbm) ^fg(\#ffffff)$mem/$memmax\
^fg(\#888888) ^i(/usr/share/icons/stlarch_icons/downright1.xbm)^fg(\#ffffff)${lua_parse format %5.1f ${downspeedf eth0}}KB ^fg(\#888888)^i(/usr/share/icons/stlarch_icons/upleft1.xbm)^fg(\#ffffff)${lua_parse format %5.1f ${upspeedf eth0}}KB\ ^fg(\#888888) ^i(/usr/share/icons/stlarch_icons/downright1.xbm)^fg(\#ffffff)${lua_parse format %5.1f ${downspeedf wlan0}}KB ^fg(\#888888)^i(/usr/share/icons/stlarch_icons/upleft1.xbm)^fg(\#ffffff)${lua_parse format %5.1f ${upspeedf wlan0}}KB\
^fg(\#888888) ^i(/usr/share/icons/stlarch_icons/batt4full.xbm)^fg(\#ffffff) $battery_short $battery_time\ ^fg(\#888888) ^i(/usr/share/icons/stlarch_icons/batt4full.xbm)^fg(\#ffffff) ${battery_short BAT1} ${battery_time BAT1} ${battery_short BAT0} ${battery_time BAT0}\
^ca(1,~/.config/conky/scripts/calendar.sh)^fg(\#888888) ^i(/usr/share/icons/stlarch_icons/clock2.xbm) ^fg(\#ffffff)${time}^ca() ^ca(1,~/.config/conky/scripts/calendar.sh)^fg(\#888888) ^i(/usr/share/icons/stlarch_icons/clock2.xbm) ^fg(\#ffffff)${time}^ca()
]];
-- vim:set ft=lua:

View file

@ -197,7 +197,8 @@ myKeys conf@(XConfig {XMonad.modMask = modm}) = M.fromList $
-- lock screen -- lock screen
-- --
[ ((modm .|. shiftMask, xK_w), spawn "sxlock -l")] --[ ((modm .|. shiftMask, xK_w), spawn "sxlock -l")]
[ ((modm .|. shiftMask, xK_w), spawn "light-locker-command -l")]
++ ++
-- screenshots -- screenshots
@ -286,11 +287,11 @@ myManageHook = composeAll
, className =? "Steam" --> doFloat , className =? "Steam" --> doFloat
, className =? "Plugin-container" --> doFullFloat , className =? "Plugin-container" --> doFullFloat
, resource =? "Download" --> doFloat , resource =? "Download" --> doFloat
, resource =? "Browser" --> doFloat --, resource =? "Browser" --> doFloat
, resource =? "Toplevel" --> doFullFloat , resource =? "Toplevel" --> doFullFloat
, resource =? "Dialog" --> doFloat , resource =? "Dialog" --> doFloat
, title =? "KeePassHttp: Confirm Access" --> doFloat , title =? "KeePassHttp: Confirm Access" --> doFloat
, title =? "Search and Select List of Values - Nightly" --> doFloat --, title =? "Search and Select List of Values - Nightly" --> doFloat
, resource =? "desktop_window" --> doIgnore , resource =? "desktop_window" --> doIgnore
, resource =? "kdesktop" --> doIgnore ] , resource =? "kdesktop" --> doIgnore ]
-- , isFullscreen --> doFullFloat ] -- , isFullscreen --> doFullFloat ]