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

View file

@ -1,39 +1,47 @@
background no
use_xft yes
xftfont erus:size=08
update_interval 5
update_interval_on_battery 10
total_run_times 0
own_window yes
own_window_type desktop
own_window_transparent yes
own_window_hints undecorated,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 560
maximum_width 560
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
alignment top_left
gap_x 780
gap_y 650
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale no
conky.config = {
background = false,
use_xft = true,
font = 'erus:size=08',
update_interval = 5,
update_interval_on_battery = 10,
total_run_times = 0,
own_window = true,
own_window_type = 'desktop',
--own_window_transparent yes
own_window_argb_visual = true,
own_window_argb_value = 80,
own_window_hints = 'undecorated,sticky,skip_taskbar,skip_pager',
double_buffer = true,
minimum_width = 560,
maximum_width = 560,
draw_shades = true,
draw_outline = false,
draw_borders = false,
draw_graph_borders = true,
alignment = 'top_left',
gap_x = 1200,
gap_y = 850,
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 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 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 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
use_xft yes
xftfont Helvetica:size=60
xftalpha 0.9
update_interval 30
total_run_times 0
own_window yes
own_window_type desktop
own_window_transparent yes
own_window_hints undecorated,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 100
maximum_width 250
draw_shades yes
draw_outline no
draw_borders no
draw_graph_borders yes
default_color 808080
default_shade_color 101319
default_outline_color green
alignment top_left
gap_x 15
gap_y 50
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale no
TEXT
conky.config = {
background = false,
use_xft = true,
font = 'Helvetica:size=60',
xftalpha = 0.9,
update_interval = 30,
total_run_times = 0,
own_window = true,
own_window_type = 'desktop',
--own_window_transparent yes
own_window_argb_visual = true,
own_window_argb_value = 80,
own_window_hints = 'undecorated,sticky,skip_taskbar,skip_pager',
double_buffer = true,
minimum_width = 100,
maximum_width = 250,
draw_shades = true,
draw_outline = false,
draw_borders = false,
draw_graph_borders = true,
default_color = '#808080',
default_shade_color = '#101319',
default_outline_color = 'green',
alignment = 'top_left',
gap_x = 150,
gap_y = 200,
no_buffers = true,
uppercase = false,
cpu_avg_samples = 2,
override_utf8_locale = false,
};
conky.text = [[
${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"
, position = TopW L 90
, lowerOnStart = False
, commands = [ Run MultiCpu ["-t","C: <total>%","-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"] 10
, Run Swap ["-t","S: <usedratio>%","-L","10","-H","30","-n","#AE6F38","-l","#6B8836","-h","#C16F61"] 10
, Run Battery ["-t","B: <timeleft>"] 60
, Run Date "%a %b %_d %k:%M" "date" 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"] 100
, Run Swap ["-t","S: <usedratio>%","-L","10","-H","30","-n","#AE6F38","-l","#6B8836","-h","#C16F61"] 100
, Run Battery ["-t","B: <timeleft>"] 600
, Run Date "%a %b %_d %k:%M" "date" 100
, 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"
]
, sepChar = "%"

View file

@ -1,17 +1,23 @@
out_to_console yes
out_to_x no
background yes
update_interval 1
total_run_times 0
use_spacer none
own_window_type desktop
conky.config = {
out_to_console = true,
out_to_x = false,
background = true,
update_interval = 1,
total_run_times = 0,
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}}%\
^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/batt4full.xbm)^fg(\#ffffff) $battery_short $battery_time\
^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 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()
]];
-- vim:set ft=lua:

View file

@ -197,7 +197,8 @@ myKeys conf@(XConfig {XMonad.modMask = modm}) = M.fromList $
-- 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
@ -286,11 +287,11 @@ myManageHook = composeAll
, className =? "Steam" --> doFloat
, className =? "Plugin-container" --> doFullFloat
, resource =? "Download" --> doFloat
, resource =? "Browser" --> doFloat
--, resource =? "Browser" --> doFloat
, resource =? "Toplevel" --> doFullFloat
, resource =? "Dialog" --> 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 =? "kdesktop" --> doIgnore ]
-- , isFullscreen --> doFullFloat ]