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 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 | #⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿#
#⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡇⠄⠄⠙⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿#
#⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡇⠄⠠⣶⣯⣈⠻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿#
#⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⠄⠄⢻⣿⣿⣷⣌⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿#
#⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠿⠿⠿⠿⠇⠄⠄⣿⣿⣿⣿⣮⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿ ⣿⣿⣿⣿⣿⣿#
#⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠿⠛⠉⠄⠄⠄⠄⠄⠄⠄⠄⣰⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿ ⣿⣿⣿⣿⣿⣿#
#⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠟⠋⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⢀⣼⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿ i3 CONFIG ⣿⣿⣿⣿⣿⣿#
#⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠟⠉⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⣠⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿ Свобода начинается с разрушения привычек ⣿⣿⣿⣿⣿⣿#
#⣿⣿⣿⣿⣿⣿⣿⣿⠃⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⢀⣠⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿ ⣿⣿⣿⣿⣿⣿#
#⣿⣿⣿⣿⣿⣿⣿⣿⣿⣤⣤⣶⣿⣶⣶⣶⣾⢻⣆⣀⣼⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿ ⣿⣿⣿⣿⣿⣿#
#⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡇⢸⠋⢹⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿#
#⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡀⢸⠄⢻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿#
#⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡇⢸⡇⢸⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿#
#⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡋⣀⡈⠁⣀⣉⣉⠛⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿#
#⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿#
set $mod Mod4
set $refresh_i3status killall -SIGUSR1
font pango:monospace 9
default_border pixel 4
default_floating_border pixel 5
#================== если i3-gaps =========================
for_window [class="urxvt"] floating enable
#for_window [class="^subl$"] move container to workspace 10
for_window [tiling] border pixel 5
default_border pixel 5
#smart_gaps off
gaps inner 5
gaps outer 0
# АССОЦИАЦИИ
#==============================================
assign [class="Subl"] $ws10
assign [class="URxvt" instance="mcabber"] $ws9
#assign [class="URxvt" instance="irssi"] $ws9
#assign [class="URxvt" instance="cmus"] $ws10
#assign [class="Telegram"] $ws4
#bindsym $mod+q scratchpad show
#bindsym $mod+Shift+q move scratchpad
#[class="^URxvt$"] scratchpad show
# ПОЛИБАР/PICOM
#================================================
exec_always --no-startup-id ~/.config/polybar/launch.sh
exec_always --no-startup-id "killall -q picom; picom --config $HOME/.config/picom/picom.conf"
# ОКНА #
#================================================
for_window [class="^.*"] border pixel 1
for_window [class="i3bar"] gaps outer current set 0
# ЦВЕТА РАМОК border backgr text indicator child_border
#================================================================================
client.focused #2F522F #1d1f2110 #1d1f2110 #1d1f2110 #336633
client.focused_inactive #000000 #000000 #000000 #000000 #000000
client.unfocused #000000 #000000 #000000 #000000 #000000
client.urgent #000000 #000000 #000000 #000000 #000000
client.background #00000000
# АВТОЗАПУСК
#===============================================================
exec_always --no-startup-id urxvtd --quiet --opendisplay --fork
exec_always --no-startup-id setxkbmap "us,ru" ",winkeys" "grp:toggle"
exec_always --no-startup-id flameshot
exec_always --no-startup-id crow &
exec_always --no-startup-id --systray pavucontrol &
exec_always --no-startup-id numlockx on
exec_always --no-startup-id xfce4-clipman &
exec_always --no-startup-id nitrogen --restore
exec_always --no-startup-id sleep 3 && udiskie -ans --terminal=urxvt -f 'urxvt -e ranger'
#exec_always --no-startup-id xscreensaver -no-splash
#exec_always --no-startup-id sleep 3 && urxvt -name mcabber -e mcabber
# ХОТКЕИ
#=======================================================================
# Привер правильного синтаксиса urxvt: urxvt -name mcabber -e mcabber
#=======================================================================
bindsym $mod+Return exec --no-startup-id urxvt
bindsym F1 exec --no-startup-id subl
#?bindsym $mod+x move container to workspace 3; workspace 3
bindsym $mod+z exec --no-startup-id urxvt -name mc -e mc
bindsym $mod+Delete exec --no-startup-id urxvt -e /usr/bin/htop
bindsym $mod+j exec --no-startup-id urxvt -name mcabber -e mcabber
bindsym $mod+i exec --no-startup-id urxvt -name irssi -e irssi
bindsym $mod+x exec --no-startup-id urxvt -name ranger -e ranger
bindsym $mod+F2 exec --no-startup-id audacious
bindsym $mod+F3 exec --no-startup-id firefox
bindsym $mod+F4 exec --no-startup-id telegram-desktop
bindsym $mod+F6 exec --no-startup-id simplescreenrecorder
bindsym $mod+k exec --no-startup-id speedcrunch
bindsym $mod+F7 exec --no-startup-id pavucontrol &
bindsym F12 exec --no-startup-id flameshot gui
bindsym F2 exec --no-startup-id meld
#bindsym $mod+F5 exec --no-startup-id /usr/bin/dtm-client
#bindsym $mod+F2 exec --no-startup-id urxvt -name cmus -e cmus
bindsym $mod+w exec --no-startup-id urxvt -e netctl restart wlp2s0-Matrix
#################################### ЯРКОСТЬ(нужен пакет brightnessctl) и ЗВУК ################################
bindsym XF86MonBrightnessUp exec --no-startup-id /usr/bin/brightnessctl -d intel_backlight set +5%
bindsym XF86MonBrightnessDown exec --no-startup-id /usr/bin/brightnessctl -d intel_backlight set 5%-±±±
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +5% && $refresh_i3status
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -5% && $refresh_i3status
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
###############################################################################################################
floating_modifier $mod
bindsym $mod+Shift+f floating toggle
focus_follows_mouse no
# Автовозврат по той же клавише
workspace_auto_back_and_forth yes
bindsym $mod+c kill
bindsym $mod+d exec --no-startup-id rofi -show run
# Управление фокусом
bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right focus right
#Перемещение самого окна
bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right
# Создание горизонтального контейнера
bindsym $mod+h split v
# Создание вертикального контейнера
bindsym $mod+v split h
# Полноэкранный режим окна
bindsym $mod+f fullscreen toggle
# ТИПЫ КОНТЕЙНЕРОВ
bindsym $mod+s layout stacking
#bindsym $mod+w layout tabbed
bindsym $mod+e layout toggle split
# Переключить на плавающий режим
bindsym $mod+Shift+space floating toggle
# change focus between tiling / floating windows
bindsym $mod+space focus mode_toggle
# focus the parent container
bindsym $mod+a focus parent
# focus the child container
#bindsym $mod+d focus child
# Define names for default workspaces for which we configure key bindings later on.
# We use variables to avoid repeating the names in multiple places.
set $ws1 "1"
set $ws2 "2"
set $ws3 "3"
set $ws4 "4"
set $ws5 "5"
set $ws6 "6"
set $ws7 "7"
set $ws8 "8"
set $ws9 "9"
set $ws10 "10"
# Переключение рабочих мест
bindsym $mod+1 workspace number $ws1
bindsym $mod+2 workspace number $ws2
bindsym $mod+3 workspace number $ws3
bindsym $mod+4 workspace number $ws4
bindsym $mod+5 workspace number $ws5
bindsym $mod+6 workspace number $ws6
bindsym $mod+7 workspace number $ws7
bindsym $mod+8 workspace number $ws8
bindsym $mod+9 workspace number $ws9
bindsym $mod+0 workspace number $ws10
# Перемещение окна на другой рабочий стол
bindsym $mod+Shift+1 move container to workspace number $ws1
bindsym $mod+Shift+2 move container to workspace number $ws2
bindsym $mod+Shift+3 move container to workspace number $ws3
bindsym $mod+Shift+4 move container to workspace number $ws4
bindsym $mod+Shift+5 move container to workspace number $ws5
bindsym $mod+Shift+6 move container to workspace number $ws6
bindsym $mod+Shift+7 move container to workspace number $ws7
bindsym $mod+Shift+8 move container to workspace number $ws8
bindsym $mod+Shift+9 move container to workspace number $ws9
bindsym $mod+Shift+0 move container to workspace number $ws10
# ПЕРЕЧИТАТЬ КОНФИГ i3
bindsym $mod+Shift+c reload
# РЕСТАРТ i3
bindsym $mod+Shift+r restart
# ПЕРЕЛОГИНИТЬСЯ
bindsym $mod+Shift+e exec "i3-msg exit"
bindsym $mod+r mode "resize"
# Изменить размер окна
mode "resize" {
bindsym j resize shrink width 10 px or 10 ppt
bindsym k resize grow height 10 px or 10 ppt
bindsym l resize shrink height 10 px or 10 ppt
bindsym semicolon resize grow width 10 px or 10 ppt
# same bindings, but for the arrow keys
bindsym Left resize shrink width 10 px or 10 ppt
bindsym Up resize grow height 10 px or 10 ppt
bindsym Down resize shrink height 10 px or 10 ppt
bindsym Right resize grow width 10 px or 10 ppt
# back to normal: Enter or Escape or $mod+r
bindsym Return mode "default"
bindsym Escape mode "default"
bindsym $mod+r mode "default"
}
|
x
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 | # PICOM TEST NEW #
# ===================
# Nvidia card ))
show-all-xerrors = false;
backend = "glx";
experimental-backends = false;
glx-no-stencil = true;
glx-copy-from-front = true;
glx-no-rebind-pixmap = true;
xrender-sync-fence = true;
no-use-damage = false;
# Прозрачность
# ====================
inactive-opacity = 1;
active-opacity = 1;
frame-opacity = 1;
inactive-opacity-override = false;
no-fading-destroyed-argb = true;
# Затухание
# ====================
fading = true;
fade-delta = 12;
fade-in-step = 0.05;
fade-out-step = 0.05;
fade-exclude = [];
no-fading-openclose = false;
# Разное
# ======================
mark-wmwin-focused = true;
mark-ovredir-focused = true;
use-ewmh-active-win = false;
detect-client-opacity = false;
refresh-rate = 60;
vsync = true;
unredir-if-possible = true;
shadow-ignore-shaped = true;
detect-transient = true;
detect-client-leader = true;
focus-exclude = [];
# Window Types
# ========================================================
wintypes: {
tooltip = { fade = true; shadow = false; };
menu = { fade = true; shadow = false; };
popup_menu = { fade = true; shadow = false; };
dropdown_menu = { fade = true; shadow = false; };
utility = { fade = true; shadow = false; };
dialog = { fade = true; shadow = false; };
notify = { fade = true; shadow = false; };
unknown = { fade = true; shadow = false; };
};
# --no-fading-destroyed-argb
|
x
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 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 | ; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗
; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗
; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝
; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗
; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║
; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝
;
; ARCH 2022
[colors]
background = #8C000000
background-alt = #00000000
foreground = #66CC66
foreground-alt = #66CC66
secondary = #00B2FF
alert = #EA3636
spetz = #00B2FF
; 100% - FF
; 95% - F2
; 90% - E6
; 85% - D9
; 80% - CC
; 75% - BF
; 70% - B3
; 65% - A6
; 60% - 99
; 55% - 8C
; 50% - 80
; 45% - 73
; 40% - 66
; 35% - 59
; 30% - 4D
; 25% - 40
; 20% - 33
; 15% - 26
; 10% - 1A
; 5% - 0d с
; 0% - 00
[bar/mybar]
bottom = false
locale = ru_RU.UTF-8
width = 100%
height = 20
offset-x = 0 # двигает только трей
offset-y = 0 # двигает только трей
radius = 0
fixed-center = false
background = ${colors.background}
foreground = ${colors.foreground}
line-size = 0
line-color = ${colors.foreground}
border-size = 2
border-color = ${colors.background}
;padding-left = 2
;padding-right = 2
padding = 1
;module-margin-left = 3
;module-margin-right = 3
module-margin = 3
font-0 = Ubuntu Light:size=8:style=Regular;0
font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
font-2 = siji:pixelsize=8;0
font-3 = Material Icons:style=Regular
font-4 = FontAwesome 5 Free:size=8:style=Solid;0
;/////////////////////////////////////////////////////////////////////////////
modules-left = i3 gmail
modules-center = wlan cpu eth temperature memory battery xkeyboard pulseaudio
modules-right = mpd date
;/////////////////////////////////////////////////////////////////////////////
tray-position = right
tray-height = 20
tray-padding = 3
tray-transparent = true
tray-background = ${colors.background}
tray-offset-x = 0
tray-offset-y = 0
tray-maxsize = 10
enable-ipc = true
wm-restack = i3
;override-redirect = true
scroll-up = i3wm-wsnext
scroll-down = i3wm-wsprev
cursor-click = pointer
cursor-scroll = ns-resize
[module/xbacklight]
type = internal/xbacklight
format = <label>
label = Свет %percentage%%
;bar-width = 12
;bar-indicator = |
;bar-indicator-foreground = ${colors.foreground}
;bar-indicator-font = 2
;bar-fill = ─
;bar-fill-font = 2
;bar-fill-foreground = ${colors.foreground}
;bar-empty = ─
;bar-empty-font = 2
;bar-empty-foreground = ${colors.foreground}
[module/backlight-acpi]
inherit = module/xbacklight
type = internal/backlight
card = intel_backlight
[module/xkeyboard]
type = internal/xkeyboard
blacklist-0 = num lock
;format-prefix = " "
format-prefix-foreground = ${colors.foreground-alt}
format-prefix-underline = ${colors.secondary}
label-layout = %layout%
label-indicator-padding = 2
label-indicator-margin = 1
label-indicator-background = ${colors.secondary}
label-indicator-underline = ${colors.secondary}
[module/i3]
type = internal/i3
format = <label-state> <label-mode>
index-sort = true
wrapping-scroll = false
pin-workspaces = true
label-mode-padding = 2
label-mode-foreground = ${colors.foreground}
label-mode-background = ${colors.foreground}
; focused = Active workspace on focused monitor
label-focused = %index%
label-focused-background = ${colors.background-alt}
label-focused-underline= ${colors.foreground}
label-focused-padding = 2
; unfocused = Inactive workspace on any monitor
label-unfocused = %index%
label-unfocused-padding = 2
; visible = Active workspace on unfocused monitor
label-visible = %index%
label-visible-background = ${self.label-focused-background}
label-visible-underline = ${self.label-focused-underline}
label-visible-padding = ${self.label-focused-padding}
; urgent = Workspace with urgency hint set
label-urgent = %index%
label-urgent-background = ${colors.alert}
label-urgent-padding = 2
; Separator in between workspaces
; label-separator = |
[module/mpd]
type = internal/mpd
interval = 2
host = 127.0.0.1
port = 6600
;<toggle> - gets replaced with <icon-(pause|play)>
;<toggle-stop> - gets replaced with <icon-(stop|play)>
format-online = <label-song> <icon-prev> <icon-stop> <toggle> <icon-next>
label-offline = OFFLINE
label-song = %title%
icon-prev =
icon-stop =
icon-play =
icon-pause =
icon-next =
;icon-repeat =
;icon-repeatone =
;icon-random =
toggle-on-foreground = #ff
toggle-off-foreground = #55
label-song-maxlen = 50
label-song-ellipsis = true
[module/cpu]
type = internal/cpu
interval = 1
format = <label> <ramp-coreload>
format-prefix = " "
format-prefix-foreground = ${colors.foreground-alt}
label = %percentage:2%%
ramp-coreload-0 = ▁
ramp-coreload-1 = ▂
ramp-coreload-2 = ▃
ramp-coreload-3 = ▄
ramp-coreload-4 = ▅
ramp-coreload-5 = ▆
ramp-coreload-6 = ▇
ramp-coreload-7 = █
[module/memory]
type = internal/memory
interval = 1
format-prefix = " "
format-prefix-foreground = ${colors.foreground-alt}
;format-underline = #4bffdc
label = %percentage_used%% [ %mb_swap_used% ]
[module/wlan]
type = internal/network
interface = wlp2s0
interval = 10
unknown-as-up = true
format-connected = <label-connected>
format-connected-prefix = " "
format-connected-prefix-foreground = ${colors.foreground}
label-connected = %essid%
; %ifname% %local_ip% переменные если что
label-connected-foreground = ${colors.foreground}
[module/eth]
type = internal/network
interval = 3
interface = enp0s29u1u?
unknown-as-up = true
;format-connected = <ramp-signal> <label-connected> #ориг
format-connected = <label-connected>
;format-connected-underline =
format-connected-prefix = " "
format-connected-prefix-foreground = ${colors.spetz}
;label-connected =%ifname% %local_ip% #ориг
label-connected = GSM
label-connected-foreground = ${colors.spetz}
;format-disconnected = <label-disconnected>
;format-disconnected-underline = ${self.format-connected-underline}
;label-disconnected = %ifname% disconnected
;label-disconnected-foreground = ${colors.foreground-alt}
ramp-signal-0 =
ramp-signal-1 =
ramp-signal-2 =
ramp-signal-3 =
ramp-signal-4 =
ramp-signal-5 =
[module/date]
type = internal/date
interval = 1
dqate =
time =%{F$colors.foreground} %H:%M:%S
#клик ЛКМ открывает дату
date-alt = %{F$colors.foreground} %a %e %B %Y
time-alt = %H:%M
format-prefix =
#format-prefix-foreground = ${colors.foreground-alt}
#format-overline = #7163AF
#format-underline = #7163AF
label = %date% %time%
#Фон для модуля
#format-background = #7163AF
#format-foreground = #E0D9FF
[module/alsa]
type = internal/alsa
master-soundcard = default
speaker-soundcard = default
headphone-soundcard = default
master-mixer = Master
speaker-mixer = Speaker
headphone-mixer = Headphone
headphone-id = 9
mapped = true
interval = 5
[module/pulseaudio]
type = internal/pulseaudio
format-volume = Звук <bar-volume>
label-volume-foreground = ${root.foreground}
label-muted = ТИХО!
label-muted-foreground = #DF2929
bar-volume-width = 10
bar-volume-foreground-0 = ${colors.foreground}
bar-volume-foreground-1 = ${colors.foreground}
bar-volume-foreground-2 = ${colors.foreground}
bar-volume-foreground-3 = ${colors.foreground}
bar-volume-foreground-4 = ${colors.foreground}
bar-volume-foreground-5 = ${colors.foreground}
bar-volume-foreground-6 = ${colors.foreground}
bar-volume-foreground-7 = ${colors.foreground}
bar-volume-foreground-8 = ${colors.foreground}
bar-volume-foreground-9 = ${colors.foreground}
bar-volume-gradient = false
bar-volume-indicator = |
bar-volume-indicator-font = 2
bar-volume-fill = ─
bar-volume-fill-font = 2
bar-volume-empty = ─
bar-volume-empty-font = 2
bar-volume-empty-foreground = ${colors.foreground}
[module/battery]
type = internal/battery
label-font = 5
full-at = 95
battery = BAT1
adapter = ADP1
label-full = %percentage%%
label-charging = ---> %percentage%%
format-charging = <animation-charging> <label-charging>
label-discharging = -- разряжается %percentage%% --
label-discharging-foreground = #DF2929
format-discharging = <label-discharging>
animation-charging-0 =
animation-charging-1 =
animation-charging-2 =
animation-charging-3 =
animation-charging-4 =
animation-charging-framerate = 200
[module/temperature]
type = internal/temperature
interval = 1
thermal-zone = 0
warn-temperature = 80
format = <ramp> <label>
format-padding = 2
format-warn = <ramp> <label-warn>
format-warn-padding = 2
label = %temperature-c%
label-warn = %temperature-c% жарко
label-warn-foreground = #e4b226
ramp-0 =
ramp-1 =
ramp-2 =
ramp-3 =
ramp-4 =
[module/gmail]
type = custom/script
exec = ~/.config/polybar/gmail/launch.py --color '#58ACFA'
tail = true
click-left = xdg-open https://mail.google.com
[settings]
screenchange-reload = true
;compositing-background = xor
;compositing-background = screen
;compositing-foreground = source
;compositing-border = over
;pseudo-transparency = false
compositing-background = source
compositing-foreground = over
compositing-overline = over
compositing-underline = over
compositing-border = over
[global/wm]
margin-top = 0
margin-bottom = 0
; vim:ft=dosini
|
x
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 126 127 128 129 130 131 132 133 134 135 136 137 138 | /* Это плохая мутация темы Arthur */
* {
foreground: #33CC66;
background-color: @transparent;
black: #000000;
green: #003300;
white: #bbaa99;
transparent: rgba(0,0,0,0);
font: "FontAwesome 12"; // размер шрифта ВСЕГО //
}
window {
location: center;
anchor: center;
transparency: "screenshot";
padding: 0px; // менял
border: 0px;
border-radius: 10px;
background-color: @transparent;
spacing: 0;
children: [mainbox];
orientation: horizontal;
}
mainbox {
spacing: 0;
children: [ inputbar, message, listview ];
}
message {
border-color: @foreground;
border: 0px 2px 2px 2px;
padding: 5;
//background-color: @tcyan;
}
message {
font: "FontAwesome 24";
color: @green;
}
inputbar {
color: @foreground; /* цвет текста инпутбара */
padding: 18px; /* отступ run */
background-color: @black; /* цвет фона инпутбара */
border: 0px 0px 1px 0px; /* рамка верхняя */
border-radius: 15px 15px 0px 0px;
border-color: @foreground; /* цвет рамки инпутбара */
//font: "FontAwesome 6"; /* шрифт инпутбара */
}
entry,prompt,case-indicator {
text-font: inherit;
text-color:inherit;
}
prompt {
margin: 0px 0.3em 0em 0em ;
}
listview {
padding: 18px; /* отступ текстового блока */
border-radius: 0px 0px 15px 15px;
border-color: @foreground; /* рамка списка */
border: 0px 0px 0px 0px; /* рамка нижняя */
background-color: @black; /* цвет фона списка */
dynamic: false;
lines: 10; /* количество строк */
}
element {
padding: 2px; /* плостность строк списка */
vertical-align: 0.5;
border-radius: 0px; /* закругление углов выделенной строки списка */
background-color: @transparent; /* фон элементов списка */
color: @foreground; /* цвет списка */
font: inherit;
}
element-text {
background-color: inherit;
text-color: inherit; /* */
}
element selected.normal {
background-color: @green; /* цвет строки в фокусе */
}
element normal active {
foreground: @red;
}
element normal urgent {
foreground: @red;
}
element alternate normal {
}
element alternate active {
foreground: @red;
}
element alternate urgent {
foreground: @lightred;
}
element selected active {
background-color: @lightblue;
foreground: @dark;
}
element selected urgent {
background-color: @lightred;
foreground: @dark;
}
element normal normal {
}
vertb {
expand: false;
children: [ dummy0, mode-switcher, dummy1 ];
}
dummy0, dummy1 {
expand: true;
}
mode-switcher {
expand: false;
orientation: vertical;
spacing: 0px;
border: 0px 0px 0px 0px;
}
button {
font: "FontAwesome 24";
padding: 6px;
border: 2px 0px 2px 2px;
border-radius: 4px 0px 0px 4px;
background-color: @black;
border-color: @foreground;
color: @foreground;
horizontal-align: 0.5;
}
button selected normal {
color: @dark;
border: 2px 0px 2px 2px;
background-color: @backlight;
border-color: @foreground;
}
error-message {
expand: true;
background-color: red;
border-color: darkred;
border: 2px;
padding: 1em;
}
|
x
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 | URxvt.tabbed.autohide: true
URxvt.font: xft:siji:size=10
URxvt.iso14755 : false
URxvt.boldFont:
!URxvt*font:-misc-fixed-medium-r-normal-*-*-140-*-*-c-*-koi8-r
URxvt.scrollBar: false
Rxvt*saveLines: 500
Rxvt*background: Black
Rxvt*foreground: #55aa55
Rxvt*color0: #000000
Rxvt*color1: #aa0000
Rxvt*color2: #0033CC
Rxvt*color3: #0033CC
Rxvt*color4: #2367FF
Rxvt*color5: #aa00aa
Rxvt*color6: #00aaaa
Rxvt*color7: #aaaaaa
Rxvt*color8: #555555
Rxvt*color9: #ff5555
Rxvt*color10: #0033CC
Rxvt*color11: #ffff55
Rxvt*color12: #5555ff
Rxvt*color13: #ff55ff
Rxvt*color14: #55ffff
Rxvt*color15: #ffffff
URxvt.internalBorder: 10
URxvt.clipboard.autocopy: false
URxvt.keysym.Shift-Control-V: eval:paste_clipboard
URxvt.keysym.Shift-Control-C: eval:selection_to_clipboard
URxvt.letterSpace: -5
URxvt.shading: 10
URxvt.transparent: true
Xft.autohint: 0
Xft.lcdfilter: lcddefault
Xft.hintstyle: hintslight
Xft.hinting: 1
Xft.antialias: 1
Xft.rgba: rgb
|
x
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 | #!/bin/sh
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap
TERMINAL=urxvt
EDITOR=subl
# merge in defaults and keymaps
if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi
if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi
if [ -f "$userresources" ]; then
xrdb -merge "$userresources"
fi
if [ -f "$usermodmap" ]; then
xmodmap "$usermodmap"
fi
#####################################################
# start some nice programs
#####################################################
items
xset r rate 210 47
xset s off
xset dpms 0 0 0
#udiskie -ans -f ranger
#udiskie --no-notify --tray # автомонтирование устройств
syndaemon -i 1 -d -K # отключение курсора при вводе
exec i3
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
[ -x "$f" ] && . "$f"
done
unset f
fi
twm &
xclock -geometry 50x50-1+1 &
xterm -geometry 80x50+494+51 &
xterm -geometry 80x20+494-0 &
exec xterm -geometry 80x66+0+0 -name login
|
x
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 | #
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
#########################################################
alias ls='ls --color=auto'
PS1="\[\e[0;91m\]YOUR_USER \[\e[0;34m\] \A \w > \[$(tput sgr0)\]"
# Чтобы при переключении на root (именно при выполнении "sudo -i",
# а не "su root" строка приглашения осталась красивой, измените
# переменную PS1 (строка "PS1='[\u@\h \W]\$ '" в глобальном конфиге, в # файле /etc/bash.bashrc) на такую строчку:
#
# PS1="\[\e[0;31m\]ROOT \[\e[0;32m\] \A \w > \[$(tput sgr0)\]"
##########################################################
# для программы pass (например для mcabber)
export PASSWORD_STORE_KEY="0x0000000000000000"
export PASSWORD_STORE_DIR="${HOME}/.pass"
export PASSWORD_STORE_CLIP_TIME="30"
GPG_TTY=$(tty)
export GPG_TTY
# АЛИАСЫ
###################################
alias in='sudo pacman -S'
alias un='sudo pacman -Rs'
alias up='sudo pacman -Syu'
alias gc='git clone'
alias mp='makepkg -si'
alias ctl='sudo systemctl'
alias ping='ping ya.ru'
alias rn='sudo netctl restart YOUR_ESSID'
alias virus='clamscan -r --bell -i'
alias ???='sudo iotop -obPat'
alias gpg='gpg1 --keyserver pgp.mit.edu'
alias gpg='gpg --keyserver keys.openpgp.org'
|
x
Notes
Пакеты которые использует этот конфиг:
urxvt (unicode)
subl
mcabber
cmus
picom
flameshot gui
crow
numlockx
xfce4-clipman
nitrogen
feh (он для просмотра в ranger'e)
udiskie (автомонтирование дисков)
irssi
audacious
firefox
telegram-desktop
simplescreenrecorder
speedcrunch
meld
cmus
Скрипт индикатор почты-гугл взят отсюда:
https://github.com/crabvk/polybar-gmail#script-arguments