Загрузка данных



mkdir -p ~/.config/rofi

printf '%s\n' \
'* {' \
'    bg: #080808;' \
'    fg: #eeeeee;' \
'    red: #ff2448;' \
'    muted: #777777;' \
'    background-color: transparent;' \
'    text-color: @fg;' \
'    font: "Noto Sans 11";' \
'}' \
'window {' \
'    width: 38%;' \
'    border: 2px;' \
'    border-color: @red;' \
'    border-radius: 8px;' \
'    background-color: @bg;' \
'    padding: 18px;' \
'}' \
'mainbox {' \
'    background-color: @bg;' \
'    children: [inputbar, listview];' \
'    spacing: 12px;' \
'}' \
'inputbar {' \
'    background-color: #151515;' \
'    text-color: @fg;' \
'    border: 0px;' \
'    padding: 10px;' \
'    children: [prompt, entry];' \
'}' \
'prompt {' \
'    text-color: @red;' \
'    padding: 0px 8px 0px 0px;' \
'}' \
'entry {' \
'    text-color: @fg;' \
'    placeholder: "Search applications...";' \
'    placeholder-color: @muted;' \
'}' \
'listview {' \
'    columns: 1;' \
'    lines: 7;' \
'    fixed-height: false;' \
'    background-color: @bg;' \
'    spacing: 4px;' \
'}' \
'element {' \
'    padding: 9px;' \
'    background-color: @bg;' \
'    text-color: @fg;' \
'}' \
'element selected {' \
'    background-color: #35101b;' \
'    text-color: @red;' \
'    border: 0px 0px 0px 3px;' \
'    border-color: @red;' \
'}' \
'element-text {' \
'    background-color: transparent;' \
'    text-color: inherit;' \
'}' \
'element-icon {' \
'    size: 20px;' \
'    background-color: transparent;' \
'}' \
> ~/.config/rofi/akai.rasi


rofi -show drun -theme ~/.config/rofi/akai.rasi


mkdir -p ~/.config/swaync

printf '%s\n' \
'{' \
'  "$schema": "/etc/xdg/swaync/configSchema.json",' \
'  "positionX": "right",' \
'  "positionY": "top",' \
'  "layer": "overlay",' \
'  "control-center-width": 340,' \
'  "notification-window-width": 340,' \
'  "timeout": 5,' \
'  "timeout-low": 3,' \
'  "timeout-critical": 0,' \
'  "widgets": ["title", "dnd", "notifications"],' \
'  "widget-config": {' \
'    "title": {"text": "AKAI NOTIFICATIONS", "clear-all-button": true},' \
'    "dnd": {"text": "Do not disturb"}' \
'  }' \
'}' > ~/.config/swaync/config.json


printf '%s\n' \
'* {' \
'  font-family: "Noto Sans", sans-serif;' \
'  font-size: 12px;' \
'}' \
'window, .control-center {' \
'  background: rgba(8, 8, 8, 0.97);' \
'  color: #eeeeee;' \
'}' \
'.control-center {' \
'  border: 2px solid #ff2448;' \
'  border-radius: 8px;' \
'  padding: 10px;' \
'}' \
'.notification {' \
'  background: #151515;' \
'  border: 1px solid #551426;' \
'  border-radius: 6px;' \
'  margin: 5px;' \
'  padding: 8px;' \
'}' \
'.notification-content {' \
'  color: #eeeeee;' \
'}' \
'button {' \
'  background: #202020;' \
'  color: #ff2448;' \
'  border: 1px solid #551426;' \
'  border-radius: 5px;' \
'}' \
'button:hover {' \
'  background: #35101b;' \
'}' \
> ~/.config/swaync/style.css