Я новичок в конусе.
Я использую его для отображения случайных кавычек на моем рабочем столе, но длинные линии отрезают на правом краю экрана вместо правильной обертывания.conky.config = {
alignment = 'top_right',
background = false,
border_width = 0,
default_color = 'antiquewhite',
draw_borders = false,
draw_outline = false,
draw_shades = false,
use_xft = true,
font = 'Georgia:size=11',
gap_x = 50,
gap_y = 100,
minimum_height = 5,
maximum_width = 400,
minimum_width = 400,
no_buffers = true,
out_to_console = false,
out_to_stderr = false,
extra_newline = false,
own_window = true,
own_window_class = 'Conky',
own_window_type = 'desktop',
own_window_transparent = true,
own_window_argb_visual = true,
own_window_argb_value = 0,
stippled_borders = 0,
update_interval = 3600,
uppercase = false,
use_spacer = 'none',
double_buffer = true,
text_buffer_size = 2048,
}
conky.text = [[
${font Georgia:italic:size=11}${exec shuf -n 320 ~/quotes.txt}${font}
]]
Вот мои quotes.txt file -
1. Study the past, if you would divine the future. Confucius
2. Humility is the solid foundation of all virtues. Confucius
3. The superior man thinks always of virtue; the common man thinks of comfort. Confucius
4. A superior man is modest in his speech, but exceeds in his actions. Confucius
5. There are three methods to gaining wisdom. The first is reflection, which is the highest. The second is imitation, which is the easiest. The third is experience, which is the bitterest. Confucius
6. The wise man does at once what the fool does finally. Niccolo Machiavelli
7. The first method for estimating the intelligence of a ruler is to look at the men he has around him. Niccolo Machiavelli
Подробнее здесь: https://stackoverflow.com/questions/796 ... ithin-maxi
Текстовое обертывание конки: как обернуть длинные линии из вывода команды EXEC в пределах Maximum_Width ⇐ Linux
1751716797
Anonymous
Я новичок в конусе.
Я использую его для отображения случайных кавычек на моем рабочем столе, но длинные линии отрезают на правом краю экрана вместо правильной обертывания.conky.config = {
alignment = 'top_right',
background = false,
border_width = 0,
default_color = 'antiquewhite',
draw_borders = false,
draw_outline = false,
draw_shades = false,
use_xft = true,
font = 'Georgia:size=11',
gap_x = 50,
gap_y = 100,
minimum_height = 5,
maximum_width = 400,
minimum_width = 400,
no_buffers = true,
out_to_console = false,
out_to_stderr = false,
extra_newline = false,
own_window = true,
own_window_class = 'Conky',
own_window_type = 'desktop',
own_window_transparent = true,
own_window_argb_visual = true,
own_window_argb_value = 0,
stippled_borders = 0,
update_interval = 3600,
uppercase = false,
use_spacer = 'none',
double_buffer = true,
text_buffer_size = 2048,
}
conky.text = [[
${font Georgia:italic:size=11}${exec shuf -n 320 ~/quotes.txt}${font}
]]
Вот мои quotes.txt file -
1. Study the past, if you would divine the future. Confucius
2. Humility is the solid foundation of all virtues. Confucius
3. The superior man thinks always of virtue; the common man thinks of comfort. Confucius
4. A superior man is modest in his speech, but exceeds in his actions. Confucius
5. There are three methods to gaining wisdom. The first is reflection, which is the highest. The second is imitation, which is the easiest. The third is experience, which is the bitterest. Confucius
6. The wise man does at once what the fool does finally. Niccolo Machiavelli
7. The first method for estimating the intelligence of a ruler is to look at the men he has around him. Niccolo Machiavelli
Подробнее здесь: [url]https://stackoverflow.com/questions/79691023/conky-text-wrapping-how-to-wrap-long-lines-from-exec-command-output-within-maxi[/url]
Ответить
1 сообщение
• Страница 1 из 1
Перейти
- Кемерово-IT
- ↳ Javascript
- ↳ C#
- ↳ JAVA
- ↳ Elasticsearch aggregation
- ↳ Python
- ↳ Php
- ↳ Android
- ↳ Html
- ↳ Jquery
- ↳ C++
- ↳ IOS
- ↳ CSS
- ↳ Excel
- ↳ Linux
- ↳ Apache
- ↳ MySql
- Детский мир
- Для души
- ↳ Музыкальные инструменты даром
- ↳ Печатная продукция даром
- Внешняя красота и здоровье
- ↳ Одежда и обувь для взрослых даром
- ↳ Товары для здоровья
- ↳ Физкультура и спорт
- Техника - даром!
- ↳ Автомобилистам
- ↳ Компьютерная техника
- ↳ Плиты: газовые и электрические
- ↳ Холодильники
- ↳ Стиральные машины
- ↳ Телевизоры
- ↳ Телефоны, смартфоны, плашеты
- ↳ Швейные машинки
- ↳ Прочая электроника и техника
- ↳ Фототехника
- Ремонт и интерьер
- ↳ Стройматериалы, инструмент
- ↳ Мебель и предметы интерьера даром
- ↳ Cантехника
- Другие темы
- ↳ Разное даром
- ↳ Давай меняться!
- ↳ Отдам\возьму за копеечку
- ↳ Работа и подработка в Кемерове
- ↳ Давай с тобой поговорим...
Мобильная версия