Alpine Linux
.cwmrc
# automatically add new windows to the current group
sticky yes
# snap windows to edges at 4 pixels distance
snapdist 4
ignore xclock
ignore conky
autogroup 0 "Conky"
borderwidth 3
color inactiveborder gainsboro
color activeborder FloralWhite
# set font for menus
fontname "mononoki:size=10"
unbind-key all
bind-key 4-Return terminal
bind-key 4-l lock
bind-key 4-BackSpace window-hide
bind-key 4-Tab window-cycle
bind-key 4S-Tab window-rcycle
bind-key 4-1 group-only-1
bind-key 4-2 group-only-2
bind-key 4-3 group-only-3
bind-key 4-4 group-only-4
bind-key 4S-1 window-movetogroup-1
bind-key 4S-2 window-movetogroup-2
bind-key 4S-3 window-movetogroup-3
bind-key 4S-4 window-movetogroup-4
bind-key 4M-1 group-toggle-1
bind-key 4M-2 group-toggle-2
bind-key 4M-3 group-toggle-3
bind-key 4M-4 group-toggle-4
bind-key 4-a group-toggle-all
bind-key 4-g window-group
bind-key 4-f window-fullscreen
bind-key 4-m window-maximize
bind-key 4-equal window-vmaximize
bind-key 4-v window-vtile
bind-key 4-c window-htile
bind-key 4-space window-stick
bind-ley 4-d menu-cmd
bind-ley 4-question menu-exec
bind-key 4-period menu-ssh
bind-key 4S-r restart
# unbind default mouse actions
unbind-mouse M-1
unbind-mouse CM-1
unbind-mouse M-2
unbind-mouse M-3
unbind-mouse CMS-3
bind-mouse 4-1 window-move
bind-mouse 4-3 window-resize
command term st
command lock slock
command st st
command firefox-esr firefox-esr
command soffice "soffice --norestore"
command thunar thunar
command scrot "scrot -s"
Conky
-- Conky, a system monitor https://github.com/brndnmtthws/conky
--
-- This configuration file is Lua code. You can write code in here, and it will
-- execute when Conky loads. You can use it to generate your own advanced
-- configurations.
--
-- Try this (remove the `--`):
--
-- print("Loading Conky config")
--
-- For more on Lua, see:
-- https://www.lua.org/pil/contents.html
conky.config = {
alignment = 'top_left',
background = false,
border_width = 1,
cpu_avg_samples = 2,
default_color = '#cecede',
default_outline_color = 'white',
default_shade_color = 'white',
double_buffer = true,
draw_borders = false,
draw_graph_borders = true,
draw_outline = false,
draw_shades = false,
extra_newline = false,
font = 'DejaVu Sans Mono:size=12',
gap_x = 20,
gap_y = 20,
minimum_height = 5,
minimum_width = 5,
net_avg_samples = 2,
no_buffers = true,
out_to_console = false,
out_to_ncurses = false,
out_to_stderr = false,
out_to_x = true,
own_window = true,
own_window_class = 'Conky',
own_window_type = 'desktop',
own_window_colour = '#4a4e4e',
show_graph_range = false,
show_graph_scale = false,
stippled_borders = 0,
update_interval = 2.0,
uppercase = false,
use_spacer = 'none',
use_xft = true,
}
conky.text = [[
${color #898989}Info:$color $nodename $kernel $machine
$hr
${color #898989}Uptime:$color $uptime
${color #898989}Battery:$color ${battery BAT0} $battery_bar
${color #898989}Frequency (in MHz):$color $freq
${color #898989}Frequency (in GHz):$color $freq_g
${color #898989}RAM Usage:$color $mem/$memmax - $memperc% ${membar 4}
${color #898989}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar 4}
${color #898989}CPU Usage:$color $cpu% ${cpubar 4}
${color #898989}Processes:$color $processes ${color grey}Running:$color $running_processes
$hr
${color #898989}File systems:
/ $color${fs_used /}/${fs_size /} ${fs_bar 6 /}
${color #898989}Networking:
Up:$color ${upspeed} ${color #898989} - Down:$color ${downspeed}
$hr
${color #898989}Name PID CPU% MEM%
${color #898989} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color #898989} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color #898989} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color #898989} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
]]
st
off-white background off-black text