-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathquotes.conkyrc
125 lines (103 loc) · 3.93 KB
/
quotes.conkyrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
--[[
This Conky script displays a random quote from a file.
The quote file must contain one quote per line and to achieve the best results,
the quote and its author should be separated by "-- ".
]]
conky.config = {
--## Begin Window Settings #####################
own_window = true,
own_window_type = 'normal',
own_window_transparent = true,
own_window_hints = 'undecorated,below,skip_taskbar,skip_pager',
own_window_colour = '#000000',
own_window_class = 'Conky',
own_window_title = 'Conky',
--## ARGB can be used for real transparency
--## NOTE that a composite manager is required for real transparency.
--## This option will not work as desired (in most cases) in conjunction with
--## own_window_type normal
own_window_argb_visual = true, --# Options: yes or no
--## When ARGB visuals are enabled, this use this to modify the alpha value
--## Use: own_window_type normal
--## Use: own_window_transparent no
--## Valid range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity.
-- own_window_argb_value 50
minimum_width = 400,
minimum_height = 250,
gap_x = 50,--## left | right
gap_y = 40,--## up | down
alignment = 'top_left',
--###################### End Window Settings ###
--## Font Settings #############################
-- Use Xft (anti-aliased font and stuff)
use_xft = true,
font = 'Noto Sans:Regular:size=12',
-- Alpha of Xft font. Must be a value at or between 1 and 0 ###
xftalpha = 1,
-- Force UTF8? requires XFT ###
override_utf8_locale = true,
uppercase = false,
--######################## End Font Settings ###
--## Colour Settings ###########################
draw_shades = false,--yes
default_shade_color = 'black',
draw_outline = false,-- amplifies text if yes
default_outline_color = 'black',
default_color = '#ffffff',-- White
color0 = '#2f343f',-- Black
color1 = '#bf616a',-- Red
color2 = '#6bd6b0',-- Green (pastel)
color3 = '#ebcb8b',-- Yellow
color4 = '#779ecb',-- Dark Blue
color5 = '#ffffff',
--###################### End Colour Settings ###
--## Borders Section ###########################
draw_borders = false,
-- Stippled borders?
stippled_borders = 5,
-- border margins
border_inner_margin = 40,
border_outer_margin = 0,
-- border width
border_width = 2,
-- graph borders
draw_graph_borders = true,--no
--default_graph_size 15 40
--####################### End Borders Secton ###
--## Miscellaneous Section #####################
-- Boolean value, if true, Conky will be forked to background when started.
-- background = true,
-- Adds spaces around certain objects to stop them from moving other things
-- around, this only helps if you are using a mono font
-- Options: right, left or none
use_spacer = 'none',
-- Default and Minimum size is 256 - needs more for single commands that
-- "call" a lot of text IE: bash scripts
--text_buffer_size 6144
-- Subtract (file system) buffers from used memory?
no_buffers = true,
-- change GiB to G and MiB to M
short_units = true,
-- Like it says, ot pads the decimals on % values
-- doesn't seem to work since v1.7.1
pad_percents = 2,
-- Imlib2 image cache size, in bytes. Default 4MiB Increase this value if you use
-- $image lots. Set to 0 to disable the image cache.
-- imlib_cache_size = 0,
-- Use the Xdbe extension? (eliminates flicker)
-- It is highly recommended to use own window with this one
-- so double buffer won't be so big.
double_buffer = true,
-- Maximum size of user text buffer, i.e. layout below TEXT line in config file
-- (default is 16384 bytes)
-- max_user_text 16384
-- Desired output unit of all objects displaying a temperature. Parameters are
-- either "fahrenheit" or "celsius". The default unit is degree Celsius.
-- temperature_unit Fahrenheit
--################ End Miscellaneous Section ###
update_interval = 1,
};
conky.text = [[
${offset -40}${color4}${font Ranga:Bold:size=50}“${font}${color5}
${voffset -43}${font Handlee:Regular:size=16}${execi 300 shuf -n 1 /home/user/whatever/path/to/the/quotes.txt | sed 's/-- /\n—/'g | fmt -w 60 -g 60}${font}
]];