diff --git a/.config/conky/qtile/01/DoomOne.conf b/.config/conky/qtile/01/DoomOne.conf old mode 100644 new mode 100755 index a00788f..83027eb --- a/.config/conky/qtile/01/DoomOne.conf +++ b/.config/conky/qtile/01/DoomOne.conf @@ -1,105 +1,129 @@ +--[[ +################################### +## doom-one-01.conkyrc (Qtile) ## +################################### +]] + conky.config = { ---============================================================================== --- DTOS 01 CONKY --- This conky theme was originally based on the Mimosa Dark theme created by --- author "Closebox73". I have removed many of the original widgets that theme --- Mimosa theme used, and I added the DTOS keybinding information. + --Various settings + background = true, -- forked to background + cpu_avg_samples = 2, -- The number of samples to average for CPU monitoring. + diskio_avg_samples = 10, -- The number of samples to average for disk I/O monitoring. + double_buffer = true, -- Use the Xdbe extension? (eliminates flicker) + if_up_strictness = 'address', -- how strict if testing interface is up - up, link or address + net_avg_samples = 2, -- The number of samples to average for net data + no_buffers = true, -- Subtract (file system) buffers from used memory? + temperature_unit = 'fahrenheit', -- fahrenheit or celsius + text_buffer_size = 2048, -- size of buffer for display of content of large variables - default 256 + update_interval = 1, -- update interval + imlib_cache_size = 0, -- disable image cache to get a new spotify cover per song ---============================================================================== + -- Placement (Conky on MIDDLE of THREE monitors at 1920x1080) + --alignment = 'top_left', -- top_left,top_middle,top_right,bottom_left,bottom_middle,bottom_right, + --gap_x = 3540, -- pixels between right or left border + --gap_y = 70, -- pixels between bottom or left border --- Size and Position settings -- - alignment = 'top_right', - gap_x = 30, - gap_y = 30, - maximum_width = 300, - minimum_height = 793, - minimum_width = 300, - --- Text settings -- - use_xft = true, - override_utf8_locale = true, - font = 'Roboto:normal:size=9', - + -- Placement (For SINGLE monitor users!) + alignment = 'top_right', -- top_left,top_middle,top_right,bottom_left,bottom_middle,bottom_right, + gap_x = 50, -- pixels between right or left border + gap_y = 70, -- pixels between bottom or left border - border_inner_margin = 4, -- margin between border and text - border_outer_margin = 0, -- margin between border and edge of window - border_width = 0, -- border width in pixels + -- Size + minimum_height = 200, -- minimum height of window + minimum_width = 260, -- minimum width of window + maximum_width = 260, -- maximum height of window --- Color Settings -- - default_color = 'ededed', - default_outline_color = 'white', - default_shade_color = 'white', - color1 = 'bbc2cf', - color2 = 'c678dd', - color3 = '51afef', - color4 = '4d4d4d', - color5 = '98be65', - --- Window Settings -- - background = false, - border_width = 1, - draw_borders = false, - draw_graph_borders = false, - draw_outline = false, - draw_shades = false, - own_window = true, - own_window_colour = '000000', - own_window_class = 'Conky', - own_window_argb_visual = false, - own_window_type = 'override', - own_window_transparent = true, - own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager', - stippled_borders = 0, - --- Others -- - cpu_avg_samples = 2, - net_avg_samples = 2, - double_buffer = true, - out_to_console = false, - out_to_stderr = false, - extra_newline = false, - update_interval = 1, - uppercase = false, - use_spacer = 'none', - show_graph_scale = false, - show_graph_range = false, - lua_load = '~/.config/conky/qtile/01/scripts/DoomOne.lua', - lua_draw_hook_pre = 'ring_stats', -} + --Graphical + border_inner_margin = 5, -- margin between border and text + border_outer_margin = 5, -- margin between border and edge of window + border_width = 0, -- border width in pixels + default_bar_width = 260, -- default is 0 - full width + default_bar_height = 10, -- default is 6 + default_gauge_height = 25, -- default is 25 + default_gauge_width =40, -- default is 40 + default_graph_height = 40, -- default is 25 + default_graph_width = 153, -- default is 0 - full width + default_shade_color = '#000000', -- default shading colour + default_outline_color = '#000000', -- default outline colour + draw_borders = false, -- draw borders around text + draw_graph_borders = true, -- draw borders around graphs + draw_shades = false, -- draw shades + draw_outline = false, -- draw outline + stippled_borders = 0, -- dashing the border + + --Textual + format_human_readable = true, -- KiB, MiB rather then number of bytes + font = 'Source Code Pro:bold:size=10', -- the default font used + font2 = 'Raleway:bold:size=30', -- font for the time + font3 = 'Ubuntu:size=14', -- font for the date + font4 = 'Raleway:bold:size=9', -- font for the keybindings heading + max_text_width = 0, -- 0 will make sure line does not get broken if width too smal + max_user_text = 16384, -- max text in conky default 16384 + override_utf8_locale = true, -- force UTF8 requires xft + short_units = true, -- shorten units from KiB to k + top_name_width = 21, -- width for $top name value default 15 + top_name_verbose = false, -- If true, top name shows the full command line of each process - Default value is false. + uppercase = false, -- uppercase or not + use_spacer = 'none', -- adds spaces around certain objects to align - default none + use_xft = true, -- xft font - anti-aliased font + xftalpha = 1, -- alpha of the xft font - between 0-1 + + --Windows + own_window = true, -- create your own window to draw + own_window_argb_value = 255, -- real transparency - composite manager required 0-255 + own_window_argb_visual = true, -- use ARGB - composite manager required + own_window_class = 'Conky', -- manually set the WM_CLASS name for use with xprop + own_window_colour = '#282c34', -- set colour if own_window_transparent no + own_window_transparent = false, -- if own_window_argb_visual is true sets background opacity 0% + own_window_title = 'xmonad_conky', -- set the name manually + own_window_type = 'override', -- if own_window true options are: normal/override/dock/desktop/panel + own_window_hints = 'undecorated,below,above,sticky,skip_taskbar,skip_pager', -- if own_window true - just hints - own_window_type sets it + + --Colors (Doom One) + color0 = '#c678dd', + color1 = '#bbc2cf', + color2 = '#51afef', + color3 = '#98be65', +}; conky.text = [[ -${image ~/.config/conky/qtile/01/bg/DoomOne.png -s 300x763 -p 0,35} -${alignc}${voffset 26}${color3}${font Raleway:bold:size=40}${time %H:%M}${font}${color} -${alignc}${voffset 5}${font Raleway:size=14}${time %A, %B %d} -${offset 34}${voffset 90}${color}${font Bebas Neue:size=18}${cpu cpu0}%${goto 104}${memperc}%${goto 180}${battery_percent BAT0}%${goto 230}${execi 2 ~/.config/conky/qtile/01/scripts/cputemp.sh} -${offset 24}${voffset -2}${color}${font Raleway:size=10}/ :${goto 170}${font Raleway:size=10}/home : -${offset 24}${color3}${font Raleway:size=9}${fs_bar 10,111}${goto 170}${color3}${font Raleway:size=9}${fs_bar 10,111 /home} -${offset 24}${color}${font Raleway:size=9}${fs_used} / ${fs_size}${goto 170}${color}${font Raleway:size=8}${fs_used /home} / ${fs_size /home}${font} -${voffset 32}${color5}${alignc}${font Raleway:bold:size=12}QTILE KEYBINDINGS${font}${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + [RET]${alignr}${offset -24}${color2}open terminal${color} -${offset 24}${color1}SUPER + b${alignr}${offset -24}${color2}open browser${color} -${offset 24}${color1}SUPER + SHIFT + [RET]${alignr}${offset -24}${color2}run prompt${color} -${offset 24}${color1}SUPER + SHIFT + c${alignr}${offset -24}${color2}close window${color} -${offset 24}${color1}SUPER + h/j/k/l${alignr}${offset -24}${color2}move win focus${color} -${offset 24}${color1}SUPER + SHIFT + h/j/k/l${alignr}${offset -24}${color2}move window${color} -${offset 24}${color1}SUPER + [1-9]${alignr}${offset -24}${color2}switch workspace${color} -${offset 24}${color1}SUPER + SHIFT + [1-9]${alignr}${offset -24}${color2}send window${color} -${offset 24}${color1}SUPER + =/-${alignr}${offset -24}${color2}shrink/expand${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + e, e${alignr}${offset -24}${color2}launch emacs${color} -${offset 24}${color1}SUPER + e, b${alignr}${offset -24}${color2}ibuffer${color} -${offset 24}${color1}SUPER + e, d${alignr}${offset -24}${color2}dired${color} -${offset 24}${color1}SUPER + e, s${alignr}${offset -24}${color2}eshell${color} -${offset 24}${color1}SUPER + e, v${alignr}${offset -24}${color2}vterm${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + p, h${alignr}${offset -24}${color2}dm-hub${color} -${offset 24}${color1}SUPER + p, b${alignr}${offset -24}${color2}dm-setbg${color} -${offset 24}${color1}SUPER + p, m${alignr}${offset -24}${color2}dm-man${color} -${offset 24}${color1}SUPER + p, o${alignr}${offset -24}${color2}dm-bookman${color} -${offset 24}${color1}SUPER + p, s${alignr}${offset -24}${color2}dm-websearch${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + SHIFT + r${alignr}${offset -24}${color2}restart qtile${color} -${offset 24}${color1}SUPER + SHIFT + q${alignr}${offset -24}${color2}quit qtile${color} -]] \ No newline at end of file +${alignc}${color0}${font2}${time %H:%M}${font} +${voffset 6}${alignc}${color0}${font3}${time %b %d, %Y}${font}${color} +${voffset 18}${goto 12}${color3}CPU${goto 50}$cpu% +${color2}${goto 12}${cpubar 8,254} +${voffset 5}${goto 12}$font${color1}${top name 1}$alignr$color${top cpu 1}% +${goto 12}${color1}${top name 2}$alignr$color${top cpu 2}% +${goto 12}${color1}${top name 3}$alignr$color${top cpu 3}% +${voffset 14}${goto 12}${color3}RAM${goto 50}$mem/$memmax +${color2}${goto 12}${membar 8,254}${color} +${goto 12}${voffset 5}${color1}${top_mem name 1}$alignr$color${top_mem mem_res 1} +${goto 12}${color1}${top_mem name 2}$alignr$color${top_mem mem_res 2} +${goto 12}${color1}${top_mem name 3}$alignr$color${top_mem mem_res 3} +${voffset 18}${color1}${alignc}${font4}QTILE KEYBINDINGS${font}${color} +${color1}${hr}${color} +${color1}[S]+[RET]${alignr}${color2}open terminal${color} +${color1}[S]+b${alignr}${color2}open browser${color} +${color1}[S]+[SHIFT]+[RET]${alignr}${color2}run prompt${color} +${color1}[S]+[SHIFT]+c${alignr}${color2}close window${color} +${color1}[S]+j/k${alignr}${color2}move win focus${color} +${color1}[S]+[SHIFT]+hjkl${alignr}${color2}move window${color} +${color1}[S]+[1-9]${alignr}${color2}switch workspace${color} +${color1}[S]+[SHIFT]+[1-9]${alignr}${color2}send window${color} +${color1}[S]+[=]/[-]${alignr}${color2}shrink/expand${color} +${color1}${hr}${color} +${color1}[S]+e, e${alignr}${color2}launch emacs${color} +${color1}[S]+e, b${alignr}${color2}ibuffer${color} +${color1}[S]+e, d${alignr}${color2}dired${color} +${color1}[S]+e, s${alignr}${color2}eshell${color} +${color1}[S]+e, v${alignr}${color2}vterm${color} +${color1}${hr}${color} +${color1}[S]+p, h${alignr}${color2}dm-hub${color} +${color1}[S]+p, b${alignr}${color2}dm-setbg${color} +${color1}[S]+p, m${alignr}${color2}dm-man${color} +${color1}[S]+p, o${alignr}${color2}dm-bookman${color} +${color1}[S]+p, s${alignr}${color2}dm-websearch${color} +${color1}${hr}${color} +${color1}[S]+[SHIFT]+r${alignr}${color2}restart qtile${color} +${color1}[S]+[SHIFT]+q${alignr}${color2}quit qtile${color} +]]; diff --git a/.config/conky/qtile/01/Dracula.conf b/.config/conky/qtile/01/Dracula.conf old mode 100644 new mode 100755 index 7065ecb..41e783c --- a/.config/conky/qtile/01/Dracula.conf +++ b/.config/conky/qtile/01/Dracula.conf @@ -1,105 +1,130 @@ +--[[ +################################## +## dracula-01.conkyrc (Qtile) ## +################################## +]] + conky.config = { ---============================================================================== --- DTOS 01 CONKY --- This conky theme was originally based on the Mimosa Dark theme created by --- author "Closebox73". I have removed many of the original widgets that theme --- Mimosa theme used, and I added the DTOS keybinding information. + --Various settings + background = true, -- forked to background + cpu_avg_samples = 2, -- The number of samples to average for CPU monitoring. + diskio_avg_samples = 10, -- The number of samples to average for disk I/O monitoring. + double_buffer = true, -- Use the Xdbe extension? (eliminates flicker) + if_up_strictness = 'address', -- how strict if testing interface is up - up, link or address + net_avg_samples = 2, -- The number of samples to average for net data + no_buffers = true, -- Subtract (file system) buffers from used memory? + temperature_unit = 'fahrenheit', -- fahrenheit or celsius + text_buffer_size = 2048, -- size of buffer for display of content of large variables - default 256 + update_interval = 1, -- update interval + imlib_cache_size = 0, -- disable image cache to get a new spotify cover per song ---============================================================================== + -- Placement (Conky on MIDDLE of THREE monitors at 1920x1080) + --alignment = 'top_left', -- top_left,top_middle,top_right,bottom_left,bottom_middle,bottom_right, + --gap_x = 3540, -- pixels between right or left border + --gap_y = 70, -- pixels between bottom or left border --- Size and Position settings -- - alignment = 'top_right', - gap_x = 30, - gap_y = 30, - maximum_width = 300, - minimum_height = 793, - minimum_width = 300, - --- Text settings -- - use_xft = true, - override_utf8_locale = true, - font = 'Roboto:normal:size=9', - + -- Placement (For SINGLE monitor users!) + alignment = 'top_right', -- top_left,top_middle,top_right,bottom_left,bottom_middle,bottom_right, + gap_x = 50, -- pixels between right or left border + gap_y = 70, -- pixels between bottom or left border - border_inner_margin = 4, -- margin between border and text - border_outer_margin = 0, -- margin between border and edge of window - border_width = 0, -- border width in pixels + -- Size + minimum_height = 200, -- minimum height of window + minimum_width = 260, -- minimum width of window + maximum_width = 260, -- maximum width of window --- Color Settings -- - default_color = 'ededed', - default_outline_color = 'white', - default_shade_color = 'white', - color1 = 'f8f8f2', - color2 = 'bd93f9', - color3 = '9aedfe', - color4 = '4d4d4d', - color5 = 'ff79c6', - --- Window Settings -- - background = false, - border_width = 1, - draw_borders = false, - draw_graph_borders = false, - draw_outline = false, - draw_shades = false, - own_window = true, - own_window_colour = '000000', - own_window_class = 'Conky', - own_window_argb_visual = false, - own_window_type = 'override', - own_window_transparent = true, - own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager', - stippled_borders = 0, - --- Others -- - cpu_avg_samples = 2, - net_avg_samples = 2, - double_buffer = true, - out_to_console = false, - out_to_stderr = false, - extra_newline = false, - update_interval = 1, - uppercase = false, - use_spacer = 'none', - show_graph_scale = false, - show_graph_range = false, - lua_load = '~/.config/conky/qtile/01/scripts/Dracula.lua', - lua_draw_hook_pre = 'ring_stats', -} + --Graphical + border_inner_margin = 5, -- margin between border and text + border_outer_margin = 5, -- margin between border and edge of window + border_width = 0, -- border width in pixels + default_bar_width = 260, -- default is 0 - full width + default_bar_height = 10, -- default is 6 + default_gauge_height = 25, -- default is 25 + default_gauge_width =40, -- default is 40 + default_graph_height = 40, -- default is 25 + default_graph_width = 153, -- default is 0 - full width + default_shade_color = '#000000', -- default shading colour + default_outline_color = '#000000', -- default outline colour + draw_borders = false, -- draw borders around text + draw_graph_borders = true, -- draw borders around graphs + draw_shades = false, -- draw shades + draw_outline = false, -- draw outline + stippled_borders = 0, -- dashing the border + + --Textual + format_human_readable = true, -- KiB, MiB rather then number of bytes + font = 'Source Code Pro:bold:size=10', -- the default font used + font2 = 'Raleway:bold:size=30', -- font for the time + font3 = 'Ubuntu:size=14', -- font for the date + font4 = 'Raleway:bold:size=9', -- font for the keybindings heading + max_text_width = 0, -- 0 will make sure line does not get broken if width too smal + max_user_text = 16384, -- max text in conky default 16384 + override_utf8_locale = true, -- force UTF8 requires xft + short_units = true, -- shorten units from KiB to k + top_name_width = 21, -- width for $top name value default 15 + top_name_verbose = false, -- If true, top name shows the full command line of each process - Default value is false. + uppercase = false, -- uppercase or not + use_spacer = 'none', -- adds spaces around certain objects to align - default none + use_xft = true, -- xft font - anti-aliased font + xftalpha = 1, -- alpha of the xft font - between 0-1 + + --Windows + own_window = true, -- create your own window to draw + own_window_argb_value = 255, -- real transparency - composite manager required 0-255 + own_window_argb_visual = true, -- use ARGB - composite manager required + own_window_class = 'Conky', -- manually set the WM_CLASS name for use with xprop + own_window_colour = '#282a36', -- set colour if own_window_transparent no + own_window_transparent = false, -- if own_window_argb_visual is true sets background opacity 0% + own_window_title = 'xmonad_conky', -- set the name manually + own_window_type = 'override', -- if own_window true options are: normal/override/dock/desktop/panel + own_window_hints = 'undecorated,below,above,sticky,skip_taskbar,skip_pager', -- if own_window true - just hints - own_window_type sets it + + --Colors (Dracula) + color0 = '#bd93f9', + color1 = '#f8f8f2', + color2 = '#8be9fd', + color2 = '#8be9fd', + color3 = '#50fa7b', +}; conky.text = [[ -${image ~/.config/conky/qtile/01/bg/Dracula.png -s 300x763 -p 0,35} -${alignc}${voffset 26}${color3}${font Raleway:bold:size=40}${time %H:%M}${font}${color} -${alignc}${voffset 5}${font Raleway:size=14}${time %A, %B %d} -${offset 34}${voffset 90}${color}${font Bebas Neue:size=18}${cpu cpu0}%${goto 104}${memperc}%${goto 180}${battery_percent BAT0}%${goto 230}${execi 2 ~/.config/conky/qtile/01/scripts/cputemp.sh} -${offset 24}${voffset -2}${color}${font Raleway:size=10}/ :${goto 170}${font Raleway:size=10}/home : -${offset 24}${color3}${font Raleway:size=9}${fs_bar 10,111}${goto 170}${color3}${font Raleway:size=9}${fs_bar 10,111 /home} -${offset 24}${color}${font Raleway:size=9}${fs_used} / ${fs_size}${goto 170}${color}${font Raleway:size=8}${fs_used /home} / ${fs_size /home}${font} -${voffset 32}${color5}${alignc}${font Raleway:bold:size=12}QTILE KEYBINDINGS${font}${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + [RET]${alignr}${offset -24}${color2}open terminal${color} -${offset 24}${color1}SUPER + b${alignr}${offset -24}${color2}open browser${color} -${offset 24}${color1}SUPER + SHIFT + [RET]${alignr}${offset -24}${color2}run prompt${color} -${offset 24}${color1}SUPER + SHIFT + c${alignr}${offset -24}${color2}close window${color} -${offset 24}${color1}SUPER + h/j/k/l${alignr}${offset -24}${color2}move win focus${color} -${offset 24}${color1}SUPER + SHIFT + h/j/k/l${alignr}${offset -24}${color2}move window${color} -${offset 24}${color1}SUPER + [1-9]${alignr}${offset -24}${color2}switch workspace${color} -${offset 24}${color1}SUPER + SHIFT + [1-9]${alignr}${offset -24}${color2}send window${color} -${offset 24}${color1}SUPER + =/-${alignr}${offset -24}${color2}shrink/expand${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + e, e${alignr}${offset -24}${color2}launch emacs${color} -${offset 24}${color1}SUPER + e, b${alignr}${offset -24}${color2}ibuffer${color} -${offset 24}${color1}SUPER + e, d${alignr}${offset -24}${color2}dired${color} -${offset 24}${color1}SUPER + e, s${alignr}${offset -24}${color2}eshell${color} -${offset 24}${color1}SUPER + e, v${alignr}${offset -24}${color2}vterm${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + p, h${alignr}${offset -24}${color2}dm-hub${color} -${offset 24}${color1}SUPER + p, b${alignr}${offset -24}${color2}dm-setbg${color} -${offset 24}${color1}SUPER + p, m${alignr}${offset -24}${color2}dm-man${color} -${offset 24}${color1}SUPER + p, o${alignr}${offset -24}${color2}dm-bookman${color} -${offset 24}${color1}SUPER + p, s${alignr}${offset -24}${color2}dm-websearch${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + SHIFT + r${alignr}${offset -24}${color2}restart qtile${color} -${offset 24}${color1}SUPER + SHIFT + q${alignr}${offset -24}${color2}quit qtile${color} -]] +${alignc}${color0}${font2}${time %H:%M}${font} +${voffset 6}${alignc}${color0}${font3}${time %b %d, %Y}${font}${color} +${voffset 18}${goto 12}${color3}CPU${goto 50}$cpu% +${color2}${goto 12}${cpubar 8,254} +${voffset 5}${goto 12}$font${color1}${top name 1}$alignr$color${top cpu 1}% +${goto 12}${color1}${top name 2}$alignr$color${top cpu 2}% +${goto 12}${color1}${top name 3}$alignr$color${top cpu 3}% +${voffset 14}${goto 12}${color3}RAM${goto 50}$mem/$memmax +${color2}${goto 12}${membar 8,254}${color} +${goto 12}${voffset 5}${color1}${top_mem name 1}$alignr$color${top_mem mem_res 1} +${goto 12}${color1}${top_mem name 2}$alignr$color${top_mem mem_res 2} +${goto 12}${color1}${top_mem name 3}$alignr$color${top_mem mem_res 3} +${voffset 18}${color1}${alignc}${font4}QTILE KEYBINDINGS${font}${color} +${color1}${hr}${color} +${color1}[S]+[RET]${alignr}${color2}open terminal${color} +${color1}[S]+b${alignr}${color2}open browser${color} +${color1}[S]+[SHIFT]+[RET]${alignr}${color2}run prompt${color} +${color1}[S]+[SHIFT]+c${alignr}${color2}close window${color} +${color1}[S]+j/k${alignr}${color2}move win focus${color} +${color1}[S]+[SHIFT]+hjkl${alignr}${color2}move window${color} +${color1}[S]+[1-9]${alignr}${color2}switch workspace${color} +${color1}[S]+[SHIFT]+[1-9]${alignr}${color2}send window${color} +${color1}[S]+[=]/[-]${alignr}${color2}shrink/expand${color} +${color1}${hr}${color} +${color1}[S]+e, e${alignr}${color2}launch emacs${color} +${color1}[S]+e, b${alignr}${color2}ibuffer${color} +${color1}[S]+e, d${alignr}${color2}dired${color} +${color1}[S]+e, s${alignr}${color2}eshell${color} +${color1}[S]+e, v${alignr}${color2}vterm${color} +${color1}${hr}${color} +${color1}[S]+p, h${alignr}${color2}dm-hub${color} +${color1}[S]+p, b${alignr}${color2}dm-setbg${color} +${color1}[S]+p, m${alignr}${color2}dm-man${color} +${color1}[S]+p, o${alignr}${color2}dm-bookman${color} +${color1}[S]+p, s${alignr}${color2}dm-websearch${color} +${color1}${hr}${color} +${color1}[S]+[SHIFT]+r${alignr}${color2}restart qtile${color} +${color1}[S]+[SHIFT]+q${alignr}${color2}quit qtile${color} +]]; diff --git a/.config/conky/qtile/01/GruvboxDark.conf b/.config/conky/qtile/01/GruvboxDark.conf old mode 100644 new mode 100755 index f5af2bd..38e2c17 --- a/.config/conky/qtile/01/GruvboxDark.conf +++ b/.config/conky/qtile/01/GruvboxDark.conf @@ -1,105 +1,129 @@ +--[[ +####################################### +## gruvbox-dark-01.conkyrc (Qtile) ## +####################################### +]] + conky.config = { ---============================================================================== --- DTOS 01 CONKY --- This conky theme was originally based on the Mimosa Dark theme created by --- author "Closebox73". I have removed many of the original widgets that theme --- Mimosa theme used, and I added the DTOS keybinding information. + --Various settings + background = true, -- forked to background + cpu_avg_samples = 2, -- The number of samples to average for CPU monitoring. + diskio_avg_samples = 10, -- The number of samples to average for disk I/O monitoring. + double_buffer = true, -- Use the Xdbe extension? (eliminates flicker) + if_up_strictness = 'address', -- how strict if testing interface is up - up, link or address + net_avg_samples = 2, -- The number of samples to average for net data + no_buffers = true, -- Subtract (file system) buffers from used memory? + temperature_unit = 'fahrenheit', -- fahrenheit or celsius + text_buffer_size = 2048, -- size of buffer for display of content of large variables - default 256 + update_interval = 1, -- update interval + imlib_cache_size = 0, -- disable image cache to get a new spotify cover per song ---============================================================================== + -- Placement (Conky on MIDDLE of THREE monitors at 1920x1080) + --alignment = 'top_left', -- top_left,top_middle,top_right,bottom_left,bottom_middle,bottom_right, + --gap_x = 3540, -- pixels between right or left border + --gap_y = 70, -- pixels between bottom or left border --- Size and Position settings -- - alignment = 'top_right', - gap_x = 30, - gap_y = 30, - maximum_width = 300, - minimum_height = 793, - minimum_width = 300, - --- Text settings -- - use_xft = true, - override_utf8_locale = true, - font = 'Roboto:normal:size=9', - + -- Placement (For SINGLE monitor users!) + alignment = 'top_right', -- top_left,top_middle,top_right,bottom_left,bottom_middle,bottom_right, + gap_x = 50, -- pixels between right or left border + gap_y = 70, -- pixels between bottom or left border - border_inner_margin = 4, -- margin between border and text - border_outer_margin = 0, -- margin between border and edge of window - border_width = 0, -- border width in pixels + -- Size + minimum_height = 200, -- minimum height of window + minimum_width = 260, -- minimum width of window + maximum_width = 260, -- maximum width of window --- Color Settings -- - default_color = 'ededed', - default_outline_color = 'white', - default_shade_color = 'white', - color1 = 'ebdbb2', - color2 = '98971a', - color3 = '83a598', - color4 = '4d4d4d', - color5 = 'd3869b', - --- Window Settings -- - background = false, - border_width = 1, - draw_borders = false, - draw_graph_borders = false, - draw_outline = false, - draw_shades = false, - own_window = true, - own_window_colour = '000000', - own_window_class = 'Conky', - own_window_argb_visual = false, - own_window_type = 'override', - own_window_transparent = true, - own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager', - stippled_borders = 0, - --- Others -- - cpu_avg_samples = 2, - net_avg_samples = 2, - double_buffer = true, - out_to_console = false, - out_to_stderr = false, - extra_newline = false, - update_interval = 1, - uppercase = false, - use_spacer = 'none', - show_graph_scale = false, - show_graph_range = false, - lua_load = '~/.config/conky/qtile/01/scripts/GruvboxDark.lua', - lua_draw_hook_pre = 'ring_stats', -} + --Graphical + border_inner_margin = 5, -- margin between border and text + border_outer_margin = 5, -- margin between border and edge of window + border_width = 0, -- border width in pixels + default_bar_width = 260, -- default is 0 - full width + default_bar_height = 10, -- default is 6 + default_gauge_height = 25, -- default is 25 + default_gauge_width =40, -- default is 40 + default_graph_height = 40, -- default is 25 + default_graph_width = 153, -- default is 0 - full width + default_shade_color = '#000000', -- default shading colour + default_outline_color = '#000000', -- default outline colour + draw_borders = false, -- draw borders around text + draw_graph_borders = true, -- draw borders around graphs + draw_shades = false, -- draw shades + draw_outline = false, -- draw outline + stippled_borders = 0, -- dashing the border + + --Textual + format_human_readable = true, -- KiB, MiB rather then number of bytes + font = 'Source Code Pro:bold:size=10', -- the default font used + font2 = 'Raleway:bold:size=30', -- font for the time + font3 = 'Ubuntu:size=14', -- font for the date + font4 = 'Raleway:bold:size=9', -- font for the keybindings heading + max_text_width = 0, -- 0 will make sure line does not get broken if width too smal + max_user_text = 16384, -- max text in conky default 16384 + override_utf8_locale = true, -- force UTF8 requires xft + short_units = true, -- shorten units from KiB to k + top_name_width = 21, -- width for $top name value default 15 + top_name_verbose = false, -- If true, top name shows the full command line of each process - Default value is false. + uppercase = false, -- uppercase or not + use_spacer = 'none', -- adds spaces around certain objects to align - default none + use_xft = true, -- xft font - anti-aliased font + xftalpha = 1, -- alpha of the xft font - between 0-1 + + --Windows + own_window = true, -- create your own window to draw + own_window_argb_value = 255, -- real transparency - composite manager required 0-255 + own_window_argb_visual = true, -- use ARGB - composite manager required + own_window_class = 'Conky', -- manually set the WM_CLASS name for use with xprop + own_window_colour = '#282828', -- set colour if own_window_transparent no + own_window_transparent = false, -- if own_window_argb_visual is true sets background opacity 0% + own_window_title = 'xmonad_conky', -- set the name manually + own_window_type = 'override', -- if own_window true options are: normal/override/dock/desktop/panel + own_window_hints = 'undecorated,below,above,sticky,skip_taskbar,skip_pager', -- if own_window true - just hints - own_window_type sets it + + --Colors (Gruvbox Dark) + color0 = '#b16286', + color1 = '#ebdbb2', + color2 = '#458588', + color3 = '#b8bb26', +}; conky.text = [[ -${image ~/.config/conky/qtile/01/bg/GruvboxDark.png -s 300x763 -p 0,35} -${alignc}${voffset 26}${color3}${font Raleway:bold:size=40}${time %H:%M}${font}${color} -${alignc}${voffset 5}${font Raleway:size=14}${time %A, %B %d} -${offset 34}${voffset 90}${color}${font Bebas Neue:size=18}${cpu cpu0}%${goto 104}${memperc}%${goto 180}${battery_percent BAT0}%${goto 230}${execi 2 ~/.config/conky/qtile/01/scripts/cputemp.sh} -${offset 24}${voffset -2}${color}${font Raleway:size=10}/ :${goto 170}${font Raleway:size=10}/home : -${offset 24}${color3}${font Raleway:size=9}${fs_bar 10,111}${goto 170}${color3}${font Raleway:size=9}${fs_bar 10,111 /home} -${offset 24}${color}${font Raleway:size=9}${fs_used} / ${fs_size}${goto 170}${color}${font Raleway:size=8}${fs_used /home} / ${fs_size /home}${font} -${voffset 32}${color5}${alignc}${font Raleway:bold:size=12}QTILE KEYBINDINGS${font}${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + [RET]${alignr}${offset -24}${color2}open terminal${color} -${offset 24}${color1}SUPER + b${alignr}${offset -24}${color2}open browser${color} -${offset 24}${color1}SUPER + SHIFT + [RET]${alignr}${offset -24}${color2}run prompt${color} -${offset 24}${color1}SUPER + SHIFT + c${alignr}${offset -24}${color2}close window${color} -${offset 24}${color1}SUPER + h/j/k/l${alignr}${offset -24}${color2}move win focus${color} -${offset 24}${color1}SUPER + SHIFT + h/j/k/l${alignr}${offset -24}${color2}move window${color} -${offset 24}${color1}SUPER + [1-9]${alignr}${offset -24}${color2}switch workspace${color} -${offset 24}${color1}SUPER + SHIFT + [1-9]${alignr}${offset -24}${color2}send window${color} -${offset 24}${color1}SUPER + =/-${alignr}${offset -24}${color2}shrink/expand${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + e, e${alignr}${offset -24}${color2}launch emacs${color} -${offset 24}${color1}SUPER + e, b${alignr}${offset -24}${color2}ibuffer${color} -${offset 24}${color1}SUPER + e, d${alignr}${offset -24}${color2}dired${color} -${offset 24}${color1}SUPER + e, s${alignr}${offset -24}${color2}eshell${color} -${offset 24}${color1}SUPER + e, v${alignr}${offset -24}${color2}vterm${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + p, h${alignr}${offset -24}${color2}dm-hub${color} -${offset 24}${color1}SUPER + p, b${alignr}${offset -24}${color2}dm-setbg${color} -${offset 24}${color1}SUPER + p, m${alignr}${offset -24}${color2}dm-man${color} -${offset 24}${color1}SUPER + p, o${alignr}${offset -24}${color2}dm-bookman${color} -${offset 24}${color1}SUPER + p, s${alignr}${offset -24}${color2}dm-websearch${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + SHIFT + r${alignr}${offset -24}${color2}restart qtile${color} -${offset 24}${color1}SUPER + SHIFT + q${alignr}${offset -24}${color2}quit qtile${color} -]] +${alignc}${color0}${font2}${time %H:%M}${font} +${voffset 6}${alignc}${color0}${font3}${time %b %d, %Y}${font}${color} +${voffset 18}${goto 12}${color3}CPU${goto 50}$cpu% +${color2}${goto 12}${cpubar 8,254} +${voffset 5}${goto 12}$font${color1}${top name 1}$alignr$color${top cpu 1}% +${goto 12}${color1}${top name 2}$alignr$color${top cpu 2}% +${goto 12}${color1}${top name 3}$alignr$color${top cpu 3}% +${voffset 14}${goto 12}${color3}RAM${goto 50}$mem/$memmax +${color2}${goto 12}${membar 8,254}${color} +${goto 12}${voffset 5}${color1}${top_mem name 1}$alignr$color${top_mem mem_res 1} +${goto 12}${color1}${top_mem name 2}$alignr$color${top_mem mem_res 2} +${goto 12}${color1}${top_mem name 3}$alignr$color${top_mem mem_res 3} +${voffset 18}${color1}${alignc}${font4}QTILE KEYBINDINGS${font}${color} +${color1}${hr}${color} +${color1}[S]+[RET]${alignr}${color2}open terminal${color} +${color1}[S]+b${alignr}${color2}open browser${color} +${color1}[S]+[SHIFT]+[RET]${alignr}${color2}run prompt${color} +${color1}[S]+[SHIFT]+c${alignr}${color2}close window${color} +${color1}[S]+j/k${alignr}${color2}move win focus${color} +${color1}[S]+[SHIFT]+hjkl${alignr}${color2}move window${color} +${color1}[S]+[1-9]${alignr}${color2}switch workspace${color} +${color1}[S]+[SHIFT]+[1-9]${alignr}${color2}send window${color} +${color1}[S]+[=]/[-]${alignr}${color2}shrink/expand${color} +${color1}${hr}${color} +${color1}[S]+e, e${alignr}${color2}launch emacs${color} +${color1}[S]+e, b${alignr}${color2}ibuffer${color} +${color1}[S]+e, d${alignr}${color2}dired${color} +${color1}[S]+e, s${alignr}${color2}eshell${color} +${color1}[S]+e, v${alignr}${color2}vterm${color} +${color1}${hr}${color} +${color1}[S]+p, h${alignr}${color2}dm-hub${color} +${color1}[S]+p, b${alignr}${color2}dm-setbg${color} +${color1}[S]+p, m${alignr}${color2}dm-man${color} +${color1}[S]+p, o${alignr}${color2}dm-bookman${color} +${color1}[S]+p, s${alignr}${color2}dm-websearch${color} +${color1}${hr}${color} +${color1}[S]+[SHIFT]+r${alignr}${color2}restart qtile${color} +${color1}[S]+[SHIFT]+q${alignr}${color2}quit qtile${color} +]]; diff --git a/.config/conky/qtile/01/MonokaiPro.conf b/.config/conky/qtile/01/MonokaiPro.conf old mode 100644 new mode 100755 index 85d8d16..bb5b0b9 --- a/.config/conky/qtile/01/MonokaiPro.conf +++ b/.config/conky/qtile/01/MonokaiPro.conf @@ -1,105 +1,129 @@ +--[[ +###################################### +## monokai-pro-01.conkyrc (Qtile) ## +###################################### +]] + conky.config = { ---============================================================================== --- DTOS 01 CONKY --- This conky theme was originally based on the Mimosa Dark theme created by --- author "Closebox73". I have removed many of the original widgets that theme --- Mimosa theme used, and I added the DTOS keybinding information. + --Various settings + background = true, -- forked to background + cpu_avg_samples = 2, -- The number of samples to average for CPU monitoring. + diskio_avg_samples = 10, -- The number of samples to average for disk I/O monitoring. + double_buffer = true, -- Use the Xdbe extension? (eliminates flicker) + if_up_strictness = 'address', -- how strict if testing interface is up - up, link or address + net_avg_samples = 2, -- The number of samples to average for net data + no_buffers = true, -- Subtract (file system) buffers from used memory? + temperature_unit = 'fahrenheit', -- fahrenheit or celsius + text_buffer_size = 2048, -- size of buffer for display of content of large variables - default 256 + update_interval = 1, -- update interval + imlib_cache_size = 0, -- disable image cache to get a new spotify cover per song ---============================================================================== + -- Placement (Conky on MIDDLE of THREE monitors at 1920x1080) + --alignment = 'top_left', -- top_left,top_middle,top_right,bottom_left,bottom_middle,bottom_right, + --gap_x = 3540, -- pixels between right or left border + --gap_y = 70, -- pixels between bottom or left border --- Size and Position settings -- - alignment = 'top_right', - gap_x = 30, - gap_y = 30, - maximum_width = 300, - minimum_height = 793, - minimum_width = 300, - --- Text settings -- - use_xft = true, - override_utf8_locale = true, - font = 'Roboto:normal:size=9', - + -- Placement (For SINGLE monitor users!) + alignment = 'top_right', -- top_left,top_middle,top_right,bottom_left,bottom_middle,bottom_right, + gap_x = 50, -- pixels between right or left border + gap_y = 70, -- pixels between bottom or left border - border_inner_margin = 4, -- margin between border and text - border_outer_margin = 0, -- margin between border and edge of window - border_width = 0, -- border width in pixels + -- Size + minimum_height = 200, -- minimum height of window + minimum_width = 260, -- minimum width of window + maximum_width = 260, -- maximum width of window --- Color Settings -- - default_color = 'ededed', - default_outline_color = 'white', - default_shade_color = 'white', - color1 = 'fcfcfa', - color2 = 'ab9df2', - color3 = '78dce8', - color4 = '4d4d4d', - color5 = 'ff6188', - --- Window Settings -- - background = false, - border_width = 1, - draw_borders = false, - draw_graph_borders = false, - draw_outline = false, - draw_shades = false, - own_window = true, - own_window_colour = '000000', - own_window_class = 'Conky', - own_window_argb_visual = false, - own_window_type = 'override', - own_window_transparent = true, - own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager', - stippled_borders = 0, - --- Others -- - cpu_avg_samples = 2, - net_avg_samples = 2, - double_buffer = true, - out_to_console = false, - out_to_stderr = false, - extra_newline = false, - update_interval = 1, - uppercase = false, - use_spacer = 'none', - show_graph_scale = false, - show_graph_range = false, - lua_load = '~/.config/conky/qtile/01/scripts/MonokaiPro.lua', - lua_draw_hook_pre = 'ring_stats', -} + --Graphical + border_inner_margin = 5, -- margin between border and text + border_outer_margin = 5, -- margin between border and edge of window + border_width = 0, -- border width in pixels + default_bar_width = 260, -- default is 0 - full width + default_bar_height = 10, -- default is 6 + default_gauge_height = 25, -- default is 25 + default_gauge_width =40, -- default is 40 + default_graph_height = 40, -- default is 25 + default_graph_width = 153, -- default is 0 - full width + default_shade_color = '#000000', -- default shading colour + default_outline_color = '#000000', -- default outline colour + draw_borders = false, -- draw borders around text + draw_graph_borders = true, -- draw borders around graphs + draw_shades = false, -- draw shades + draw_outline = false, -- draw outline + stippled_borders = 0, -- dashing the border + + --Textual + format_human_readable = true, -- KiB, MiB rather then number of bytes + font = 'Source Code Pro:bold:size=10', -- the default font used + font2 = 'Raleway:bold:size=30', -- font for the time + font3 = 'Ubuntu:size=14', -- font for the date + font4 = 'Raleway:bold:size=9', -- font for the keybindings heading + max_text_width = 0, -- 0 will make sure line does not get broken if width too smal + max_user_text = 16384, -- max text in conky default 16384 + override_utf8_locale = true, -- force UTF8 requires xft + short_units = true, -- shorten units from KiB to k + top_name_width = 21, -- width for $top name value default 15 + top_name_verbose = false, -- If true, top name shows the full command line of each process - Default value is false. + uppercase = false, -- uppercase or not + use_spacer = 'none', -- adds spaces around certain objects to align - default none + use_xft = true, -- xft font - anti-aliased font + xftalpha = 1, -- alpha of the xft font - between 0-1 + + --Windows + own_window = true, -- create your own window to draw + own_window_argb_value = 255, -- real transparency - composite manager required 0-255 + own_window_argb_visual = true, -- use ARGB - composite manager required + own_window_class = 'Conky', -- manually set the WM_CLASS name for use with xprop + own_window_colour = '#2D2A2E', -- set colour if own_window_transparent no + own_window_transparent = false, -- if own_window_argb_visual is true sets background opacity 0% + own_window_title = 'xmonad_conky', -- set the name manually + own_window_type = 'override', -- if own_window true options are: normal/override/dock/desktop/panel + own_window_hints = 'undecorated,below,above,sticky,skip_taskbar,skip_pager', -- if own_window true - just hints - own_window_type sets it + + --Colors (Monokai Pro) + color0 = '#AB9DF2', + color1 = '#FCFCFA', + color2 = '#78DCE8', + color3 = '#A9DC76', +}; conky.text = [[ -${image ~/.config/conky/qtile/01/bg/MonokaiPro.png -s 300x763 -p 0,35} -${alignc}${voffset 26}${color3}${font Raleway:bold:size=40}${time %H:%M}${font}${color} -${alignc}${voffset 5}${font Raleway:size=14}${time %A, %B %d} -${offset 34}${voffset 90}${color}${font Bebas Neue:size=18}${cpu cpu0}%${goto 104}${memperc}%${goto 180}${battery_percent BAT0}%${goto 230}${execi 2 ~/.config/conky/qtile/01/scripts/cputemp.sh} -${offset 24}${voffset -2}${color}${font Raleway:size=10}/ :${goto 170}${font Raleway:size=10}/home : -${offset 24}${color3}${font Raleway:size=9}${fs_bar 10,111}${goto 170}${color3}${font Raleway:size=9}${fs_bar 10,111 /home} -${offset 24}${color}${font Raleway:size=9}${fs_used} / ${fs_size}${goto 170}${color}${font Raleway:size=8}${fs_used /home} / ${fs_size /home}${font} -${voffset 32}${color5}${alignc}${font Raleway:bold:size=12}QTILE KEYBINDINGS${font}${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + [RET]${alignr}${offset -24}${color2}open terminal${color} -${offset 24}${color1}SUPER + b${alignr}${offset -24}${color2}open browser${color} -${offset 24}${color1}SUPER + SHIFT + [RET]${alignr}${offset -24}${color2}run prompt${color} -${offset 24}${color1}SUPER + SHIFT + c${alignr}${offset -24}${color2}close window${color} -${offset 24}${color1}SUPER + h/j/k/l${alignr}${offset -24}${color2}move win focus${color} -${offset 24}${color1}SUPER + SHIFT + h/j/k/l${alignr}${offset -24}${color2}move window${color} -${offset 24}${color1}SUPER + [1-9]${alignr}${offset -24}${color2}switch workspace${color} -${offset 24}${color1}SUPER + SHIFT + [1-9]${alignr}${offset -24}${color2}send window${color} -${offset 24}${color1}SUPER + =/-${alignr}${offset -24}${color2}shrink/expand${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + e, e${alignr}${offset -24}${color2}launch emacs${color} -${offset 24}${color1}SUPER + e, b${alignr}${offset -24}${color2}ibuffer${color} -${offset 24}${color1}SUPER + e, d${alignr}${offset -24}${color2}dired${color} -${offset 24}${color1}SUPER + e, s${alignr}${offset -24}${color2}eshell${color} -${offset 24}${color1}SUPER + e, v${alignr}${offset -24}${color2}vterm${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + p, h${alignr}${offset -24}${color2}dm-hub${color} -${offset 24}${color1}SUPER + p, b${alignr}${offset -24}${color2}dm-setbg${color} -${offset 24}${color1}SUPER + p, m${alignr}${offset -24}${color2}dm-man${color} -${offset 24}${color1}SUPER + p, o${alignr}${offset -24}${color2}dm-bookman${color} -${offset 24}${color1}SUPER + p, s${alignr}${offset -24}${color2}dm-websearch${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + SHIFT + r${alignr}${offset -24}${color2}restart qtile${color} -${offset 24}${color1}SUPER + SHIFT + q${alignr}${offset -24}${color2}quit qtile${color} -]] +${alignc}${color0}${font2}${time %H:%M}${font} +${voffset 6}${alignc}${color0}${font3}${time %b %d, %Y}${font}${color} +${voffset 18}${goto 12}${color3}CPU${goto 50}$cpu% +${color2}${goto 12}${cpubar 8,254} +${voffset 5}${goto 12}$font${color1}${top name 1}$alignr$color${top cpu 1}% +${goto 12}${color1}${top name 2}$alignr$color${top cpu 2}% +${goto 12}${color1}${top name 3}$alignr$color${top cpu 3}% +${voffset 14}${goto 12}${color3}RAM${goto 50}$mem/$memmax +${color2}${goto 12}${membar 8,254}${color} +${goto 12}${voffset 5}${color1}${top_mem name 1}$alignr$color${top_mem mem_res 1} +${goto 12}${color1}${top_mem name 2}$alignr$color${top_mem mem_res 2} +${goto 12}${color1}${top_mem name 3}$alignr$color${top_mem mem_res 3} +${voffset 18}${color1}${alignc}${font4}QTILE KEYBINDINGS${font}${color} +${color1}${hr}${color} +${color1}[S]+[RET]${alignr}${color2}open terminal${color} +${color1}[S]+b${alignr}${color2}open browser${color} +${color1}[S]+[SHIFT]+[RET]${alignr}${color2}run prompt${color} +${color1}[S]+[SHIFT]+c${alignr}${color2}close window${color} +${color1}[S]+j/k${alignr}${color2}move win focus${color} +${color1}[S]+[SHIFT]+hjkl${alignr}${color2}move window${color} +${color1}[S]+[1-9]${alignr}${color2}switch workspace${color} +${color1}[S]+[SHIFT]+[1-9]${alignr}${color2}send window${color} +${color1}[S]+[=]/[-]${alignr}${color2}shrink/expand${color} +${color1}${hr}${color} +${color1}[S]+e, e${alignr}${color2}launch emacs${color} +${color1}[S]+e, b${alignr}${color2}ibuffer${color} +${color1}[S]+e, d${alignr}${color2}dired${color} +${color1}[S]+e, s${alignr}${color2}eshell${color} +${color1}[S]+e, v${alignr}${color2}vterm${color} +${color1}${hr}${color} +${color1}[S]+p, h${alignr}${color2}dm-hub${color} +${color1}[S]+p, b${alignr}${color2}dm-setbg${color} +${color1}[S]+p, m${alignr}${color2}dm-man${color} +${color1}[S]+p, o${alignr}${color2}dm-bookman${color} +${color1}[S]+p, s${alignr}${color2}dm-websearch${color} +${color1}${hr}${color} +${color1}[S]+[SHIFT]+r${alignr}${color2}restart qtile${color} +${color1}[S]+[SHIFT]+q${alignr}${color2}quit qtile${color} +]]; diff --git a/.config/conky/qtile/01/Nord.conf b/.config/conky/qtile/01/Nord.conf old mode 100644 new mode 100755 index 3316288..6b92e5e --- a/.config/conky/qtile/01/Nord.conf +++ b/.config/conky/qtile/01/Nord.conf @@ -1,105 +1,129 @@ +--[[ +############################### +## nord-01.conkyrc (Qtile) ## +############################### +]] + conky.config = { ---============================================================================== --- DTOS 01 CONKY --- This conky theme was originally based on the Mimosa Dark theme created by --- author "Closebox73". I have removed many of the original widgets that theme --- Mimosa theme used, and I added the DTOS keybinding information. + --Various settings + background = true, -- forked to background + cpu_avg_samples = 2, -- The number of samples to average for CPU monitoring. + diskio_avg_samples = 10, -- The number of samples to average for disk I/O monitoring. + double_buffer = true, -- Use the Xdbe extension? (eliminates flicker) + if_up_strictness = 'address', -- how strict if testing interface is up - up, link or address + net_avg_samples = 2, -- The number of samples to average for net data + no_buffers = true, -- Subtract (file system) buffers from used memory? + temperature_unit = 'fahrenheit', -- fahrenheit or celsius + text_buffer_size = 2048, -- size of buffer for display of content of large variables - default 256 + update_interval = 1, -- update interval + imlib_cache_size = 0, -- disable image cache to get a new spotify cover per song ---============================================================================== + -- Placement (Conky on MIDDLE of THREE monitors at 1920x1080) + --alignment = 'top_left', -- top_left,top_middle,top_right,bottom_left,bottom_middle,bottom_right, + --gap_x = 3540, -- pixels between right or left border + --gap_y = 70, -- pixels between bottom or left border --- Size and Position settings -- - alignment = 'top_right', - gap_x = 30, - gap_y = 30, - maximum_width = 300, - minimum_height = 793, - minimum_width = 300, - --- Text settings -- - use_xft = true, - override_utf8_locale = true, - font = 'Roboto:normal:size=9', - + -- Placement (For SINGLE monitor users!) + alignment = 'top_right', -- top_left,top_middle,top_right,bottom_left,bottom_middle,bottom_right, + gap_x = 50, -- pixels between right or left border + gap_y = 70, -- pixels between bottom or left border - border_inner_margin = 4, -- margin between border and text - border_outer_margin = 0, -- margin between border and edge of window - border_width = 0, -- border width in pixels + -- Size + minimum_height = 200, -- minimum height of window + minimum_width = 260, -- minimum width of window + maximum_width = 260, -- maximum width of window --- Color Settings -- - default_color = 'ededed', - default_outline_color = 'white', - default_shade_color = 'white', - color1 = 'd8dee9', - color2 = 'b48ead', - color3 = '88c0d0', - color4 = '4d4d4d', - color5 = 'a3be8c', - --- Window Settings -- - background = false, - border_width = 1, - draw_borders = false, - draw_graph_borders = false, - draw_outline = false, - draw_shades = false, - own_window = true, - own_window_colour = '000000', - own_window_class = 'Conky', - own_window_argb_visual = false, - own_window_type = 'override', - own_window_transparent = true, - own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager', - stippled_borders = 0, - --- Others -- - cpu_avg_samples = 2, - net_avg_samples = 2, - double_buffer = true, - out_to_console = false, - out_to_stderr = false, - extra_newline = false, - update_interval = 1, - uppercase = false, - use_spacer = 'none', - show_graph_scale = false, - show_graph_range = false, - lua_load = '~/.config/conky/qtile/01/scripts/Nord.lua', - lua_draw_hook_pre = 'ring_stats', -} + --Graphical + border_inner_margin = 5, -- margin between border and text + border_outer_margin = 5, -- margin between border and edge of window + border_width = 0, -- border width in pixels + default_bar_width = 260, -- default is 0 - full width + default_bar_height = 10, -- default is 6 + default_gauge_height = 25, -- default is 25 + default_gauge_width =40, -- default is 40 + default_graph_height = 40, -- default is 25 + default_graph_width = 153, -- default is 0 - full width + default_shade_color = '#000000', -- default shading colour + default_outline_color = '#000000', -- default outline colour + draw_borders = false, -- draw borders around text + draw_graph_borders = true, -- draw borders around graphs + draw_shades = false, -- draw shades + draw_outline = false, -- draw outline + stippled_borders = 0, -- dashing the border + + --Textual + format_human_readable = true, -- KiB, MiB rather then number of bytes + font = 'Source Code Pro:bold:size=10', -- the default font used + font2 = 'Raleway:bold:size=30', -- font for the time + font3 = 'Ubuntu:size=14', -- font for the date + font4 = 'Raleway:bold:size=9', -- font for the keybindings heading + max_text_width = 0, -- 0 will make sure line does not get broken if width too smal + max_user_text = 16384, -- max text in conky default 16384 + override_utf8_locale = true, -- force UTF8 requires xft + short_units = true, -- shorten units from KiB to k + top_name_width = 21, -- width for $top name value default 15 + top_name_verbose = false, -- If true, top name shows the full command line of each process - Default value is false. + uppercase = false, -- uppercase or not + use_spacer = 'none', -- adds spaces around certain objects to align - default none + use_xft = true, -- xft font - anti-aliased font + xftalpha = 1, -- alpha of the xft font - between 0-1 + + --Windows + own_window = true, -- create your own window to draw + own_window_argb_value = 255, -- real transparency - composite manager required 0-255 + own_window_argb_visual = true, -- use ARGB - composite manager required + own_window_class = 'Conky', -- manually set the WM_CLASS name for use with xprop + own_window_colour = '#2E3440', -- set colour if own_window_transparent no + own_window_transparent = false, -- if own_window_argb_visual is true sets background opacity 0% + own_window_title = 'xmonad_conky', -- set the name manually + own_window_type = 'override', -- if own_window true options are: normal/override/dock/desktop/panel + own_window_hints = 'undecorated,below,above,sticky,skip_taskbar,skip_pager', -- if own_window true - just hints - own_window_type sets it + + --Colors (Nord) + color0 = '#B48EAD', + color1 = '#D8DEE9', + color2 = '#88C0D0', + color3 = '#EBCB8B', +}; conky.text = [[ -${image ~/.config/conky/qtile/01/bg/Nord.png -s 300x763 -p 0,35} -${alignc}${voffset 26}${color3}${font Raleway:bold:size=40}${time %H:%M}${font}${color} -${alignc}${voffset 5}${font Raleway:size=14}${time %A, %B %d} -${offset 34}${voffset 90}${color}${font Bebas Neue:size=18}${cpu cpu0}%${goto 104}${memperc}%${goto 180}${battery_percent BAT0}%${goto 230}${execi 2 ~/.config/conky/qtile/01/scripts/cputemp.sh} -${offset 24}${voffset -2}${color}${font Raleway:size=10}/ :${goto 170}${font Raleway:size=10}/home : -${offset 24}${color3}${font Raleway:size=9}${fs_bar 10,111}${goto 170}${color3}${font Raleway:size=9}${fs_bar 10,111 /home} -${offset 24}${color}${font Raleway:size=9}${fs_used} / ${fs_size}${goto 170}${color}${font Raleway:size=8}${fs_used /home} / ${fs_size /home}${font} -${voffset 32}${color5}${alignc}${font Raleway:bold:size=12}QTILE KEYBINDINGS${font}${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + [RET]${alignr}${offset -24}${color2}open terminal${color} -${offset 24}${color1}SUPER + b${alignr}${offset -24}${color2}open browser${color} -${offset 24}${color1}SUPER + SHIFT + [RET]${alignr}${offset -24}${color2}run prompt${color} -${offset 24}${color1}SUPER + SHIFT + c${alignr}${offset -24}${color2}close window${color} -${offset 24}${color1}SUPER + h/j/k/l${alignr}${offset -24}${color2}move win focus${color} -${offset 24}${color1}SUPER + SHIFT + h/j/k/l${alignr}${offset -24}${color2}move window${color} -${offset 24}${color1}SUPER + [1-9]${alignr}${offset -24}${color2}switch workspace${color} -${offset 24}${color1}SUPER + SHIFT + [1-9]${alignr}${offset -24}${color2}send window${color} -${offset 24}${color1}SUPER + =/-${alignr}${offset -24}${color2}shrink/expand${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + e, e${alignr}${offset -24}${color2}launch emacs${color} -${offset 24}${color1}SUPER + e, b${alignr}${offset -24}${color2}ibuffer${color} -${offset 24}${color1}SUPER + e, d${alignr}${offset -24}${color2}dired${color} -${offset 24}${color1}SUPER + e, s${alignr}${offset -24}${color2}eshell${color} -${offset 24}${color1}SUPER + e, v${alignr}${offset -24}${color2}vterm${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + p, h${alignr}${offset -24}${color2}dm-hub${color} -${offset 24}${color1}SUPER + p, b${alignr}${offset -24}${color2}dm-setbg${color} -${offset 24}${color1}SUPER + p, m${alignr}${offset -24}${color2}dm-man${color} -${offset 24}${color1}SUPER + p, o${alignr}${offset -24}${color2}dm-bookman${color} -${offset 24}${color1}SUPER + p, s${alignr}${offset -24}${color2}dm-websearch${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + SHIFT + r${alignr}${offset -24}${color2}restart qtile${color} -${offset 24}${color1}SUPER + SHIFT + q${alignr}${offset -24}${color2}quit qtile${color} -]] +${alignc}${color0}${font2}${time %H:%M}${font} +${voffset 6}${alignc}${color0}${font3}${time %b %d, %Y}${font}${color} +${voffset 18}${goto 12}${color3}CPU${goto 50}$cpu% +${color2}${goto 12}${cpubar 8,254} +${voffset 5}${goto 12}$font${color1}${top name 1}$alignr$color${top cpu 1}% +${goto 12}${color1}${top name 2}$alignr$color${top cpu 2}% +${goto 12}${color1}${top name 3}$alignr$color${top cpu 3}% +${voffset 14}${goto 12}${color3}RAM${goto 50}$mem/$memmax +${color2}${goto 12}${membar 8,254}${color} +${goto 12}${voffset 5}${color1}${top_mem name 1}$alignr$color${top_mem mem_res 1} +${goto 12}${color1}${top_mem name 2}$alignr$color${top_mem mem_res 2} +${goto 12}${color1}${top_mem name 3}$alignr$color${top_mem mem_res 3} +${voffset 18}${color1}${alignc}${font4}QTILE KEYBINDINGS${font}${color} +${color1}${hr}${color} +${color1}[S]+[RET]${alignr}${color2}open terminal${color} +${color1}[S]+b${alignr}${color2}open browser${color} +${color1}[S]+[SHIFT]+[RET]${alignr}${color2}run prompt${color} +${color1}[S]+[SHIFT]+c${alignr}${color2}close window${color} +${color1}[S]+j/k${alignr}${color2}move win focus${color} +${color1}[S]+[SHIFT]+hjkl${alignr}${color2}move window${color} +${color1}[S]+[1-9]${alignr}${color2}switch workspace${color} +${color1}[S]+[SHIFT]+[1-9]${alignr}${color2}send window${color} +${color1}[S]+[=]/[-]${alignr}${color2}shrink/expand${color} +${color1}${hr}${color} +${color1}[S]+e, e${alignr}${color2}launch emacs${color} +${color1}[S]+e, b${alignr}${color2}ibuffer${color} +${color1}[S]+e, d${alignr}${color2}dired${color} +${color1}[S]+e, s${alignr}${color2}eshell${color} +${color1}[S]+e, v${alignr}${color2}vterm${color} +${color1}${hr}${color} +${color1}[S]+p, h${alignr}${color2}dm-hub${color} +${color1}[S]+p, b${alignr}${color2}dm-setbg${color} +${color1}[S]+p, m${alignr}${color2}dm-man${color} +${color1}[S]+p, o${alignr}${color2}dm-bookman${color} +${color1}[S]+p, s${alignr}${color2}dm-websearch${color} +${color1}${hr}${color} +${color1}[S]+[SHIFT]+r${alignr}${color2}restart qtile${color} +${color1}[S]+[SHIFT]+q${alignr}${color2}quit qtile${color} +]]; diff --git a/.config/conky/qtile/01/OceanicNext.conf b/.config/conky/qtile/01/OceanicNext.conf old mode 100644 new mode 100755 index 77b2ff1..f88da46 --- a/.config/conky/qtile/01/OceanicNext.conf +++ b/.config/conky/qtile/01/OceanicNext.conf @@ -1,105 +1,129 @@ +--[[ +####################################### +## oceanic-next-01.conkyrc (Qtile) ## +####################################### +]] + conky.config = { ---============================================================================== --- DTOS 01 CONKY --- This conky theme was originally based on the Mimosa Dark theme created by --- author "Closebox73". I have removed many of the original widgets that theme --- Mimosa theme used, and I added the DTOS keybinding information. + --Various settings + background = true, -- forked to background + cpu_avg_samples = 2, -- The number of samples to average for CPU monitoring. + diskio_avg_samples = 10, -- The number of samples to average for disk I/O monitoring. + double_buffer = true, -- Use the Xdbe extension? (eliminates flicker) + if_up_strictness = 'address', -- how strict if testing interface is up - up, link or address + net_avg_samples = 2, -- The number of samples to average for net data + no_buffers = true, -- Subtract (file system) buffers from used memory? + temperature_unit = 'fahrenheit', -- fahrenheit or celsius + text_buffer_size = 2048, -- size of buffer for display of content of large variables - default 256 + update_interval = 1, -- update interval + imlib_cache_size = 0, -- disable image cache to get a new spotify cover per song ---============================================================================== + -- Placement (Conky on MIDDLE of THREE monitors at 1920x1080) + --alignment = 'top_left', -- top_left,top_middle,top_right,bottom_left,bottom_middle,bottom_right, + --gap_x = 3540, -- pixels between right or left border + --gap_y = 70, -- pixels between bottom or left border --- Size and Position settings -- - alignment = 'top_right', - gap_x = 30, - gap_y = 30, - maximum_width = 300, - minimum_height = 793, - minimum_width = 300, - --- Text settings -- - use_xft = true, - override_utf8_locale = true, - font = 'Roboto:normal:size=9', - + -- Placement (For SINGLE monitor users!) + alignment = 'top_right', -- top_left,top_middle,top_right,bottom_left,bottom_middle,bottom_right, + gap_x = 50, -- pixels between right or left border + gap_y = 70, -- pixels between bottom or left border - border_inner_margin = 4, -- margin between border and text - border_outer_margin = 0, -- margin between border and edge of window - border_width = 0, -- border width in pixels + -- Size + minimum_height = 200, -- minimum height of window + minimum_width = 260, -- minimum width of window + maximum_width = 260, -- maximum width of window --- Color Settings -- - default_color = 'ededed', - default_outline_color = 'white', - default_shade_color = 'white', - color1 = 'd8dee9', - color2 = 'c594c5', - color3 = '6699cc', - color4 = '4d4d4d', - color5 = '99c794', - --- Window Settings -- - background = false, - border_width = 1, - draw_borders = false, - draw_graph_borders = false, - draw_outline = false, - draw_shades = false, - own_window = true, - own_window_colour = '000000', - own_window_class = 'Conky', - own_window_argb_visual = false, - own_window_type = 'override', - own_window_transparent = true, - own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager', - stippled_borders = 0, - --- Others -- - cpu_avg_samples = 2, - net_avg_samples = 2, - double_buffer = true, - out_to_console = false, - out_to_stderr = false, - extra_newline = false, - update_interval = 1, - uppercase = false, - use_spacer = 'none', - show_graph_scale = false, - show_graph_range = false, - lua_load = '~/.config/conky/qtile/01/scripts/OceanicNext.lua', - lua_draw_hook_pre = 'ring_stats', -} + --Graphical + border_inner_margin = 5, -- margin between border and text + border_outer_margin = 5, -- margin between border and edge of window + border_width = 0, -- border width in pixels + default_bar_width = 260, -- default is 0 - full width + default_bar_height = 10, -- default is 6 + default_gauge_height = 25, -- default is 25 + default_gauge_width =40, -- default is 40 + default_graph_height = 40, -- default is 25 + default_graph_width = 153, -- default is 0 - full width + default_shade_color = '#000000', -- default shading colour + default_outline_color = '#000000', -- default outline colour + draw_borders = false, -- draw borders around text + draw_graph_borders = true, -- draw borders around graphs + draw_shades = false, -- draw shades + draw_outline = false, -- draw outline + stippled_borders = 0, -- dashing the border + + --Textual + format_human_readable = true, -- KiB, MiB rather then number of bytes + font = 'Source Code Pro:bold:size=10', -- the default font used + font2 = 'Raleway:bold:size=30', -- font for the time + font3 = 'Ubuntu:size=14', -- font for the date + font4 = 'Raleway:bold:size=9', -- font for the keybindings heading + max_text_width = 0, -- 0 will make sure line does not get broken if width too smal + max_user_text = 16384, -- max text in conky default 16384 + override_utf8_locale = true, -- force UTF8 requires xft + short_units = true, -- shorten units from KiB to k + top_name_width = 21, -- width for $top name value default 15 + top_name_verbose = false, -- If true, top name shows the full command line of each process - Default value is false. + uppercase = false, -- uppercase or not + use_spacer = 'none', -- adds spaces around certain objects to align - default none + use_xft = true, -- xft font - anti-aliased font + xftalpha = 1, -- alpha of the xft font - between 0-1 + + --Windows + own_window = true, -- create your own window to draw + own_window_argb_value = 255, -- real transparency - composite manager required 0-255 + own_window_argb_visual = true, -- use ARGB - composite manager required + own_window_class = 'Conky', -- manually set the WM_CLASS name for use with xprop + own_window_colour = '#1b2b34', -- set colour if own_window_transparent no + own_window_transparent = false, -- if own_window_argb_visual is true sets background opacity 0% + own_window_title = 'xmonad_conky', -- set the name manually + own_window_type = 'override', -- if own_window true options are: normal/override/dock/desktop/panel + own_window_hints = 'undecorated,below,above,sticky,skip_taskbar,skip_pager', -- if own_window true - just hints - own_window_type sets it + + --Colors (Oceanic Next) + color0 = '#c594c5', + color1 = '#d8dee9', + color2 = '#6699cc', + color3 = '#99c794', +}; conky.text = [[ -${image ~/.config/conky/qtile/01/bg/OceanicNext.png -s 300x763 -p 0,35} -${alignc}${voffset 26}${color3}${font Raleway:bold:size=40}${time %H:%M}${font}${color} -${alignc}${voffset 5}${font Raleway:size=14}${time %A, %B %d} -${offset 34}${voffset 90}${color}${font Bebas Neue:size=18}${cpu cpu0}%${goto 104}${memperc}%${goto 180}${battery_percent BAT0}%${goto 230}${execi 2 ~/.config/conky/qtile/01/scripts/cputemp.sh} -${offset 24}${voffset -2}${color}${font Raleway:size=10}/ :${goto 170}${font Raleway:size=10}/home : -${offset 24}${color3}${font Raleway:size=9}${fs_bar 10,111}${goto 170}${color3}${font Raleway:size=9}${fs_bar 10,111 /home} -${offset 24}${color}${font Raleway:size=9}${fs_used} / ${fs_size}${goto 170}${color}${font Raleway:size=8}${fs_used /home} / ${fs_size /home}${font} -${voffset 32}${color5}${alignc}${font Raleway:bold:size=12}QTILE KEYBINDINGS${font}${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + [RET]${alignr}${offset -24}${color2}open terminal${color} -${offset 24}${color1}SUPER + b${alignr}${offset -24}${color2}open browser${color} -${offset 24}${color1}SUPER + SHIFT + [RET]${alignr}${offset -24}${color2}run prompt${color} -${offset 24}${color1}SUPER + SHIFT + c${alignr}${offset -24}${color2}close window${color} -${offset 24}${color1}SUPER + h/j/k/l${alignr}${offset -24}${color2}move win focus${color} -${offset 24}${color1}SUPER + SHIFT + h/j/k/l${alignr}${offset -24}${color2}move window${color} -${offset 24}${color1}SUPER + [1-9]${alignr}${offset -24}${color2}switch workspace${color} -${offset 24}${color1}SUPER + SHIFT + [1-9]${alignr}${offset -24}${color2}send window${color} -${offset 24}${color1}SUPER + =/-${alignr}${offset -24}${color2}shrink/expand${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + e, e${alignr}${offset -24}${color2}launch emacs${color} -${offset 24}${color1}SUPER + e, b${alignr}${offset -24}${color2}ibuffer${color} -${offset 24}${color1}SUPER + e, d${alignr}${offset -24}${color2}dired${color} -${offset 24}${color1}SUPER + e, s${alignr}${offset -24}${color2}eshell${color} -${offset 24}${color1}SUPER + e, v${alignr}${offset -24}${color2}vterm${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + p, h${alignr}${offset -24}${color2}dm-hub${color} -${offset 24}${color1}SUPER + p, b${alignr}${offset -24}${color2}dm-setbg${color} -${offset 24}${color1}SUPER + p, m${alignr}${offset -24}${color2}dm-man${color} -${offset 24}${color1}SUPER + p, o${alignr}${offset -24}${color2}dm-bookman${color} -${offset 24}${color1}SUPER + p, s${alignr}${offset -24}${color2}dm-websearch${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + SHIFT + r${alignr}${offset -24}${color2}restart qtile${color} -${offset 24}${color1}SUPER + SHIFT + q${alignr}${offset -24}${color2}quit qtile${color} -]] +${alignc}${color0}${font2}${time %H:%M}${font} +${voffset 6}${alignc}${color0}${font3}${time %b %d, %Y}${font}${color} +${voffset 18}${goto 12}${color3}CPU${goto 50}$cpu% +${color2}${goto 12}${cpubar 8,254} +${voffset 5}${goto 12}$font${color1}${top name 1}$alignr$color${top cpu 1}% +${goto 12}${color1}${top name 2}$alignr$color${top cpu 2}% +${goto 12}${color1}${top name 3}$alignr$color${top cpu 3}% +${voffset 14}${goto 12}${color3}RAM${goto 50}$mem/$memmax +${color2}${goto 12}${membar 8,254}${color} +${goto 12}${voffset 5}${color1}${top_mem name 1}$alignr$color${top_mem mem_res 1} +${goto 12}${color1}${top_mem name 2}$alignr$color${top_mem mem_res 2} +${goto 12}${color1}${top_mem name 3}$alignr$color${top_mem mem_res 3} +${voffset 18}${color1}${alignc}${font4}QTILE KEYBINDINGS${font}${color} +${color1}${hr}${color} +${color1}[S]+[RET]${alignr}${color2}open terminal${color} +${color1}[S]+b${alignr}${color2}open browser${color} +${color1}[S]+[SHIFT]+[RET]${alignr}${color2}run prompt${color} +${color1}[S]+[SHIFT]+c${alignr}${color2}close window${color} +${color1}[S]+j/k${alignr}${color2}move win focus${color} +${color1}[S]+[SHIFT]+hjkl${alignr}${color2}move window${color} +${color1}[S]+[1-9]${alignr}${color2}switch workspace${color} +${color1}[S]+[SHIFT]+[1-9]${alignr}${color2}send window${color} +${color1}[S]+[=]/[-]${alignr}${color2}shrink/expand${color} +${color1}${hr}${color} +${color1}[S]+e, e${alignr}${color2}launch emacs${color} +${color1}[S]+e, b${alignr}${color2}ibuffer${color} +${color1}[S]+e, d${alignr}${color2}dired${color} +${color1}[S]+e, s${alignr}${color2}eshell${color} +${color1}[S]+e, v${alignr}${color2}vterm${color} +${color1}${hr}${color} +${color1}[S]+p, h${alignr}${color2}dm-hub${color} +${color1}[S]+p, b${alignr}${color2}dm-setbg${color} +${color1}[S]+p, m${alignr}${color2}dm-man${color} +${color1}[S]+p, o${alignr}${color2}dm-bookman${color} +${color1}[S]+p, s${alignr}${color2}dm-websearch${color} +${color1}${hr}${color} +${color1}[S]+[SHIFT]+r${alignr}${color2}restart qtile${color} +${color1}[S]+[SHIFT]+q${alignr}${color2}quit qtile${color} +]]; diff --git a/.config/conky/qtile/01/Palenight.conf b/.config/conky/qtile/01/Palenight.conf old mode 100644 new mode 100755 index dccb107..cd670f2 --- a/.config/conky/qtile/01/Palenight.conf +++ b/.config/conky/qtile/01/Palenight.conf @@ -1,105 +1,129 @@ +--[[ +######################################### +## tomorrow-night-01.conkyrc (Qtile) ## +######################################### +]] + conky.config = { ---============================================================================== --- DTOS 01 CONKY --- This conky theme was originally based on the Mimosa Dark theme created by --- author "Closebox73". I have removed many of the original widgets that theme --- Mimosa theme used, and I added the DTOS keybinding information. + --Various settings + background = true, -- forked to background + cpu_avg_samples = 2, -- The number of samples to average for CPU monitoring. + diskio_avg_samples = 10, -- The number of samples to average for disk I/O monitoring. + double_buffer = true, -- Use the Xdbe extension? (eliminates flicker) + if_up_strictness = 'address', -- how strict if testing interface is up - up, link or address + net_avg_samples = 2, -- The number of samples to average for net data + no_buffers = true, -- Subtract (file system) buffers from used memory? + temperature_unit = 'fahrenheit', -- fahrenheit or celsius + text_buffer_size = 2048, -- size of buffer for display of content of large variables - default 256 + update_interval = 1, -- update interval + imlib_cache_size = 0, -- disable image cache to get a new spotify cover per song ---============================================================================== + -- Placement (Conky on MIDDLE of THREE monitors at 1920x1080) + --alignment = 'top_left', -- top_left,top_middle,top_right,bottom_left,bottom_middle,bottom_right, + --gap_x = 3540, -- pixels between right or left border + --gap_y = 70, -- pixels between bottom or left border --- Size and Position settings -- - alignment = 'top_right', - gap_x = 30, - gap_y = 30, - maximum_width = 300, - minimum_height = 793, - minimum_width = 300, - --- Text settings -- - use_xft = true, - override_utf8_locale = true, - font = 'Roboto:normal:size=9', - + -- Placement (For SINGLE monitor users!) + alignment = 'top_right', -- top_left,top_middle,top_right,bottom_left,bottom_middle,bottom_right, + gap_x = 50, -- pixels between right or left border + gap_y = 70, -- pixels between bottom or left border - border_inner_margin = 4, -- margin between border and text - border_outer_margin = 0, -- margin between border and edge of window - border_width = 0, -- border width in pixels + -- Size + minimum_height = 200, -- minimum height of window + minimum_width = 260, -- minimum width of window + maximum_width = 260, -- maximum width of window --- Color Settings -- - default_color = 'ededed', - default_outline_color = 'white', - default_shade_color = 'white', - color1 = 'd0d0d0', - color2 = 'c792ea', - color3 = '89ddff', - color4 = '4d4d4d', - color5 = 'c3e88d', - --- Window Settings -- - background = false, - border_width = 1, - draw_borders = false, - draw_graph_borders = false, - draw_outline = false, - draw_shades = false, - own_window = true, - own_window_colour = '000000', - own_window_class = 'Conky', - own_window_argb_visual = false, - own_window_type = 'override', - own_window_transparent = true, - own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager', - stippled_borders = 0, - --- Others -- - cpu_avg_samples = 2, - net_avg_samples = 2, - double_buffer = true, - out_to_console = false, - out_to_stderr = false, - extra_newline = false, - update_interval = 1, - uppercase = false, - use_spacer = 'none', - show_graph_scale = false, - show_graph_range = false, - lua_load = '~/.config/conky/qtile/01/scripts/Palenight.lua', - lua_draw_hook_pre = 'ring_stats', -} + --Graphical + border_inner_margin = 5, -- margin between border and text + border_outer_margin = 5, -- margin between border and edge of window + border_width = 0, -- border width in pixels + default_bar_width = 260, -- default is 0 - full width + default_bar_height = 10, -- default is 6 + default_gauge_height = 25, -- default is 25 + default_gauge_width =40, -- default is 40 + default_graph_height = 40, -- default is 25 + default_graph_width = 153, -- default is 0 - full width + default_shade_color = '#000000', -- default shading colour + default_outline_color = '#000000', -- default outline colour + draw_borders = false, -- draw borders around text + draw_graph_borders = true, -- draw borders around graphs + draw_shades = false, -- draw shades + draw_outline = false, -- draw outline + stippled_borders = 0, -- dashing the border + + --Textual + format_human_readable = true, -- KiB, MiB rather then number of bytes + font = 'Source Code Pro:bold:size=10', -- the default font used + font2 = 'Raleway:bold:size=30', -- font for the time + font3 = 'Ubuntu:size=14', -- font for the date + font4 = 'Raleway:bold:size=9', -- font for the keybindings heading + max_text_width = 0, -- 0 will make sure line does not get broken if width too smal + max_user_text = 16384, -- max text in conky default 16384 + override_utf8_locale = true, -- force UTF8 requires xft + short_units = true, -- shorten units from KiB to k + top_name_width = 21, -- width for $top name value default 15 + top_name_verbose = false, -- If true, top name shows the full command line of each process - Default value is false. + uppercase = false, -- uppercase or not + use_spacer = 'none', -- adds spaces around certain objects to align - default none + use_xft = true, -- xft font - anti-aliased font + xftalpha = 1, -- alpha of the xft font - between 0-1 + + --Windows + own_window = true, -- create your own window to draw + own_window_argb_value = 255, -- real transparency - composite manager required 0-255 + own_window_argb_visual = true, -- use ARGB - composite manager required + own_window_class = 'Conky', -- manually set the WM_CLASS name for use with xprop + own_window_colour = '#292d3e', -- set colour if own_window_transparent no + own_window_transparent = false, -- if own_window_argb_visual is true sets background opacity 0% + own_window_title = 'xmonad_conky', -- set the name manually + own_window_type = 'override', -- if own_window true options are: normal/override/dock/desktop/panel + own_window_hints = 'undecorated,below,above,sticky,skip_taskbar,skip_pager', -- if own_window true - just hints - own_window_type sets it + + --Colors (Palenight) + color0 = '#c792ea', + color1 = '#d0d0d0', + color2 = '#82aaff', + color3 = '#ffcb6b', +}; conky.text = [[ -${image ~/.config/conky/qtile/01/bg/Palenight.png -s 300x763 -p 0,35} -${alignc}${voffset 26}${color3}${font Raleway:bold:size=40}${time %H:%M}${font}${color} -${alignc}${voffset 5}${font Raleway:size=14}${time %A, %B %d} -${offset 34}${voffset 90}${color}${font Bebas Neue:size=18}${cpu cpu0}%${goto 104}${memperc}%${goto 180}${battery_percent BAT0}%${goto 230}${execi 2 ~/.config/conky/qtile/01/scripts/cputemp.sh} -${offset 24}${voffset -2}${color}${font Raleway:size=10}/ :${goto 170}${font Raleway:size=10}/home : -${offset 24}${color3}${font Raleway:size=9}${fs_bar 10,111}${goto 170}${color3}${font Raleway:size=9}${fs_bar 10,111 /home} -${offset 24}${color}${font Raleway:size=9}${fs_used} / ${fs_size}${goto 170}${color}${font Raleway:size=8}${fs_used /home} / ${fs_size /home}${font} -${voffset 32}${color5}${alignc}${font Raleway:bold:size=12}QTILE KEYBINDINGS${font}${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + [RET]${alignr}${offset -24}${color2}open terminal${color} -${offset 24}${color1}SUPER + b${alignr}${offset -24}${color2}open browser${color} -${offset 24}${color1}SUPER + SHIFT + [RET]${alignr}${offset -24}${color2}run prompt${color} -${offset 24}${color1}SUPER + SHIFT + c${alignr}${offset -24}${color2}close window${color} -${offset 24}${color1}SUPER + h/j/k/l${alignr}${offset -24}${color2}move win focus${color} -${offset 24}${color1}SUPER + SHIFT + h/j/k/l${alignr}${offset -24}${color2}move window${color} -${offset 24}${color1}SUPER + [1-9]${alignr}${offset -24}${color2}switch workspace${color} -${offset 24}${color1}SUPER + SHIFT + [1-9]${alignr}${offset -24}${color2}send window${color} -${offset 24}${color1}SUPER + =/-${alignr}${offset -24}${color2}shrink/expand${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + e, e${alignr}${offset -24}${color2}launch emacs${color} -${offset 24}${color1}SUPER + e, b${alignr}${offset -24}${color2}ibuffer${color} -${offset 24}${color1}SUPER + e, d${alignr}${offset -24}${color2}dired${color} -${offset 24}${color1}SUPER + e, s${alignr}${offset -24}${color2}eshell${color} -${offset 24}${color1}SUPER + e, v${alignr}${offset -24}${color2}vterm${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + p, h${alignr}${offset -24}${color2}dm-hub${color} -${offset 24}${color1}SUPER + p, b${alignr}${offset -24}${color2}dm-setbg${color} -${offset 24}${color1}SUPER + p, m${alignr}${offset -24}${color2}dm-man${color} -${offset 24}${color1}SUPER + p, o${alignr}${offset -24}${color2}dm-bookman${color} -${offset 24}${color1}SUPER + p, s${alignr}${offset -24}${color2}dm-websearch${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + SHIFT + r${alignr}${offset -24}${color2}restart qtile${color} -${offset 24}${color1}SUPER + SHIFT + q${alignr}${offset -24}${color2}quit qtile${color} -]] +${alignc}${color0}${font2}${time %H:%M}${font} +${voffset 6}${alignc}${color0}${font3}${time %b %d, %Y}${font}${color} +${voffset 18}${goto 12}${color3}CPU${goto 50}$cpu% +${color2}${goto 12}${cpubar 8,254} +${voffset 5}${goto 12}$font${color1}${top name 1}$alignr$color${top cpu 1}% +${goto 12}${color1}${top name 2}$alignr$color${top cpu 2}% +${goto 12}${color1}${top name 3}$alignr$color${top cpu 3}% +${voffset 14}${goto 12}${color3}RAM${goto 50}$mem/$memmax +${color2}${goto 12}${membar 8,254}${color} +${goto 12}${voffset 5}${color1}${top_mem name 1}$alignr$color${top_mem mem_res 1} +${goto 12}${color1}${top_mem name 2}$alignr$color${top_mem mem_res 2} +${goto 12}${color1}${top_mem name 3}$alignr$color${top_mem mem_res 3} +${voffset 18}${color1}${alignc}${font4}QTILE KEYBINDINGS${font}${color} +${color1}${hr}${color} +${color1}[S]+[RET]${alignr}${color2}open terminal${color} +${color1}[S]+b${alignr}${color2}open browser${color} +${color1}[S]+[SHIFT]+[RET]${alignr}${color2}run prompt${color} +${color1}[S]+[SHIFT]+c${alignr}${color2}close window${color} +${color1}[S]+j/k${alignr}${color2}move win focus${color} +${color1}[S]+[SHIFT]+hjkl${alignr}${color2}move window${color} +${color1}[S]+[1-9]${alignr}${color2}switch workspace${color} +${color1}[S]+[SHIFT]+[1-9]${alignr}${color2}send window${color} +${color1}[S]+[=]/[-]${alignr}${color2}shrink/expand${color} +${color1}${hr}${color} +${color1}[S]+e, e${alignr}${color2}launch emacs${color} +${color1}[S]+e, b${alignr}${color2}ibuffer${color} +${color1}[S]+e, d${alignr}${color2}dired${color} +${color1}[S]+e, s${alignr}${color2}eshell${color} +${color1}[S]+e, v${alignr}${color2}vterm${color} +${color1}${hr}${color} +${color1}[S]+p, h${alignr}${color2}dm-hub${color} +${color1}[S]+p, b${alignr}${color2}dm-setbg${color} +${color1}[S]+p, m${alignr}${color2}dm-man${color} +${color1}[S]+p, o${alignr}${color2}dm-bookman${color} +${color1}[S]+p, s${alignr}${color2}dm-websearch${color} +${color1}${hr}${color} +${color1}[S]+[SHIFT]+r${alignr}${color2}restart qtile${color} +${color1}[S]+[SHIFT]+q${alignr}${color2}quit qtile${color} +]]; diff --git a/.config/conky/qtile/01/SolarizedDark.conf b/.config/conky/qtile/01/SolarizedDark.conf old mode 100644 new mode 100755 index a9e5bb3..c824e19 --- a/.config/conky/qtile/01/SolarizedDark.conf +++ b/.config/conky/qtile/01/SolarizedDark.conf @@ -1,105 +1,129 @@ +--[[ +######################################### +## solarized-dark-01.conkyrc (Qtile) ## +######################################### +]] + conky.config = { ---============================================================================== --- DTOS 01 CONKY --- This conky theme was originally based on the Mimosa Dark theme created by --- author "Closebox73". I have removed many of the original widgets that theme --- Mimosa theme used, and I added the DTOS keybinding information. + --Various settings + background = true, -- forked to background + cpu_avg_samples = 2, -- The number of samples to average for CPU monitoring. + diskio_avg_samples = 10, -- The number of samples to average for disk I/O monitoring. + double_buffer = true, -- Use the Xdbe extension? (eliminates flicker) + if_up_strictness = 'address', -- how strict if testing interface is up - up, link or address + net_avg_samples = 2, -- The number of samples to average for net data + no_buffers = true, -- Subtract (file system) buffers from used memory? + temperature_unit = 'fahrenheit', -- fahrenheit or celsius + text_buffer_size = 2048, -- size of buffer for display of content of large variables - default 256 + update_interval = 1, -- update interval + imlib_cache_size = 0, -- disable image cache to get a new spotify cover per song ---============================================================================== + -- Placement (Conky on MIDDLE of THREE monitors at 1920x1080) + --alignment = 'top_left', -- top_left,top_middle,top_right,bottom_left,bottom_middle,bottom_right, + --gap_x = 3540, -- pixels between right or left border + --gap_y = 70, -- pixels between bottom or left border --- Size and Position settings -- - alignment = 'top_right', - gap_x = 30, - gap_y = 30, - maximum_width = 300, - minimum_height = 793, - minimum_width = 300, - --- Text settings -- - use_xft = true, - override_utf8_locale = true, - font = 'Roboto:normal:size=9', - + -- Placement (For SINGLE monitor users!) + alignment = 'top_right', -- top_left,top_middle,top_right,bottom_left,bottom_middle,bottom_right, + gap_x = 50, -- pixels between right or left border + gap_y = 70, -- pixels between bottom or left border - border_inner_margin = 4, -- margin between border and text - border_outer_margin = 0, -- margin between border and edge of window - border_width = 0, -- border width in pixels + -- Size + minimum_height = 200, -- minimum height of window + minimum_width = 260, -- minimum width of window + maximum_width = 260, -- maximum width of window --- Color Settings -- - default_color = 'ededed', - default_outline_color = 'white', - default_shade_color = 'white', - color1 = '839496', - color2 = '859900', - color3 = '268bd2', - color4 = '4d4d4d', - color5 = 'd33682', - --- Window Settings -- - background = false, - border_width = 1, - draw_borders = false, - draw_graph_borders = false, - draw_outline = false, - draw_shades = false, - own_window = true, - own_window_colour = '000000', - own_window_class = 'Conky', - own_window_argb_visual = false, - own_window_type = 'override', - own_window_transparent = true, - own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager', - stippled_borders = 0, - --- Others -- - cpu_avg_samples = 2, - net_avg_samples = 2, - double_buffer = true, - out_to_console = false, - out_to_stderr = false, - extra_newline = false, - update_interval = 1, - uppercase = false, - use_spacer = 'none', - show_graph_scale = false, - show_graph_range = false, - lua_load = '~/.config/conky/qtile/01/scripts/SolarizedDark.lua', - lua_draw_hook_pre = 'ring_stats', -} + --Graphical + border_inner_margin = 5, -- margin between border and text + border_outer_margin = 5, -- margin between border and edge of window + border_width = 0, -- border width in pixels + default_bar_width = 260, -- default is 0 - full width + default_bar_height = 10, -- default is 6 + default_gauge_height = 25, -- default is 25 + default_gauge_width =40, -- default is 40 + default_graph_height = 40, -- default is 25 + default_graph_width = 153, -- default is 0 - full width + default_shade_color = '#000000', -- default shading colour + default_outline_color = '#000000', -- default outline colour + draw_borders = false, -- draw borders around text + draw_graph_borders = true, -- draw borders around graphs + draw_shades = false, -- draw shades + draw_outline = false, -- draw outline + stippled_borders = 0, -- dashing the border + + --Textual + format_human_readable = true, -- KiB, MiB rather then number of bytes + font = 'Source Code Pro:bold:size=10', -- the default font used + font2 = 'Raleway:bold:size=30', -- font for the time + font3 = 'Ubuntu:size=14', -- font for the date + font4 = 'Raleway:bold:size=9', -- font for the keybindings heading + max_text_width = 0, -- 0 will make sure line does not get broken if width too smal + max_user_text = 16384, -- max text in conky default 16384 + override_utf8_locale = true, -- force UTF8 requires xft + short_units = true, -- shorten units from KiB to k + top_name_width = 21, -- width for $top name value default 15 + top_name_verbose = false, -- If true, top name shows the full command line of each process - Default value is false. + uppercase = false, -- uppercase or not + use_spacer = 'none', -- adds spaces around certain objects to align - default none + use_xft = true, -- xft font - anti-aliased font + xftalpha = 1, -- alpha of the xft font - between 0-1 + + --Windows + own_window = true, -- create your own window to draw + own_window_argb_value = 255, -- real transparency - composite manager required 0-255 + own_window_argb_visual = true, -- use ARGB - composite manager required + own_window_class = 'Conky', -- manually set the WM_CLASS name for use with xprop + own_window_colour = '#002b36', -- set colour if own_window_transparent no + own_window_transparent = false, -- if own_window_argb_visual is true sets background opacity 0% + own_window_title = 'xmonad_conky', -- set the name manually + own_window_type = 'override', -- if own_window true options are: normal/override/dock/desktop/panel + own_window_hints = 'undecorated,below,above,sticky,skip_taskbar,skip_pager', -- if own_window true - just hints - own_window_type sets it + + --Colors (Solarized Dark) + color0 = '#2aa198', + color1 = '#fdf6e3', + color2 = '#268bd2', + color3 = '#d33682', +}; conky.text = [[ -${image ~/.config/conky/qtile/01/bg/SolarizedDark.png -s 300x763 -p 0,35} -${alignc}${voffset 26}${color3}${font Raleway:bold:size=40}${time %H:%M}${font}${color} -${alignc}${voffset 5}${font Raleway:size=14}${time %A, %B %d} -${offset 34}${voffset 90}${color}${font Bebas Neue:size=18}${cpu cpu0}%${goto 104}${memperc}%${goto 180}${battery_percent BAT0}%${goto 230}${execi 2 ~/.config/conky/qtile/01/scripts/cputemp.sh} -${offset 24}${voffset -2}${color}${font Raleway:size=10}/ :${goto 170}${font Raleway:size=10}/home : -${offset 24}${color3}${font Raleway:size=9}${fs_bar 10,111}${goto 170}${color3}${font Raleway:size=9}${fs_bar 10,111 /home} -${offset 24}${color}${font Raleway:size=9}${fs_used} / ${fs_size}${goto 170}${color}${font Raleway:size=8}${fs_used /home} / ${fs_size /home}${font} -${voffset 32}${color5}${alignc}${font Raleway:bold:size=12}QTILE KEYBINDINGS${font}${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + [RET]${alignr}${offset -24}${color2}open terminal${color} -${offset 24}${color1}SUPER + b${alignr}${offset -24}${color2}open browser${color} -${offset 24}${color1}SUPER + SHIFT + [RET]${alignr}${offset -24}${color2}run prompt${color} -${offset 24}${color1}SUPER + SHIFT + c${alignr}${offset -24}${color2}close window${color} -${offset 24}${color1}SUPER + h/j/k/l${alignr}${offset -24}${color2}move win focus${color} -${offset 24}${color1}SUPER + SHIFT + h/j/k/l${alignr}${offset -24}${color2}move window${color} -${offset 24}${color1}SUPER + [1-9]${alignr}${offset -24}${color2}switch workspace${color} -${offset 24}${color1}SUPER + SHIFT + [1-9]${alignr}${offset -24}${color2}send window${color} -${offset 24}${color1}SUPER + =/-${alignr}${offset -24}${color2}shrink/expand${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + e, e${alignr}${offset -24}${color2}launch emacs${color} -${offset 24}${color1}SUPER + e, b${alignr}${offset -24}${color2}ibuffer${color} -${offset 24}${color1}SUPER + e, d${alignr}${offset -24}${color2}dired${color} -${offset 24}${color1}SUPER + e, s${alignr}${offset -24}${color2}eshell${color} -${offset 24}${color1}SUPER + e, v${alignr}${offset -24}${color2}vterm${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + p, h${alignr}${offset -24}${color2}dm-hub${color} -${offset 24}${color1}SUPER + p, b${alignr}${offset -24}${color2}dm-setbg${color} -${offset 24}${color1}SUPER + p, m${alignr}${offset -24}${color2}dm-man${color} -${offset 24}${color1}SUPER + p, o${alignr}${offset -24}${color2}dm-bookman${color} -${offset 24}${color1}SUPER + p, s${alignr}${offset -24}${color2}dm-websearch${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + SHIFT + r${alignr}${offset -24}${color2}restart qtile${color} -${offset 24}${color1}SUPER + SHIFT + q${alignr}${offset -24}${color2}quit qtile${color} -]] +${alignc}${color0}${font2}${time %H:%M}${font} +${voffset 6}${alignc}${color0}${font3}${time %b %d, %Y}${font}${color} +${voffset 18}${goto 12}${color3}CPU${goto 50}$cpu% +${color2}${goto 12}${cpubar 8,254} +${voffset 5}${goto 12}$font${color1}${top name 1}$alignr$color${top cpu 1}% +${goto 12}${color1}${top name 2}$alignr$color${top cpu 2}% +${goto 12}${color1}${top name 3}$alignr$color${top cpu 3}% +${voffset 14}${goto 12}${color3}RAM${goto 50}$mem/$memmax +${color2}${goto 12}${membar 8,254}${color} +${goto 12}${voffset 5}${color1}${top_mem name 1}$alignr$color${top_mem mem_res 1} +${goto 12}${color1}${top_mem name 2}$alignr$color${top_mem mem_res 2} +${goto 12}${color1}${top_mem name 3}$alignr$color${top_mem mem_res 3} +${voffset 18}${color1}${alignc}${font4}QTILE KEYBINDINGS${font}${color} +${color1}${hr}${color} +${color1}[S]+[RET]${alignr}${color2}open terminal${color} +${color1}[S]+b${alignr}${color2}open browser${color} +${color1}[S]+[SHIFT]+[RET]${alignr}${color2}run prompt${color} +${color1}[S]+[SHIFT]+c${alignr}${color2}close window${color} +${color1}[S]+j/k${alignr}${color2}move win focus${color} +${color1}[S]+[SHIFT]+hjkl${alignr}${color2}move window${color} +${color1}[S]+[1-9]${alignr}${color2}switch workspace${color} +${color1}[S]+[SHIFT]+[1-9]${alignr}${color2}send window${color} +${color1}[S]+[=]/[-]${alignr}${color2}shrink/expand${color} +${color1}${hr}${color} +${color1}[S]+e, e${alignr}${color2}launch emacs${color} +${color1}[S]+e, b${alignr}${color2}ibuffer${color} +${color1}[S]+e, d${alignr}${color2}dired${color} +${color1}[S]+e, s${alignr}${color2}eshell${color} +${color1}[S]+e, v${alignr}${color2}vterm${color} +${color1}${hr}${color} +${color1}[S]+p, h${alignr}${color2}dm-hub${color} +${color1}[S]+p, b${alignr}${color2}dm-setbg${color} +${color1}[S]+p, m${alignr}${color2}dm-man${color} +${color1}[S]+p, o${alignr}${color2}dm-bookman${color} +${color1}[S]+p, s${alignr}${color2}dm-websearch${color} +${color1}${hr}${color} +${color1}[S]+[SHIFT]+r${alignr}${color2}restart qtile${color} +${color1}[S]+[SHIFT]+q${alignr}${color2}quit qtile${color} +]]; diff --git a/.config/conky/qtile/01/SolarizedLight.conf b/.config/conky/qtile/01/SolarizedLight.conf old mode 100644 new mode 100755 index 3ccbedd..9515806 --- a/.config/conky/qtile/01/SolarizedLight.conf +++ b/.config/conky/qtile/01/SolarizedLight.conf @@ -1,105 +1,129 @@ +--[[ +########################################## +## solarized-light-01.conkyrc (Qtile) ## +########################################## +]] + conky.config = { ---============================================================================== --- DTOS 01 CONKY --- This conky theme was originally based on the Mimosa Dark theme created by --- author "Closebox73". I have removed many of the original widgets that theme --- Mimosa theme used, and I added the DTOS keybinding information. + --Various settings + background = true, -- forked to background + cpu_avg_samples = 2, -- The number of samples to average for CPU monitoring. + diskio_avg_samples = 10, -- The number of samples to average for disk I/O monitoring. + double_buffer = true, -- Use the Xdbe extension? (eliminates flicker) + if_up_strictness = 'address', -- how strict if testing interface is up - up, link or address + net_avg_samples = 2, -- The number of samples to average for net data + no_buffers = true, -- Subtract (file system) buffers from used memory? + temperature_unit = 'fahrenheit', -- fahrenheit or celsius + text_buffer_size = 2048, -- size of buffer for display of content of large variables - default 256 + update_interval = 1, -- update interval + imlib_cache_size = 0, -- disable image cache to get a new spotify cover per song ---============================================================================== + -- Placement (Conky on MIDDLE of THREE monitors at 1920x1080) + --alignment = 'top_left', -- top_left,top_middle,top_right,bottom_left,bottom_middle,bottom_right, + --gap_x = 3540, -- pixels between right or left border + --gap_y = 70, -- pixels between bottom or left border --- Size and Position settings -- - alignment = 'top_right', - gap_x = 30, - gap_y = 30, - maximum_width = 300, - minimum_height = 793, - minimum_width = 300, - --- Text settings -- - use_xft = true, - override_utf8_locale = true, - font = 'Roboto:normal:size=9', - + -- Placement (For SINGLE monitor users!) + alignment = 'top_right', -- top_left,top_middle,top_right,bottom_left,bottom_middle,bottom_right, + gap_x = 50, -- pixels between right or left border + gap_y = 70, -- pixels between bottom or left border - border_inner_margin = 4, -- margin between border and text - border_outer_margin = 0, -- margin between border and edge of window - border_width = 0, -- border width in pixels + -- Size + minimum_height = 200, -- minimum height of window + minimum_width = 260, -- minimum width of window + maximum_width = 260, -- maximum width of window --- Color Settings -- - default_color = '073642', - default_outline_color = 'white', - default_shade_color = 'white', - color1 = '073642', - color2 = '859900', - color3 = '268bd2', - color4 = '4d4d4d', - color5 = 'd33682', - --- Window Settings -- - background = false, - border_width = 1, - draw_borders = false, - draw_graph_borders = false, - draw_outline = false, - draw_shades = false, - own_window = true, - own_window_colour = '000000', - own_window_class = 'Conky', - own_window_argb_visual = false, - own_window_type = 'override', - own_window_transparent = true, - own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager', - stippled_borders = 0, - --- Others -- - cpu_avg_samples = 2, - net_avg_samples = 2, - double_buffer = true, - out_to_console = false, - out_to_stderr = false, - extra_newline = false, - update_interval = 1, - uppercase = false, - use_spacer = 'none', - show_graph_scale = false, - show_graph_range = false, - lua_load = '~/.config/conky/qtile/01/scripts/SolarizedLight.lua', - lua_draw_hook_pre = 'ring_stats', -} + --Graphical + border_inner_margin = 5, -- margin between border and text + border_outer_margin = 5, -- margin between border and edge of window + border_width = 0, -- border width in pixels + default_bar_width = 260, -- default is 0 - full width + default_bar_height = 10, -- default is 6 + default_gauge_height = 25, -- default is 25 + default_gauge_width =40, -- default is 40 + default_graph_height = 40, -- default is 25 + default_graph_width = 153, -- default is 0 - full width + default_shade_color = '#000000', -- default shading colour + default_outline_color = '#000000', -- default outline colour + draw_borders = false, -- draw borders around text + draw_graph_borders = true, -- draw borders around graphs + draw_shades = false, -- draw shades + draw_outline = false, -- draw outline + stippled_borders = 0, -- dashing the border + + --Textual + format_human_readable = true, -- KiB, MiB rather then number of bytes + font = 'Source Code Pro:bold:size=10', -- the default font used + font2 = 'Raleway:bold:size=30', -- font for the time + font3 = 'Ubuntu:size=14', -- font for the date + font4 = 'Raleway:bold:size=9', -- font for the keybindings heading + max_text_width = 0, -- 0 will make sure line does not get broken if width too smal + max_user_text = 16384, -- max text in conky default 16384 + override_utf8_locale = true, -- force UTF8 requires xft + short_units = true, -- shorten units from KiB to k + top_name_width = 21, -- width for $top name value default 15 + top_name_verbose = false, -- If true, top name shows the full command line of each process - Default value is false. + uppercase = false, -- uppercase or not + use_spacer = 'none', -- adds spaces around certain objects to align - default none + use_xft = true, -- xft font - anti-aliased font + xftalpha = 1, -- alpha of the xft font - between 0-1 + + --Windows + own_window = true, -- create your own window to draw + own_window_argb_value = 255, -- real transparency - composite manager required 0-255 + own_window_argb_visual = true, -- use ARGB - composite manager required + own_window_class = 'Conky', -- manually set the WM_CLASS name for use with xprop + own_window_colour = '#fdf6e3', -- set colour if own_window_transparent no + own_window_transparent = false, -- if own_window_argb_visual is true sets background opacity 0% + own_window_title = 'xmonad_conky', -- set the name manually + own_window_type = 'override', -- if own_window true options are: normal/override/dock/desktop/panel + own_window_hints = 'undecorated,below,above,sticky,skip_taskbar,skip_pager', -- if own_window true - just hints - own_window_type sets it + + --Colors (Solarized Light) + color0 = '#2aa198', + color1 = '#657b83', + color2 = '#268bd2', + color3 = '#d33682', +}; conky.text = [[ -${image ~/.config/conky/qtile/01/bg/SolarizedLight.png -s 300x763 -p 0,35} -${alignc}${voffset 26}${color3}${font Raleway:bold:size=40}${time %H:%M}${font}${color} -${alignc}${voffset 5}${font Raleway:size=14}${time %A, %B %d} -${offset 34}${voffset 90}${color}${font Bebas Neue:size=18}${cpu cpu0}%${goto 104}${memperc}%${goto 180}${battery_percent BAT0}%${goto 230}${execi 2 ~/.config/conky/qtile/01/scripts/cputemp.sh} -${offset 24}${voffset -2}${color}${font Raleway:size=10}/ :${goto 170}${font Raleway:size=10}/home : -${offset 24}${color3}${font Raleway:size=9}${fs_bar 10,111}${goto 170}${color3}${font Raleway:size=9}${fs_bar 10,111 /home} -${offset 24}${color}${font Raleway:size=9}${fs_used} / ${fs_size}${goto 170}${color}${font Raleway:size=8}${fs_used /home} / ${fs_size /home}${font} -${voffset 32}${color5}${alignc}${font Raleway:bold:size=12}QTILE KEYBINDINGS${font}${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + [RET]${alignr}${offset -24}${color2}open terminal${color} -${offset 24}${color1}SUPER + b${alignr}${offset -24}${color2}open browser${color} -${offset 24}${color1}SUPER + SHIFT + [RET]${alignr}${offset -24}${color2}run prompt${color} -${offset 24}${color1}SUPER + SHIFT + c${alignr}${offset -24}${color2}close window${color} -${offset 24}${color1}SUPER + h/j/k/l${alignr}${offset -24}${color2}move win focus${color} -${offset 24}${color1}SUPER + SHIFT + h/j/k/l${alignr}${offset -24}${color2}move window${color} -${offset 24}${color1}SUPER + [1-9]${alignr}${offset -24}${color2}switch workspace${color} -${offset 24}${color1}SUPER + SHIFT + [1-9]${alignr}${offset -24}${color2}send window${color} -${offset 24}${color1}SUPER + =/-${alignr}${offset -24}${color2}shrink/expand${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + e, e${alignr}${offset -24}${color2}launch emacs${color} -${offset 24}${color1}SUPER + e, b${alignr}${offset -24}${color2}ibuffer${color} -${offset 24}${color1}SUPER + e, d${alignr}${offset -24}${color2}dired${color} -${offset 24}${color1}SUPER + e, s${alignr}${offset -24}${color2}eshell${color} -${offset 24}${color1}SUPER + e, v${alignr}${offset -24}${color2}vterm${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + p, h${alignr}${offset -24}${color2}dm-hub${color} -${offset 24}${color1}SUPER + p, b${alignr}${offset -24}${color2}dm-setbg${color} -${offset 24}${color1}SUPER + p, m${alignr}${offset -24}${color2}dm-man${color} -${offset 24}${color1}SUPER + p, o${alignr}${offset -24}${color2}dm-bookman${color} -${offset 24}${color1}SUPER + p, s${alignr}${offset -24}${color2}dm-websearch${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + SHIFT + r${alignr}${offset -24}${color2}restart qtile${color} -${offset 24}${color1}SUPER + SHIFT + q${alignr}${offset -24}${color2}quit qtile${color} -]] +${alignc}${color0}${font2}${time %H:%M}${font} +${voffset 6}${alignc}${color0}${font3}${time %b %d, %Y}${font}${color} +${voffset 18}${goto 12}${color3}CPU${goto 50}$cpu% +${color2}${goto 12}${cpubar 8,254} +${voffset 5}${goto 12}$font${color1}${top name 1}$alignr$color${top cpu 1}% +${goto 12}${color1}${top name 2}$alignr$color${top cpu 2}% +${goto 12}${color1}${top name 3}$alignr$color${top cpu 3}% +${voffset 14}${goto 12}${color3}RAM${goto 50}$mem/$memmax +${color2}${goto 12}${membar 8,254}${color} +${goto 12}${voffset 5}${color1}${top_mem name 1}$alignr$color${top_mem mem_res 1} +${goto 12}${color1}${top_mem name 2}$alignr$color${top_mem mem_res 2} +${goto 12}${color1}${top_mem name 3}$alignr$color${top_mem mem_res 3} +${voffset 18}${color1}${alignc}${font4}QTILE KEYBINDINGS${font}${color} +${color1}${hr}${color} +${color1}[S]+[RET]${alignr}${color2}open terminal${color} +${color1}[S]+b${alignr}${color2}open browser${color} +${color1}[S]+[SHIFT]+[RET]${alignr}${color2}run prompt${color} +${color1}[S]+[SHIFT]+c${alignr}${color2}close window${color} +${color1}[S]+j/k${alignr}${color2}move win focus${color} +${color1}[S]+[SHIFT]+hjkl${alignr}${color2}move window${color} +${color1}[S]+[1-9]${alignr}${color2}switch workspace${color} +${color1}[S]+[SHIFT]+[1-9]${alignr}${color2}send window${color} +${color1}[S]+[=]/[-]${alignr}${color2}shrink/expand${color} +${color1}${hr}${color} +${color1}[S]+e, e${alignr}${color2}launch emacs${color} +${color1}[S]+e, b${alignr}${color2}ibuffer${color} +${color1}[S]+e, d${alignr}${color2}dired${color} +${color1}[S]+e, s${alignr}${color2}eshell${color} +${color1}[S]+e, v${alignr}${color2}vterm${color} +${color1}${hr}${color} +${color1}[S]+p, h${alignr}${color2}dm-hub${color} +${color1}[S]+p, b${alignr}${color2}dm-setbg${color} +${color1}[S]+p, m${alignr}${color2}dm-man${color} +${color1}[S]+p, o${alignr}${color2}dm-bookman${color} +${color1}[S]+p, s${alignr}${color2}dm-websearch${color} +${color1}${hr}${color} +${color1}[S]+[SHIFT]+r${alignr}${color2}restart qtile${color} +${color1}[S]+[SHIFT]+q${alignr}${color2}quit qtile${color} +]]; diff --git a/.config/conky/qtile/01/TomorrowNight.conf b/.config/conky/qtile/01/TomorrowNight.conf old mode 100644 new mode 100755 index 885be19..f0c5f95 --- a/.config/conky/qtile/01/TomorrowNight.conf +++ b/.config/conky/qtile/01/TomorrowNight.conf @@ -1,105 +1,129 @@ +--[[ +######################################### +## tomorrow-night-01.conkyrc (Qtile) ## +######################################### +]] + conky.config = { ---============================================================================== --- DTOS 01 CONKY --- This conky theme was originally based on the Mimosa Dark theme created by --- author "Closebox73". I have removed many of the original widgets that theme --- Mimosa theme used, and I added the DTOS keybinding information. + --Various settings + background = true, -- forked to background + cpu_avg_samples = 2, -- The number of samples to average for CPU monitoring. + diskio_avg_samples = 10, -- The number of samples to average for disk I/O monitoring. + double_buffer = true, -- Use the Xdbe extension? (eliminates flicker) + if_up_strictness = 'address', -- how strict if testing interface is up - up, link or address + net_avg_samples = 2, -- The number of samples to average for net data + no_buffers = true, -- Subtract (file system) buffers from used memory? + temperature_unit = 'fahrenheit', -- fahrenheit or celsius + text_buffer_size = 2048, -- size of buffer for display of content of large variables - default 256 + update_interval = 1, -- update interval + imlib_cache_size = 0, -- disable image cache to get a new spotify cover per song ---============================================================================== + -- Placement (Conky on MIDDLE of THREE monitors at 1920x1080) + --alignment = 'top_left', -- top_left,top_middle,top_right,bottom_left,bottom_middle,bottom_right, + --gap_x = 3540, -- pixels between right or left border + --gap_y = 70, -- pixels between bottom or left border --- Size and Position settings -- - alignment = 'top_right', - gap_x = 30, - gap_y = 30, - maximum_width = 300, - minimum_height = 793, - minimum_width = 300, - --- Text settings -- - use_xft = true, - override_utf8_locale = true, - font = 'Roboto:normal:size=9', - + -- Placement (For SINGLE monitor users!) + alignment = 'top_right', -- top_left,top_middle,top_right,bottom_left,bottom_middle,bottom_right, + gap_x = 50, -- pixels between right or left border + gap_y = 70, -- pixels between bottom or left border - border_inner_margin = 4, -- margin between border and text - border_outer_margin = 0, -- margin between border and edge of window - border_width = 0, -- border width in pixels + -- Size + minimum_height = 200, -- minimum height of window + minimum_width = 260, -- minimum width of window + maximum_width = 260, -- maximum width of window --- Color Settings -- - default_color = 'ededed', - default_outline_color = 'white', - default_shade_color = 'white', - color1 = 'c5c8c6', - color2 = 'b294bb', - color3 = '70c0ba', - color4 = '4d4d4d', - color5 = 'b5bd68', - --- Window Settings -- - background = false, - border_width = 1, - draw_borders = false, - draw_graph_borders = false, - draw_outline = false, - draw_shades = false, - own_window = true, - own_window_colour = '000000', - own_window_class = 'Conky', - own_window_argb_visual = false, - own_window_type = 'override', - own_window_transparent = true, - own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager', - stippled_borders = 0, - --- Others -- - cpu_avg_samples = 2, - net_avg_samples = 2, - double_buffer = true, - out_to_console = false, - out_to_stderr = false, - extra_newline = false, - update_interval = 1, - uppercase = false, - use_spacer = 'none', - show_graph_scale = false, - show_graph_range = false, - lua_load = '~/.config/conky/qtile/01/scripts/TomorrowNight.lua', - lua_draw_hook_pre = 'ring_stats', -} + --Graphical + border_inner_margin = 5, -- margin between border and text + border_outer_margin = 5, -- margin between border and edge of window + border_width = 0, -- border width in pixels + default_bar_width = 260, -- default is 0 - full width + default_bar_height = 10, -- default is 6 + default_gauge_height = 25, -- default is 25 + default_gauge_width =40, -- default is 40 + default_graph_height = 40, -- default is 25 + default_graph_width = 153, -- default is 0 - full width + default_shade_color = '#000000', -- default shading colour + default_outline_color = '#000000', -- default outline colour + draw_borders = false, -- draw borders around text + draw_graph_borders = true, -- draw borders around graphs + draw_shades = false, -- draw shades + draw_outline = false, -- draw outline + stippled_borders = 0, -- dashing the border + + --Textual + format_human_readable = true, -- KiB, MiB rather then number of bytes + font = 'Source Code Pro:bold:size=10', -- the default font used + font2 = 'Raleway:bold:size=30', -- font for the time + font3 = 'Ubuntu:size=14', -- font for the date + font4 = 'Raleway:bold:size=9', -- font for the keybindings heading + max_text_width = 0, -- 0 will make sure line does not get broken if width too smal + max_user_text = 16384, -- max text in conky default 16384 + override_utf8_locale = true, -- force UTF8 requires xft + short_units = true, -- shorten units from KiB to k + top_name_width = 21, -- width for $top name value default 15 + top_name_verbose = false, -- If true, top name shows the full command line of each process - Default value is false. + uppercase = false, -- uppercase or not + use_spacer = 'none', -- adds spaces around certain objects to align - default none + use_xft = true, -- xft font - anti-aliased font + xftalpha = 1, -- alpha of the xft font - between 0-1 + + --Windows + own_window = true, -- create your own window to draw + own_window_argb_value = 255, -- real transparency - composite manager required 0-255 + own_window_argb_visual = true, -- use ARGB - composite manager required + own_window_class = 'Conky', -- manually set the WM_CLASS name for use with xprop + own_window_colour = '#1d1f21', -- set colour if own_window_transparent no + own_window_transparent = false, -- if own_window_argb_visual is true sets background opacity 0% + own_window_title = 'xmonad_conky', -- set the name manually + own_window_type = 'override', -- if own_window true options are: normal/override/dock/desktop/panel + own_window_hints = 'undecorated,below,above,sticky,skip_taskbar,skip_pager', -- if own_window true - just hints - own_window_type sets it + + --Colors (Tomorrow Night) + color0 = '#b294bb', + color1 = '#c5c8c6', + color2 = '#81a2be', + color3 = '#b5bd68', +}; conky.text = [[ -${image ~/.config/conky/qtile/01/bg/TomorrowNight.png -s 300x763 -p 0,35} -${alignc}${voffset 26}${color3}${font Raleway:bold:size=40}${time %H:%M}${font}${color} -${alignc}${voffset 5}${font Raleway:size=14}${time %A, %B %d} -${offset 34}${voffset 90}${color}${font Bebas Neue:size=18}${cpu cpu0}%${goto 104}${memperc}%${goto 180}${battery_percent BAT0}%${goto 230}${execi 2 ~/.config/conky/qtile/01/scripts/cputemp.sh} -${offset 24}${voffset -2}${color}${font Raleway:size=10}/ :${goto 170}${font Raleway:size=10}/home : -${offset 24}${color3}${font Raleway:size=9}${fs_bar 10,111}${goto 170}${color3}${font Raleway:size=9}${fs_bar 10,111 /home} -${offset 24}${color}${font Raleway:size=9}${fs_used} / ${fs_size}${goto 170}${color}${font Raleway:size=8}${fs_used /home} / ${fs_size /home}${font} -${voffset 32}${color5}${alignc}${font Raleway:bold:size=12}QTILE KEYBINDINGS${font}${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + [RET]${alignr}${offset -24}${color2}open terminal${color} -${offset 24}${color1}SUPER + b${alignr}${offset -24}${color2}open browser${color} -${offset 24}${color1}SUPER + SHIFT + [RET]${alignr}${offset -24}${color2}run prompt${color} -${offset 24}${color1}SUPER + SHIFT + c${alignr}${offset -24}${color2}close window${color} -${offset 24}${color1}SUPER + h/j/k/l${alignr}${offset -24}${color2}move win focus${color} -${offset 24}${color1}SUPER + SHIFT + h/j/k/l${alignr}${offset -24}${color2}move window${color} -${offset 24}${color1}SUPER + [1-9]${alignr}${offset -24}${color2}switch workspace${color} -${offset 24}${color1}SUPER + SHIFT + [1-9]${alignr}${offset -24}${color2}send window${color} -${offset 24}${color1}SUPER + =/-${alignr}${offset -24}${color2}shrink/expand${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + e, e${alignr}${offset -24}${color2}launch emacs${color} -${offset 24}${color1}SUPER + e, b${alignr}${offset -24}${color2}ibuffer${color} -${offset 24}${color1}SUPER + e, d${alignr}${offset -24}${color2}dired${color} -${offset 24}${color1}SUPER + e, s${alignr}${offset -24}${color2}eshell${color} -${offset 24}${color1}SUPER + e, v${alignr}${offset -24}${color2}vterm${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + p, h${alignr}${offset -24}${color2}dm-hub${color} -${offset 24}${color1}SUPER + p, b${alignr}${offset -24}${color2}dm-setbg${color} -${offset 24}${color1}SUPER + p, m${alignr}${offset -24}${color2}dm-man${color} -${offset 24}${color1}SUPER + p, o${alignr}${offset -24}${color2}dm-bookman${color} -${offset 24}${color1}SUPER + p, s${alignr}${offset -24}${color2}dm-websearch${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + SHIFT + r${alignr}${offset -24}${color2}restart qtile${color} -${offset 24}${color1}SUPER + SHIFT + q${alignr}${offset -24}${color2}quit qtile${color} -]] +${alignc}${color0}${font2}${time %H:%M}${font} +${voffset 6}${alignc}${color0}${font3}${time %b %d, %Y}${font}${color} +${voffset 18}${goto 12}${color3}CPU${goto 50}$cpu% +${color2}${goto 12}${cpubar 8,254} +${voffset 5}${goto 12}$font${color1}${top name 1}$alignr$color${top cpu 1}% +${goto 12}${color1}${top name 2}$alignr$color${top cpu 2}% +${goto 12}${color1}${top name 3}$alignr$color${top cpu 3}% +${voffset 14}${goto 12}${color3}RAM${goto 50}$mem/$memmax +${color2}${goto 12}${membar 8,254}${color} +${goto 12}${voffset 5}${color1}${top_mem name 1}$alignr$color${top_mem mem_res 1} +${goto 12}${color1}${top_mem name 2}$alignr$color${top_mem mem_res 2} +${goto 12}${color1}${top_mem name 3}$alignr$color${top_mem mem_res 3} +${voffset 18}${color1}${alignc}${font4}QTILE KEYBINDINGS${font}${color} +${color1}${hr}${color} +${color1}[S]+[RET]${alignr}${color2}open terminal${color} +${color1}[S]+b${alignr}${color2}open browser${color} +${color1}[S]+[SHIFT]+[RET]${alignr}${color2}run prompt${color} +${color1}[S]+[SHIFT]+c${alignr}${color2}close window${color} +${color1}[S]+j/k${alignr}${color2}move win focus${color} +${color1}[S]+[SHIFT]+hjkl${alignr}${color2}move window${color} +${color1}[S]+[1-9]${alignr}${color2}switch workspace${color} +${color1}[S]+[SHIFT]+[1-9]${alignr}${color2}send window${color} +${color1}[S]+[=]/[-]${alignr}${color2}shrink/expand${color} +${color1}${hr}${color} +${color1}[S]+e, e${alignr}${color2}launch emacs${color} +${color1}[S]+e, b${alignr}${color2}ibuffer${color} +${color1}[S]+e, d${alignr}${color2}dired${color} +${color1}[S]+e, s${alignr}${color2}eshell${color} +${color1}[S]+e, v${alignr}${color2}vterm${color} +${color1}${hr}${color} +${color1}[S]+p, h${alignr}${color2}dm-hub${color} +${color1}[S]+p, b${alignr}${color2}dm-setbg${color} +${color1}[S]+p, m${alignr}${color2}dm-man${color} +${color1}[S]+p, o${alignr}${color2}dm-bookman${color} +${color1}[S]+p, s${alignr}${color2}dm-websearch${color} +${color1}${hr}${color} +${color1}[S]+[SHIFT]+r${alignr}${color2}restart qtile${color} +${color1}[S]+[SHIFT]+q${alignr}${color2}quit qtile${color} +]]; diff --git a/.config/conky/qtile/01/bg/DoomOne.png b/.config/conky/qtile/01/bg/DoomOne.png deleted file mode 100644 index a983deb..0000000 Binary files a/.config/conky/qtile/01/bg/DoomOne.png and /dev/null differ diff --git a/.config/conky/qtile/01/bg/Dracula.png b/.config/conky/qtile/01/bg/Dracula.png deleted file mode 100644 index bc97d00..0000000 Binary files a/.config/conky/qtile/01/bg/Dracula.png and /dev/null differ diff --git a/.config/conky/qtile/01/bg/GruvboxDark.png b/.config/conky/qtile/01/bg/GruvboxDark.png deleted file mode 100644 index 64877ba..0000000 Binary files a/.config/conky/qtile/01/bg/GruvboxDark.png and /dev/null differ diff --git a/.config/conky/qtile/01/bg/MonokaiPro.png b/.config/conky/qtile/01/bg/MonokaiPro.png deleted file mode 100644 index 2c93bcd..0000000 Binary files a/.config/conky/qtile/01/bg/MonokaiPro.png and /dev/null differ diff --git a/.config/conky/qtile/01/bg/Nord.png b/.config/conky/qtile/01/bg/Nord.png deleted file mode 100644 index befa87e..0000000 Binary files a/.config/conky/qtile/01/bg/Nord.png and /dev/null differ diff --git a/.config/conky/qtile/01/bg/OceanicNext.png b/.config/conky/qtile/01/bg/OceanicNext.png deleted file mode 100644 index d025403..0000000 Binary files a/.config/conky/qtile/01/bg/OceanicNext.png and /dev/null differ diff --git a/.config/conky/qtile/01/bg/Palenight.png b/.config/conky/qtile/01/bg/Palenight.png deleted file mode 100644 index 462b69c..0000000 Binary files a/.config/conky/qtile/01/bg/Palenight.png and /dev/null differ diff --git a/.config/conky/qtile/01/bg/SolarizedDark.png b/.config/conky/qtile/01/bg/SolarizedDark.png deleted file mode 100644 index 2624f1c..0000000 Binary files a/.config/conky/qtile/01/bg/SolarizedDark.png and /dev/null differ diff --git a/.config/conky/qtile/01/bg/SolarizedLight.png b/.config/conky/qtile/01/bg/SolarizedLight.png deleted file mode 100644 index c333f39..0000000 Binary files a/.config/conky/qtile/01/bg/SolarizedLight.png and /dev/null differ diff --git a/.config/conky/qtile/01/bg/TomorrowNight.png b/.config/conky/qtile/01/bg/TomorrowNight.png deleted file mode 100644 index 753857f..0000000 Binary files a/.config/conky/qtile/01/bg/TomorrowNight.png and /dev/null differ diff --git a/.config/conky/qtile/01/bg/bg.png b/.config/conky/qtile/01/bg/bg.png deleted file mode 100644 index edd5724..0000000 Binary files a/.config/conky/qtile/01/bg/bg.png and /dev/null differ diff --git a/.config/conky/qtile/01/fonts/Abel.zip b/.config/conky/qtile/01/fonts/Abel.zip deleted file mode 100644 index 630099a..0000000 Binary files a/.config/conky/qtile/01/fonts/Abel.zip and /dev/null differ diff --git a/.config/conky/qtile/01/fonts/BebasNeue-Regular.ttf b/.config/conky/qtile/01/fonts/BebasNeue-Regular.ttf deleted file mode 100644 index 76e22b8..0000000 Binary files a/.config/conky/qtile/01/fonts/BebasNeue-Regular.ttf and /dev/null differ diff --git a/.config/conky/qtile/01/fonts/Material.ttf b/.config/conky/qtile/01/fonts/Material.ttf deleted file mode 100755 index be66835..0000000 Binary files a/.config/conky/qtile/01/fonts/Material.ttf and /dev/null differ diff --git a/.config/conky/qtile/01/fonts/feather.ttf b/.config/conky/qtile/01/fonts/feather.ttf deleted file mode 100644 index 88bdfd0..0000000 Binary files a/.config/conky/qtile/01/fonts/feather.ttf and /dev/null differ diff --git a/.config/conky/qtile/01/scripts/DoomOne.lua b/.config/conky/qtile/01/scripts/DoomOne.lua deleted file mode 100644 index b8b8d96..0000000 --- a/.config/conky/qtile/01/scripts/DoomOne.lua +++ /dev/null @@ -1,141 +0,0 @@ ---[[ -Ring Meters by londonali1010 (2009) - -This script draws percentage meters as rings. It is fully customisable; all options are described in the script. - -IMPORTANT: if you are using the 'cpu' function, it will cause a segmentation fault if it tries to draw a ring straight away. The if statement near the end of the script uses a delay to make sure that this doesn't happen. It calculates the length of the delay by the number of updates since Conky started. Generally, a value of 5s is long enough, so if you update Conky every 1s, use update_num > 5 in that if statement (the default). If you only update Conky every 2s, you should change it to update_num > 3; conversely if you update Conky every 0.5s, you should use update_num > 10. ALSO, if you change your Conky, is it best to use "killall conky; conky" to update it, otherwise the update_num will not be reset and you will get an error. - -To call this script in Conky, use the following (assuming that you save this script to ~/scripts/rings.lua): - lua_load ~/scripts/rings-v1.2.1.lua - lua_draw_hook_pre ring_stats - -Changelog: -+ v1.2.1 -- Fixed minor bug that caused script to crash if conky_parse() returns a nil value (20.10.2009) -+ v1.2 -- Added option for the ending angle of the rings (07.10.2009) -+ v1.1 -- Added options for the starting angle of the rings, and added the "max" variable, to allow for variables that output a numerical value rather than a percentage (29.09.2009) -+ v1.0 -- Original release (28.09.2009) -]] - -settings_table = { - - { - name='cpu', - arg='cpu0', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0xc678dd, - fg_alpha=1, - x=49.5, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360, - }, - { - name='memperc', - arg='', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0x98be65, - fg_alpha=1, - x=119.5, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360 - }, - { - name='battery_percent', - arg='BAT0', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0xda8548, - fg_alpha=1, - x=190, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360 - }, - { - name='hwmon temp 1', - arg='', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0xff6c6b, - fg_alpha=1, - x=259.5, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360, - }, - - -} - -require 'cairo' - -function rgb_to_r_g_b(colour,alpha) - return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha -end - -function draw_ring(cr,t,pt) - local w,h=conky_window.width,conky_window.height - - local xc,yc,ring_r,ring_w,sa,ea=pt['x'],pt['y'],pt['radius'],pt['thickness'],pt['start_angle'],pt['end_angle'] - local bgc, bga, fgc, fga=pt['bg_colour'], pt['bg_alpha'], pt['fg_colour'], pt['fg_alpha'] - - local angle_0=sa*(2*math.pi/360)-math.pi/2 - local angle_f=ea*(2*math.pi/360)-math.pi/2 - local t_arc=t*(angle_f-angle_0) - - -- Draw background ring - - cairo_arc(cr,xc,yc,ring_r,angle_0,angle_f) - cairo_set_source_rgba(cr,rgb_to_r_g_b(bgc,bga)) - cairo_set_line_width(cr,ring_w) - cairo_stroke(cr) - - -- Draw indicator ring - - cairo_arc(cr,xc,yc,ring_r,angle_0,angle_0+t_arc) - cairo_set_source_rgba(cr,rgb_to_r_g_b(fgc,fga)) - cairo_stroke(cr) -end - -function conky_ring_stats() - local function setup_rings(cr,pt) - local str='' - local value=0 - - str=string.format('${%s %s}',pt['name'],pt['arg']) - str=conky_parse(str) - - value=tonumber(str) - if value == nil then value = 0 end - pct=value/pt['max'] - - draw_ring(cr,pct,pt) - end - - if conky_window==nil then return end - local cs=cairo_xlib_surface_create(conky_window.display,conky_window.drawable,conky_window.visual, conky_window.width,conky_window.height) - - local cr=cairo_create(cs) - - local updates=conky_parse('${updates}') - update_num=tonumber(updates) - - if update_num>5 then - for i in pairs(settings_table) do - setup_rings(cr,settings_table[i]) - end - end - cairo_surface_destroy(cs) - cairo_destroy(cr) -end diff --git a/.config/conky/qtile/01/scripts/Dracula.lua b/.config/conky/qtile/01/scripts/Dracula.lua deleted file mode 100644 index e36bbd3..0000000 --- a/.config/conky/qtile/01/scripts/Dracula.lua +++ /dev/null @@ -1,141 +0,0 @@ ---[[ -Ring Meters by londonali1010 (2009) - -This script draws percentage meters as rings. It is fully customisable; all options are described in the script. - -IMPORTANT: if you are using the 'cpu' function, it will cause a segmentation fault if it tries to draw a ring straight away. The if statement near the end of the script uses a delay to make sure that this doesn't happen. It calculates the length of the delay by the number of updates since Conky started. Generally, a value of 5s is long enough, so if you update Conky every 1s, use update_num > 5 in that if statement (the default). If you only update Conky every 2s, you should change it to update_num > 3; conversely if you update Conky every 0.5s, you should use update_num > 10. ALSO, if you change your Conky, is it best to use "killall conky; conky" to update it, otherwise the update_num will not be reset and you will get an error. - -To call this script in Conky, use the following (assuming that you save this script to ~/scripts/rings.lua): - lua_load ~/scripts/rings-v1.2.1.lua - lua_draw_hook_pre ring_stats - -Changelog: -+ v1.2.1 -- Fixed minor bug that caused script to crash if conky_parse() returns a nil value (20.10.2009) -+ v1.2 -- Added option for the ending angle of the rings (07.10.2009) -+ v1.1 -- Added options for the starting angle of the rings, and added the "max" variable, to allow for variables that output a numerical value rather than a percentage (29.09.2009) -+ v1.0 -- Original release (28.09.2009) -]] - -settings_table = { - - { - name='cpu', - arg='cpu0', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0xbd93f9, - fg_alpha=1, - x=49.5, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360, - }, - { - name='memperc', - arg='', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0x50fa7b, - fg_alpha=1, - x=119.5, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360 - }, - { - name='battery_percent', - arg='BAT0', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0xf1fa8c, - fg_alpha=1, - x=190, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360 - }, - { - name='hwmon temp 1', - arg='', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0xff79c6, - fg_alpha=1, - x=259.5, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360, - }, - - -} - -require 'cairo' - -function rgb_to_r_g_b(colour,alpha) - return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha -end - -function draw_ring(cr,t,pt) - local w,h=conky_window.width,conky_window.height - - local xc,yc,ring_r,ring_w,sa,ea=pt['x'],pt['y'],pt['radius'],pt['thickness'],pt['start_angle'],pt['end_angle'] - local bgc, bga, fgc, fga=pt['bg_colour'], pt['bg_alpha'], pt['fg_colour'], pt['fg_alpha'] - - local angle_0=sa*(2*math.pi/360)-math.pi/2 - local angle_f=ea*(2*math.pi/360)-math.pi/2 - local t_arc=t*(angle_f-angle_0) - - -- Draw background ring - - cairo_arc(cr,xc,yc,ring_r,angle_0,angle_f) - cairo_set_source_rgba(cr,rgb_to_r_g_b(bgc,bga)) - cairo_set_line_width(cr,ring_w) - cairo_stroke(cr) - - -- Draw indicator ring - - cairo_arc(cr,xc,yc,ring_r,angle_0,angle_0+t_arc) - cairo_set_source_rgba(cr,rgb_to_r_g_b(fgc,fga)) - cairo_stroke(cr) -end - -function conky_ring_stats() - local function setup_rings(cr,pt) - local str='' - local value=0 - - str=string.format('${%s %s}',pt['name'],pt['arg']) - str=conky_parse(str) - - value=tonumber(str) - if value == nil then value = 0 end - pct=value/pt['max'] - - draw_ring(cr,pct,pt) - end - - if conky_window==nil then return end - local cs=cairo_xlib_surface_create(conky_window.display,conky_window.drawable,conky_window.visual, conky_window.width,conky_window.height) - - local cr=cairo_create(cs) - - local updates=conky_parse('${updates}') - update_num=tonumber(updates) - - if update_num>5 then - for i in pairs(settings_table) do - setup_rings(cr,settings_table[i]) - end - end - cairo_surface_destroy(cs) - cairo_destroy(cr) -end diff --git a/.config/conky/qtile/01/scripts/GruvboxDark.lua b/.config/conky/qtile/01/scripts/GruvboxDark.lua deleted file mode 100644 index d04b7e2..0000000 --- a/.config/conky/qtile/01/scripts/GruvboxDark.lua +++ /dev/null @@ -1,141 +0,0 @@ ---[[ -Ring Meters by londonali1010 (2009) - -This script draws percentage meters as rings. It is fully customisable; all options are described in the script. - -IMPORTANT: if you are using the 'cpu' function, it will cause a segmentation fault if it tries to draw a ring straight away. The if statement near the end of the script uses a delay to make sure that this doesn't happen. It calculates the length of the delay by the number of updates since Conky started. Generally, a value of 5s is long enough, so if you update Conky every 1s, use update_num > 5 in that if statement (the default). If you only update Conky every 2s, you should change it to update_num > 3; conversely if you update Conky every 0.5s, you should use update_num > 10. ALSO, if you change your Conky, is it best to use "killall conky; conky" to update it, otherwise the update_num will not be reset and you will get an error. - -To call this script in Conky, use the following (assuming that you save this script to ~/scripts/rings.lua): - lua_load ~/scripts/rings-v1.2.1.lua - lua_draw_hook_pre ring_stats - -Changelog: -+ v1.2.1 -- Fixed minor bug that caused script to crash if conky_parse() returns a nil value (20.10.2009) -+ v1.2 -- Added option for the ending angle of the rings (07.10.2009) -+ v1.1 -- Added options for the starting angle of the rings, and added the "max" variable, to allow for variables that output a numerical value rather than a percentage (29.09.2009) -+ v1.0 -- Original release (28.09.2009) -]] - -settings_table = { - - { - name='cpu', - arg='cpu0', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0x83a598, - fg_alpha=1, - x=49.5, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360, - }, - { - name='memperc', - arg='', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0x98971a, - fg_alpha=1, - x=119.5, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360 - }, - { - name='battery_percent', - arg='BAT0', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0xd79921, - fg_alpha=1, - x=190, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360 - }, - { - name='hwmon temp 1', - arg='', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0xfb4934, - fg_alpha=1, - x=259.5, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360, - }, - - -} - -require 'cairo' - -function rgb_to_r_g_b(colour,alpha) - return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha -end - -function draw_ring(cr,t,pt) - local w,h=conky_window.width,conky_window.height - - local xc,yc,ring_r,ring_w,sa,ea=pt['x'],pt['y'],pt['radius'],pt['thickness'],pt['start_angle'],pt['end_angle'] - local bgc, bga, fgc, fga=pt['bg_colour'], pt['bg_alpha'], pt['fg_colour'], pt['fg_alpha'] - - local angle_0=sa*(2*math.pi/360)-math.pi/2 - local angle_f=ea*(2*math.pi/360)-math.pi/2 - local t_arc=t*(angle_f-angle_0) - - -- Draw background ring - - cairo_arc(cr,xc,yc,ring_r,angle_0,angle_f) - cairo_set_source_rgba(cr,rgb_to_r_g_b(bgc,bga)) - cairo_set_line_width(cr,ring_w) - cairo_stroke(cr) - - -- Draw indicator ring - - cairo_arc(cr,xc,yc,ring_r,angle_0,angle_0+t_arc) - cairo_set_source_rgba(cr,rgb_to_r_g_b(fgc,fga)) - cairo_stroke(cr) -end - -function conky_ring_stats() - local function setup_rings(cr,pt) - local str='' - local value=0 - - str=string.format('${%s %s}',pt['name'],pt['arg']) - str=conky_parse(str) - - value=tonumber(str) - if value == nil then value = 0 end - pct=value/pt['max'] - - draw_ring(cr,pct,pt) - end - - if conky_window==nil then return end - local cs=cairo_xlib_surface_create(conky_window.display,conky_window.drawable,conky_window.visual, conky_window.width,conky_window.height) - - local cr=cairo_create(cs) - - local updates=conky_parse('${updates}') - update_num=tonumber(updates) - - if update_num>5 then - for i in pairs(settings_table) do - setup_rings(cr,settings_table[i]) - end - end - cairo_surface_destroy(cs) - cairo_destroy(cr) -end diff --git a/.config/conky/qtile/01/scripts/MonokaiPro.lua b/.config/conky/qtile/01/scripts/MonokaiPro.lua deleted file mode 100644 index ac4163c..0000000 --- a/.config/conky/qtile/01/scripts/MonokaiPro.lua +++ /dev/null @@ -1,141 +0,0 @@ ---[[ -Ring Meters by londonali1010 (2009) - -This script draws percentage meters as rings. It is fully customisable; all options are described in the script. - -IMPORTANT: if you are using the 'cpu' function, it will cause a segmentation fault if it tries to draw a ring straight away. The if statement near the end of the script uses a delay to make sure that this doesn't happen. It calculates the length of the delay by the number of updates since Conky started. Generally, a value of 5s is long enough, so if you update Conky every 1s, use update_num > 5 in that if statement (the default). If you only update Conky every 2s, you should change it to update_num > 3; conversely if you update Conky every 0.5s, you should use update_num > 10. ALSO, if you change your Conky, is it best to use "killall conky; conky" to update it, otherwise the update_num will not be reset and you will get an error. - -To call this script in Conky, use the following (assuming that you save this script to ~/scripts/rings.lua): - lua_load ~/scripts/rings-v1.2.1.lua - lua_draw_hook_pre ring_stats - -Changelog: -+ v1.2.1 -- Fixed minor bug that caused script to crash if conky_parse() returns a nil value (20.10.2009) -+ v1.2 -- Added option for the ending angle of the rings (07.10.2009) -+ v1.1 -- Added options for the starting angle of the rings, and added the "max" variable, to allow for variables that output a numerical value rather than a percentage (29.09.2009) -+ v1.0 -- Original release (28.09.2009) -]] - -settings_table = { - - { - name='cpu', - arg='cpu0', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0x78dce8, - fg_alpha=1, - x=49.5, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360, - }, - { - name='memperc', - arg='', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0xa9dc76, - fg_alpha=1, - x=119.5, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360 - }, - { - name='battery_percent', - arg='BAT0', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0xfc9867, - fg_alpha=1, - x=190, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360 - }, - { - name='hwmon temp 1', - arg='', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0xff6188, - fg_alpha=1, - x=259.5, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360, - }, - - -} - -require 'cairo' - -function rgb_to_r_g_b(colour,alpha) - return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha -end - -function draw_ring(cr,t,pt) - local w,h=conky_window.width,conky_window.height - - local xc,yc,ring_r,ring_w,sa,ea=pt['x'],pt['y'],pt['radius'],pt['thickness'],pt['start_angle'],pt['end_angle'] - local bgc, bga, fgc, fga=pt['bg_colour'], pt['bg_alpha'], pt['fg_colour'], pt['fg_alpha'] - - local angle_0=sa*(2*math.pi/360)-math.pi/2 - local angle_f=ea*(2*math.pi/360)-math.pi/2 - local t_arc=t*(angle_f-angle_0) - - -- Draw background ring - - cairo_arc(cr,xc,yc,ring_r,angle_0,angle_f) - cairo_set_source_rgba(cr,rgb_to_r_g_b(bgc,bga)) - cairo_set_line_width(cr,ring_w) - cairo_stroke(cr) - - -- Draw indicator ring - - cairo_arc(cr,xc,yc,ring_r,angle_0,angle_0+t_arc) - cairo_set_source_rgba(cr,rgb_to_r_g_b(fgc,fga)) - cairo_stroke(cr) -end - -function conky_ring_stats() - local function setup_rings(cr,pt) - local str='' - local value=0 - - str=string.format('${%s %s}',pt['name'],pt['arg']) - str=conky_parse(str) - - value=tonumber(str) - if value == nil then value = 0 end - pct=value/pt['max'] - - draw_ring(cr,pct,pt) - end - - if conky_window==nil then return end - local cs=cairo_xlib_surface_create(conky_window.display,conky_window.drawable,conky_window.visual, conky_window.width,conky_window.height) - - local cr=cairo_create(cs) - - local updates=conky_parse('${updates}') - update_num=tonumber(updates) - - if update_num>5 then - for i in pairs(settings_table) do - setup_rings(cr,settings_table[i]) - end - end - cairo_surface_destroy(cs) - cairo_destroy(cr) -end diff --git a/.config/conky/qtile/01/scripts/Nord.lua b/.config/conky/qtile/01/scripts/Nord.lua deleted file mode 100644 index 8ee1367..0000000 --- a/.config/conky/qtile/01/scripts/Nord.lua +++ /dev/null @@ -1,141 +0,0 @@ ---[[ -Ring Meters by londonali1010 (2009) - -This script draws percentage meters as rings. It is fully customisable; all options are described in the script. - -IMPORTANT: if you are using the 'cpu' function, it will cause a segmentation fault if it tries to draw a ring straight away. The if statement near the end of the script uses a delay to make sure that this doesn't happen. It calculates the length of the delay by the number of updates since Conky started. Generally, a value of 5s is long enough, so if you update Conky every 1s, use update_num > 5 in that if statement (the default). If you only update Conky every 2s, you should change it to update_num > 3; conversely if you update Conky every 0.5s, you should use update_num > 10. ALSO, if you change your Conky, is it best to use "killall conky; conky" to update it, otherwise the update_num will not be reset and you will get an error. - -To call this script in Conky, use the following (assuming that you save this script to ~/scripts/rings.lua): - lua_load ~/scripts/rings-v1.2.1.lua - lua_draw_hook_pre ring_stats - -Changelog: -+ v1.2.1 -- Fixed minor bug that caused script to crash if conky_parse() returns a nil value (20.10.2009) -+ v1.2 -- Added option for the ending angle of the rings (07.10.2009) -+ v1.1 -- Added options for the starting angle of the rings, and added the "max" variable, to allow for variables that output a numerical value rather than a percentage (29.09.2009) -+ v1.0 -- Original release (28.09.2009) -]] - -settings_table = { - - { - name='cpu', - arg='cpu0', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0x88c0d0, - fg_alpha=1, - x=49.5, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360, - }, - { - name='memperc', - arg='', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0xa3be8c, - fg_alpha=1, - x=119.5, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360 - }, - { - name='battery_percent', - arg='BAT0', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0xebcb8b, - fg_alpha=1, - x=190, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360 - }, - { - name='hwmon temp 1', - arg='', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0xbf616a, - fg_alpha=1, - x=259.5, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360, - }, - - -} - -require 'cairo' - -function rgb_to_r_g_b(colour,alpha) - return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha -end - -function draw_ring(cr,t,pt) - local w,h=conky_window.width,conky_window.height - - local xc,yc,ring_r,ring_w,sa,ea=pt['x'],pt['y'],pt['radius'],pt['thickness'],pt['start_angle'],pt['end_angle'] - local bgc, bga, fgc, fga=pt['bg_colour'], pt['bg_alpha'], pt['fg_colour'], pt['fg_alpha'] - - local angle_0=sa*(2*math.pi/360)-math.pi/2 - local angle_f=ea*(2*math.pi/360)-math.pi/2 - local t_arc=t*(angle_f-angle_0) - - -- Draw background ring - - cairo_arc(cr,xc,yc,ring_r,angle_0,angle_f) - cairo_set_source_rgba(cr,rgb_to_r_g_b(bgc,bga)) - cairo_set_line_width(cr,ring_w) - cairo_stroke(cr) - - -- Draw indicator ring - - cairo_arc(cr,xc,yc,ring_r,angle_0,angle_0+t_arc) - cairo_set_source_rgba(cr,rgb_to_r_g_b(fgc,fga)) - cairo_stroke(cr) -end - -function conky_ring_stats() - local function setup_rings(cr,pt) - local str='' - local value=0 - - str=string.format('${%s %s}',pt['name'],pt['arg']) - str=conky_parse(str) - - value=tonumber(str) - if value == nil then value = 0 end - pct=value/pt['max'] - - draw_ring(cr,pct,pt) - end - - if conky_window==nil then return end - local cs=cairo_xlib_surface_create(conky_window.display,conky_window.drawable,conky_window.visual, conky_window.width,conky_window.height) - - local cr=cairo_create(cs) - - local updates=conky_parse('${updates}') - update_num=tonumber(updates) - - if update_num>5 then - for i in pairs(settings_table) do - setup_rings(cr,settings_table[i]) - end - end - cairo_surface_destroy(cs) - cairo_destroy(cr) -end diff --git a/.config/conky/qtile/01/scripts/OceanicNext.lua b/.config/conky/qtile/01/scripts/OceanicNext.lua deleted file mode 100644 index a8e65ed..0000000 --- a/.config/conky/qtile/01/scripts/OceanicNext.lua +++ /dev/null @@ -1,141 +0,0 @@ ---[[ -Ring Meters by londonali1010 (2009) - -This script draws percentage meters as rings. It is fully customisable; all options are described in the script. - -IMPORTANT: if you are using the 'cpu' function, it will cause a segmentation fault if it tries to draw a ring straight away. The if statement near the end of the script uses a delay to make sure that this doesn't happen. It calculates the length of the delay by the number of updates since Conky started. Generally, a value of 5s is long enough, so if you update Conky every 1s, use update_num > 5 in that if statement (the default). If you only update Conky every 2s, you should change it to update_num > 3; conversely if you update Conky every 0.5s, you should use update_num > 10. ALSO, if you change your Conky, is it best to use "killall conky; conky" to update it, otherwise the update_num will not be reset and you will get an error. - -To call this script in Conky, use the following (assuming that you save this script to ~/scripts/rings.lua): - lua_load ~/scripts/rings-v1.2.1.lua - lua_draw_hook_pre ring_stats - -Changelog: -+ v1.2.1 -- Fixed minor bug that caused script to crash if conky_parse() returns a nil value (20.10.2009) -+ v1.2 -- Added option for the ending angle of the rings (07.10.2009) -+ v1.1 -- Added options for the starting angle of the rings, and added the "max" variable, to allow for variables that output a numerical value rather than a percentage (29.09.2009) -+ v1.0 -- Original release (28.09.2009) -]] - -settings_table = { - - { - name='cpu', - arg='cpu0', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0x5fb3b3, - fg_alpha=1, - x=49.5, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360, - }, - { - name='memperc', - arg='', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0x99c794, - fg_alpha=1, - x=119.5, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360 - }, - { - name='battery_percent', - arg='BAT0', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0xfac863, - fg_alpha=1, - x=190, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360 - }, - { - name='hwmon temp 1', - arg='', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0xec5f67, - fg_alpha=1, - x=259.5, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360, - }, - - -} - -require 'cairo' - -function rgb_to_r_g_b(colour,alpha) - return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha -end - -function draw_ring(cr,t,pt) - local w,h=conky_window.width,conky_window.height - - local xc,yc,ring_r,ring_w,sa,ea=pt['x'],pt['y'],pt['radius'],pt['thickness'],pt['start_angle'],pt['end_angle'] - local bgc, bga, fgc, fga=pt['bg_colour'], pt['bg_alpha'], pt['fg_colour'], pt['fg_alpha'] - - local angle_0=sa*(2*math.pi/360)-math.pi/2 - local angle_f=ea*(2*math.pi/360)-math.pi/2 - local t_arc=t*(angle_f-angle_0) - - -- Draw background ring - - cairo_arc(cr,xc,yc,ring_r,angle_0,angle_f) - cairo_set_source_rgba(cr,rgb_to_r_g_b(bgc,bga)) - cairo_set_line_width(cr,ring_w) - cairo_stroke(cr) - - -- Draw indicator ring - - cairo_arc(cr,xc,yc,ring_r,angle_0,angle_0+t_arc) - cairo_set_source_rgba(cr,rgb_to_r_g_b(fgc,fga)) - cairo_stroke(cr) -end - -function conky_ring_stats() - local function setup_rings(cr,pt) - local str='' - local value=0 - - str=string.format('${%s %s}',pt['name'],pt['arg']) - str=conky_parse(str) - - value=tonumber(str) - if value == nil then value = 0 end - pct=value/pt['max'] - - draw_ring(cr,pct,pt) - end - - if conky_window==nil then return end - local cs=cairo_xlib_surface_create(conky_window.display,conky_window.drawable,conky_window.visual, conky_window.width,conky_window.height) - - local cr=cairo_create(cs) - - local updates=conky_parse('${updates}') - update_num=tonumber(updates) - - if update_num>5 then - for i in pairs(settings_table) do - setup_rings(cr,settings_table[i]) - end - end - cairo_surface_destroy(cs) - cairo_destroy(cr) -end diff --git a/.config/conky/qtile/01/scripts/Palenight.lua b/.config/conky/qtile/01/scripts/Palenight.lua deleted file mode 100644 index d90512a..0000000 --- a/.config/conky/qtile/01/scripts/Palenight.lua +++ /dev/null @@ -1,141 +0,0 @@ ---[[ -Ring Meters by londonali1010 (2009) - -This script draws percentage meters as rings. It is fully customisable; all options are described in the script. - -IMPORTANT: if you are using the 'cpu' function, it will cause a segmentation fault if it tries to draw a ring straight away. The if statement near the end of the script uses a delay to make sure that this doesn't happen. It calculates the length of the delay by the number of updates since Conky started. Generally, a value of 5s is long enough, so if you update Conky every 1s, use update_num > 5 in that if statement (the default). If you only update Conky every 2s, you should change it to update_num > 3; conversely if you update Conky every 0.5s, you should use update_num > 10. ALSO, if you change your Conky, is it best to use "killall conky; conky" to update it, otherwise the update_num will not be reset and you will get an error. - -To call this script in Conky, use the following (assuming that you save this script to ~/scripts/rings.lua): - lua_load ~/scripts/rings-v1.2.1.lua - lua_draw_hook_pre ring_stats - -Changelog: -+ v1.2.1 -- Fixed minor bug that caused script to crash if conky_parse() returns a nil value (20.10.2009) -+ v1.2 -- Added option for the ending angle of the rings (07.10.2009) -+ v1.1 -- Added options for the starting angle of the rings, and added the "max" variable, to allow for variables that output a numerical value rather than a percentage (29.09.2009) -+ v1.0 -- Original release (28.09.2009) -]] - -settings_table = { - - { - name='cpu', - arg='cpu0', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0x89ddff, - fg_alpha=1, - x=49.5, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360, - }, - { - name='memperc', - arg='', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0xc3e88d, - fg_alpha=1, - x=119.5, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360 - }, - { - name='battery_percent', - arg='BAT0', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0xffcb6b, - fg_alpha=1, - x=190, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360 - }, - { - name='hwmon temp 1', - arg='', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0xf07178, - fg_alpha=1, - x=259.5, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360, - }, - - -} - -require 'cairo' - -function rgb_to_r_g_b(colour,alpha) - return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha -end - -function draw_ring(cr,t,pt) - local w,h=conky_window.width,conky_window.height - - local xc,yc,ring_r,ring_w,sa,ea=pt['x'],pt['y'],pt['radius'],pt['thickness'],pt['start_angle'],pt['end_angle'] - local bgc, bga, fgc, fga=pt['bg_colour'], pt['bg_alpha'], pt['fg_colour'], pt['fg_alpha'] - - local angle_0=sa*(2*math.pi/360)-math.pi/2 - local angle_f=ea*(2*math.pi/360)-math.pi/2 - local t_arc=t*(angle_f-angle_0) - - -- Draw background ring - - cairo_arc(cr,xc,yc,ring_r,angle_0,angle_f) - cairo_set_source_rgba(cr,rgb_to_r_g_b(bgc,bga)) - cairo_set_line_width(cr,ring_w) - cairo_stroke(cr) - - -- Draw indicator ring - - cairo_arc(cr,xc,yc,ring_r,angle_0,angle_0+t_arc) - cairo_set_source_rgba(cr,rgb_to_r_g_b(fgc,fga)) - cairo_stroke(cr) -end - -function conky_ring_stats() - local function setup_rings(cr,pt) - local str='' - local value=0 - - str=string.format('${%s %s}',pt['name'],pt['arg']) - str=conky_parse(str) - - value=tonumber(str) - if value == nil then value = 0 end - pct=value/pt['max'] - - draw_ring(cr,pct,pt) - end - - if conky_window==nil then return end - local cs=cairo_xlib_surface_create(conky_window.display,conky_window.drawable,conky_window.visual, conky_window.width,conky_window.height) - - local cr=cairo_create(cs) - - local updates=conky_parse('${updates}') - update_num=tonumber(updates) - - if update_num>5 then - for i in pairs(settings_table) do - setup_rings(cr,settings_table[i]) - end - end - cairo_surface_destroy(cs) - cairo_destroy(cr) -end diff --git a/.config/conky/qtile/01/scripts/SolarizedDark.lua b/.config/conky/qtile/01/scripts/SolarizedDark.lua deleted file mode 100644 index 146c143..0000000 --- a/.config/conky/qtile/01/scripts/SolarizedDark.lua +++ /dev/null @@ -1,141 +0,0 @@ ---[[ -Ring Meters by londonali1010 (2009) - -This script draws percentage meters as rings. It is fully customisable; all options are described in the script. - -IMPORTANT: if you are using the 'cpu' function, it will cause a segmentation fault if it tries to draw a ring straight away. The if statement near the end of the script uses a delay to make sure that this doesn't happen. It calculates the length of the delay by the number of updates since Conky started. Generally, a value of 5s is long enough, so if you update Conky every 1s, use update_num > 5 in that if statement (the default). If you only update Conky every 2s, you should change it to update_num > 3; conversely if you update Conky every 0.5s, you should use update_num > 10. ALSO, if you change your Conky, is it best to use "killall conky; conky" to update it, otherwise the update_num will not be reset and you will get an error. - -To call this script in Conky, use the following (assuming that you save this script to ~/scripts/rings.lua): - lua_load ~/scripts/rings-v1.2.1.lua - lua_draw_hook_pre ring_stats - -Changelog: -+ v1.2.1 -- Fixed minor bug that caused script to crash if conky_parse() returns a nil value (20.10.2009) -+ v1.2 -- Added option for the ending angle of the rings (07.10.2009) -+ v1.1 -- Added options for the starting angle of the rings, and added the "max" variable, to allow for variables that output a numerical value rather than a percentage (29.09.2009) -+ v1.0 -- Original release (28.09.2009) -]] - -settings_table = { - - { - name='cpu', - arg='cpu0', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0x2aa198, - fg_alpha=1, - x=49.5, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360, - }, - { - name='memperc', - arg='', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0x859900, - fg_alpha=1, - x=119.5, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360 - }, - { - name='battery_percent', - arg='BAT0', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0xb58900, - fg_alpha=1, - x=190, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360 - }, - { - name='hwmon temp 1', - arg='', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0xdc322f, - fg_alpha=1, - x=259.5, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360, - }, - - -} - -require 'cairo' - -function rgb_to_r_g_b(colour,alpha) - return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha -end - -function draw_ring(cr,t,pt) - local w,h=conky_window.width,conky_window.height - - local xc,yc,ring_r,ring_w,sa,ea=pt['x'],pt['y'],pt['radius'],pt['thickness'],pt['start_angle'],pt['end_angle'] - local bgc, bga, fgc, fga=pt['bg_colour'], pt['bg_alpha'], pt['fg_colour'], pt['fg_alpha'] - - local angle_0=sa*(2*math.pi/360)-math.pi/2 - local angle_f=ea*(2*math.pi/360)-math.pi/2 - local t_arc=t*(angle_f-angle_0) - - -- Draw background ring - - cairo_arc(cr,xc,yc,ring_r,angle_0,angle_f) - cairo_set_source_rgba(cr,rgb_to_r_g_b(bgc,bga)) - cairo_set_line_width(cr,ring_w) - cairo_stroke(cr) - - -- Draw indicator ring - - cairo_arc(cr,xc,yc,ring_r,angle_0,angle_0+t_arc) - cairo_set_source_rgba(cr,rgb_to_r_g_b(fgc,fga)) - cairo_stroke(cr) -end - -function conky_ring_stats() - local function setup_rings(cr,pt) - local str='' - local value=0 - - str=string.format('${%s %s}',pt['name'],pt['arg']) - str=conky_parse(str) - - value=tonumber(str) - if value == nil then value = 0 end - pct=value/pt['max'] - - draw_ring(cr,pct,pt) - end - - if conky_window==nil then return end - local cs=cairo_xlib_surface_create(conky_window.display,conky_window.drawable,conky_window.visual, conky_window.width,conky_window.height) - - local cr=cairo_create(cs) - - local updates=conky_parse('${updates}') - update_num=tonumber(updates) - - if update_num>5 then - for i in pairs(settings_table) do - setup_rings(cr,settings_table[i]) - end - end - cairo_surface_destroy(cs) - cairo_destroy(cr) -end diff --git a/.config/conky/qtile/01/scripts/SolarizedLight.lua b/.config/conky/qtile/01/scripts/SolarizedLight.lua deleted file mode 100644 index 01f0e63..0000000 --- a/.config/conky/qtile/01/scripts/SolarizedLight.lua +++ /dev/null @@ -1,141 +0,0 @@ ---[[ -Ring Meters by londonali1010 (2009) - -This script draws percentage meters as rings. It is fully customisable; all options are described in the script. - -IMPORTANT: if you are using the 'cpu' function, it will cause a segmentation fault if it tries to draw a ring straight away. The if statement near the end of the script uses a delay to make sure that this doesn't happen. It calculates the length of the delay by the number of updates since Conky started. Generally, a value of 5s is long enough, so if you update Conky every 1s, use update_num > 5 in that if statement (the default). If you only update Conky every 2s, you should change it to update_num > 3; conversely if you update Conky every 0.5s, you should use update_num > 10. ALSO, if you change your Conky, is it best to use "killall conky; conky" to update it, otherwise the update_num will not be reset and you will get an error. - -To call this script in Conky, use the following (assuming that you save this script to ~/scripts/rings.lua): - lua_load ~/scripts/rings-v1.2.1.lua - lua_draw_hook_pre ring_stats - -Changelog: -+ v1.2.1 -- Fixed minor bug that caused script to crash if conky_parse() returns a nil value (20.10.2009) -+ v1.2 -- Added option for the ending angle of the rings (07.10.2009) -+ v1.1 -- Added options for the starting angle of the rings, and added the "max" variable, to allow for variables that output a numerical value rather than a percentage (29.09.2009) -+ v1.0 -- Original release (28.09.2009) -]] - -settings_table = { - - { - name='cpu', - arg='cpu0', - max=100, - bg_colour=0x000000, - bg_alpha=0.2, - fg_colour=0x2aa198, - fg_alpha=1, - x=49.5, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360, - }, - { - name='memperc', - arg='', - max=100, - bg_colour=0x000000, - bg_alpha=0.2, - fg_colour=0x859900, - fg_alpha=1, - x=119.5, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360 - }, - { - name='battery_percent', - arg='BAT0', - max=100, - bg_colour=0x000000, - bg_alpha=0.2, - fg_colour=0xb58900, - fg_alpha=1, - x=190, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360 - }, - { - name='hwmon temp 1', - arg='', - max=100, - bg_colour=0x000000, - bg_alpha=0.2, - fg_colour=0xdc322f, - fg_alpha=1, - x=259.5, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360, - }, - - -} - -require 'cairo' - -function rgb_to_r_g_b(colour,alpha) - return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha -end - -function draw_ring(cr,t,pt) - local w,h=conky_window.width,conky_window.height - - local xc,yc,ring_r,ring_w,sa,ea=pt['x'],pt['y'],pt['radius'],pt['thickness'],pt['start_angle'],pt['end_angle'] - local bgc, bga, fgc, fga=pt['bg_colour'], pt['bg_alpha'], pt['fg_colour'], pt['fg_alpha'] - - local angle_0=sa*(2*math.pi/360)-math.pi/2 - local angle_f=ea*(2*math.pi/360)-math.pi/2 - local t_arc=t*(angle_f-angle_0) - - -- Draw background ring - - cairo_arc(cr,xc,yc,ring_r,angle_0,angle_f) - cairo_set_source_rgba(cr,rgb_to_r_g_b(bgc,bga)) - cairo_set_line_width(cr,ring_w) - cairo_stroke(cr) - - -- Draw indicator ring - - cairo_arc(cr,xc,yc,ring_r,angle_0,angle_0+t_arc) - cairo_set_source_rgba(cr,rgb_to_r_g_b(fgc,fga)) - cairo_stroke(cr) -end - -function conky_ring_stats() - local function setup_rings(cr,pt) - local str='' - local value=0 - - str=string.format('${%s %s}',pt['name'],pt['arg']) - str=conky_parse(str) - - value=tonumber(str) - if value == nil then value = 0 end - pct=value/pt['max'] - - draw_ring(cr,pct,pt) - end - - if conky_window==nil then return end - local cs=cairo_xlib_surface_create(conky_window.display,conky_window.drawable,conky_window.visual, conky_window.width,conky_window.height) - - local cr=cairo_create(cs) - - local updates=conky_parse('${updates}') - update_num=tonumber(updates) - - if update_num>5 then - for i in pairs(settings_table) do - setup_rings(cr,settings_table[i]) - end - end - cairo_surface_destroy(cs) - cairo_destroy(cr) -end diff --git a/.config/conky/qtile/01/scripts/TomorrowNight.lua b/.config/conky/qtile/01/scripts/TomorrowNight.lua deleted file mode 100644 index 42fb970..0000000 --- a/.config/conky/qtile/01/scripts/TomorrowNight.lua +++ /dev/null @@ -1,141 +0,0 @@ ---[[ -Ring Meters by londonali1010 (2009) - -This script draws percentage meters as rings. It is fully customisable; all options are described in the script. - -IMPORTANT: if you are using the 'cpu' function, it will cause a segmentation fault if it tries to draw a ring straight away. The if statement near the end of the script uses a delay to make sure that this doesn't happen. It calculates the length of the delay by the number of updates since Conky started. Generally, a value of 5s is long enough, so if you update Conky every 1s, use update_num > 5 in that if statement (the default). If you only update Conky every 2s, you should change it to update_num > 3; conversely if you update Conky every 0.5s, you should use update_num > 10. ALSO, if you change your Conky, is it best to use "killall conky; conky" to update it, otherwise the update_num will not be reset and you will get an error. - -To call this script in Conky, use the following (assuming that you save this script to ~/scripts/rings.lua): - lua_load ~/scripts/rings-v1.2.1.lua - lua_draw_hook_pre ring_stats - -Changelog: -+ v1.2.1 -- Fixed minor bug that caused script to crash if conky_parse() returns a nil value (20.10.2009) -+ v1.2 -- Added option for the ending angle of the rings (07.10.2009) -+ v1.1 -- Added options for the starting angle of the rings, and added the "max" variable, to allow for variables that output a numerical value rather than a percentage (29.09.2009) -+ v1.0 -- Original release (28.09.2009) -]] - -settings_table = { - - { - name='cpu', - arg='cpu0', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0x81a2be, - fg_alpha=1, - x=49.5, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360, - }, - { - name='memperc', - arg='', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0xb5bd68, - fg_alpha=1, - x=119.5, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360 - }, - { - name='battery_percent', - arg='BAT0', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0xe6c547, - fg_alpha=1, - x=190, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360 - }, - { - name='hwmon temp 1', - arg='', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0xcc6666, - fg_alpha=1, - x=259.5, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360, - }, - - -} - -require 'cairo' - -function rgb_to_r_g_b(colour,alpha) - return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha -end - -function draw_ring(cr,t,pt) - local w,h=conky_window.width,conky_window.height - - local xc,yc,ring_r,ring_w,sa,ea=pt['x'],pt['y'],pt['radius'],pt['thickness'],pt['start_angle'],pt['end_angle'] - local bgc, bga, fgc, fga=pt['bg_colour'], pt['bg_alpha'], pt['fg_colour'], pt['fg_alpha'] - - local angle_0=sa*(2*math.pi/360)-math.pi/2 - local angle_f=ea*(2*math.pi/360)-math.pi/2 - local t_arc=t*(angle_f-angle_0) - - -- Draw background ring - - cairo_arc(cr,xc,yc,ring_r,angle_0,angle_f) - cairo_set_source_rgba(cr,rgb_to_r_g_b(bgc,bga)) - cairo_set_line_width(cr,ring_w) - cairo_stroke(cr) - - -- Draw indicator ring - - cairo_arc(cr,xc,yc,ring_r,angle_0,angle_0+t_arc) - cairo_set_source_rgba(cr,rgb_to_r_g_b(fgc,fga)) - cairo_stroke(cr) -end - -function conky_ring_stats() - local function setup_rings(cr,pt) - local str='' - local value=0 - - str=string.format('${%s %s}',pt['name'],pt['arg']) - str=conky_parse(str) - - value=tonumber(str) - if value == nil then value = 0 end - pct=value/pt['max'] - - draw_ring(cr,pct,pt) - end - - if conky_window==nil then return end - local cs=cairo_xlib_surface_create(conky_window.display,conky_window.drawable,conky_window.visual, conky_window.width,conky_window.height) - - local cr=cairo_create(cs) - - local updates=conky_parse('${updates}') - update_num=tonumber(updates) - - if update_num>5 then - for i in pairs(settings_table) do - setup_rings(cr,settings_table[i]) - end - end - cairo_surface_destroy(cs) - cairo_destroy(cr) -end diff --git a/.config/conky/qtile/01/scripts/cputemp.sh b/.config/conky/qtile/01/scripts/cputemp.sh deleted file mode 100755 index a17b212..0000000 --- a/.config/conky/qtile/01/scripts/cputemp.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash - -# Main -cpuTemp=$(sensors | grep Tctl | awk -F '+' '{print $2}') -echo "$cpuTemp" - -exit diff --git a/.config/conky/qtile/01/start.sh b/.config/conky/qtile/01/start.sh deleted file mode 100755 index 6df01a6..0000000 --- a/.config/conky/qtile/01/start.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash - -# This command will close all active conky -killall conky -sleep 2s - -# Only the config listed below will be avtivated -# if you want to combine with another theme, write the command here -conky -c $HOME/.config/conky/Mimosa/Mimosa.conf &> /dev/null & - -exit diff --git a/.config/conky/qtile/02/DoomOne.conf b/.config/conky/qtile/02/DoomOne.conf old mode 100644 new mode 100755 index 58131fe..c893540 --- a/.config/conky/qtile/02/DoomOne.conf +++ b/.config/conky/qtile/02/DoomOne.conf @@ -1,100 +1,119 @@ +--[[ +################################### +## doom-one-01.conkyrc (Qtile) ## +################################### +]] + conky.config = { ---============================================================================== --- DTOS 02 CONKY --- This conky theme was originally based on the Mimosa Dark theme created by --- author "Closebox73". I have removed many of the original widgets that theme --- Mimosa theme used, and I added the DTOS keybinding information. + --Various settings + background = true, -- forked to background + cpu_avg_samples = 2, -- The number of samples to average for CPU monitoring. + diskio_avg_samples = 10, -- The number of samples to average for disk I/O monitoring. + double_buffer = true, -- Use the Xdbe extension? (eliminates flicker) + if_up_strictness = 'address', -- how strict if testing interface is up - up, link or address + net_avg_samples = 2, -- The number of samples to average for net data + no_buffers = true, -- Subtract (file system) buffers from used memory? + temperature_unit = 'fahrenheit', -- fahrenheit or celsius + text_buffer_size = 2048, -- size of buffer for display of content of large variables - default 256 + update_interval = 1, -- update interval + imlib_cache_size = 0, -- disable image cache to get a new spotify cover per song ---============================================================================== + -- Placement (Conky on MIDDLE of THREE monitors at 1920x1080) + --alignment = 'top_left', -- top_left,top_middle,top_right,bottom_left,bottom_middle,bottom_right, + --gap_x = 3540, -- pixels between right or left border + --gap_y = 70, -- pixels between bottom or left border --- Size and Position settings -- - alignment = 'top_right', - gap_x = 30, - gap_y = 30, - maximum_width = 300, - minimum_height = 705, - minimum_width = 300, - --- Text settings -- - use_xft = true, - override_utf8_locale = true, - font = 'Roboto:normal:size=9', - + -- Placement (For SINGLE monitor users!) + alignment = 'top_right', -- top_left,top_middle,top_right,bottom_left,bottom_middle,bottom_right, + gap_x = 50, -- pixels between right or left border + gap_y = 70, -- pixels between bottom or left border - border_inner_margin = 4, -- margin between border and text - border_outer_margin = 0, -- margin between border and edge of window - border_width = 0, -- border width in pixels + -- Size + minimum_height = 200, -- minimum height of window + minimum_width = 260, -- minimum width of window + maximum_width = 260, -- maximum height of window --- Color Settings -- - default_color = 'ededed', - default_outline_color = 'white', - default_shade_color = 'white', - color1 = 'bbc2cf', - color2 = 'c678dd', - color3 = '51afef', - color4 = '4d4d4d', - color5 = '98be65', - --- Window Settings -- - background = false, - border_width = 1, - draw_borders = false, - draw_graph_borders = false, - draw_outline = false, - draw_shades = false, - own_window = true, - own_window_colour = '000000', - own_window_class = 'Conky', - own_window_argb_visual = false, - own_window_type = 'override', - own_window_transparent = true, - own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager', - stippled_borders = 0, - --- Others -- - cpu_avg_samples = 2, - net_avg_samples = 2, - double_buffer = true, - out_to_console = false, - out_to_stderr = false, - extra_newline = false, - update_interval = 1, - uppercase = false, - use_spacer = 'none', - show_graph_scale = false, - show_graph_range = false, - lua_load = '~/.config/conky/qtile/02/scripts/DoomOne.lua', - lua_draw_hook_pre = 'ring_stats', -} + --Graphical + border_inner_margin = 5, -- margin between border and text + border_outer_margin = 5, -- margin between border and edge of window + border_width = 0, -- border width in pixels + default_bar_width = 260, -- default is 0 - full width + default_bar_height = 10, -- default is 6 + default_gauge_height = 25, -- default is 25 + default_gauge_width =40, -- default is 40 + default_graph_height = 40, -- default is 25 + default_graph_width = 153, -- default is 0 - full width + default_shade_color = '#000000', -- default shading colour + default_outline_color = '#000000', -- default outline colour + draw_borders = false, -- draw borders around text + draw_graph_borders = true, -- draw borders around graphs + draw_shades = false, -- draw shades + draw_outline = false, -- draw outline + stippled_borders = 0, -- dashing the border + + --Textual + format_human_readable = true, -- KiB, MiB rather then number of bytes + font = 'Source Code Pro:bold:size=10', -- the default font used + font2 = 'Raleway:bold:size=30', -- font for the time + font3 = 'Ubuntu:size=14', -- font for the date + font4 = 'Raleway:bold:size=9', -- font for the keybindings heading + max_text_width = 0, -- 0 will make sure line does not get broken if width too smal + max_user_text = 16384, -- max text in conky default 16384 + override_utf8_locale = true, -- force UTF8 requires xft + short_units = true, -- shorten units from KiB to k + top_name_width = 21, -- width for $top name value default 15 + top_name_verbose = false, -- If true, top name shows the full command line of each process - Default value is false. + uppercase = false, -- uppercase or not + use_spacer = 'none', -- adds spaces around certain objects to align - default none + use_xft = true, -- xft font - anti-aliased font + xftalpha = 1, -- alpha of the xft font - between 0-1 + + --Windows + own_window = true, -- create your own window to draw + own_window_argb_value = 255, -- real transparency - composite manager required 0-255 + own_window_argb_visual = true, -- use ARGB - composite manager required + own_window_class = 'Conky', -- manually set the WM_CLASS name for use with xprop + own_window_colour = '#282c34', -- set colour if own_window_transparent no + own_window_transparent = false, -- if own_window_argb_visual is true sets background opacity 0% + own_window_title = 'xmonad_conky', -- set the name manually + own_window_type = 'override', -- if own_window true options are: normal/override/dock/desktop/panel + own_window_hints = 'undecorated,below,above,sticky,skip_taskbar,skip_pager', -- if own_window true - just hints - own_window_type sets it + + --Colors (Doom One) + color0 = '#c678dd', + color1 = '#bbc2cf', + color2 = '#51afef', + color3 = '#98be65', +}; conky.text = [[ -${image ~/.config/conky/qtile/02/bg/DoomOne.png -s 300x673 -p 0,35} -${alignc}${voffset 26}${color3}${font Raleway:bold:size=40}${time %H:%M}${font}${color} -${alignc}${voffset 5}${font Raleway:size=14}${time %A, %B %d} -${offset 34}${voffset 90}${color}${font Bebas Neue:size=18}${cpu cpu0}%${goto 104}${memperc}%${goto 180}${battery_percent BAT0}%${goto 230}${execi 2 ~/.config/conky/qtile/02/scripts/cputemp.sh} -${offset 24}${voffset -2}${color}${font Raleway:size=10}/ :${goto 170}${font Raleway:size=10}/home : -${offset 24}${color3}${font Raleway:size=9}${fs_bar 10,111}${goto 170}${color3}${font Raleway:size=9}${fs_bar 10,111 /home} -${offset 24}${color}${font Raleway:size=9}${fs_used} / ${fs_size}${goto 170}${color}${font Raleway:size=8}${fs_used /home} / ${fs_size /home}${font} -${voffset 32}${color5}${alignc}${font Raleway:bold:size=12}QTILE KEYBINDINGS${font}${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + [RET]${alignr}${offset -24}${color2}open terminal${color} -${offset 24}${color1}SUPER + b${alignr}${offset -24}${color2}open browser${color} -${offset 24}${color1}SUPER + SHIFT + [RET]${alignr}${offset -24}${color2}run prompt${color} -${offset 24}${color1}SUPER + SHIFT + c${alignr}${offset -24}${color2}close window${color} -${offset 24}${color1}SUPER + h/j/k/l${alignr}${offset -24}${color2}move win focus${color} -${offset 24}${color1}SUPER + SHIFT + h/j/k/l${alignr}${offset -24}${color2}move window${color} -${offset 24}${color1}SUPER + [1-9]${alignr}${offset -24}${color2}switch workspace${color} -${offset 24}${color1}SUPER + SHIFT + [1-9]${alignr}${offset -24}${color2}send window${color} -${offset 24}${color1}SUPER + =/-${alignr}${offset -24}${color2}shrink/expand${color} -${offset 24}${color1}SUPER + SHIFT + r${alignr}${offset -24}${color2}restart qtile${color} -${offset 24}${color1}SUPER + SHIFT + q${alignr}${offset -24}${color2}quit qtile${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + e, e${alignr}${offset -24}${color2}launch emacs${color} -${offset 24}${color1}SUPER + e, b${alignr}${offset -24}${color2}ibuffer${color} -${offset 24}${color1}SUPER + e, d${alignr}${offset -24}${color2}dired${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + p, h${alignr}${offset -24}${color2}dm-hub${color} -${offset 24}${color1}SUPER + p, b${alignr}${offset -24}${color2}dm-setbg${color} -${offset 24}${color1}SUPER + p, s${alignr}${offset -24}${color2}dm-websearch${color} -]] \ No newline at end of file +${alignc}${color0}${font2}${time %H:%M}${font} +${voffset 6}${alignc}${color0}${font3}${time %b %d, %Y}${font}${color} +${voffset 18}${color1}${alignc}${font4}QTILE KEYBINDINGS${font}${color} +${color1}${hr}${color} +${color1}[S]+[RET]${alignr}${color2}open terminal${color} +${color1}[S]+b${alignr}${color2}open browser${color} +${color1}[S]+[SHIFT]+[RET]${alignr}${color2}run prompt${color} +${color1}[S]+[SHIFT]+c${alignr}${color2}close window${color} +${color1}[S]+j/k${alignr}${color2}move win focus${color} +${color1}[S]+[SHIFT]+hjkl${alignr}${color2}move window${color} +${color1}[S]+[1-9]${alignr}${color2}switch workspace${color} +${color1}[S]+[SHIFT]+[1-9]${alignr}${color2}send window${color} +${color1}[S]+[=]/[-]${alignr}${color2}shrink/expand${color} +${color1}${hr}${color} +${color1}[S]+e, e${alignr}${color2}launch emacs${color} +${color1}[S]+e, b${alignr}${color2}ibuffer${color} +${color1}[S]+e, d${alignr}${color2}dired${color} +${color1}[S]+e, s${alignr}${color2}eshell${color} +${color1}[S]+e, v${alignr}${color2}vterm${color} +${color1}${hr}${color} +${color1}[S]+p, h${alignr}${color2}dm-hub${color} +${color1}[S]+p, b${alignr}${color2}dm-setbg${color} +${color1}[S]+p, m${alignr}${color2}dm-man${color} +${color1}[S]+p, o${alignr}${color2}dm-bookman${color} +${color1}[S]+p, s${alignr}${color2}dm-websearch${color} +${color1}${hr}${color} +${color1}[S]+[SHIFT]+r${alignr}${color2}restart qtile${color} +${color1}[S]+[SHIFT]+q${alignr}${color2}quit qtile${color} +]]; diff --git a/.config/conky/qtile/02/Dracula.conf b/.config/conky/qtile/02/Dracula.conf old mode 100644 new mode 100755 index 3896300..0779b94 --- a/.config/conky/qtile/02/Dracula.conf +++ b/.config/conky/qtile/02/Dracula.conf @@ -1,100 +1,120 @@ +--[[ +################################## +## dracula-01.conkyrc (Qtile) ## +################################## +]] + conky.config = { ---============================================================================== --- DTOS 02 CONKY --- This conky theme was originally based on the Mimosa Dark theme created by --- author "Closebox73". I have removed many of the original widgets that theme --- Mimosa theme used, and I added the DTOS keybinding information. + --Various settings + background = true, -- forked to background + cpu_avg_samples = 2, -- The number of samples to average for CPU monitoring. + diskio_avg_samples = 10, -- The number of samples to average for disk I/O monitoring. + double_buffer = true, -- Use the Xdbe extension? (eliminates flicker) + if_up_strictness = 'address', -- how strict if testing interface is up - up, link or address + net_avg_samples = 2, -- The number of samples to average for net data + no_buffers = true, -- Subtract (file system) buffers from used memory? + temperature_unit = 'fahrenheit', -- fahrenheit or celsius + text_buffer_size = 2048, -- size of buffer for display of content of large variables - default 256 + update_interval = 1, -- update interval + imlib_cache_size = 0, -- disable image cache to get a new spotify cover per song ---============================================================================== + -- Placement (Conky on MIDDLE of THREE monitors at 1920x1080) + --alignment = 'top_left', -- top_left,top_middle,top_right,bottom_left,bottom_middle,bottom_right, + --gap_x = 3540, -- pixels between right or left border + --gap_y = 70, -- pixels between bottom or left border --- Size and Position settings -- - alignment = 'top_right', - gap_x = 30, - gap_y = 30, - maximum_width = 300, - minimum_height = 705, - minimum_width = 300, - --- Text settings -- - use_xft = true, - override_utf8_locale = true, - font = 'Roboto:normal:size=9', - + -- Placement (For SINGLE monitor users!) + alignment = 'top_right', -- top_left,top_middle,top_right,bottom_left,bottom_middle,bottom_right, + gap_x = 50, -- pixels between right or left border + gap_y = 70, -- pixels between bottom or left border - border_inner_margin = 4, -- margin between border and text - border_outer_margin = 0, -- margin between border and edge of window - border_width = 0, -- border width in pixels + -- Size + minimum_height = 200, -- minimum height of window + minimum_width = 260, -- minimum width of window + maximum_width = 260, -- maximum width of window --- Color Settings -- - default_color = 'ededed', - default_outline_color = 'white', - default_shade_color = 'white', - color1 = 'f8f8f2', - color2 = 'bd93f9', - color3 = '9aedfe', - color4 = '4d4d4d', - color5 = 'ff79c6', - --- Window Settings -- - background = false, - border_width = 1, - draw_borders = false, - draw_graph_borders = false, - draw_outline = false, - draw_shades = false, - own_window = true, - own_window_colour = '000000', - own_window_class = 'Conky', - own_window_argb_visual = false, - own_window_type = 'override', - own_window_transparent = true, - own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager', - stippled_borders = 0, - --- Others -- - cpu_avg_samples = 2, - net_avg_samples = 2, - double_buffer = true, - out_to_console = false, - out_to_stderr = false, - extra_newline = false, - update_interval = 1, - uppercase = false, - use_spacer = 'none', - show_graph_scale = false, - show_graph_range = false, - lua_load = '~/.config/conky/qtile/02/scripts/Dracula.lua', - lua_draw_hook_pre = 'ring_stats', -} + --Graphical + border_inner_margin = 5, -- margin between border and text + border_outer_margin = 5, -- margin between border and edge of window + border_width = 0, -- border width in pixels + default_bar_width = 260, -- default is 0 - full width + default_bar_height = 10, -- default is 6 + default_gauge_height = 25, -- default is 25 + default_gauge_width =40, -- default is 40 + default_graph_height = 40, -- default is 25 + default_graph_width = 153, -- default is 0 - full width + default_shade_color = '#000000', -- default shading colour + default_outline_color = '#000000', -- default outline colour + draw_borders = false, -- draw borders around text + draw_graph_borders = true, -- draw borders around graphs + draw_shades = false, -- draw shades + draw_outline = false, -- draw outline + stippled_borders = 0, -- dashing the border + + --Textual + format_human_readable = true, -- KiB, MiB rather then number of bytes + font = 'Source Code Pro:bold:size=10', -- the default font used + font2 = 'Raleway:bold:size=30', -- font for the time + font3 = 'Ubuntu:size=14', -- font for the date + font4 = 'Raleway:bold:size=9', -- font for the keybindings heading + max_text_width = 0, -- 0 will make sure line does not get broken if width too smal + max_user_text = 16384, -- max text in conky default 16384 + override_utf8_locale = true, -- force UTF8 requires xft + short_units = true, -- shorten units from KiB to k + top_name_width = 21, -- width for $top name value default 15 + top_name_verbose = false, -- If true, top name shows the full command line of each process - Default value is false. + uppercase = false, -- uppercase or not + use_spacer = 'none', -- adds spaces around certain objects to align - default none + use_xft = true, -- xft font - anti-aliased font + xftalpha = 1, -- alpha of the xft font - between 0-1 + + --Windows + own_window = true, -- create your own window to draw + own_window_argb_value = 255, -- real transparency - composite manager required 0-255 + own_window_argb_visual = true, -- use ARGB - composite manager required + own_window_class = 'Conky', -- manually set the WM_CLASS name for use with xprop + own_window_colour = '#282a36', -- set colour if own_window_transparent no + own_window_transparent = false, -- if own_window_argb_visual is true sets background opacity 0% + own_window_title = 'xmonad_conky', -- set the name manually + own_window_type = 'override', -- if own_window true options are: normal/override/dock/desktop/panel + own_window_hints = 'undecorated,below,above,sticky,skip_taskbar,skip_pager', -- if own_window true - just hints - own_window_type sets it + + --Colors (Dracula) + color0 = '#bd93f9', + color1 = '#f8f8f2', + color2 = '#8be9fd', + color2 = '#8be9fd', + color3 = '#50fa7b', +}; conky.text = [[ -${image ~/.config/conky/qtile/02/bg/Dracula.png -s 300x673 -p 0,35} -${alignc}${voffset 26}${color3}${font Raleway:bold:size=40}${time %H:%M}${font}${color} -${alignc}${voffset 5}${font Raleway:size=14}${time %A, %B %d} -${offset 34}${voffset 90}${color}${font Bebas Neue:size=18}${cpu cpu0}%${goto 104}${memperc}%${goto 180}${battery_percent BAT0}%${goto 230}${execi 2 ~/.config/conky/qtile/02/scripts/cputemp.sh} -${offset 24}${voffset -2}${color}${font Raleway:size=10}/ :${goto 170}${font Raleway:size=10}/home : -${offset 24}${color3}${font Raleway:size=9}${fs_bar 10,111}${goto 170}${color3}${font Raleway:size=9}${fs_bar 10,111 /home} -${offset 24}${color}${font Raleway:size=9}${fs_used} / ${fs_size}${goto 170}${color}${font Raleway:size=8}${fs_used /home} / ${fs_size /home}${font} -${voffset 32}${color5}${alignc}${font Raleway:bold:size=12}QTILE KEYBINDINGS${font}${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + [RET]${alignr}${offset -24}${color2}open terminal${color} -${offset 24}${color1}SUPER + b${alignr}${offset -24}${color2}open browser${color} -${offset 24}${color1}SUPER + SHIFT + [RET]${alignr}${offset -24}${color2}run prompt${color} -${offset 24}${color1}SUPER + SHIFT + c${alignr}${offset -24}${color2}close window${color} -${offset 24}${color1}SUPER + h/j/k/l${alignr}${offset -24}${color2}move win focus${color} -${offset 24}${color1}SUPER + SHIFT + h/j/k/l${alignr}${offset -24}${color2}move window${color} -${offset 24}${color1}SUPER + [1-9]${alignr}${offset -24}${color2}switch workspace${color} -${offset 24}${color1}SUPER + SHIFT + [1-9]${alignr}${offset -24}${color2}send window${color} -${offset 24}${color1}SUPER + =/-${alignr}${offset -24}${color2}shrink/expand${color} -${offset 24}${color1}SUPER + SHIFT + r${alignr}${offset -24}${color2}restart qtile${color} -${offset 24}${color1}SUPER + SHIFT + q${alignr}${offset -24}${color2}quit qtile${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + e, e${alignr}${offset -24}${color2}launch emacs${color} -${offset 24}${color1}SUPER + e, b${alignr}${offset -24}${color2}ibuffer${color} -${offset 24}${color1}SUPER + e, d${alignr}${offset -24}${color2}dired${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + p, h${alignr}${offset -24}${color2}dm-hub${color} -${offset 24}${color1}SUPER + p, b${alignr}${offset -24}${color2}dm-setbg${color} -${offset 24}${color1}SUPER + p, s${alignr}${offset -24}${color2}dm-websearch${color} -]] +${alignc}${color0}${font2}${time %H:%M}${font} +${voffset 6}${alignc}${color0}${font3}${time %b %d, %Y}${font}${color} +${voffset 18}${color1}${alignc}${font4}QTILE KEYBINDINGS${font}${color} +${color1}${hr}${color} +${color1}[S]+[RET]${alignr}${color2}open terminal${color} +${color1}[S]+b${alignr}${color2}open browser${color} +${color1}[S]+[SHIFT]+[RET]${alignr}${color2}run prompt${color} +${color1}[S]+[SHIFT]+c${alignr}${color2}close window${color} +${color1}[S]+j/k${alignr}${color2}move win focus${color} +${color1}[S]+[SHIFT]+hjkl${alignr}${color2}move window${color} +${color1}[S]+[1-9]${alignr}${color2}switch workspace${color} +${color1}[S]+[SHIFT]+[1-9]${alignr}${color2}send window${color} +${color1}[S]+[=]/[-]${alignr}${color2}shrink/expand${color} +${color1}${hr}${color} +${color1}[S]+e, e${alignr}${color2}launch emacs${color} +${color1}[S]+e, b${alignr}${color2}ibuffer${color} +${color1}[S]+e, d${alignr}${color2}dired${color} +${color1}[S]+e, s${alignr}${color2}eshell${color} +${color1}[S]+e, v${alignr}${color2}vterm${color} +${color1}${hr}${color} +${color1}[S]+p, h${alignr}${color2}dm-hub${color} +${color1}[S]+p, b${alignr}${color2}dm-setbg${color} +${color1}[S]+p, m${alignr}${color2}dm-man${color} +${color1}[S]+p, o${alignr}${color2}dm-bookman${color} +${color1}[S]+p, s${alignr}${color2}dm-websearch${color} +${color1}${hr}${color} +${color1}[S]+[SHIFT]+r${alignr}${color2}restart qtile${color} +${color1}[S]+[SHIFT]+q${alignr}${color2}quit qtile${color} +]]; diff --git a/.config/conky/qtile/02/GruvboxDark.conf b/.config/conky/qtile/02/GruvboxDark.conf old mode 100644 new mode 100755 index 89fd679..424b029 --- a/.config/conky/qtile/02/GruvboxDark.conf +++ b/.config/conky/qtile/02/GruvboxDark.conf @@ -1,100 +1,119 @@ +--[[ +####################################### +## gruvbox-dark-01.conkyrc (Qtile) ## +####################################### +]] + conky.config = { ---============================================================================== --- DTOS 02 CONKY --- This conky theme was originally based on the Mimosa Dark theme created by --- author "Closebox73". I have removed many of the original widgets that theme --- Mimosa theme used, and I added the DTOS keybinding information. + --Various settings + background = true, -- forked to background + cpu_avg_samples = 2, -- The number of samples to average for CPU monitoring. + diskio_avg_samples = 10, -- The number of samples to average for disk I/O monitoring. + double_buffer = true, -- Use the Xdbe extension? (eliminates flicker) + if_up_strictness = 'address', -- how strict if testing interface is up - up, link or address + net_avg_samples = 2, -- The number of samples to average for net data + no_buffers = true, -- Subtract (file system) buffers from used memory? + temperature_unit = 'fahrenheit', -- fahrenheit or celsius + text_buffer_size = 2048, -- size of buffer for display of content of large variables - default 256 + update_interval = 1, -- update interval + imlib_cache_size = 0, -- disable image cache to get a new spotify cover per song ---============================================================================== + -- Placement (Conky on MIDDLE of THREE monitors at 1920x1080) + --alignment = 'top_left', -- top_left,top_middle,top_right,bottom_left,bottom_middle,bottom_right, + --gap_x = 3540, -- pixels between right or left border + --gap_y = 70, -- pixels between bottom or left border --- Size and Position settings -- - alignment = 'top_right', - gap_x = 30, - gap_y = 30, - maximum_width = 300, - minimum_height = 705, - minimum_width = 300, - --- Text settings -- - use_xft = true, - override_utf8_locale = true, - font = 'Roboto:normal:size=9', - + -- Placement (For SINGLE monitor users!) + alignment = 'top_right', -- top_left,top_middle,top_right,bottom_left,bottom_middle,bottom_right, + gap_x = 50, -- pixels between right or left border + gap_y = 70, -- pixels between bottom or left border - border_inner_margin = 4, -- margin between border and text - border_outer_margin = 0, -- margin between border and edge of window - border_width = 0, -- border width in pixels + -- Size + minimum_height = 200, -- minimum height of window + minimum_width = 260, -- minimum width of window + maximum_width = 260, -- maximum width of window --- Color Settings -- - default_color = 'ededed', - default_outline_color = 'white', - default_shade_color = 'white', - color1 = 'ebdbb2', - color2 = '98971a', - color3 = '83a598', - color4 = '4d4d4d', - color5 = 'd3869b', - --- Window Settings -- - background = false, - border_width = 1, - draw_borders = false, - draw_graph_borders = false, - draw_outline = false, - draw_shades = false, - own_window = true, - own_window_colour = '000000', - own_window_class = 'Conky', - own_window_argb_visual = false, - own_window_type = 'override', - own_window_transparent = true, - own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager', - stippled_borders = 0, - --- Others -- - cpu_avg_samples = 2, - net_avg_samples = 2, - double_buffer = true, - out_to_console = false, - out_to_stderr = false, - extra_newline = false, - update_interval = 1, - uppercase = false, - use_spacer = 'none', - show_graph_scale = false, - show_graph_range = false, - lua_load = '~/.config/conky/qtile/02/scripts/GruvboxDark.lua', - lua_draw_hook_pre = 'ring_stats', -} + --Graphical + border_inner_margin = 5, -- margin between border and text + border_outer_margin = 5, -- margin between border and edge of window + border_width = 0, -- border width in pixels + default_bar_width = 260, -- default is 0 - full width + default_bar_height = 10, -- default is 6 + default_gauge_height = 25, -- default is 25 + default_gauge_width =40, -- default is 40 + default_graph_height = 40, -- default is 25 + default_graph_width = 153, -- default is 0 - full width + default_shade_color = '#000000', -- default shading colour + default_outline_color = '#000000', -- default outline colour + draw_borders = false, -- draw borders around text + draw_graph_borders = true, -- draw borders around graphs + draw_shades = false, -- draw shades + draw_outline = false, -- draw outline + stippled_borders = 0, -- dashing the border + + --Textual + format_human_readable = true, -- KiB, MiB rather then number of bytes + font = 'Source Code Pro:bold:size=10', -- the default font used + font2 = 'Raleway:bold:size=30', -- font for the time + font3 = 'Ubuntu:size=14', -- font for the date + font4 = 'Raleway:bold:size=9', -- font for the keybindings heading + max_text_width = 0, -- 0 will make sure line does not get broken if width too smal + max_user_text = 16384, -- max text in conky default 16384 + override_utf8_locale = true, -- force UTF8 requires xft + short_units = true, -- shorten units from KiB to k + top_name_width = 21, -- width for $top name value default 15 + top_name_verbose = false, -- If true, top name shows the full command line of each process - Default value is false. + uppercase = false, -- uppercase or not + use_spacer = 'none', -- adds spaces around certain objects to align - default none + use_xft = true, -- xft font - anti-aliased font + xftalpha = 1, -- alpha of the xft font - between 0-1 + + --Windows + own_window = true, -- create your own window to draw + own_window_argb_value = 255, -- real transparency - composite manager required 0-255 + own_window_argb_visual = true, -- use ARGB - composite manager required + own_window_class = 'Conky', -- manually set the WM_CLASS name for use with xprop + own_window_colour = '#282828', -- set colour if own_window_transparent no + own_window_transparent = false, -- if own_window_argb_visual is true sets background opacity 0% + own_window_title = 'xmonad_conky', -- set the name manually + own_window_type = 'override', -- if own_window true options are: normal/override/dock/desktop/panel + own_window_hints = 'undecorated,below,above,sticky,skip_taskbar,skip_pager', -- if own_window true - just hints - own_window_type sets it + + --Colors (Gruvbox Dark) + color0 = '#b16286', + color1 = '#ebdbb2', + color2 = '#458588', + color3 = '#b8bb26', +}; conky.text = [[ -${image ~/.config/conky/qtile/02/bg/GruvboxDark.png -s 300x673 -p 0,35} -${alignc}${voffset 26}${color3}${font Raleway:bold:size=40}${time %H:%M}${font}${color} -${alignc}${voffset 5}${font Raleway:size=14}${time %A, %B %d} -${offset 34}${voffset 90}${color}${font Bebas Neue:size=18}${cpu cpu0}%${goto 104}${memperc}%${goto 180}${battery_percent BAT0}%${goto 230}${execi 2 ~/.config/conky/qtile/02/scripts/cputemp.sh} -${offset 24}${voffset -2}${color}${font Raleway:size=10}/ :${goto 170}${font Raleway:size=10}/home : -${offset 24}${color3}${font Raleway:size=9}${fs_bar 10,111}${goto 170}${color3}${font Raleway:size=9}${fs_bar 10,111 /home} -${offset 24}${color}${font Raleway:size=9}${fs_used} / ${fs_size}${goto 170}${color}${font Raleway:size=8}${fs_used /home} / ${fs_size /home}${font} -${voffset 32}${color5}${alignc}${font Raleway:bold:size=12}QTILE KEYBINDINGS${font}${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + [RET]${alignr}${offset -24}${color2}open terminal${color} -${offset 24}${color1}SUPER + b${alignr}${offset -24}${color2}open browser${color} -${offset 24}${color1}SUPER + SHIFT + [RET]${alignr}${offset -24}${color2}run prompt${color} -${offset 24}${color1}SUPER + SHIFT + c${alignr}${offset -24}${color2}close window${color} -${offset 24}${color1}SUPER + h/j/k/l${alignr}${offset -24}${color2}move win focus${color} -${offset 24}${color1}SUPER + SHIFT + h/j/k/l${alignr}${offset -24}${color2}move window${color} -${offset 24}${color1}SUPER + [1-9]${alignr}${offset -24}${color2}switch workspace${color} -${offset 24}${color1}SUPER + SHIFT + [1-9]${alignr}${offset -24}${color2}send window${color} -${offset 24}${color1}SUPER + =/-${alignr}${offset -24}${color2}shrink/expand${color} -${offset 24}${color1}SUPER + SHIFT + r${alignr}${offset -24}${color2}restart qtile${color} -${offset 24}${color1}SUPER + SHIFT + q${alignr}${offset -24}${color2}quit qtile${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + e, e${alignr}${offset -24}${color2}launch emacs${color} -${offset 24}${color1}SUPER + e, b${alignr}${offset -24}${color2}ibuffer${color} -${offset 24}${color1}SUPER + e, d${alignr}${offset -24}${color2}dired${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + p, h${alignr}${offset -24}${color2}dm-hub${color} -${offset 24}${color1}SUPER + p, b${alignr}${offset -24}${color2}dm-setbg${color} -${offset 24}${color1}SUPER + p, s${alignr}${offset -24}${color2}dm-websearch${color} -]] +${alignc}${color0}${font2}${time %H:%M}${font} +${voffset 6}${alignc}${color0}${font3}${time %b %d, %Y}${font}${color} +${voffset 18}${color1}${alignc}${font4}QTILE KEYBINDINGS${font}${color} +${color1}${hr}${color} +${color1}[S]+[RET]${alignr}${color2}open terminal${color} +${color1}[S]+b${alignr}${color2}open browser${color} +${color1}[S]+[SHIFT]+[RET]${alignr}${color2}run prompt${color} +${color1}[S]+[SHIFT]+c${alignr}${color2}close window${color} +${color1}[S]+j/k${alignr}${color2}move win focus${color} +${color1}[S]+[SHIFT]+hjkl${alignr}${color2}move window${color} +${color1}[S]+[1-9]${alignr}${color2}switch workspace${color} +${color1}[S]+[SHIFT]+[1-9]${alignr}${color2}send window${color} +${color1}[S]+[=]/[-]${alignr}${color2}shrink/expand${color} +${color1}${hr}${color} +${color1}[S]+e, e${alignr}${color2}launch emacs${color} +${color1}[S]+e, b${alignr}${color2}ibuffer${color} +${color1}[S]+e, d${alignr}${color2}dired${color} +${color1}[S]+e, s${alignr}${color2}eshell${color} +${color1}[S]+e, v${alignr}${color2}vterm${color} +${color1}${hr}${color} +${color1}[S]+p, h${alignr}${color2}dm-hub${color} +${color1}[S]+p, b${alignr}${color2}dm-setbg${color} +${color1}[S]+p, m${alignr}${color2}dm-man${color} +${color1}[S]+p, o${alignr}${color2}dm-bookman${color} +${color1}[S]+p, s${alignr}${color2}dm-websearch${color} +${color1}${hr}${color} +${color1}[S]+[SHIFT]+r${alignr}${color2}restart qtile${color} +${color1}[S]+[SHIFT]+q${alignr}${color2}quit qtile${color} +]]; diff --git a/.config/conky/qtile/02/MonokaiPro.conf b/.config/conky/qtile/02/MonokaiPro.conf old mode 100644 new mode 100755 index 4d5cb73..e331ccc --- a/.config/conky/qtile/02/MonokaiPro.conf +++ b/.config/conky/qtile/02/MonokaiPro.conf @@ -1,100 +1,119 @@ +--[[ +###################################### +## monokai-pro-01.conkyrc (Qtile) ## +###################################### +]] + conky.config = { ---============================================================================== --- DTOS 02 CONKY --- This conky theme was originally based on the Mimosa Dark theme created by --- author "Closebox73". I have removed many of the original widgets that theme --- Mimosa theme used, and I added the DTOS keybinding information. + --Various settings + background = true, -- forked to background + cpu_avg_samples = 2, -- The number of samples to average for CPU monitoring. + diskio_avg_samples = 10, -- The number of samples to average for disk I/O monitoring. + double_buffer = true, -- Use the Xdbe extension? (eliminates flicker) + if_up_strictness = 'address', -- how strict if testing interface is up - up, link or address + net_avg_samples = 2, -- The number of samples to average for net data + no_buffers = true, -- Subtract (file system) buffers from used memory? + temperature_unit = 'fahrenheit', -- fahrenheit or celsius + text_buffer_size = 2048, -- size of buffer for display of content of large variables - default 256 + update_interval = 1, -- update interval + imlib_cache_size = 0, -- disable image cache to get a new spotify cover per song ---============================================================================== + -- Placement (Conky on MIDDLE of THREE monitors at 1920x1080) + --alignment = 'top_left', -- top_left,top_middle,top_right,bottom_left,bottom_middle,bottom_right, + --gap_x = 3540, -- pixels between right or left border + --gap_y = 70, -- pixels between bottom or left border --- Size and Position settings -- - alignment = 'top_right', - gap_x = 30, - gap_y = 30, - maximum_width = 300, - minimum_height = 705, - minimum_width = 300, - --- Text settings -- - use_xft = true, - override_utf8_locale = true, - font = 'Roboto:normal:size=9', - + -- Placement (For SINGLE monitor users!) + alignment = 'top_right', -- top_left,top_middle,top_right,bottom_left,bottom_middle,bottom_right, + gap_x = 50, -- pixels between right or left border + gap_y = 70, -- pixels between bottom or left border - border_inner_margin = 4, -- margin between border and text - border_outer_margin = 0, -- margin between border and edge of window - border_width = 0, -- border width in pixels + -- Size + minimum_height = 200, -- minimum height of window + minimum_width = 260, -- minimum width of window + maximum_width = 260, -- maximum width of window --- Color Settings -- - default_color = 'ededed', - default_outline_color = 'white', - default_shade_color = 'white', - color1 = 'fcfcfa', - color2 = 'ab9df2', - color3 = '78dce8', - color4 = '4d4d4d', - color5 = 'ff6188', - --- Window Settings -- - background = false, - border_width = 1, - draw_borders = false, - draw_graph_borders = false, - draw_outline = false, - draw_shades = false, - own_window = true, - own_window_colour = '000000', - own_window_class = 'Conky', - own_window_argb_visual = false, - own_window_type = 'override', - own_window_transparent = true, - own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager', - stippled_borders = 0, - --- Others -- - cpu_avg_samples = 2, - net_avg_samples = 2, - double_buffer = true, - out_to_console = false, - out_to_stderr = false, - extra_newline = false, - update_interval = 1, - uppercase = false, - use_spacer = 'none', - show_graph_scale = false, - show_graph_range = false, - lua_load = '~/.config/conky/qtile/02/scripts/MonokaiPro.lua', - lua_draw_hook_pre = 'ring_stats', -} + --Graphical + border_inner_margin = 5, -- margin between border and text + border_outer_margin = 5, -- margin between border and edge of window + border_width = 0, -- border width in pixels + default_bar_width = 260, -- default is 0 - full width + default_bar_height = 10, -- default is 6 + default_gauge_height = 25, -- default is 25 + default_gauge_width =40, -- default is 40 + default_graph_height = 40, -- default is 25 + default_graph_width = 153, -- default is 0 - full width + default_shade_color = '#000000', -- default shading colour + default_outline_color = '#000000', -- default outline colour + draw_borders = false, -- draw borders around text + draw_graph_borders = true, -- draw borders around graphs + draw_shades = false, -- draw shades + draw_outline = false, -- draw outline + stippled_borders = 0, -- dashing the border + + --Textual + format_human_readable = true, -- KiB, MiB rather then number of bytes + font = 'Source Code Pro:bold:size=10', -- the default font used + font2 = 'Raleway:bold:size=30', -- font for the time + font3 = 'Ubuntu:size=14', -- font for the date + font4 = 'Raleway:bold:size=9', -- font for the keybindings heading + max_text_width = 0, -- 0 will make sure line does not get broken if width too smal + max_user_text = 16384, -- max text in conky default 16384 + override_utf8_locale = true, -- force UTF8 requires xft + short_units = true, -- shorten units from KiB to k + top_name_width = 21, -- width for $top name value default 15 + top_name_verbose = false, -- If true, top name shows the full command line of each process - Default value is false. + uppercase = false, -- uppercase or not + use_spacer = 'none', -- adds spaces around certain objects to align - default none + use_xft = true, -- xft font - anti-aliased font + xftalpha = 1, -- alpha of the xft font - between 0-1 + + --Windows + own_window = true, -- create your own window to draw + own_window_argb_value = 255, -- real transparency - composite manager required 0-255 + own_window_argb_visual = true, -- use ARGB - composite manager required + own_window_class = 'Conky', -- manually set the WM_CLASS name for use with xprop + own_window_colour = '#2D2A2E', -- set colour if own_window_transparent no + own_window_transparent = false, -- if own_window_argb_visual is true sets background opacity 0% + own_window_title = 'xmonad_conky', -- set the name manually + own_window_type = 'override', -- if own_window true options are: normal/override/dock/desktop/panel + own_window_hints = 'undecorated,below,above,sticky,skip_taskbar,skip_pager', -- if own_window true - just hints - own_window_type sets it + + --Colors (Monokai Pro) + color0 = '#AB9DF2', + color1 = '#FCFCFA', + color2 = '#78DCE8', + color3 = '#A9DC76', +}; conky.text = [[ -${image ~/.config/conky/qtile/02/bg/MonokaiPro.png -s 300x673 -p 0,35} -${alignc}${voffset 26}${color3}${font Raleway:bold:size=40}${time %H:%M}${font}${color} -${alignc}${voffset 5}${font Raleway:size=14}${time %A, %B %d} -${offset 34}${voffset 90}${color}${font Bebas Neue:size=18}${cpu cpu0}%${goto 104}${memperc}%${goto 180}${battery_percent BAT0}%${goto 230}${execi 2 ~/.config/conky/qtile/02/scripts/cputemp.sh} -${offset 24}${voffset -2}${color}${font Raleway:size=10}/ :${goto 170}${font Raleway:size=10}/home : -${offset 24}${color3}${font Raleway:size=9}${fs_bar 10,111}${goto 170}${color3}${font Raleway:size=9}${fs_bar 10,111 /home} -${offset 24}${color}${font Raleway:size=9}${fs_used} / ${fs_size}${goto 170}${color}${font Raleway:size=8}${fs_used /home} / ${fs_size /home}${font} -${voffset 32}${color5}${alignc}${font Raleway:bold:size=12}QTILE KEYBINDINGS${font}${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + [RET]${alignr}${offset -24}${color2}open terminal${color} -${offset 24}${color1}SUPER + b${alignr}${offset -24}${color2}open browser${color} -${offset 24}${color1}SUPER + SHIFT + [RET]${alignr}${offset -24}${color2}run prompt${color} -${offset 24}${color1}SUPER + SHIFT + c${alignr}${offset -24}${color2}close window${color} -${offset 24}${color1}SUPER + h/j/k/l${alignr}${offset -24}${color2}move win focus${color} -${offset 24}${color1}SUPER + SHIFT + h/j/k/l${alignr}${offset -24}${color2}move window${color} -${offset 24}${color1}SUPER + [1-9]${alignr}${offset -24}${color2}switch workspace${color} -${offset 24}${color1}SUPER + SHIFT + [1-9]${alignr}${offset -24}${color2}send window${color} -${offset 24}${color1}SUPER + =/-${alignr}${offset -24}${color2}shrink/expand${color} -${offset 24}${color1}SUPER + SHIFT + r${alignr}${offset -24}${color2}restart qtile${color} -${offset 24}${color1}SUPER + SHIFT + q${alignr}${offset -24}${color2}quit qtile${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + e, e${alignr}${offset -24}${color2}launch emacs${color} -${offset 24}${color1}SUPER + e, b${alignr}${offset -24}${color2}ibuffer${color} -${offset 24}${color1}SUPER + e, d${alignr}${offset -24}${color2}dired${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + p, h${alignr}${offset -24}${color2}dm-hub${color} -${offset 24}${color1}SUPER + p, b${alignr}${offset -24}${color2}dm-setbg${color} -${offset 24}${color1}SUPER + p, s${alignr}${offset -24}${color2}dm-websearch${color} -]] +${alignc}${color0}${font2}${time %H:%M}${font} +${voffset 6}${alignc}${color0}${font3}${time %b %d, %Y}${font}${color} +${voffset 18}${color1}${alignc}${font4}QTILE KEYBINDINGS${font}${color} +${color1}${hr}${color} +${color1}[S]+[RET]${alignr}${color2}open terminal${color} +${color1}[S]+b${alignr}${color2}open browser${color} +${color1}[S]+[SHIFT]+[RET]${alignr}${color2}run prompt${color} +${color1}[S]+[SHIFT]+c${alignr}${color2}close window${color} +${color1}[S]+j/k${alignr}${color2}move win focus${color} +${color1}[S]+[SHIFT]+hjkl${alignr}${color2}move window${color} +${color1}[S]+[1-9]${alignr}${color2}switch workspace${color} +${color1}[S]+[SHIFT]+[1-9]${alignr}${color2}send window${color} +${color1}[S]+[=]/[-]${alignr}${color2}shrink/expand${color} +${color1}${hr}${color} +${color1}[S]+e, e${alignr}${color2}launch emacs${color} +${color1}[S]+e, b${alignr}${color2}ibuffer${color} +${color1}[S]+e, d${alignr}${color2}dired${color} +${color1}[S]+e, s${alignr}${color2}eshell${color} +${color1}[S]+e, v${alignr}${color2}vterm${color} +${color1}${hr}${color} +${color1}[S]+p, h${alignr}${color2}dm-hub${color} +${color1}[S]+p, b${alignr}${color2}dm-setbg${color} +${color1}[S]+p, m${alignr}${color2}dm-man${color} +${color1}[S]+p, o${alignr}${color2}dm-bookman${color} +${color1}[S]+p, s${alignr}${color2}dm-websearch${color} +${color1}${hr}${color} +${color1}[S]+[SHIFT]+r${alignr}${color2}restart qtile${color} +${color1}[S]+[SHIFT]+q${alignr}${color2}quit qtile${color} +]]; diff --git a/.config/conky/qtile/02/Nord.conf b/.config/conky/qtile/02/Nord.conf old mode 100644 new mode 100755 index be7d6ad..4a5468b --- a/.config/conky/qtile/02/Nord.conf +++ b/.config/conky/qtile/02/Nord.conf @@ -1,100 +1,119 @@ +--[[ +############################### +## nord-01.conkyrc (Qtile) ## +############################### +]] + conky.config = { ---============================================================================== --- DTOS 02 CONKY --- This conky theme was originally based on the Mimosa Dark theme created by --- author "Closebox73". I have removed many of the original widgets that theme --- Mimosa theme used, and I added the DTOS keybinding information. + --Various settings + background = true, -- forked to background + cpu_avg_samples = 2, -- The number of samples to average for CPU monitoring. + diskio_avg_samples = 10, -- The number of samples to average for disk I/O monitoring. + double_buffer = true, -- Use the Xdbe extension? (eliminates flicker) + if_up_strictness = 'address', -- how strict if testing interface is up - up, link or address + net_avg_samples = 2, -- The number of samples to average for net data + no_buffers = true, -- Subtract (file system) buffers from used memory? + temperature_unit = 'fahrenheit', -- fahrenheit or celsius + text_buffer_size = 2048, -- size of buffer for display of content of large variables - default 256 + update_interval = 1, -- update interval + imlib_cache_size = 0, -- disable image cache to get a new spotify cover per song ---============================================================================== + -- Placement (Conky on MIDDLE of THREE monitors at 1920x1080) + --alignment = 'top_left', -- top_left,top_middle,top_right,bottom_left,bottom_middle,bottom_right, + --gap_x = 3540, -- pixels between right or left border + --gap_y = 70, -- pixels between bottom or left border --- Size and Position settings -- - alignment = 'top_right', - gap_x = 30, - gap_y = 30, - maximum_width = 300, - minimum_height = 705, - minimum_width = 300, - --- Text settings -- - use_xft = true, - override_utf8_locale = true, - font = 'Roboto:normal:size=9', - + -- Placement (For SINGLE monitor users!) + alignment = 'top_right', -- top_left,top_middle,top_right,bottom_left,bottom_middle,bottom_right, + gap_x = 50, -- pixels between right or left border + gap_y = 70, -- pixels between bottom or left border - border_inner_margin = 4, -- margin between border and text - border_outer_margin = 0, -- margin between border and edge of window - border_width = 0, -- border width in pixels + -- Size + minimum_height = 200, -- minimum height of window + minimum_width = 260, -- minimum width of window + maximum_width = 260, -- maximum width of window --- Color Settings -- - default_color = 'ededed', - default_outline_color = 'white', - default_shade_color = 'white', - color1 = 'd8dee9', - color2 = 'b48ead', - color3 = '88c0d0', - color4 = '4d4d4d', - color5 = 'a3be8c', - --- Window Settings -- - background = false, - border_width = 1, - draw_borders = false, - draw_graph_borders = false, - draw_outline = false, - draw_shades = false, - own_window = true, - own_window_colour = '000000', - own_window_class = 'Conky', - own_window_argb_visual = false, - own_window_type = 'override', - own_window_transparent = true, - own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager', - stippled_borders = 0, - --- Others -- - cpu_avg_samples = 2, - net_avg_samples = 2, - double_buffer = true, - out_to_console = false, - out_to_stderr = false, - extra_newline = false, - update_interval = 1, - uppercase = false, - use_spacer = 'none', - show_graph_scale = false, - show_graph_range = false, - lua_load = '~/.config/conky/qtile/02/scripts/Nord.lua', - lua_draw_hook_pre = 'ring_stats', -} + --Graphical + border_inner_margin = 5, -- margin between border and text + border_outer_margin = 5, -- margin between border and edge of window + border_width = 0, -- border width in pixels + default_bar_width = 260, -- default is 0 - full width + default_bar_height = 10, -- default is 6 + default_gauge_height = 25, -- default is 25 + default_gauge_width =40, -- default is 40 + default_graph_height = 40, -- default is 25 + default_graph_width = 153, -- default is 0 - full width + default_shade_color = '#000000', -- default shading colour + default_outline_color = '#000000', -- default outline colour + draw_borders = false, -- draw borders around text + draw_graph_borders = true, -- draw borders around graphs + draw_shades = false, -- draw shades + draw_outline = false, -- draw outline + stippled_borders = 0, -- dashing the border + + --Textual + format_human_readable = true, -- KiB, MiB rather then number of bytes + font = 'Source Code Pro:bold:size=10', -- the default font used + font2 = 'Raleway:bold:size=30', -- font for the time + font3 = 'Ubuntu:size=14', -- font for the date + font4 = 'Raleway:bold:size=9', -- font for the keybindings heading + max_text_width = 0, -- 0 will make sure line does not get broken if width too smal + max_user_text = 16384, -- max text in conky default 16384 + override_utf8_locale = true, -- force UTF8 requires xft + short_units = true, -- shorten units from KiB to k + top_name_width = 21, -- width for $top name value default 15 + top_name_verbose = false, -- If true, top name shows the full command line of each process - Default value is false. + uppercase = false, -- uppercase or not + use_spacer = 'none', -- adds spaces around certain objects to align - default none + use_xft = true, -- xft font - anti-aliased font + xftalpha = 1, -- alpha of the xft font - between 0-1 + + --Windows + own_window = true, -- create your own window to draw + own_window_argb_value = 255, -- real transparency - composite manager required 0-255 + own_window_argb_visual = true, -- use ARGB - composite manager required + own_window_class = 'Conky', -- manually set the WM_CLASS name for use with xprop + own_window_colour = '#2E3440', -- set colour if own_window_transparent no + own_window_transparent = false, -- if own_window_argb_visual is true sets background opacity 0% + own_window_title = 'xmonad_conky', -- set the name manually + own_window_type = 'override', -- if own_window true options are: normal/override/dock/desktop/panel + own_window_hints = 'undecorated,below,above,sticky,skip_taskbar,skip_pager', -- if own_window true - just hints - own_window_type sets it + + --Colors (Nord) + color0 = '#B48EAD', + color1 = '#D8DEE9', + color2 = '#88C0D0', + color3 = '#EBCB8B', +}; conky.text = [[ -${image ~/.config/conky/qtile/02/bg/Nord.png -s 300x673 -p 0,35} -${alignc}${voffset 26}${color3}${font Raleway:bold:size=40}${time %H:%M}${font}${color} -${alignc}${voffset 5}${font Raleway:size=14}${time %A, %B %d} -${offset 34}${voffset 90}${color}${font Bebas Neue:size=18}${cpu cpu0}%${goto 104}${memperc}%${goto 180}${battery_percent BAT0}%${goto 230}${execi 2 ~/.config/conky/qtile/02/scripts/cputemp.sh} -${offset 24}${voffset -2}${color}${font Raleway:size=10}/ :${goto 170}${font Raleway:size=10}/home : -${offset 24}${color3}${font Raleway:size=9}${fs_bar 10,111}${goto 170}${color3}${font Raleway:size=9}${fs_bar 10,111 /home} -${offset 24}${color}${font Raleway:size=9}${fs_used} / ${fs_size}${goto 170}${color}${font Raleway:size=8}${fs_used /home} / ${fs_size /home}${font} -${voffset 32}${color5}${alignc}${font Raleway:bold:size=12}QTILE KEYBINDINGS${font}${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + [RET]${alignr}${offset -24}${color2}open terminal${color} -${offset 24}${color1}SUPER + b${alignr}${offset -24}${color2}open browser${color} -${offset 24}${color1}SUPER + SHIFT + [RET]${alignr}${offset -24}${color2}run prompt${color} -${offset 24}${color1}SUPER + SHIFT + c${alignr}${offset -24}${color2}close window${color} -${offset 24}${color1}SUPER + h/j/k/l${alignr}${offset -24}${color2}move win focus${color} -${offset 24}${color1}SUPER + SHIFT + h/j/k/l${alignr}${offset -24}${color2}move window${color} -${offset 24}${color1}SUPER + [1-9]${alignr}${offset -24}${color2}switch workspace${color} -${offset 24}${color1}SUPER + SHIFT + [1-9]${alignr}${offset -24}${color2}send window${color} -${offset 24}${color1}SUPER + =/-${alignr}${offset -24}${color2}shrink/expand${color} -${offset 24}${color1}SUPER + SHIFT + r${alignr}${offset -24}${color2}restart qtile${color} -${offset 24}${color1}SUPER + SHIFT + q${alignr}${offset -24}${color2}quit qtile${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + e, e${alignr}${offset -24}${color2}launch emacs${color} -${offset 24}${color1}SUPER + e, b${alignr}${offset -24}${color2}ibuffer${color} -${offset 24}${color1}SUPER + e, d${alignr}${offset -24}${color2}dired${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + p, h${alignr}${offset -24}${color2}dm-hub${color} -${offset 24}${color1}SUPER + p, b${alignr}${offset -24}${color2}dm-setbg${color} -${offset 24}${color1}SUPER + p, s${alignr}${offset -24}${color2}dm-websearch${color} -]] +${alignc}${color0}${font2}${time %H:%M}${font} +${voffset 6}${alignc}${color0}${font3}${time %b %d, %Y}${font}${color} +${voffset 18}${color1}${alignc}${font4}QTILE KEYBINDINGS${font}${color} +${color1}${hr}${color} +${color1}[S]+[RET]${alignr}${color2}open terminal${color} +${color1}[S]+b${alignr}${color2}open browser${color} +${color1}[S]+[SHIFT]+[RET]${alignr}${color2}run prompt${color} +${color1}[S]+[SHIFT]+c${alignr}${color2}close window${color} +${color1}[S]+j/k${alignr}${color2}move win focus${color} +${color1}[S]+[SHIFT]+hjkl${alignr}${color2}move window${color} +${color1}[S]+[1-9]${alignr}${color2}switch workspace${color} +${color1}[S]+[SHIFT]+[1-9]${alignr}${color2}send window${color} +${color1}[S]+[=]/[-]${alignr}${color2}shrink/expand${color} +${color1}${hr}${color} +${color1}[S]+e, e${alignr}${color2}launch emacs${color} +${color1}[S]+e, b${alignr}${color2}ibuffer${color} +${color1}[S]+e, d${alignr}${color2}dired${color} +${color1}[S]+e, s${alignr}${color2}eshell${color} +${color1}[S]+e, v${alignr}${color2}vterm${color} +${color1}${hr}${color} +${color1}[S]+p, h${alignr}${color2}dm-hub${color} +${color1}[S]+p, b${alignr}${color2}dm-setbg${color} +${color1}[S]+p, m${alignr}${color2}dm-man${color} +${color1}[S]+p, o${alignr}${color2}dm-bookman${color} +${color1}[S]+p, s${alignr}${color2}dm-websearch${color} +${color1}${hr}${color} +${color1}[S]+[SHIFT]+r${alignr}${color2}restart qtile${color} +${color1}[S]+[SHIFT]+q${alignr}${color2}quit qtile${color} +]]; diff --git a/.config/conky/qtile/02/OceanicNext.conf b/.config/conky/qtile/02/OceanicNext.conf old mode 100644 new mode 100755 index 1cb8ca8..ab12e7f --- a/.config/conky/qtile/02/OceanicNext.conf +++ b/.config/conky/qtile/02/OceanicNext.conf @@ -1,100 +1,119 @@ +--[[ +####################################### +## oceanic-next-01.conkyrc (Qtile) ## +####################################### +]] + conky.config = { ---============================================================================== --- DTOS 02 CONKY --- This conky theme was originally based on the Mimosa Dark theme created by --- author "Closebox73". I have removed many of the original widgets that theme --- Mimosa theme used, and I added the DTOS keybinding information. + --Various settings + background = true, -- forked to background + cpu_avg_samples = 2, -- The number of samples to average for CPU monitoring. + diskio_avg_samples = 10, -- The number of samples to average for disk I/O monitoring. + double_buffer = true, -- Use the Xdbe extension? (eliminates flicker) + if_up_strictness = 'address', -- how strict if testing interface is up - up, link or address + net_avg_samples = 2, -- The number of samples to average for net data + no_buffers = true, -- Subtract (file system) buffers from used memory? + temperature_unit = 'fahrenheit', -- fahrenheit or celsius + text_buffer_size = 2048, -- size of buffer for display of content of large variables - default 256 + update_interval = 1, -- update interval + imlib_cache_size = 0, -- disable image cache to get a new spotify cover per song ---============================================================================== + -- Placement (Conky on MIDDLE of THREE monitors at 1920x1080) + --alignment = 'top_left', -- top_left,top_middle,top_right,bottom_left,bottom_middle,bottom_right, + --gap_x = 3540, -- pixels between right or left border + --gap_y = 70, -- pixels between bottom or left border --- Size and Position settings -- - alignment = 'top_right', - gap_x = 30, - gap_y = 30, - maximum_width = 300, - minimum_height = 705, - minimum_width = 300, - --- Text settings -- - use_xft = true, - override_utf8_locale = true, - font = 'Roboto:normal:size=9', - + -- Placement (For SINGLE monitor users!) + alignment = 'top_right', -- top_left,top_middle,top_right,bottom_left,bottom_middle,bottom_right, + gap_x = 50, -- pixels between right or left border + gap_y = 70, -- pixels between bottom or left border - border_inner_margin = 4, -- margin between border and text - border_outer_margin = 0, -- margin between border and edge of window - border_width = 0, -- border width in pixels + -- Size + minimum_height = 200, -- minimum height of window + minimum_width = 260, -- minimum width of window + maximum_width = 260, -- maximum width of window --- Color Settings -- - default_color = 'ededed', - default_outline_color = 'white', - default_shade_color = 'white', - color1 = 'd8dee9', - color2 = 'c594c5', - color3 = '6699cc', - color4 = '4d4d4d', - color5 = '99c794', - --- Window Settings -- - background = false, - border_width = 1, - draw_borders = false, - draw_graph_borders = false, - draw_outline = false, - draw_shades = false, - own_window = true, - own_window_colour = '000000', - own_window_class = 'Conky', - own_window_argb_visual = false, - own_window_type = 'override', - own_window_transparent = true, - own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager', - stippled_borders = 0, - --- Others -- - cpu_avg_samples = 2, - net_avg_samples = 2, - double_buffer = true, - out_to_console = false, - out_to_stderr = false, - extra_newline = false, - update_interval = 1, - uppercase = false, - use_spacer = 'none', - show_graph_scale = false, - show_graph_range = false, - lua_load = '~/.config/conky/qtile/02/scripts/OceanicNext.lua', - lua_draw_hook_pre = 'ring_stats', -} + --Graphical + border_inner_margin = 5, -- margin between border and text + border_outer_margin = 5, -- margin between border and edge of window + border_width = 0, -- border width in pixels + default_bar_width = 260, -- default is 0 - full width + default_bar_height = 10, -- default is 6 + default_gauge_height = 25, -- default is 25 + default_gauge_width =40, -- default is 40 + default_graph_height = 40, -- default is 25 + default_graph_width = 153, -- default is 0 - full width + default_shade_color = '#000000', -- default shading colour + default_outline_color = '#000000', -- default outline colour + draw_borders = false, -- draw borders around text + draw_graph_borders = true, -- draw borders around graphs + draw_shades = false, -- draw shades + draw_outline = false, -- draw outline + stippled_borders = 0, -- dashing the border + + --Textual + format_human_readable = true, -- KiB, MiB rather then number of bytes + font = 'Source Code Pro:bold:size=10', -- the default font used + font2 = 'Raleway:bold:size=30', -- font for the time + font3 = 'Ubuntu:size=14', -- font for the date + font4 = 'Raleway:bold:size=9', -- font for the keybindings heading + max_text_width = 0, -- 0 will make sure line does not get broken if width too smal + max_user_text = 16384, -- max text in conky default 16384 + override_utf8_locale = true, -- force UTF8 requires xft + short_units = true, -- shorten units from KiB to k + top_name_width = 21, -- width for $top name value default 15 + top_name_verbose = false, -- If true, top name shows the full command line of each process - Default value is false. + uppercase = false, -- uppercase or not + use_spacer = 'none', -- adds spaces around certain objects to align - default none + use_xft = true, -- xft font - anti-aliased font + xftalpha = 1, -- alpha of the xft font - between 0-1 + + --Windows + own_window = true, -- create your own window to draw + own_window_argb_value = 255, -- real transparency - composite manager required 0-255 + own_window_argb_visual = true, -- use ARGB - composite manager required + own_window_class = 'Conky', -- manually set the WM_CLASS name for use with xprop + own_window_colour = '#1b2b34', -- set colour if own_window_transparent no + own_window_transparent = false, -- if own_window_argb_visual is true sets background opacity 0% + own_window_title = 'xmonad_conky', -- set the name manually + own_window_type = 'override', -- if own_window true options are: normal/override/dock/desktop/panel + own_window_hints = 'undecorated,below,above,sticky,skip_taskbar,skip_pager', -- if own_window true - just hints - own_window_type sets it + + --Colors (Oceanic Next) + color0 = '#c594c5', + color1 = '#d8dee9', + color2 = '#6699cc', + color3 = '#99c794', +}; conky.text = [[ -${image ~/.config/conky/qtile/02/bg/OceanicNext.png -s 300x673 -p 0,35} -${alignc}${voffset 26}${color3}${font Raleway:bold:size=40}${time %H:%M}${font}${color} -${alignc}${voffset 5}${font Raleway:size=14}${time %A, %B %d} -${offset 34}${voffset 90}${color}${font Bebas Neue:size=18}${cpu cpu0}%${goto 104}${memperc}%${goto 180}${battery_percent BAT0}%${goto 230}${execi 2 ~/.config/conky/qtile/02/scripts/cputemp.sh} -${offset 24}${voffset -2}${color}${font Raleway:size=10}/ :${goto 170}${font Raleway:size=10}/home : -${offset 24}${color3}${font Raleway:size=9}${fs_bar 10,111}${goto 170}${color3}${font Raleway:size=9}${fs_bar 10,111 /home} -${offset 24}${color}${font Raleway:size=9}${fs_used} / ${fs_size}${goto 170}${color}${font Raleway:size=8}${fs_used /home} / ${fs_size /home}${font} -${voffset 32}${color5}${alignc}${font Raleway:bold:size=12}QTILE KEYBINDINGS${font}${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + [RET]${alignr}${offset -24}${color2}open terminal${color} -${offset 24}${color1}SUPER + b${alignr}${offset -24}${color2}open browser${color} -${offset 24}${color1}SUPER + SHIFT + [RET]${alignr}${offset -24}${color2}run prompt${color} -${offset 24}${color1}SUPER + SHIFT + c${alignr}${offset -24}${color2}close window${color} -${offset 24}${color1}SUPER + h/j/k/l${alignr}${offset -24}${color2}move win focus${color} -${offset 24}${color1}SUPER + SHIFT + h/j/k/l${alignr}${offset -24}${color2}move window${color} -${offset 24}${color1}SUPER + [1-9]${alignr}${offset -24}${color2}switch workspace${color} -${offset 24}${color1}SUPER + SHIFT + [1-9]${alignr}${offset -24}${color2}send window${color} -${offset 24}${color1}SUPER + =/-${alignr}${offset -24}${color2}shrink/expand${color} -${offset 24}${color1}SUPER + SHIFT + r${alignr}${offset -24}${color2}restart qtile${color} -${offset 24}${color1}SUPER + SHIFT + q${alignr}${offset -24}${color2}quit qtile${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + e, e${alignr}${offset -24}${color2}launch emacs${color} -${offset 24}${color1}SUPER + e, b${alignr}${offset -24}${color2}ibuffer${color} -${offset 24}${color1}SUPER + e, d${alignr}${offset -24}${color2}dired${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + p, h${alignr}${offset -24}${color2}dm-hub${color} -${offset 24}${color1}SUPER + p, b${alignr}${offset -24}${color2}dm-setbg${color} -${offset 24}${color1}SUPER + p, s${alignr}${offset -24}${color2}dm-websearch${color} -]] +${alignc}${color0}${font2}${time %H:%M}${font} +${voffset 6}${alignc}${color0}${font3}${time %b %d, %Y}${font}${color} +${voffset 18}${color1}${alignc}${font4}QTILE KEYBINDINGS${font}${color} +${color1}${hr}${color} +${color1}[S]+[RET]${alignr}${color2}open terminal${color} +${color1}[S]+b${alignr}${color2}open browser${color} +${color1}[S]+[SHIFT]+[RET]${alignr}${color2}run prompt${color} +${color1}[S]+[SHIFT]+c${alignr}${color2}close window${color} +${color1}[S]+j/k${alignr}${color2}move win focus${color} +${color1}[S]+[SHIFT]+hjkl${alignr}${color2}move window${color} +${color1}[S]+[1-9]${alignr}${color2}switch workspace${color} +${color1}[S]+[SHIFT]+[1-9]${alignr}${color2}send window${color} +${color1}[S]+[=]/[-]${alignr}${color2}shrink/expand${color} +${color1}${hr}${color} +${color1}[S]+e, e${alignr}${color2}launch emacs${color} +${color1}[S]+e, b${alignr}${color2}ibuffer${color} +${color1}[S]+e, d${alignr}${color2}dired${color} +${color1}[S]+e, s${alignr}${color2}eshell${color} +${color1}[S]+e, v${alignr}${color2}vterm${color} +${color1}${hr}${color} +${color1}[S]+p, h${alignr}${color2}dm-hub${color} +${color1}[S]+p, b${alignr}${color2}dm-setbg${color} +${color1}[S]+p, m${alignr}${color2}dm-man${color} +${color1}[S]+p, o${alignr}${color2}dm-bookman${color} +${color1}[S]+p, s${alignr}${color2}dm-websearch${color} +${color1}${hr}${color} +${color1}[S]+[SHIFT]+r${alignr}${color2}restart qtile${color} +${color1}[S]+[SHIFT]+q${alignr}${color2}quit qtile${color} +]]; diff --git a/.config/conky/qtile/02/Palenight.conf b/.config/conky/qtile/02/Palenight.conf old mode 100644 new mode 100755 index 5c286c1..4c427e0 --- a/.config/conky/qtile/02/Palenight.conf +++ b/.config/conky/qtile/02/Palenight.conf @@ -1,100 +1,119 @@ +--[[ +######################################### +## tomorrow-night-01.conkyrc (Qtile) ## +######################################### +]] + conky.config = { ---============================================================================== --- DTOS 02 CONKY --- This conky theme was originally based on the Mimosa Dark theme created by --- author "Closebox73". I have removed many of the original widgets that theme --- Mimosa theme used, and I added the DTOS keybinding information. + --Various settings + background = true, -- forked to background + cpu_avg_samples = 2, -- The number of samples to average for CPU monitoring. + diskio_avg_samples = 10, -- The number of samples to average for disk I/O monitoring. + double_buffer = true, -- Use the Xdbe extension? (eliminates flicker) + if_up_strictness = 'address', -- how strict if testing interface is up - up, link or address + net_avg_samples = 2, -- The number of samples to average for net data + no_buffers = true, -- Subtract (file system) buffers from used memory? + temperature_unit = 'fahrenheit', -- fahrenheit or celsius + text_buffer_size = 2048, -- size of buffer for display of content of large variables - default 256 + update_interval = 1, -- update interval + imlib_cache_size = 0, -- disable image cache to get a new spotify cover per song ---============================================================================== + -- Placement (Conky on MIDDLE of THREE monitors at 1920x1080) + --alignment = 'top_left', -- top_left,top_middle,top_right,bottom_left,bottom_middle,bottom_right, + --gap_x = 3540, -- pixels between right or left border + --gap_y = 70, -- pixels between bottom or left border --- Size and Position settings -- - alignment = 'top_right', - gap_x = 30, - gap_y = 30, - maximum_width = 300, - minimum_height = 705, - minimum_width = 300, - --- Text settings -- - use_xft = true, - override_utf8_locale = true, - font = 'Roboto:normal:size=9', - + -- Placement (For SINGLE monitor users!) + alignment = 'top_right', -- top_left,top_middle,top_right,bottom_left,bottom_middle,bottom_right, + gap_x = 50, -- pixels between right or left border + gap_y = 70, -- pixels between bottom or left border - border_inner_margin = 4, -- margin between border and text - border_outer_margin = 0, -- margin between border and edge of window - border_width = 0, -- border width in pixels + -- Size + minimum_height = 200, -- minimum height of window + minimum_width = 260, -- minimum width of window + maximum_width = 260, -- maximum width of window --- Color Settings -- - default_color = 'ededed', - default_outline_color = 'white', - default_shade_color = 'white', - color1 = 'd0d0d0', - color2 = 'c792ea', - color3 = '89ddff', - color4 = '4d4d4d', - color5 = 'c3e88d', - --- Window Settings -- - background = false, - border_width = 1, - draw_borders = false, - draw_graph_borders = false, - draw_outline = false, - draw_shades = false, - own_window = true, - own_window_colour = '000000', - own_window_class = 'Conky', - own_window_argb_visual = false, - own_window_type = 'override', - own_window_transparent = true, - own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager', - stippled_borders = 0, - --- Others -- - cpu_avg_samples = 2, - net_avg_samples = 2, - double_buffer = true, - out_to_console = false, - out_to_stderr = false, - extra_newline = false, - update_interval = 1, - uppercase = false, - use_spacer = 'none', - show_graph_scale = false, - show_graph_range = false, - lua_load = '~/.config/conky/qtile/02/scripts/Palenight.lua', - lua_draw_hook_pre = 'ring_stats', -} + --Graphical + border_inner_margin = 5, -- margin between border and text + border_outer_margin = 5, -- margin between border and edge of window + border_width = 0, -- border width in pixels + default_bar_width = 260, -- default is 0 - full width + default_bar_height = 10, -- default is 6 + default_gauge_height = 25, -- default is 25 + default_gauge_width =40, -- default is 40 + default_graph_height = 40, -- default is 25 + default_graph_width = 153, -- default is 0 - full width + default_shade_color = '#000000', -- default shading colour + default_outline_color = '#000000', -- default outline colour + draw_borders = false, -- draw borders around text + draw_graph_borders = true, -- draw borders around graphs + draw_shades = false, -- draw shades + draw_outline = false, -- draw outline + stippled_borders = 0, -- dashing the border + + --Textual + format_human_readable = true, -- KiB, MiB rather then number of bytes + font = 'Source Code Pro:bold:size=10', -- the default font used + font2 = 'Raleway:bold:size=30', -- font for the time + font3 = 'Ubuntu:size=14', -- font for the date + font4 = 'Raleway:bold:size=9', -- font for the keybindings heading + max_text_width = 0, -- 0 will make sure line does not get broken if width too smal + max_user_text = 16384, -- max text in conky default 16384 + override_utf8_locale = true, -- force UTF8 requires xft + short_units = true, -- shorten units from KiB to k + top_name_width = 21, -- width for $top name value default 15 + top_name_verbose = false, -- If true, top name shows the full command line of each process - Default value is false. + uppercase = false, -- uppercase or not + use_spacer = 'none', -- adds spaces around certain objects to align - default none + use_xft = true, -- xft font - anti-aliased font + xftalpha = 1, -- alpha of the xft font - between 0-1 + + --Windows + own_window = true, -- create your own window to draw + own_window_argb_value = 255, -- real transparency - composite manager required 0-255 + own_window_argb_visual = true, -- use ARGB - composite manager required + own_window_class = 'Conky', -- manually set the WM_CLASS name for use with xprop + own_window_colour = '#292d3e', -- set colour if own_window_transparent no + own_window_transparent = false, -- if own_window_argb_visual is true sets background opacity 0% + own_window_title = 'xmonad_conky', -- set the name manually + own_window_type = 'override', -- if own_window true options are: normal/override/dock/desktop/panel + own_window_hints = 'undecorated,below,above,sticky,skip_taskbar,skip_pager', -- if own_window true - just hints - own_window_type sets it + + --Colors (Palenight) + color0 = '#c792ea', + color1 = '#d0d0d0', + color2 = '#82aaff', + color3 = '#ffcb6b', +}; conky.text = [[ -${image ~/.config/conky/qtile/02/bg/Palenight.png -s 300x673 -p 0,35} -${alignc}${voffset 26}${color3}${font Raleway:bold:size=40}${time %H:%M}${font}${color} -${alignc}${voffset 5}${font Raleway:size=14}${time %A, %B %d} -${offset 34}${voffset 90}${color}${font Bebas Neue:size=18}${cpu cpu0}%${goto 104}${memperc}%${goto 180}${battery_percent BAT0}%${goto 230}${execi 2 ~/.config/conky/qtile/02/scripts/cputemp.sh} -${offset 24}${voffset -2}${color}${font Raleway:size=10}/ :${goto 170}${font Raleway:size=10}/home : -${offset 24}${color3}${font Raleway:size=9}${fs_bar 10,111}${goto 170}${color3}${font Raleway:size=9}${fs_bar 10,111 /home} -${offset 24}${color}${font Raleway:size=9}${fs_used} / ${fs_size}${goto 170}${color}${font Raleway:size=8}${fs_used /home} / ${fs_size /home}${font} -${voffset 32}${color5}${alignc}${font Raleway:bold:size=12}QTILE KEYBINDINGS${font}${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + [RET]${alignr}${offset -24}${color2}open terminal${color} -${offset 24}${color1}SUPER + b${alignr}${offset -24}${color2}open browser${color} -${offset 24}${color1}SUPER + SHIFT + [RET]${alignr}${offset -24}${color2}run prompt${color} -${offset 24}${color1}SUPER + SHIFT + c${alignr}${offset -24}${color2}close window${color} -${offset 24}${color1}SUPER + h/j/k/l${alignr}${offset -24}${color2}move win focus${color} -${offset 24}${color1}SUPER + SHIFT + h/j/k/l${alignr}${offset -24}${color2}move window${color} -${offset 24}${color1}SUPER + [1-9]${alignr}${offset -24}${color2}switch workspace${color} -${offset 24}${color1}SUPER + SHIFT + [1-9]${alignr}${offset -24}${color2}send window${color} -${offset 24}${color1}SUPER + =/-${alignr}${offset -24}${color2}shrink/expand${color} -${offset 24}${color1}SUPER + SHIFT + r${alignr}${offset -24}${color2}restart qtile${color} -${offset 24}${color1}SUPER + SHIFT + q${alignr}${offset -24}${color2}quit qtile${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + e, e${alignr}${offset -24}${color2}launch emacs${color} -${offset 24}${color1}SUPER + e, b${alignr}${offset -24}${color2}ibuffer${color} -${offset 24}${color1}SUPER + e, d${alignr}${offset -24}${color2}dired${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + p, h${alignr}${offset -24}${color2}dm-hub${color} -${offset 24}${color1}SUPER + p, b${alignr}${offset -24}${color2}dm-setbg${color} -${offset 24}${color1}SUPER + p, s${alignr}${offset -24}${color2}dm-websearch${color} -]] +${alignc}${color0}${font2}${time %H:%M}${font} +${voffset 6}${alignc}${color0}${font3}${time %b %d, %Y}${font}${color} +${voffset 18}${color1}${alignc}${font4}QTILE KEYBINDINGS${font}${color} +${color1}${hr}${color} +${color1}[S]+[RET]${alignr}${color2}open terminal${color} +${color1}[S]+b${alignr}${color2}open browser${color} +${color1}[S]+[SHIFT]+[RET]${alignr}${color2}run prompt${color} +${color1}[S]+[SHIFT]+c${alignr}${color2}close window${color} +${color1}[S]+j/k${alignr}${color2}move win focus${color} +${color1}[S]+[SHIFT]+hjkl${alignr}${color2}move window${color} +${color1}[S]+[1-9]${alignr}${color2}switch workspace${color} +${color1}[S]+[SHIFT]+[1-9]${alignr}${color2}send window${color} +${color1}[S]+[=]/[-]${alignr}${color2}shrink/expand${color} +${color1}${hr}${color} +${color1}[S]+e, e${alignr}${color2}launch emacs${color} +${color1}[S]+e, b${alignr}${color2}ibuffer${color} +${color1}[S]+e, d${alignr}${color2}dired${color} +${color1}[S]+e, s${alignr}${color2}eshell${color} +${color1}[S]+e, v${alignr}${color2}vterm${color} +${color1}${hr}${color} +${color1}[S]+p, h${alignr}${color2}dm-hub${color} +${color1}[S]+p, b${alignr}${color2}dm-setbg${color} +${color1}[S]+p, m${alignr}${color2}dm-man${color} +${color1}[S]+p, o${alignr}${color2}dm-bookman${color} +${color1}[S]+p, s${alignr}${color2}dm-websearch${color} +${color1}${hr}${color} +${color1}[S]+[SHIFT]+r${alignr}${color2}restart qtile${color} +${color1}[S]+[SHIFT]+q${alignr}${color2}quit qtile${color} +]]; diff --git a/.config/conky/qtile/02/SolarizedDark.conf b/.config/conky/qtile/02/SolarizedDark.conf old mode 100644 new mode 100755 index 6e3a401..5a18f2c --- a/.config/conky/qtile/02/SolarizedDark.conf +++ b/.config/conky/qtile/02/SolarizedDark.conf @@ -1,100 +1,119 @@ +--[[ +######################################### +## solarized-dark-01.conkyrc (Qtile) ## +######################################### +]] + conky.config = { ---============================================================================== --- DTOS 02 CONKY --- This conky theme was originally based on the Mimosa Dark theme created by --- author "Closebox73". I have removed many of the original widgets that theme --- Mimosa theme used, and I added the DTOS keybinding information. + --Various settings + background = true, -- forked to background + cpu_avg_samples = 2, -- The number of samples to average for CPU monitoring. + diskio_avg_samples = 10, -- The number of samples to average for disk I/O monitoring. + double_buffer = true, -- Use the Xdbe extension? (eliminates flicker) + if_up_strictness = 'address', -- how strict if testing interface is up - up, link or address + net_avg_samples = 2, -- The number of samples to average for net data + no_buffers = true, -- Subtract (file system) buffers from used memory? + temperature_unit = 'fahrenheit', -- fahrenheit or celsius + text_buffer_size = 2048, -- size of buffer for display of content of large variables - default 256 + update_interval = 1, -- update interval + imlib_cache_size = 0, -- disable image cache to get a new spotify cover per song ---============================================================================== + -- Placement (Conky on MIDDLE of THREE monitors at 1920x1080) + --alignment = 'top_left', -- top_left,top_middle,top_right,bottom_left,bottom_middle,bottom_right, + --gap_x = 3540, -- pixels between right or left border + --gap_y = 70, -- pixels between bottom or left border --- Size and Position settings -- - alignment = 'top_right', - gap_x = 30, - gap_y = 30, - maximum_width = 300, - minimum_height = 705, - minimum_width = 300, - --- Text settings -- - use_xft = true, - override_utf8_locale = true, - font = 'Roboto:normal:size=9', - + -- Placement (For SINGLE monitor users!) + alignment = 'top_right', -- top_left,top_middle,top_right,bottom_left,bottom_middle,bottom_right, + gap_x = 50, -- pixels between right or left border + gap_y = 70, -- pixels between bottom or left border - border_inner_margin = 4, -- margin between border and text - border_outer_margin = 0, -- margin between border and edge of window - border_width = 0, -- border width in pixels + -- Size + minimum_height = 200, -- minimum height of window + minimum_width = 260, -- minimum width of window + maximum_width = 260, -- maximum width of window --- Color Settings -- - default_color = 'ededed', - default_outline_color = 'white', - default_shade_color = 'white', - color1 = '839496', - color2 = '859900', - color3 = '268bd2', - color4 = '4d4d4d', - color5 = 'd33682', - --- Window Settings -- - background = false, - border_width = 1, - draw_borders = false, - draw_graph_borders = false, - draw_outline = false, - draw_shades = false, - own_window = true, - own_window_colour = '000000', - own_window_class = 'Conky', - own_window_argb_visual = false, - own_window_type = 'override', - own_window_transparent = true, - own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager', - stippled_borders = 0, - --- Others -- - cpu_avg_samples = 2, - net_avg_samples = 2, - double_buffer = true, - out_to_console = false, - out_to_stderr = false, - extra_newline = false, - update_interval = 1, - uppercase = false, - use_spacer = 'none', - show_graph_scale = false, - show_graph_range = false, - lua_load = '~/.config/conky/qtile/02/scripts/SolarizedDark.lua', - lua_draw_hook_pre = 'ring_stats', -} + --Graphical + border_inner_margin = 5, -- margin between border and text + border_outer_margin = 5, -- margin between border and edge of window + border_width = 0, -- border width in pixels + default_bar_width = 260, -- default is 0 - full width + default_bar_height = 10, -- default is 6 + default_gauge_height = 25, -- default is 25 + default_gauge_width =40, -- default is 40 + default_graph_height = 40, -- default is 25 + default_graph_width = 153, -- default is 0 - full width + default_shade_color = '#000000', -- default shading colour + default_outline_color = '#000000', -- default outline colour + draw_borders = false, -- draw borders around text + draw_graph_borders = true, -- draw borders around graphs + draw_shades = false, -- draw shades + draw_outline = false, -- draw outline + stippled_borders = 0, -- dashing the border + + --Textual + format_human_readable = true, -- KiB, MiB rather then number of bytes + font = 'Source Code Pro:bold:size=10', -- the default font used + font2 = 'Raleway:bold:size=30', -- font for the time + font3 = 'Ubuntu:size=14', -- font for the date + font4 = 'Raleway:bold:size=9', -- font for the keybindings heading + max_text_width = 0, -- 0 will make sure line does not get broken if width too smal + max_user_text = 16384, -- max text in conky default 16384 + override_utf8_locale = true, -- force UTF8 requires xft + short_units = true, -- shorten units from KiB to k + top_name_width = 21, -- width for $top name value default 15 + top_name_verbose = false, -- If true, top name shows the full command line of each process - Default value is false. + uppercase = false, -- uppercase or not + use_spacer = 'none', -- adds spaces around certain objects to align - default none + use_xft = true, -- xft font - anti-aliased font + xftalpha = 1, -- alpha of the xft font - between 0-1 + + --Windows + own_window = true, -- create your own window to draw + own_window_argb_value = 255, -- real transparency - composite manager required 0-255 + own_window_argb_visual = true, -- use ARGB - composite manager required + own_window_class = 'Conky', -- manually set the WM_CLASS name for use with xprop + own_window_colour = '#002b36', -- set colour if own_window_transparent no + own_window_transparent = false, -- if own_window_argb_visual is true sets background opacity 0% + own_window_title = 'xmonad_conky', -- set the name manually + own_window_type = 'override', -- if own_window true options are: normal/override/dock/desktop/panel + own_window_hints = 'undecorated,below,above,sticky,skip_taskbar,skip_pager', -- if own_window true - just hints - own_window_type sets it + + --Colors (Solarized Dark) + color0 = '#2aa198', + color1 = '#fdf6e3', + color2 = '#268bd2', + color3 = '#d33682', +}; conky.text = [[ -${image ~/.config/conky/qtile/02/bg/SolarizedDark.png -s 300x673 -p 0,35} -${alignc}${voffset 26}${color3}${font Raleway:bold:size=40}${time %H:%M}${font}${color} -${alignc}${voffset 5}${font Raleway:size=14}${time %A, %B %d} -${offset 34}${voffset 90}${color}${font Bebas Neue:size=18}${cpu cpu0}%${goto 104}${memperc}%${goto 180}${battery_percent BAT0}%${goto 230}${execi 2 ~/.config/conky/qtile/02/scripts/cputemp.sh} -${offset 24}${voffset -2}${color}${font Raleway:size=10}/ :${goto 170}${font Raleway:size=10}/home : -${offset 24}${color3}${font Raleway:size=9}${fs_bar 10,111}${goto 170}${color3}${font Raleway:size=9}${fs_bar 10,111 /home} -${offset 24}${color}${font Raleway:size=9}${fs_used} / ${fs_size}${goto 170}${color}${font Raleway:size=8}${fs_used /home} / ${fs_size /home}${font} -${voffset 32}${color5}${alignc}${font Raleway:bold:size=12}QTILE KEYBINDINGS${font}${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + [RET]${alignr}${offset -24}${color2}open terminal${color} -${offset 24}${color1}SUPER + b${alignr}${offset -24}${color2}open browser${color} -${offset 24}${color1}SUPER + SHIFT + [RET]${alignr}${offset -24}${color2}run prompt${color} -${offset 24}${color1}SUPER + SHIFT + c${alignr}${offset -24}${color2}close window${color} -${offset 24}${color1}SUPER + h/j/k/l${alignr}${offset -24}${color2}move win focus${color} -${offset 24}${color1}SUPER + SHIFT + h/j/k/l${alignr}${offset -24}${color2}move window${color} -${offset 24}${color1}SUPER + [1-9]${alignr}${offset -24}${color2}switch workspace${color} -${offset 24}${color1}SUPER + SHIFT + [1-9]${alignr}${offset -24}${color2}send window${color} -${offset 24}${color1}SUPER + =/-${alignr}${offset -24}${color2}shrink/expand${color} -${offset 24}${color1}SUPER + SHIFT + r${alignr}${offset -24}${color2}restart qtile${color} -${offset 24}${color1}SUPER + SHIFT + q${alignr}${offset -24}${color2}quit qtile${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + e, e${alignr}${offset -24}${color2}launch emacs${color} -${offset 24}${color1}SUPER + e, b${alignr}${offset -24}${color2}ibuffer${color} -${offset 24}${color1}SUPER + e, d${alignr}${offset -24}${color2}dired${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + p, h${alignr}${offset -24}${color2}dm-hub${color} -${offset 24}${color1}SUPER + p, b${alignr}${offset -24}${color2}dm-setbg${color} -${offset 24}${color1}SUPER + p, s${alignr}${offset -24}${color2}dm-websearch${color} -]] +${alignc}${color0}${font2}${time %H:%M}${font} +${voffset 6}${alignc}${color0}${font3}${time %b %d, %Y}${font}${color} +${voffset 18}${color1}${alignc}${font4}QTILE KEYBINDINGS${font}${color} +${color1}${hr}${color} +${color1}[S]+[RET]${alignr}${color2}open terminal${color} +${color1}[S]+b${alignr}${color2}open browser${color} +${color1}[S]+[SHIFT]+[RET]${alignr}${color2}run prompt${color} +${color1}[S]+[SHIFT]+c${alignr}${color2}close window${color} +${color1}[S]+j/k${alignr}${color2}move win focus${color} +${color1}[S]+[SHIFT]+hjkl${alignr}${color2}move window${color} +${color1}[S]+[1-9]${alignr}${color2}switch workspace${color} +${color1}[S]+[SHIFT]+[1-9]${alignr}${color2}send window${color} +${color1}[S]+[=]/[-]${alignr}${color2}shrink/expand${color} +${color1}${hr}${color} +${color1}[S]+e, e${alignr}${color2}launch emacs${color} +${color1}[S]+e, b${alignr}${color2}ibuffer${color} +${color1}[S]+e, d${alignr}${color2}dired${color} +${color1}[S]+e, s${alignr}${color2}eshell${color} +${color1}[S]+e, v${alignr}${color2}vterm${color} +${color1}${hr}${color} +${color1}[S]+p, h${alignr}${color2}dm-hub${color} +${color1}[S]+p, b${alignr}${color2}dm-setbg${color} +${color1}[S]+p, m${alignr}${color2}dm-man${color} +${color1}[S]+p, o${alignr}${color2}dm-bookman${color} +${color1}[S]+p, s${alignr}${color2}dm-websearch${color} +${color1}${hr}${color} +${color1}[S]+[SHIFT]+r${alignr}${color2}restart qtile${color} +${color1}[S]+[SHIFT]+q${alignr}${color2}quit qtile${color} +]]; diff --git a/.config/conky/qtile/02/SolarizedLight.conf b/.config/conky/qtile/02/SolarizedLight.conf old mode 100644 new mode 100755 index 8d580e6..81fc937 --- a/.config/conky/qtile/02/SolarizedLight.conf +++ b/.config/conky/qtile/02/SolarizedLight.conf @@ -1,100 +1,119 @@ +--[[ +########################################## +## solarized-light-01.conkyrc (Qtile) ## +########################################## +]] + conky.config = { ---============================================================================== --- DTOS 02 CONKY --- This conky theme was originally based on the Mimosa Dark theme created by --- author "Closebox73". I have removed many of the original widgets that theme --- Mimosa theme used, and I added the DTOS keybinding information. + --Various settings + background = true, -- forked to background + cpu_avg_samples = 2, -- The number of samples to average for CPU monitoring. + diskio_avg_samples = 10, -- The number of samples to average for disk I/O monitoring. + double_buffer = true, -- Use the Xdbe extension? (eliminates flicker) + if_up_strictness = 'address', -- how strict if testing interface is up - up, link or address + net_avg_samples = 2, -- The number of samples to average for net data + no_buffers = true, -- Subtract (file system) buffers from used memory? + temperature_unit = 'fahrenheit', -- fahrenheit or celsius + text_buffer_size = 2048, -- size of buffer for display of content of large variables - default 256 + update_interval = 1, -- update interval + imlib_cache_size = 0, -- disable image cache to get a new spotify cover per song ---============================================================================== + -- Placement (Conky on MIDDLE of THREE monitors at 1920x1080) + --alignment = 'top_left', -- top_left,top_middle,top_right,bottom_left,bottom_middle,bottom_right, + --gap_x = 3540, -- pixels between right or left border + --gap_y = 70, -- pixels between bottom or left border --- Size and Position settings -- - alignment = 'top_right', - gap_x = 30, - gap_y = 30, - maximum_width = 300, - minimum_height = 705, - minimum_width = 300, - --- Text settings -- - use_xft = true, - override_utf8_locale = true, - font = 'Roboto:normal:size=9', - + -- Placement (For SINGLE monitor users!) + alignment = 'top_right', -- top_left,top_middle,top_right,bottom_left,bottom_middle,bottom_right, + gap_x = 50, -- pixels between right or left border + gap_y = 70, -- pixels between bottom or left border - border_inner_margin = 4, -- margin between border and text - border_outer_margin = 0, -- margin between border and edge of window - border_width = 0, -- border width in pixels + -- Size + minimum_height = 200, -- minimum height of window + minimum_width = 260, -- minimum width of window + maximum_width = 260, -- maximum width of window --- Color Settings -- - default_color = '073642', - default_outline_color = 'white', - default_shade_color = 'white', - color1 = '073642', - color2 = '859900', - color3 = '268bd2', - color4 = '4d4d4d', - color5 = 'd33682', - --- Window Settings -- - background = false, - border_width = 1, - draw_borders = false, - draw_graph_borders = false, - draw_outline = false, - draw_shades = false, - own_window = true, - own_window_colour = '000000', - own_window_class = 'Conky', - own_window_argb_visual = false, - own_window_type = 'override', - own_window_transparent = true, - own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager', - stippled_borders = 0, - --- Others -- - cpu_avg_samples = 2, - net_avg_samples = 2, - double_buffer = true, - out_to_console = false, - out_to_stderr = false, - extra_newline = false, - update_interval = 1, - uppercase = false, - use_spacer = 'none', - show_graph_scale = false, - show_graph_range = false, - lua_load = '~/.config/conky/qtile/02/scripts/SolarizedLight.lua', - lua_draw_hook_pre = 'ring_stats', -} + --Graphical + border_inner_margin = 5, -- margin between border and text + border_outer_margin = 5, -- margin between border and edge of window + border_width = 0, -- border width in pixels + default_bar_width = 260, -- default is 0 - full width + default_bar_height = 10, -- default is 6 + default_gauge_height = 25, -- default is 25 + default_gauge_width =40, -- default is 40 + default_graph_height = 40, -- default is 25 + default_graph_width = 153, -- default is 0 - full width + default_shade_color = '#000000', -- default shading colour + default_outline_color = '#000000', -- default outline colour + draw_borders = false, -- draw borders around text + draw_graph_borders = true, -- draw borders around graphs + draw_shades = false, -- draw shades + draw_outline = false, -- draw outline + stippled_borders = 0, -- dashing the border + + --Textual + format_human_readable = true, -- KiB, MiB rather then number of bytes + font = 'Source Code Pro:bold:size=10', -- the default font used + font2 = 'Raleway:bold:size=30', -- font for the time + font3 = 'Ubuntu:size=14', -- font for the date + font4 = 'Raleway:bold:size=9', -- font for the keybindings heading + max_text_width = 0, -- 0 will make sure line does not get broken if width too smal + max_user_text = 16384, -- max text in conky default 16384 + override_utf8_locale = true, -- force UTF8 requires xft + short_units = true, -- shorten units from KiB to k + top_name_width = 21, -- width for $top name value default 15 + top_name_verbose = false, -- If true, top name shows the full command line of each process - Default value is false. + uppercase = false, -- uppercase or not + use_spacer = 'none', -- adds spaces around certain objects to align - default none + use_xft = true, -- xft font - anti-aliased font + xftalpha = 1, -- alpha of the xft font - between 0-1 + + --Windows + own_window = true, -- create your own window to draw + own_window_argb_value = 255, -- real transparency - composite manager required 0-255 + own_window_argb_visual = true, -- use ARGB - composite manager required + own_window_class = 'Conky', -- manually set the WM_CLASS name for use with xprop + own_window_colour = '#fdf6e3', -- set colour if own_window_transparent no + own_window_transparent = false, -- if own_window_argb_visual is true sets background opacity 0% + own_window_title = 'xmonad_conky', -- set the name manually + own_window_type = 'override', -- if own_window true options are: normal/override/dock/desktop/panel + own_window_hints = 'undecorated,below,above,sticky,skip_taskbar,skip_pager', -- if own_window true - just hints - own_window_type sets it + + --Colors (Solarized Light) + color0 = '#2aa198', + color1 = '#657b83', + color2 = '#268bd2', + color3 = '#d33682', +}; conky.text = [[ -${image ~/.config/conky/qtile/02/bg/SolarizedLight.png -s 300x673 -p 0,35} -${alignc}${voffset 26}${color3}${font Raleway:bold:size=40}${time %H:%M}${font}${color} -${alignc}${voffset 5}${font Raleway:size=14}${time %A, %B %d} -${offset 34}${voffset 90}${color}${font Bebas Neue:size=18}${cpu cpu0}%${goto 104}${memperc}%${goto 180}${battery_percent BAT0}%${goto 230}${execi 2 ~/.config/conky/qtile/02/scripts/cputemp.sh} -${offset 24}${voffset -2}${color}${font Raleway:size=10}/ :${goto 170}${font Raleway:size=10}/home : -${offset 24}${color3}${font Raleway:size=9}${fs_bar 10,111}${goto 170}${color3}${font Raleway:size=9}${fs_bar 10,111 /home} -${offset 24}${color}${font Raleway:size=9}${fs_used} / ${fs_size}${goto 170}${color}${font Raleway:size=8}${fs_used /home} / ${fs_size /home}${font} -${voffset 32}${color5}${alignc}${font Raleway:bold:size=12}QTILE KEYBINDINGS${font}${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + [RET]${alignr}${offset -24}${color2}open terminal${color} -${offset 24}${color1}SUPER + b${alignr}${offset -24}${color2}open browser${color} -${offset 24}${color1}SUPER + SHIFT + [RET]${alignr}${offset -24}${color2}run prompt${color} -${offset 24}${color1}SUPER + SHIFT + c${alignr}${offset -24}${color2}close window${color} -${offset 24}${color1}SUPER + h/j/k/l${alignr}${offset -24}${color2}move win focus${color} -${offset 24}${color1}SUPER + SHIFT + h/j/k/l${alignr}${offset -24}${color2}move window${color} -${offset 24}${color1}SUPER + [1-9]${alignr}${offset -24}${color2}switch workspace${color} -${offset 24}${color1}SUPER + SHIFT + [1-9]${alignr}${offset -24}${color2}send window${color} -${offset 24}${color1}SUPER + =/-${alignr}${offset -24}${color2}shrink/expand${color} -${offset 24}${color1}SUPER + SHIFT + r${alignr}${offset -24}${color2}restart qtile${color} -${offset 24}${color1}SUPER + SHIFT + q${alignr}${offset -24}${color2}quit qtile${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + e, e${alignr}${offset -24}${color2}launch emacs${color} -${offset 24}${color1}SUPER + e, b${alignr}${offset -24}${color2}ibuffer${color} -${offset 24}${color1}SUPER + e, d${alignr}${offset -24}${color2}dired${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + p, h${alignr}${offset -24}${color2}dm-hub${color} -${offset 24}${color1}SUPER + p, b${alignr}${offset -24}${color2}dm-setbg${color} -${offset 24}${color1}SUPER + p, s${alignr}${offset -24}${color2}dm-websearch${color} -]] +${alignc}${color0}${font2}${time %H:%M}${font} +${voffset 6}${alignc}${color0}${font3}${time %b %d, %Y}${font}${color} +${voffset 18}${color1}${alignc}${font4}QTILE KEYBINDINGS${font}${color} +${color1}${hr}${color} +${color1}[S]+[RET]${alignr}${color2}open terminal${color} +${color1}[S]+b${alignr}${color2}open browser${color} +${color1}[S]+[SHIFT]+[RET]${alignr}${color2}run prompt${color} +${color1}[S]+[SHIFT]+c${alignr}${color2}close window${color} +${color1}[S]+j/k${alignr}${color2}move win focus${color} +${color1}[S]+[SHIFT]+hjkl${alignr}${color2}move window${color} +${color1}[S]+[1-9]${alignr}${color2}switch workspace${color} +${color1}[S]+[SHIFT]+[1-9]${alignr}${color2}send window${color} +${color1}[S]+[=]/[-]${alignr}${color2}shrink/expand${color} +${color1}${hr}${color} +${color1}[S]+e, e${alignr}${color2}launch emacs${color} +${color1}[S]+e, b${alignr}${color2}ibuffer${color} +${color1}[S]+e, d${alignr}${color2}dired${color} +${color1}[S]+e, s${alignr}${color2}eshell${color} +${color1}[S]+e, v${alignr}${color2}vterm${color} +${color1}${hr}${color} +${color1}[S]+p, h${alignr}${color2}dm-hub${color} +${color1}[S]+p, b${alignr}${color2}dm-setbg${color} +${color1}[S]+p, m${alignr}${color2}dm-man${color} +${color1}[S]+p, o${alignr}${color2}dm-bookman${color} +${color1}[S]+p, s${alignr}${color2}dm-websearch${color} +${color1}${hr}${color} +${color1}[S]+[SHIFT]+r${alignr}${color2}restart qtile${color} +${color1}[S]+[SHIFT]+q${alignr}${color2}quit qtile${color} +]]; diff --git a/.config/conky/qtile/02/TomorrowNight.conf b/.config/conky/qtile/02/TomorrowNight.conf old mode 100644 new mode 100755 index 6247cae..5ad1221 --- a/.config/conky/qtile/02/TomorrowNight.conf +++ b/.config/conky/qtile/02/TomorrowNight.conf @@ -1,100 +1,119 @@ +--[[ +######################################### +## tomorrow-night-01.conkyrc (Qtile) ## +######################################### +]] + conky.config = { ---============================================================================== --- DTOS 02 CONKY --- This conky theme was originally based on the Mimosa Dark theme created by --- author "Closebox73". I have removed many of the original widgets that theme --- Mimosa theme used, and I added the DTOS keybinding information. + --Various settings + background = true, -- forked to background + cpu_avg_samples = 2, -- The number of samples to average for CPU monitoring. + diskio_avg_samples = 10, -- The number of samples to average for disk I/O monitoring. + double_buffer = true, -- Use the Xdbe extension? (eliminates flicker) + if_up_strictness = 'address', -- how strict if testing interface is up - up, link or address + net_avg_samples = 2, -- The number of samples to average for net data + no_buffers = true, -- Subtract (file system) buffers from used memory? + temperature_unit = 'fahrenheit', -- fahrenheit or celsius + text_buffer_size = 2048, -- size of buffer for display of content of large variables - default 256 + update_interval = 1, -- update interval + imlib_cache_size = 0, -- disable image cache to get a new spotify cover per song ---============================================================================== + -- Placement (Conky on MIDDLE of THREE monitors at 1920x1080) + --alignment = 'top_left', -- top_left,top_middle,top_right,bottom_left,bottom_middle,bottom_right, + --gap_x = 3540, -- pixels between right or left border + --gap_y = 70, -- pixels between bottom or left border --- Size and Position settings -- - alignment = 'top_right', - gap_x = 30, - gap_y = 30, - maximum_width = 300, - minimum_height = 705, - minimum_width = 300, - --- Text settings -- - use_xft = true, - override_utf8_locale = true, - font = 'Roboto:normal:size=9', - + -- Placement (For SINGLE monitor users!) + alignment = 'top_right', -- top_left,top_middle,top_right,bottom_left,bottom_middle,bottom_right, + gap_x = 50, -- pixels between right or left border + gap_y = 70, -- pixels between bottom or left border - border_inner_margin = 4, -- margin between border and text - border_outer_margin = 0, -- margin between border and edge of window - border_width = 0, -- border width in pixels + -- Size + minimum_height = 200, -- minimum height of window + minimum_width = 260, -- minimum width of window + maximum_width = 260, -- maximum width of window --- Color Settings -- - default_color = 'ededed', - default_outline_color = 'white', - default_shade_color = 'white', - color1 = 'c5c8c6', - color2 = 'b294bb', - color3 = '70c0ba', - color4 = '4d4d4d', - color5 = 'b5bd68', - --- Window Settings -- - background = false, - border_width = 1, - draw_borders = false, - draw_graph_borders = false, - draw_outline = false, - draw_shades = false, - own_window = true, - own_window_colour = '000000', - own_window_class = 'Conky', - own_window_argb_visual = false, - own_window_type = 'override', - own_window_transparent = true, - own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager', - stippled_borders = 0, - --- Others -- - cpu_avg_samples = 2, - net_avg_samples = 2, - double_buffer = true, - out_to_console = false, - out_to_stderr = false, - extra_newline = false, - update_interval = 1, - uppercase = false, - use_spacer = 'none', - show_graph_scale = false, - show_graph_range = false, - lua_load = '~/.config/conky/qtile/02/scripts/TomorrowNight.lua', - lua_draw_hook_pre = 'ring_stats', -} + --Graphical + border_inner_margin = 5, -- margin between border and text + border_outer_margin = 5, -- margin between border and edge of window + border_width = 0, -- border width in pixels + default_bar_width = 260, -- default is 0 - full width + default_bar_height = 10, -- default is 6 + default_gauge_height = 25, -- default is 25 + default_gauge_width =40, -- default is 40 + default_graph_height = 40, -- default is 25 + default_graph_width = 153, -- default is 0 - full width + default_shade_color = '#000000', -- default shading colour + default_outline_color = '#000000', -- default outline colour + draw_borders = false, -- draw borders around text + draw_graph_borders = true, -- draw borders around graphs + draw_shades = false, -- draw shades + draw_outline = false, -- draw outline + stippled_borders = 0, -- dashing the border + + --Textual + format_human_readable = true, -- KiB, MiB rather then number of bytes + font = 'Source Code Pro:bold:size=10', -- the default font used + font2 = 'Raleway:bold:size=30', -- font for the time + font3 = 'Ubuntu:size=14', -- font for the date + font4 = 'Raleway:bold:size=9', -- font for the keybindings heading + max_text_width = 0, -- 0 will make sure line does not get broken if width too smal + max_user_text = 16384, -- max text in conky default 16384 + override_utf8_locale = true, -- force UTF8 requires xft + short_units = true, -- shorten units from KiB to k + top_name_width = 21, -- width for $top name value default 15 + top_name_verbose = false, -- If true, top name shows the full command line of each process - Default value is false. + uppercase = false, -- uppercase or not + use_spacer = 'none', -- adds spaces around certain objects to align - default none + use_xft = true, -- xft font - anti-aliased font + xftalpha = 1, -- alpha of the xft font - between 0-1 + + --Windows + own_window = true, -- create your own window to draw + own_window_argb_value = 255, -- real transparency - composite manager required 0-255 + own_window_argb_visual = true, -- use ARGB - composite manager required + own_window_class = 'Conky', -- manually set the WM_CLASS name for use with xprop + own_window_colour = '#1d1f21', -- set colour if own_window_transparent no + own_window_transparent = false, -- if own_window_argb_visual is true sets background opacity 0% + own_window_title = 'xmonad_conky', -- set the name manually + own_window_type = 'override', -- if own_window true options are: normal/override/dock/desktop/panel + own_window_hints = 'undecorated,below,above,sticky,skip_taskbar,skip_pager', -- if own_window true - just hints - own_window_type sets it + + --Colors (Tomorrow Night) + color0 = '#b294bb', + color1 = '#c5c8c6', + color2 = '#81a2be', + color3 = '#b5bd68', +}; conky.text = [[ -${image ~/.config/conky/qtile/02/bg/TomorrowNight.png -s 300x673 -p 0,35} -${alignc}${voffset 26}${color3}${font Raleway:bold:size=40}${time %H:%M}${font}${color} -${alignc}${voffset 5}${font Raleway:size=14}${time %A, %B %d} -${offset 34}${voffset 90}${color}${font Bebas Neue:size=18}${cpu cpu0}%${goto 104}${memperc}%${goto 180}${battery_percent BAT0}%${goto 230}${execi 2 ~/.config/conky/qtile/02/scripts/cputemp.sh} -${offset 24}${voffset -2}${color}${font Raleway:size=10}/ :${goto 170}${font Raleway:size=10}/home : -${offset 24}${color3}${font Raleway:size=9}${fs_bar 10,111}${goto 170}${color3}${font Raleway:size=9}${fs_bar 10,111 /home} -${offset 24}${color}${font Raleway:size=9}${fs_used} / ${fs_size}${goto 170}${color}${font Raleway:size=8}${fs_used /home} / ${fs_size /home}${font} -${voffset 32}${color5}${alignc}${font Raleway:bold:size=12}QTILE KEYBINDINGS${font}${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + [RET]${alignr}${offset -24}${color2}open terminal${color} -${offset 24}${color1}SUPER + b${alignr}${offset -24}${color2}open browser${color} -${offset 24}${color1}SUPER + SHIFT + [RET]${alignr}${offset -24}${color2}run prompt${color} -${offset 24}${color1}SUPER + SHIFT + c${alignr}${offset -24}${color2}close window${color} -${offset 24}${color1}SUPER + h/j/k/l${alignr}${offset -24}${color2}move win focus${color} -${offset 24}${color1}SUPER + SHIFT + h/j/k/l${alignr}${offset -24}${color2}move window${color} -${offset 24}${color1}SUPER + [1-9]${alignr}${offset -24}${color2}switch workspace${color} -${offset 24}${color1}SUPER + SHIFT + [1-9]${alignr}${offset -24}${color2}send window${color} -${offset 24}${color1}SUPER + =/-${alignr}${offset -24}${color2}shrink/expand${color} -${offset 24}${color1}SUPER + SHIFT + r${alignr}${offset -24}${color2}restart qtile${color} -${offset 24}${color1}SUPER + SHIFT + q${alignr}${offset -24}${color2}quit qtile${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + e, e${alignr}${offset -24}${color2}launch emacs${color} -${offset 24}${color1}SUPER + e, b${alignr}${offset -24}${color2}ibuffer${color} -${offset 24}${color1}SUPER + e, d${alignr}${offset -24}${color2}dired${color} -${alignc}${color4}----------------------------------------------------------------------------${color} -${offset 24}${color1}SUPER + p, h${alignr}${offset -24}${color2}dm-hub${color} -${offset 24}${color1}SUPER + p, b${alignr}${offset -24}${color2}dm-setbg${color} -${offset 24}${color1}SUPER + p, s${alignr}${offset -24}${color2}dm-websearch${color} -]] +${alignc}${color0}${font2}${time %H:%M}${font} +${voffset 6}${alignc}${color0}${font3}${time %b %d, %Y}${font}${color} +${voffset 18}${color1}${alignc}${font4}QTILE KEYBINDINGS${font}${color} +${color1}${hr}${color} +${color1}[S]+[RET]${alignr}${color2}open terminal${color} +${color1}[S]+b${alignr}${color2}open browser${color} +${color1}[S]+[SHIFT]+[RET]${alignr}${color2}run prompt${color} +${color1}[S]+[SHIFT]+c${alignr}${color2}close window${color} +${color1}[S]+j/k${alignr}${color2}move win focus${color} +${color1}[S]+[SHIFT]+hjkl${alignr}${color2}move window${color} +${color1}[S]+[1-9]${alignr}${color2}switch workspace${color} +${color1}[S]+[SHIFT]+[1-9]${alignr}${color2}send window${color} +${color1}[S]+[=]/[-]${alignr}${color2}shrink/expand${color} +${color1}${hr}${color} +${color1}[S]+e, e${alignr}${color2}launch emacs${color} +${color1}[S]+e, b${alignr}${color2}ibuffer${color} +${color1}[S]+e, d${alignr}${color2}dired${color} +${color1}[S]+e, s${alignr}${color2}eshell${color} +${color1}[S]+e, v${alignr}${color2}vterm${color} +${color1}${hr}${color} +${color1}[S]+p, h${alignr}${color2}dm-hub${color} +${color1}[S]+p, b${alignr}${color2}dm-setbg${color} +${color1}[S]+p, m${alignr}${color2}dm-man${color} +${color1}[S]+p, o${alignr}${color2}dm-bookman${color} +${color1}[S]+p, s${alignr}${color2}dm-websearch${color} +${color1}${hr}${color} +${color1}[S]+[SHIFT]+r${alignr}${color2}restart qtile${color} +${color1}[S]+[SHIFT]+q${alignr}${color2}quit qtile${color} +]]; diff --git a/.config/conky/qtile/02/bg/DoomOne.png b/.config/conky/qtile/02/bg/DoomOne.png deleted file mode 100644 index 81a2563..0000000 Binary files a/.config/conky/qtile/02/bg/DoomOne.png and /dev/null differ diff --git a/.config/conky/qtile/02/bg/Dracula.png b/.config/conky/qtile/02/bg/Dracula.png deleted file mode 100644 index 4a51f32..0000000 Binary files a/.config/conky/qtile/02/bg/Dracula.png and /dev/null differ diff --git a/.config/conky/qtile/02/bg/GruvboxDark.png b/.config/conky/qtile/02/bg/GruvboxDark.png deleted file mode 100644 index 7197b92..0000000 Binary files a/.config/conky/qtile/02/bg/GruvboxDark.png and /dev/null differ diff --git a/.config/conky/qtile/02/bg/MonokaiPro.png b/.config/conky/qtile/02/bg/MonokaiPro.png deleted file mode 100644 index 02ba856..0000000 Binary files a/.config/conky/qtile/02/bg/MonokaiPro.png and /dev/null differ diff --git a/.config/conky/qtile/02/bg/Nord.png b/.config/conky/qtile/02/bg/Nord.png deleted file mode 100644 index ed2cdd9..0000000 Binary files a/.config/conky/qtile/02/bg/Nord.png and /dev/null differ diff --git a/.config/conky/qtile/02/bg/OceanicNext.png b/.config/conky/qtile/02/bg/OceanicNext.png deleted file mode 100644 index ae70250..0000000 Binary files a/.config/conky/qtile/02/bg/OceanicNext.png and /dev/null differ diff --git a/.config/conky/qtile/02/bg/Palenight.png b/.config/conky/qtile/02/bg/Palenight.png deleted file mode 100644 index 9a8f794..0000000 Binary files a/.config/conky/qtile/02/bg/Palenight.png and /dev/null differ diff --git a/.config/conky/qtile/02/bg/SolarizedDark.png b/.config/conky/qtile/02/bg/SolarizedDark.png deleted file mode 100644 index 42012c5..0000000 Binary files a/.config/conky/qtile/02/bg/SolarizedDark.png and /dev/null differ diff --git a/.config/conky/qtile/02/bg/SolarizedLight.png b/.config/conky/qtile/02/bg/SolarizedLight.png deleted file mode 100644 index 992646b..0000000 Binary files a/.config/conky/qtile/02/bg/SolarizedLight.png and /dev/null differ diff --git a/.config/conky/qtile/02/bg/TomorrowNight.png b/.config/conky/qtile/02/bg/TomorrowNight.png deleted file mode 100644 index 16c9f8f..0000000 Binary files a/.config/conky/qtile/02/bg/TomorrowNight.png and /dev/null differ diff --git a/.config/conky/qtile/02/bg/bg.png b/.config/conky/qtile/02/bg/bg.png deleted file mode 100644 index edd5724..0000000 Binary files a/.config/conky/qtile/02/bg/bg.png and /dev/null differ diff --git a/.config/conky/qtile/02/fonts/Abel.zip b/.config/conky/qtile/02/fonts/Abel.zip deleted file mode 100644 index 630099a..0000000 Binary files a/.config/conky/qtile/02/fonts/Abel.zip and /dev/null differ diff --git a/.config/conky/qtile/02/fonts/BebasNeue-Regular.ttf b/.config/conky/qtile/02/fonts/BebasNeue-Regular.ttf deleted file mode 100644 index 76e22b8..0000000 Binary files a/.config/conky/qtile/02/fonts/BebasNeue-Regular.ttf and /dev/null differ diff --git a/.config/conky/qtile/02/fonts/Material.ttf b/.config/conky/qtile/02/fonts/Material.ttf deleted file mode 100755 index be66835..0000000 Binary files a/.config/conky/qtile/02/fonts/Material.ttf and /dev/null differ diff --git a/.config/conky/qtile/02/fonts/feather.ttf b/.config/conky/qtile/02/fonts/feather.ttf deleted file mode 100644 index 88bdfd0..0000000 Binary files a/.config/conky/qtile/02/fonts/feather.ttf and /dev/null differ diff --git a/.config/conky/qtile/02/scripts/DoomOne.lua b/.config/conky/qtile/02/scripts/DoomOne.lua deleted file mode 100644 index b8b8d96..0000000 --- a/.config/conky/qtile/02/scripts/DoomOne.lua +++ /dev/null @@ -1,141 +0,0 @@ ---[[ -Ring Meters by londonali1010 (2009) - -This script draws percentage meters as rings. It is fully customisable; all options are described in the script. - -IMPORTANT: if you are using the 'cpu' function, it will cause a segmentation fault if it tries to draw a ring straight away. The if statement near the end of the script uses a delay to make sure that this doesn't happen. It calculates the length of the delay by the number of updates since Conky started. Generally, a value of 5s is long enough, so if you update Conky every 1s, use update_num > 5 in that if statement (the default). If you only update Conky every 2s, you should change it to update_num > 3; conversely if you update Conky every 0.5s, you should use update_num > 10. ALSO, if you change your Conky, is it best to use "killall conky; conky" to update it, otherwise the update_num will not be reset and you will get an error. - -To call this script in Conky, use the following (assuming that you save this script to ~/scripts/rings.lua): - lua_load ~/scripts/rings-v1.2.1.lua - lua_draw_hook_pre ring_stats - -Changelog: -+ v1.2.1 -- Fixed minor bug that caused script to crash if conky_parse() returns a nil value (20.10.2009) -+ v1.2 -- Added option for the ending angle of the rings (07.10.2009) -+ v1.1 -- Added options for the starting angle of the rings, and added the "max" variable, to allow for variables that output a numerical value rather than a percentage (29.09.2009) -+ v1.0 -- Original release (28.09.2009) -]] - -settings_table = { - - { - name='cpu', - arg='cpu0', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0xc678dd, - fg_alpha=1, - x=49.5, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360, - }, - { - name='memperc', - arg='', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0x98be65, - fg_alpha=1, - x=119.5, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360 - }, - { - name='battery_percent', - arg='BAT0', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0xda8548, - fg_alpha=1, - x=190, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360 - }, - { - name='hwmon temp 1', - arg='', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0xff6c6b, - fg_alpha=1, - x=259.5, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360, - }, - - -} - -require 'cairo' - -function rgb_to_r_g_b(colour,alpha) - return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha -end - -function draw_ring(cr,t,pt) - local w,h=conky_window.width,conky_window.height - - local xc,yc,ring_r,ring_w,sa,ea=pt['x'],pt['y'],pt['radius'],pt['thickness'],pt['start_angle'],pt['end_angle'] - local bgc, bga, fgc, fga=pt['bg_colour'], pt['bg_alpha'], pt['fg_colour'], pt['fg_alpha'] - - local angle_0=sa*(2*math.pi/360)-math.pi/2 - local angle_f=ea*(2*math.pi/360)-math.pi/2 - local t_arc=t*(angle_f-angle_0) - - -- Draw background ring - - cairo_arc(cr,xc,yc,ring_r,angle_0,angle_f) - cairo_set_source_rgba(cr,rgb_to_r_g_b(bgc,bga)) - cairo_set_line_width(cr,ring_w) - cairo_stroke(cr) - - -- Draw indicator ring - - cairo_arc(cr,xc,yc,ring_r,angle_0,angle_0+t_arc) - cairo_set_source_rgba(cr,rgb_to_r_g_b(fgc,fga)) - cairo_stroke(cr) -end - -function conky_ring_stats() - local function setup_rings(cr,pt) - local str='' - local value=0 - - str=string.format('${%s %s}',pt['name'],pt['arg']) - str=conky_parse(str) - - value=tonumber(str) - if value == nil then value = 0 end - pct=value/pt['max'] - - draw_ring(cr,pct,pt) - end - - if conky_window==nil then return end - local cs=cairo_xlib_surface_create(conky_window.display,conky_window.drawable,conky_window.visual, conky_window.width,conky_window.height) - - local cr=cairo_create(cs) - - local updates=conky_parse('${updates}') - update_num=tonumber(updates) - - if update_num>5 then - for i in pairs(settings_table) do - setup_rings(cr,settings_table[i]) - end - end - cairo_surface_destroy(cs) - cairo_destroy(cr) -end diff --git a/.config/conky/qtile/02/scripts/Dracula.lua b/.config/conky/qtile/02/scripts/Dracula.lua deleted file mode 100644 index e36bbd3..0000000 --- a/.config/conky/qtile/02/scripts/Dracula.lua +++ /dev/null @@ -1,141 +0,0 @@ ---[[ -Ring Meters by londonali1010 (2009) - -This script draws percentage meters as rings. It is fully customisable; all options are described in the script. - -IMPORTANT: if you are using the 'cpu' function, it will cause a segmentation fault if it tries to draw a ring straight away. The if statement near the end of the script uses a delay to make sure that this doesn't happen. It calculates the length of the delay by the number of updates since Conky started. Generally, a value of 5s is long enough, so if you update Conky every 1s, use update_num > 5 in that if statement (the default). If you only update Conky every 2s, you should change it to update_num > 3; conversely if you update Conky every 0.5s, you should use update_num > 10. ALSO, if you change your Conky, is it best to use "killall conky; conky" to update it, otherwise the update_num will not be reset and you will get an error. - -To call this script in Conky, use the following (assuming that you save this script to ~/scripts/rings.lua): - lua_load ~/scripts/rings-v1.2.1.lua - lua_draw_hook_pre ring_stats - -Changelog: -+ v1.2.1 -- Fixed minor bug that caused script to crash if conky_parse() returns a nil value (20.10.2009) -+ v1.2 -- Added option for the ending angle of the rings (07.10.2009) -+ v1.1 -- Added options for the starting angle of the rings, and added the "max" variable, to allow for variables that output a numerical value rather than a percentage (29.09.2009) -+ v1.0 -- Original release (28.09.2009) -]] - -settings_table = { - - { - name='cpu', - arg='cpu0', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0xbd93f9, - fg_alpha=1, - x=49.5, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360, - }, - { - name='memperc', - arg='', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0x50fa7b, - fg_alpha=1, - x=119.5, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360 - }, - { - name='battery_percent', - arg='BAT0', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0xf1fa8c, - fg_alpha=1, - x=190, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360 - }, - { - name='hwmon temp 1', - arg='', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0xff79c6, - fg_alpha=1, - x=259.5, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360, - }, - - -} - -require 'cairo' - -function rgb_to_r_g_b(colour,alpha) - return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha -end - -function draw_ring(cr,t,pt) - local w,h=conky_window.width,conky_window.height - - local xc,yc,ring_r,ring_w,sa,ea=pt['x'],pt['y'],pt['radius'],pt['thickness'],pt['start_angle'],pt['end_angle'] - local bgc, bga, fgc, fga=pt['bg_colour'], pt['bg_alpha'], pt['fg_colour'], pt['fg_alpha'] - - local angle_0=sa*(2*math.pi/360)-math.pi/2 - local angle_f=ea*(2*math.pi/360)-math.pi/2 - local t_arc=t*(angle_f-angle_0) - - -- Draw background ring - - cairo_arc(cr,xc,yc,ring_r,angle_0,angle_f) - cairo_set_source_rgba(cr,rgb_to_r_g_b(bgc,bga)) - cairo_set_line_width(cr,ring_w) - cairo_stroke(cr) - - -- Draw indicator ring - - cairo_arc(cr,xc,yc,ring_r,angle_0,angle_0+t_arc) - cairo_set_source_rgba(cr,rgb_to_r_g_b(fgc,fga)) - cairo_stroke(cr) -end - -function conky_ring_stats() - local function setup_rings(cr,pt) - local str='' - local value=0 - - str=string.format('${%s %s}',pt['name'],pt['arg']) - str=conky_parse(str) - - value=tonumber(str) - if value == nil then value = 0 end - pct=value/pt['max'] - - draw_ring(cr,pct,pt) - end - - if conky_window==nil then return end - local cs=cairo_xlib_surface_create(conky_window.display,conky_window.drawable,conky_window.visual, conky_window.width,conky_window.height) - - local cr=cairo_create(cs) - - local updates=conky_parse('${updates}') - update_num=tonumber(updates) - - if update_num>5 then - for i in pairs(settings_table) do - setup_rings(cr,settings_table[i]) - end - end - cairo_surface_destroy(cs) - cairo_destroy(cr) -end diff --git a/.config/conky/qtile/02/scripts/GruvboxDark.lua b/.config/conky/qtile/02/scripts/GruvboxDark.lua deleted file mode 100644 index d04b7e2..0000000 --- a/.config/conky/qtile/02/scripts/GruvboxDark.lua +++ /dev/null @@ -1,141 +0,0 @@ ---[[ -Ring Meters by londonali1010 (2009) - -This script draws percentage meters as rings. It is fully customisable; all options are described in the script. - -IMPORTANT: if you are using the 'cpu' function, it will cause a segmentation fault if it tries to draw a ring straight away. The if statement near the end of the script uses a delay to make sure that this doesn't happen. It calculates the length of the delay by the number of updates since Conky started. Generally, a value of 5s is long enough, so if you update Conky every 1s, use update_num > 5 in that if statement (the default). If you only update Conky every 2s, you should change it to update_num > 3; conversely if you update Conky every 0.5s, you should use update_num > 10. ALSO, if you change your Conky, is it best to use "killall conky; conky" to update it, otherwise the update_num will not be reset and you will get an error. - -To call this script in Conky, use the following (assuming that you save this script to ~/scripts/rings.lua): - lua_load ~/scripts/rings-v1.2.1.lua - lua_draw_hook_pre ring_stats - -Changelog: -+ v1.2.1 -- Fixed minor bug that caused script to crash if conky_parse() returns a nil value (20.10.2009) -+ v1.2 -- Added option for the ending angle of the rings (07.10.2009) -+ v1.1 -- Added options for the starting angle of the rings, and added the "max" variable, to allow for variables that output a numerical value rather than a percentage (29.09.2009) -+ v1.0 -- Original release (28.09.2009) -]] - -settings_table = { - - { - name='cpu', - arg='cpu0', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0x83a598, - fg_alpha=1, - x=49.5, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360, - }, - { - name='memperc', - arg='', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0x98971a, - fg_alpha=1, - x=119.5, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360 - }, - { - name='battery_percent', - arg='BAT0', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0xd79921, - fg_alpha=1, - x=190, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360 - }, - { - name='hwmon temp 1', - arg='', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0xfb4934, - fg_alpha=1, - x=259.5, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360, - }, - - -} - -require 'cairo' - -function rgb_to_r_g_b(colour,alpha) - return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha -end - -function draw_ring(cr,t,pt) - local w,h=conky_window.width,conky_window.height - - local xc,yc,ring_r,ring_w,sa,ea=pt['x'],pt['y'],pt['radius'],pt['thickness'],pt['start_angle'],pt['end_angle'] - local bgc, bga, fgc, fga=pt['bg_colour'], pt['bg_alpha'], pt['fg_colour'], pt['fg_alpha'] - - local angle_0=sa*(2*math.pi/360)-math.pi/2 - local angle_f=ea*(2*math.pi/360)-math.pi/2 - local t_arc=t*(angle_f-angle_0) - - -- Draw background ring - - cairo_arc(cr,xc,yc,ring_r,angle_0,angle_f) - cairo_set_source_rgba(cr,rgb_to_r_g_b(bgc,bga)) - cairo_set_line_width(cr,ring_w) - cairo_stroke(cr) - - -- Draw indicator ring - - cairo_arc(cr,xc,yc,ring_r,angle_0,angle_0+t_arc) - cairo_set_source_rgba(cr,rgb_to_r_g_b(fgc,fga)) - cairo_stroke(cr) -end - -function conky_ring_stats() - local function setup_rings(cr,pt) - local str='' - local value=0 - - str=string.format('${%s %s}',pt['name'],pt['arg']) - str=conky_parse(str) - - value=tonumber(str) - if value == nil then value = 0 end - pct=value/pt['max'] - - draw_ring(cr,pct,pt) - end - - if conky_window==nil then return end - local cs=cairo_xlib_surface_create(conky_window.display,conky_window.drawable,conky_window.visual, conky_window.width,conky_window.height) - - local cr=cairo_create(cs) - - local updates=conky_parse('${updates}') - update_num=tonumber(updates) - - if update_num>5 then - for i in pairs(settings_table) do - setup_rings(cr,settings_table[i]) - end - end - cairo_surface_destroy(cs) - cairo_destroy(cr) -end diff --git a/.config/conky/qtile/02/scripts/MonokaiPro.lua b/.config/conky/qtile/02/scripts/MonokaiPro.lua deleted file mode 100644 index ac4163c..0000000 --- a/.config/conky/qtile/02/scripts/MonokaiPro.lua +++ /dev/null @@ -1,141 +0,0 @@ ---[[ -Ring Meters by londonali1010 (2009) - -This script draws percentage meters as rings. It is fully customisable; all options are described in the script. - -IMPORTANT: if you are using the 'cpu' function, it will cause a segmentation fault if it tries to draw a ring straight away. The if statement near the end of the script uses a delay to make sure that this doesn't happen. It calculates the length of the delay by the number of updates since Conky started. Generally, a value of 5s is long enough, so if you update Conky every 1s, use update_num > 5 in that if statement (the default). If you only update Conky every 2s, you should change it to update_num > 3; conversely if you update Conky every 0.5s, you should use update_num > 10. ALSO, if you change your Conky, is it best to use "killall conky; conky" to update it, otherwise the update_num will not be reset and you will get an error. - -To call this script in Conky, use the following (assuming that you save this script to ~/scripts/rings.lua): - lua_load ~/scripts/rings-v1.2.1.lua - lua_draw_hook_pre ring_stats - -Changelog: -+ v1.2.1 -- Fixed minor bug that caused script to crash if conky_parse() returns a nil value (20.10.2009) -+ v1.2 -- Added option for the ending angle of the rings (07.10.2009) -+ v1.1 -- Added options for the starting angle of the rings, and added the "max" variable, to allow for variables that output a numerical value rather than a percentage (29.09.2009) -+ v1.0 -- Original release (28.09.2009) -]] - -settings_table = { - - { - name='cpu', - arg='cpu0', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0x78dce8, - fg_alpha=1, - x=49.5, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360, - }, - { - name='memperc', - arg='', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0xa9dc76, - fg_alpha=1, - x=119.5, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360 - }, - { - name='battery_percent', - arg='BAT0', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0xfc9867, - fg_alpha=1, - x=190, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360 - }, - { - name='hwmon temp 1', - arg='', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0xff6188, - fg_alpha=1, - x=259.5, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360, - }, - - -} - -require 'cairo' - -function rgb_to_r_g_b(colour,alpha) - return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha -end - -function draw_ring(cr,t,pt) - local w,h=conky_window.width,conky_window.height - - local xc,yc,ring_r,ring_w,sa,ea=pt['x'],pt['y'],pt['radius'],pt['thickness'],pt['start_angle'],pt['end_angle'] - local bgc, bga, fgc, fga=pt['bg_colour'], pt['bg_alpha'], pt['fg_colour'], pt['fg_alpha'] - - local angle_0=sa*(2*math.pi/360)-math.pi/2 - local angle_f=ea*(2*math.pi/360)-math.pi/2 - local t_arc=t*(angle_f-angle_0) - - -- Draw background ring - - cairo_arc(cr,xc,yc,ring_r,angle_0,angle_f) - cairo_set_source_rgba(cr,rgb_to_r_g_b(bgc,bga)) - cairo_set_line_width(cr,ring_w) - cairo_stroke(cr) - - -- Draw indicator ring - - cairo_arc(cr,xc,yc,ring_r,angle_0,angle_0+t_arc) - cairo_set_source_rgba(cr,rgb_to_r_g_b(fgc,fga)) - cairo_stroke(cr) -end - -function conky_ring_stats() - local function setup_rings(cr,pt) - local str='' - local value=0 - - str=string.format('${%s %s}',pt['name'],pt['arg']) - str=conky_parse(str) - - value=tonumber(str) - if value == nil then value = 0 end - pct=value/pt['max'] - - draw_ring(cr,pct,pt) - end - - if conky_window==nil then return end - local cs=cairo_xlib_surface_create(conky_window.display,conky_window.drawable,conky_window.visual, conky_window.width,conky_window.height) - - local cr=cairo_create(cs) - - local updates=conky_parse('${updates}') - update_num=tonumber(updates) - - if update_num>5 then - for i in pairs(settings_table) do - setup_rings(cr,settings_table[i]) - end - end - cairo_surface_destroy(cs) - cairo_destroy(cr) -end diff --git a/.config/conky/qtile/02/scripts/Nord.lua b/.config/conky/qtile/02/scripts/Nord.lua deleted file mode 100644 index 8ee1367..0000000 --- a/.config/conky/qtile/02/scripts/Nord.lua +++ /dev/null @@ -1,141 +0,0 @@ ---[[ -Ring Meters by londonali1010 (2009) - -This script draws percentage meters as rings. It is fully customisable; all options are described in the script. - -IMPORTANT: if you are using the 'cpu' function, it will cause a segmentation fault if it tries to draw a ring straight away. The if statement near the end of the script uses a delay to make sure that this doesn't happen. It calculates the length of the delay by the number of updates since Conky started. Generally, a value of 5s is long enough, so if you update Conky every 1s, use update_num > 5 in that if statement (the default). If you only update Conky every 2s, you should change it to update_num > 3; conversely if you update Conky every 0.5s, you should use update_num > 10. ALSO, if you change your Conky, is it best to use "killall conky; conky" to update it, otherwise the update_num will not be reset and you will get an error. - -To call this script in Conky, use the following (assuming that you save this script to ~/scripts/rings.lua): - lua_load ~/scripts/rings-v1.2.1.lua - lua_draw_hook_pre ring_stats - -Changelog: -+ v1.2.1 -- Fixed minor bug that caused script to crash if conky_parse() returns a nil value (20.10.2009) -+ v1.2 -- Added option for the ending angle of the rings (07.10.2009) -+ v1.1 -- Added options for the starting angle of the rings, and added the "max" variable, to allow for variables that output a numerical value rather than a percentage (29.09.2009) -+ v1.0 -- Original release (28.09.2009) -]] - -settings_table = { - - { - name='cpu', - arg='cpu0', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0x88c0d0, - fg_alpha=1, - x=49.5, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360, - }, - { - name='memperc', - arg='', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0xa3be8c, - fg_alpha=1, - x=119.5, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360 - }, - { - name='battery_percent', - arg='BAT0', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0xebcb8b, - fg_alpha=1, - x=190, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360 - }, - { - name='hwmon temp 1', - arg='', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0xbf616a, - fg_alpha=1, - x=259.5, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360, - }, - - -} - -require 'cairo' - -function rgb_to_r_g_b(colour,alpha) - return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha -end - -function draw_ring(cr,t,pt) - local w,h=conky_window.width,conky_window.height - - local xc,yc,ring_r,ring_w,sa,ea=pt['x'],pt['y'],pt['radius'],pt['thickness'],pt['start_angle'],pt['end_angle'] - local bgc, bga, fgc, fga=pt['bg_colour'], pt['bg_alpha'], pt['fg_colour'], pt['fg_alpha'] - - local angle_0=sa*(2*math.pi/360)-math.pi/2 - local angle_f=ea*(2*math.pi/360)-math.pi/2 - local t_arc=t*(angle_f-angle_0) - - -- Draw background ring - - cairo_arc(cr,xc,yc,ring_r,angle_0,angle_f) - cairo_set_source_rgba(cr,rgb_to_r_g_b(bgc,bga)) - cairo_set_line_width(cr,ring_w) - cairo_stroke(cr) - - -- Draw indicator ring - - cairo_arc(cr,xc,yc,ring_r,angle_0,angle_0+t_arc) - cairo_set_source_rgba(cr,rgb_to_r_g_b(fgc,fga)) - cairo_stroke(cr) -end - -function conky_ring_stats() - local function setup_rings(cr,pt) - local str='' - local value=0 - - str=string.format('${%s %s}',pt['name'],pt['arg']) - str=conky_parse(str) - - value=tonumber(str) - if value == nil then value = 0 end - pct=value/pt['max'] - - draw_ring(cr,pct,pt) - end - - if conky_window==nil then return end - local cs=cairo_xlib_surface_create(conky_window.display,conky_window.drawable,conky_window.visual, conky_window.width,conky_window.height) - - local cr=cairo_create(cs) - - local updates=conky_parse('${updates}') - update_num=tonumber(updates) - - if update_num>5 then - for i in pairs(settings_table) do - setup_rings(cr,settings_table[i]) - end - end - cairo_surface_destroy(cs) - cairo_destroy(cr) -end diff --git a/.config/conky/qtile/02/scripts/OceanicNext.lua b/.config/conky/qtile/02/scripts/OceanicNext.lua deleted file mode 100644 index a8e65ed..0000000 --- a/.config/conky/qtile/02/scripts/OceanicNext.lua +++ /dev/null @@ -1,141 +0,0 @@ ---[[ -Ring Meters by londonali1010 (2009) - -This script draws percentage meters as rings. It is fully customisable; all options are described in the script. - -IMPORTANT: if you are using the 'cpu' function, it will cause a segmentation fault if it tries to draw a ring straight away. The if statement near the end of the script uses a delay to make sure that this doesn't happen. It calculates the length of the delay by the number of updates since Conky started. Generally, a value of 5s is long enough, so if you update Conky every 1s, use update_num > 5 in that if statement (the default). If you only update Conky every 2s, you should change it to update_num > 3; conversely if you update Conky every 0.5s, you should use update_num > 10. ALSO, if you change your Conky, is it best to use "killall conky; conky" to update it, otherwise the update_num will not be reset and you will get an error. - -To call this script in Conky, use the following (assuming that you save this script to ~/scripts/rings.lua): - lua_load ~/scripts/rings-v1.2.1.lua - lua_draw_hook_pre ring_stats - -Changelog: -+ v1.2.1 -- Fixed minor bug that caused script to crash if conky_parse() returns a nil value (20.10.2009) -+ v1.2 -- Added option for the ending angle of the rings (07.10.2009) -+ v1.1 -- Added options for the starting angle of the rings, and added the "max" variable, to allow for variables that output a numerical value rather than a percentage (29.09.2009) -+ v1.0 -- Original release (28.09.2009) -]] - -settings_table = { - - { - name='cpu', - arg='cpu0', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0x5fb3b3, - fg_alpha=1, - x=49.5, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360, - }, - { - name='memperc', - arg='', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0x99c794, - fg_alpha=1, - x=119.5, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360 - }, - { - name='battery_percent', - arg='BAT0', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0xfac863, - fg_alpha=1, - x=190, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360 - }, - { - name='hwmon temp 1', - arg='', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0xec5f67, - fg_alpha=1, - x=259.5, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360, - }, - - -} - -require 'cairo' - -function rgb_to_r_g_b(colour,alpha) - return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha -end - -function draw_ring(cr,t,pt) - local w,h=conky_window.width,conky_window.height - - local xc,yc,ring_r,ring_w,sa,ea=pt['x'],pt['y'],pt['radius'],pt['thickness'],pt['start_angle'],pt['end_angle'] - local bgc, bga, fgc, fga=pt['bg_colour'], pt['bg_alpha'], pt['fg_colour'], pt['fg_alpha'] - - local angle_0=sa*(2*math.pi/360)-math.pi/2 - local angle_f=ea*(2*math.pi/360)-math.pi/2 - local t_arc=t*(angle_f-angle_0) - - -- Draw background ring - - cairo_arc(cr,xc,yc,ring_r,angle_0,angle_f) - cairo_set_source_rgba(cr,rgb_to_r_g_b(bgc,bga)) - cairo_set_line_width(cr,ring_w) - cairo_stroke(cr) - - -- Draw indicator ring - - cairo_arc(cr,xc,yc,ring_r,angle_0,angle_0+t_arc) - cairo_set_source_rgba(cr,rgb_to_r_g_b(fgc,fga)) - cairo_stroke(cr) -end - -function conky_ring_stats() - local function setup_rings(cr,pt) - local str='' - local value=0 - - str=string.format('${%s %s}',pt['name'],pt['arg']) - str=conky_parse(str) - - value=tonumber(str) - if value == nil then value = 0 end - pct=value/pt['max'] - - draw_ring(cr,pct,pt) - end - - if conky_window==nil then return end - local cs=cairo_xlib_surface_create(conky_window.display,conky_window.drawable,conky_window.visual, conky_window.width,conky_window.height) - - local cr=cairo_create(cs) - - local updates=conky_parse('${updates}') - update_num=tonumber(updates) - - if update_num>5 then - for i in pairs(settings_table) do - setup_rings(cr,settings_table[i]) - end - end - cairo_surface_destroy(cs) - cairo_destroy(cr) -end diff --git a/.config/conky/qtile/02/scripts/Palenight.lua b/.config/conky/qtile/02/scripts/Palenight.lua deleted file mode 100644 index d90512a..0000000 --- a/.config/conky/qtile/02/scripts/Palenight.lua +++ /dev/null @@ -1,141 +0,0 @@ ---[[ -Ring Meters by londonali1010 (2009) - -This script draws percentage meters as rings. It is fully customisable; all options are described in the script. - -IMPORTANT: if you are using the 'cpu' function, it will cause a segmentation fault if it tries to draw a ring straight away. The if statement near the end of the script uses a delay to make sure that this doesn't happen. It calculates the length of the delay by the number of updates since Conky started. Generally, a value of 5s is long enough, so if you update Conky every 1s, use update_num > 5 in that if statement (the default). If you only update Conky every 2s, you should change it to update_num > 3; conversely if you update Conky every 0.5s, you should use update_num > 10. ALSO, if you change your Conky, is it best to use "killall conky; conky" to update it, otherwise the update_num will not be reset and you will get an error. - -To call this script in Conky, use the following (assuming that you save this script to ~/scripts/rings.lua): - lua_load ~/scripts/rings-v1.2.1.lua - lua_draw_hook_pre ring_stats - -Changelog: -+ v1.2.1 -- Fixed minor bug that caused script to crash if conky_parse() returns a nil value (20.10.2009) -+ v1.2 -- Added option for the ending angle of the rings (07.10.2009) -+ v1.1 -- Added options for the starting angle of the rings, and added the "max" variable, to allow for variables that output a numerical value rather than a percentage (29.09.2009) -+ v1.0 -- Original release (28.09.2009) -]] - -settings_table = { - - { - name='cpu', - arg='cpu0', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0x89ddff, - fg_alpha=1, - x=49.5, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360, - }, - { - name='memperc', - arg='', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0xc3e88d, - fg_alpha=1, - x=119.5, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360 - }, - { - name='battery_percent', - arg='BAT0', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0xffcb6b, - fg_alpha=1, - x=190, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360 - }, - { - name='hwmon temp 1', - arg='', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0xf07178, - fg_alpha=1, - x=259.5, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360, - }, - - -} - -require 'cairo' - -function rgb_to_r_g_b(colour,alpha) - return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha -end - -function draw_ring(cr,t,pt) - local w,h=conky_window.width,conky_window.height - - local xc,yc,ring_r,ring_w,sa,ea=pt['x'],pt['y'],pt['radius'],pt['thickness'],pt['start_angle'],pt['end_angle'] - local bgc, bga, fgc, fga=pt['bg_colour'], pt['bg_alpha'], pt['fg_colour'], pt['fg_alpha'] - - local angle_0=sa*(2*math.pi/360)-math.pi/2 - local angle_f=ea*(2*math.pi/360)-math.pi/2 - local t_arc=t*(angle_f-angle_0) - - -- Draw background ring - - cairo_arc(cr,xc,yc,ring_r,angle_0,angle_f) - cairo_set_source_rgba(cr,rgb_to_r_g_b(bgc,bga)) - cairo_set_line_width(cr,ring_w) - cairo_stroke(cr) - - -- Draw indicator ring - - cairo_arc(cr,xc,yc,ring_r,angle_0,angle_0+t_arc) - cairo_set_source_rgba(cr,rgb_to_r_g_b(fgc,fga)) - cairo_stroke(cr) -end - -function conky_ring_stats() - local function setup_rings(cr,pt) - local str='' - local value=0 - - str=string.format('${%s %s}',pt['name'],pt['arg']) - str=conky_parse(str) - - value=tonumber(str) - if value == nil then value = 0 end - pct=value/pt['max'] - - draw_ring(cr,pct,pt) - end - - if conky_window==nil then return end - local cs=cairo_xlib_surface_create(conky_window.display,conky_window.drawable,conky_window.visual, conky_window.width,conky_window.height) - - local cr=cairo_create(cs) - - local updates=conky_parse('${updates}') - update_num=tonumber(updates) - - if update_num>5 then - for i in pairs(settings_table) do - setup_rings(cr,settings_table[i]) - end - end - cairo_surface_destroy(cs) - cairo_destroy(cr) -end diff --git a/.config/conky/qtile/02/scripts/SolarizedDark.lua b/.config/conky/qtile/02/scripts/SolarizedDark.lua deleted file mode 100644 index 146c143..0000000 --- a/.config/conky/qtile/02/scripts/SolarizedDark.lua +++ /dev/null @@ -1,141 +0,0 @@ ---[[ -Ring Meters by londonali1010 (2009) - -This script draws percentage meters as rings. It is fully customisable; all options are described in the script. - -IMPORTANT: if you are using the 'cpu' function, it will cause a segmentation fault if it tries to draw a ring straight away. The if statement near the end of the script uses a delay to make sure that this doesn't happen. It calculates the length of the delay by the number of updates since Conky started. Generally, a value of 5s is long enough, so if you update Conky every 1s, use update_num > 5 in that if statement (the default). If you only update Conky every 2s, you should change it to update_num > 3; conversely if you update Conky every 0.5s, you should use update_num > 10. ALSO, if you change your Conky, is it best to use "killall conky; conky" to update it, otherwise the update_num will not be reset and you will get an error. - -To call this script in Conky, use the following (assuming that you save this script to ~/scripts/rings.lua): - lua_load ~/scripts/rings-v1.2.1.lua - lua_draw_hook_pre ring_stats - -Changelog: -+ v1.2.1 -- Fixed minor bug that caused script to crash if conky_parse() returns a nil value (20.10.2009) -+ v1.2 -- Added option for the ending angle of the rings (07.10.2009) -+ v1.1 -- Added options for the starting angle of the rings, and added the "max" variable, to allow for variables that output a numerical value rather than a percentage (29.09.2009) -+ v1.0 -- Original release (28.09.2009) -]] - -settings_table = { - - { - name='cpu', - arg='cpu0', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0x2aa198, - fg_alpha=1, - x=49.5, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360, - }, - { - name='memperc', - arg='', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0x859900, - fg_alpha=1, - x=119.5, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360 - }, - { - name='battery_percent', - arg='BAT0', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0xb58900, - fg_alpha=1, - x=190, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360 - }, - { - name='hwmon temp 1', - arg='', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0xdc322f, - fg_alpha=1, - x=259.5, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360, - }, - - -} - -require 'cairo' - -function rgb_to_r_g_b(colour,alpha) - return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha -end - -function draw_ring(cr,t,pt) - local w,h=conky_window.width,conky_window.height - - local xc,yc,ring_r,ring_w,sa,ea=pt['x'],pt['y'],pt['radius'],pt['thickness'],pt['start_angle'],pt['end_angle'] - local bgc, bga, fgc, fga=pt['bg_colour'], pt['bg_alpha'], pt['fg_colour'], pt['fg_alpha'] - - local angle_0=sa*(2*math.pi/360)-math.pi/2 - local angle_f=ea*(2*math.pi/360)-math.pi/2 - local t_arc=t*(angle_f-angle_0) - - -- Draw background ring - - cairo_arc(cr,xc,yc,ring_r,angle_0,angle_f) - cairo_set_source_rgba(cr,rgb_to_r_g_b(bgc,bga)) - cairo_set_line_width(cr,ring_w) - cairo_stroke(cr) - - -- Draw indicator ring - - cairo_arc(cr,xc,yc,ring_r,angle_0,angle_0+t_arc) - cairo_set_source_rgba(cr,rgb_to_r_g_b(fgc,fga)) - cairo_stroke(cr) -end - -function conky_ring_stats() - local function setup_rings(cr,pt) - local str='' - local value=0 - - str=string.format('${%s %s}',pt['name'],pt['arg']) - str=conky_parse(str) - - value=tonumber(str) - if value == nil then value = 0 end - pct=value/pt['max'] - - draw_ring(cr,pct,pt) - end - - if conky_window==nil then return end - local cs=cairo_xlib_surface_create(conky_window.display,conky_window.drawable,conky_window.visual, conky_window.width,conky_window.height) - - local cr=cairo_create(cs) - - local updates=conky_parse('${updates}') - update_num=tonumber(updates) - - if update_num>5 then - for i in pairs(settings_table) do - setup_rings(cr,settings_table[i]) - end - end - cairo_surface_destroy(cs) - cairo_destroy(cr) -end diff --git a/.config/conky/qtile/02/scripts/SolarizedLight.lua b/.config/conky/qtile/02/scripts/SolarizedLight.lua deleted file mode 100644 index 01f0e63..0000000 --- a/.config/conky/qtile/02/scripts/SolarizedLight.lua +++ /dev/null @@ -1,141 +0,0 @@ ---[[ -Ring Meters by londonali1010 (2009) - -This script draws percentage meters as rings. It is fully customisable; all options are described in the script. - -IMPORTANT: if you are using the 'cpu' function, it will cause a segmentation fault if it tries to draw a ring straight away. The if statement near the end of the script uses a delay to make sure that this doesn't happen. It calculates the length of the delay by the number of updates since Conky started. Generally, a value of 5s is long enough, so if you update Conky every 1s, use update_num > 5 in that if statement (the default). If you only update Conky every 2s, you should change it to update_num > 3; conversely if you update Conky every 0.5s, you should use update_num > 10. ALSO, if you change your Conky, is it best to use "killall conky; conky" to update it, otherwise the update_num will not be reset and you will get an error. - -To call this script in Conky, use the following (assuming that you save this script to ~/scripts/rings.lua): - lua_load ~/scripts/rings-v1.2.1.lua - lua_draw_hook_pre ring_stats - -Changelog: -+ v1.2.1 -- Fixed minor bug that caused script to crash if conky_parse() returns a nil value (20.10.2009) -+ v1.2 -- Added option for the ending angle of the rings (07.10.2009) -+ v1.1 -- Added options for the starting angle of the rings, and added the "max" variable, to allow for variables that output a numerical value rather than a percentage (29.09.2009) -+ v1.0 -- Original release (28.09.2009) -]] - -settings_table = { - - { - name='cpu', - arg='cpu0', - max=100, - bg_colour=0x000000, - bg_alpha=0.2, - fg_colour=0x2aa198, - fg_alpha=1, - x=49.5, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360, - }, - { - name='memperc', - arg='', - max=100, - bg_colour=0x000000, - bg_alpha=0.2, - fg_colour=0x859900, - fg_alpha=1, - x=119.5, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360 - }, - { - name='battery_percent', - arg='BAT0', - max=100, - bg_colour=0x000000, - bg_alpha=0.2, - fg_colour=0xb58900, - fg_alpha=1, - x=190, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360 - }, - { - name='hwmon temp 1', - arg='', - max=100, - bg_colour=0x000000, - bg_alpha=0.2, - fg_colour=0xdc322f, - fg_alpha=1, - x=259.5, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360, - }, - - -} - -require 'cairo' - -function rgb_to_r_g_b(colour,alpha) - return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha -end - -function draw_ring(cr,t,pt) - local w,h=conky_window.width,conky_window.height - - local xc,yc,ring_r,ring_w,sa,ea=pt['x'],pt['y'],pt['radius'],pt['thickness'],pt['start_angle'],pt['end_angle'] - local bgc, bga, fgc, fga=pt['bg_colour'], pt['bg_alpha'], pt['fg_colour'], pt['fg_alpha'] - - local angle_0=sa*(2*math.pi/360)-math.pi/2 - local angle_f=ea*(2*math.pi/360)-math.pi/2 - local t_arc=t*(angle_f-angle_0) - - -- Draw background ring - - cairo_arc(cr,xc,yc,ring_r,angle_0,angle_f) - cairo_set_source_rgba(cr,rgb_to_r_g_b(bgc,bga)) - cairo_set_line_width(cr,ring_w) - cairo_stroke(cr) - - -- Draw indicator ring - - cairo_arc(cr,xc,yc,ring_r,angle_0,angle_0+t_arc) - cairo_set_source_rgba(cr,rgb_to_r_g_b(fgc,fga)) - cairo_stroke(cr) -end - -function conky_ring_stats() - local function setup_rings(cr,pt) - local str='' - local value=0 - - str=string.format('${%s %s}',pt['name'],pt['arg']) - str=conky_parse(str) - - value=tonumber(str) - if value == nil then value = 0 end - pct=value/pt['max'] - - draw_ring(cr,pct,pt) - end - - if conky_window==nil then return end - local cs=cairo_xlib_surface_create(conky_window.display,conky_window.drawable,conky_window.visual, conky_window.width,conky_window.height) - - local cr=cairo_create(cs) - - local updates=conky_parse('${updates}') - update_num=tonumber(updates) - - if update_num>5 then - for i in pairs(settings_table) do - setup_rings(cr,settings_table[i]) - end - end - cairo_surface_destroy(cs) - cairo_destroy(cr) -end diff --git a/.config/conky/qtile/02/scripts/TomorrowNight.lua b/.config/conky/qtile/02/scripts/TomorrowNight.lua deleted file mode 100644 index 42fb970..0000000 --- a/.config/conky/qtile/02/scripts/TomorrowNight.lua +++ /dev/null @@ -1,141 +0,0 @@ ---[[ -Ring Meters by londonali1010 (2009) - -This script draws percentage meters as rings. It is fully customisable; all options are described in the script. - -IMPORTANT: if you are using the 'cpu' function, it will cause a segmentation fault if it tries to draw a ring straight away. The if statement near the end of the script uses a delay to make sure that this doesn't happen. It calculates the length of the delay by the number of updates since Conky started. Generally, a value of 5s is long enough, so if you update Conky every 1s, use update_num > 5 in that if statement (the default). If you only update Conky every 2s, you should change it to update_num > 3; conversely if you update Conky every 0.5s, you should use update_num > 10. ALSO, if you change your Conky, is it best to use "killall conky; conky" to update it, otherwise the update_num will not be reset and you will get an error. - -To call this script in Conky, use the following (assuming that you save this script to ~/scripts/rings.lua): - lua_load ~/scripts/rings-v1.2.1.lua - lua_draw_hook_pre ring_stats - -Changelog: -+ v1.2.1 -- Fixed minor bug that caused script to crash if conky_parse() returns a nil value (20.10.2009) -+ v1.2 -- Added option for the ending angle of the rings (07.10.2009) -+ v1.1 -- Added options for the starting angle of the rings, and added the "max" variable, to allow for variables that output a numerical value rather than a percentage (29.09.2009) -+ v1.0 -- Original release (28.09.2009) -]] - -settings_table = { - - { - name='cpu', - arg='cpu0', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0x81a2be, - fg_alpha=1, - x=49.5, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360, - }, - { - name='memperc', - arg='', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0xb5bd68, - fg_alpha=1, - x=119.5, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360 - }, - { - name='battery_percent', - arg='BAT0', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0xe6c547, - fg_alpha=1, - x=190, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360 - }, - { - name='hwmon temp 1', - arg='', - max=100, - bg_colour=0xffffff, - bg_alpha=0.2, - fg_colour=0xcc6666, - fg_alpha=1, - x=259.5, y=182.3, - radius=25, - thickness=7, - start_angle=0, - end_angle=360, - }, - - -} - -require 'cairo' - -function rgb_to_r_g_b(colour,alpha) - return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha -end - -function draw_ring(cr,t,pt) - local w,h=conky_window.width,conky_window.height - - local xc,yc,ring_r,ring_w,sa,ea=pt['x'],pt['y'],pt['radius'],pt['thickness'],pt['start_angle'],pt['end_angle'] - local bgc, bga, fgc, fga=pt['bg_colour'], pt['bg_alpha'], pt['fg_colour'], pt['fg_alpha'] - - local angle_0=sa*(2*math.pi/360)-math.pi/2 - local angle_f=ea*(2*math.pi/360)-math.pi/2 - local t_arc=t*(angle_f-angle_0) - - -- Draw background ring - - cairo_arc(cr,xc,yc,ring_r,angle_0,angle_f) - cairo_set_source_rgba(cr,rgb_to_r_g_b(bgc,bga)) - cairo_set_line_width(cr,ring_w) - cairo_stroke(cr) - - -- Draw indicator ring - - cairo_arc(cr,xc,yc,ring_r,angle_0,angle_0+t_arc) - cairo_set_source_rgba(cr,rgb_to_r_g_b(fgc,fga)) - cairo_stroke(cr) -end - -function conky_ring_stats() - local function setup_rings(cr,pt) - local str='' - local value=0 - - str=string.format('${%s %s}',pt['name'],pt['arg']) - str=conky_parse(str) - - value=tonumber(str) - if value == nil then value = 0 end - pct=value/pt['max'] - - draw_ring(cr,pct,pt) - end - - if conky_window==nil then return end - local cs=cairo_xlib_surface_create(conky_window.display,conky_window.drawable,conky_window.visual, conky_window.width,conky_window.height) - - local cr=cairo_create(cs) - - local updates=conky_parse('${updates}') - update_num=tonumber(updates) - - if update_num>5 then - for i in pairs(settings_table) do - setup_rings(cr,settings_table[i]) - end - end - cairo_surface_destroy(cs) - cairo_destroy(cr) -end diff --git a/.config/conky/qtile/02/scripts/cputemp.sh b/.config/conky/qtile/02/scripts/cputemp.sh deleted file mode 100755 index a17b212..0000000 --- a/.config/conky/qtile/02/scripts/cputemp.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash - -# Main -cpuTemp=$(sensors | grep Tctl | awk -F '+' '{print $2}') -echo "$cpuTemp" - -exit diff --git a/.config/conky/qtile/02/start.sh b/.config/conky/qtile/02/start.sh deleted file mode 100755 index 6df01a6..0000000 --- a/.config/conky/qtile/02/start.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash - -# This command will close all active conky -killall conky -sleep 2s - -# Only the config listed below will be avtivated -# if you want to combine with another theme, write the command here -conky -c $HOME/.config/conky/Mimosa/Mimosa.conf &> /dev/null & - -exit