Skip to content

Instantly share code, notes, and snippets.

Created September 8, 2016 05:02
Show Gist options
  • Save anonymous/84dd7f10cb00bdf5132b4775566f0eea to your computer and use it in GitHub Desktop.
Save anonymous/84dd7f10cb00bdf5132b4775566f0eea to your computer and use it in GitHub Desktop.
cwmrc and conky files used on this video: https://youtu.be/y9pyChAL4AE
conky.config = {
double_buffer=true,
alignment="top_middle",
own_window=true,
own_window_type="normal",
own_window_colour="#000000",
--own_window_argb_visual=true,
--own_window_argb_value=240,
draw_borders=false,
draw_graph_borders=false,
gap_x=-5,
gap_y=5,
update_interval=1,
default_color="#ffffff",
use_xft=true,
font="Courier Code:size=12:antialias=true",
minimum_width=1920,
minimum_height=0,
}
conky.text = [[
${color #a5df00}CPU:$color ${color #ffbf00}${cpu cpu0}%$color ${color #5b32fe}|$color ${color #a5df00}RAM:$color ${color #ffbf00}$memperc$color ${alignc -108} ${color white}${time %c}$color ${alignr 13} ${color #a5df00}TEMP:$font ${color #ffbf00}$acpitemp%$color ${color #5b32fe}|$color ${color #a5df00}BAT:$color ${color #ffbf00}$battery_short$color
]]
double_buffer yes
alignment top_middle
own_window yes
own_window_type normal
own_window_colour 080808
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_argb_visual yes
own_window_argb_value 240
draw_borders no
draw_graph_borders no
gap_x -5
gap_y 5
update_interval 1
default_color c2c2c2
use_xft yes
xftfont Courier 10 Pitch:size=11:antialias=true
minimum_size 1366 0
TEXT
CPU: ${cpu cpu0}% | Processes: $processes ${alignc -108} ${time %c} ${alignr 13} RAM: $memperc% | Uptime: $uptime_short
# Set menu font color.
color font rgb:08/08/08
# Set font color for selected menu item.
color selfont rgb:e2/e2/e2
# Set menu background color.
color menubg rgb:e2/e2/e2
# Set menu foreground color.
color menufg rgb:08/08/08
# Set the color of the border of a window indicating urgency.
color urgencyborder rgb:ff/ff/00
# Change the default font for Xft(3).
fontname "Courier 10 Pitch:size=11:antialias=true"
# Define a ``gap'' in pixels. "gap top bottom left right"
gap 29 0 0 0
# Turn on sticky-group mode.
sticky yes
# Any entry here is shown in the application menu
command bitmessage "/opt/PyBitmessage/src/bitmessagemain.py"
# Locking the screen
command lock "/usr/X11R6/bin/xlock -mode random"
# Ignore programs by not drawing borders around them.
ignore conky
# Key bindings.
bind CM-v vmaximize
bind CM-o hmaximize
bind 4-1 movetogroup1
bind 4-2 movetogroup2
bind 4-3 movetogroup3
bind 4-4 movetogroup4
bind 4-5 movetogroup5
bind 4-6 movetogroup6
bind 4-7 movetogroup7
bind 4-8 movetogroup8
bind 4-9 movetogroup9
bind CM-equal unmap
bind CMS-equal unmap
bind 4-v vtile
bind 4-o htile
bind C-Up unmap
bind C-Down unmap
bind C-Right unmap
bind C-Left unmap
bind CS-Up unmap
bind CS-Down unmap
bind CS-Right unmap
bind CS-Left unmap
bind 4-Up ptrmoveup
bind 4-Down ptrmovedown
bind 4-Right ptrmoveright
bind 4-Left ptrmoveleft
bind 4S-Up bigptrmoveup
bind 4S-Down bigptrmovedown
bind 4S-Right bigptrmoveright
bind 4S-Left bigptrmoveleft
# Active border color
color activeborder rgb:ff/bf/00
# Inactive border color
color inactiveborder rgb:a5/df/00
# Set menu font color.
color font rgb:a5/df/00
# Set font color for selected menu item.
color selfont rgb:ff/bf/00
# Set menu background color.
color menubg rgb:00/00/00
# Set menu foreground color.
color menufg rgb:00/00/00
# Set the color of the border of a window indicating urgency.
color urgencyborder rgb:ff/ff/00
# Change the default font for Xft(3).
fontname "Courier Code:size=12:antialias=true"
# Define a ``gap'' in pixels. "gap top bottom left right"
gap 30 0 0 0
# Turn on sticky-group mode.
sticky yes
autogroup 0 conky
# Any entry here is shown in the application menu
command bitmessage "/opt/PyBitmessage/src/bitmessagemain.py"
# Locking the screen
command lock "/usr/bin/xlock -mode random"
# Ignore programs by not drawing borders around them.
ignore conky
# Key bindings.
bind CM-v vmaximize
bind CM-o hmaximize
bind 4-1 movetogroup1
bind 4-2 movetogroup2
bind 4-3 movetogroup3
bind 4-4 movetogroup4
bind 4-5 movetogroup5
bind 4-6 movetogroup6
bind 4-7 movetogroup7
bind 4-8 movetogroup8
bind 4-9 movetogroup9
bind CM-equal unmap
bind CMS-equal unmap
bind 4-v vtile
bind 4-o htile
bind C-Up unmap
bind C-Down unmap
bind C-Right unmap
bind C-Left unmap
bind CS-Up unmap
bind CS-Down unmap
bind CS-Right unmap
bind CS-Left unmap
bind 4-Up ptrmoveup
bind 4-Down ptrmovedown
bind 4-Right ptrmoveright
bind 4-Left ptrmoveleft
bind 4S-Up bigptrmoveup
bind 4S-Down bigptrmovedown
bind 4S-Right bigptrmoveright
bind 4S-Left bigptrmoveleft
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment