33 files changed,
126 insertions(+),
582 deletions(-)
Author:
Smirnov Alexandr
ss2316544@gmail.com
Committed at:
2021-03-03 18:37:06 +0200
Parent:
5c2b55f
jump to
M
README.md
··· 6 6 #### System configuration 7 7 - `OS` Arch 8 8 - `WM` bspwm, openbox 9 -- `Terminal` alacritty, kitty 9 +- `Terminal` kitty 10 10 - `Shell` zsh 11 11 - `Editor` nvim, vscode 12 12 - `File manager` ranger 13 13 - `Browser` firefox 14 14 - `Font` Jatbrains Mono 15 -- `Icon font` FontAwesome 15 +- `Icon font` Font Awesome 16 16 - `Launcher` rofi 17 17 18 18 #### Install config 19 19 Since i use **[rcm](https://github.com/thoughtbot/rcm)** set it: 20 -~~~bash 20 +```bash 21 21 yay -S rcm 22 -~~~ 22 +``` 23 23 24 24 Install dependency: 25 25 ```bash 26 26 sudo pacman -S neovim tmux git openbox tint2 bspwm sxhkd kitty picom dunst zsh rofi ranger firefox ttf-font-awesome ttf-jetbrains 27 -yay -S polybar xkblayout 27 +yay -S polybar 28 28 ``` 29 29 30 30 And install config: 31 -~~~bash 31 +```bash 32 32 git clone https://github.com/Smirnov-O/dotfiles .dotfiles 33 33 rcup 34 -~~~ 34 +```
D
config/betterlockscreenrc
··· 1 -insidecolor=#00000000 2 -ringcolor=#ffffff 3 -keyhlcolor=#51AFEF 4 -bshlcolor=#51AFEF 5 -separatorcolor=#51AFEF 6 -insidevercolor=#00000000 7 -insidewrongcolor=#51AFEF 8 -ringvercolor=#ffffff 9 -ringwrongcolor=#ffffff 10 -verifcolor=#ffffff 11 -timecolor=#ffffff 12 -datecolor=#ced4da 13 -loginbox=#000000
D
config/bspwm/bar.sh
··· 1 -#!/bin/bash 2 -killall -q polybar 3 -while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done 4 -polybar -c ~/.config/bspwm/polybar bar&
M
config/bspwm/bspwmrc
··· 1 1 #!/bin/sh 2 2 ###== Function 3 -Run() { 3 +R() { 4 4 if ! pgrep $1 5 5 then $@& fi 6 6 } 7 7 8 8 ###== Autostart 9 -Run feh --randomize --bg-scale ~/Pictures/wallp & 10 -Run sxhkd -c ~/.config/bspwm/sxhkd & 11 -~/.config/bspwm/bar.sh & 12 -Run lxsession & 13 -Run picom -b & 9 +R feh --randomize --bg-scale ~/Pictures/wallp & 10 +R sxhkd -c ~/.config/bspwm/sxhkd & 11 +R lxsession & 12 +R picom -b & 13 +~/.config/bspwm/polybar/bar.sh & 14 14 15 15 ###== BSPWM 16 + 16 17 # Workspaces 17 18 bspc monitor -d 1 2 3 4 5 6 7 8 9 18 19 19 20 # General 20 21 bspc config border_width 2 21 -bspc config window_gap 4 22 +bspc config window_gap 6 22 23 bspc config split_ratio 0.50 23 24 bspc config borderless_monocle true 24 25 bspc config gapless_monocle true ··· 33 34 bspc config urgent_border_color "#FF6C6B" 34 35 35 36 ###== BSPWM Rules 36 -bspc rule -a Alacritty desktop='^1' focus=on follow=on 37 -bspc rule -a kitty desktop='^1' focus=on follow=on 38 -bspc rule -a firefox desktop='^2' focus=on follow=on 39 -bspc rule -a Google-chrome desktop='^2' focus=on follow=on 40 -bspc rule -a Code desktop='^3' focus=on follow=on 41 -bspc rule -a '*:nvim' desktop='^3' focus=on follow=on 42 -bspc rule -a '*:ranger' desktop='^4' focus=on follow=off 43 -bspc rule -a Thunar desktop='^4' focus=on follow=off 44 -bspc rule -a Todoist desktop='^5' focus=on follow=off 45 -bspc rule -a Joplin desktop='^5' focus=on follow=on 46 -bspc rule -a Simplenote desktop='^5' focus=on follow=on 47 -bspc rule -a discord desktop='^6' focus=off follow=off 48 -bspc rule -a telegram-desktop desktop='^6' focus=off follow=on 49 -bspc rule -a KeePassXC desktop='^7' focus=on follow=off 50 -bspc rule -a Spotify desktop='^9' focus=on follow=on 37 +bspc rule -a Alacritty desktop='^1' focus=on follow=on 38 +bspc rule -a kitty desktop='^1' focus=on follow=on 39 +bspc rule -a firefox desktop='^2' focus=on follow=on 40 +bspc rule -a Google-chrome desktop='^2' focus=on follow=on 41 +bspc rule -a Code desktop='^3' focus=on follow=on 42 +bspc rule -a '*:nvim' desktop='^3' focus=on follow=on 43 +bspc rule -a '*:ranger' desktop='^4' focus=on follow=off 44 +bspc rule -a Thunar desktop='^4' focus=on follow=off 45 +bspc rule -a Todoist desktop='^5' focus=on follow=off 46 +bspc rule -a Joplin desktop='^5' focus=on follow=on 47 +bspc rule -a Simplenote desktop='^5' focus=on follow=on 48 +bspc rule -a discord desktop='^6' focus=off follow=off 49 +bspc rule -a telegram-desktop desktop='^6' focus=off follow=on 50 +bspc rule -a KeePassXC desktop='^7' focus=on follow=off 51 +bspc rule -a Spotify desktop='^9' focus=on follow=on
M
config/bspwm/polybar
→ config/bspwm/polybar/polybar
··· 57 57 58 58 [module/weather] 59 59 type = custom/script 60 -exec = python3 ~/.config/polybar/scripts/weather.py 60 +exec = python3 ~/.config/bspwm/polybar/scripts/weather.py 61 61 interval = 60 62 62 63 63 [module/archupd] 64 64 type = custom/script 65 -exec = ~/.config/polybar/scripts/updates-pacman-aur.sh 65 +exec = ~/.config/bspwm/polybar/scripts/updates-pacman-aur.sh 66 66 interval = 60 67 67 68 68 [module/wifi-signal] 69 69 type = custom/script 70 70 label = %output:%% 71 -exec = ~/.config/polybar/scripts/wifi-signal.sh 71 +exec = ~/.config/bspwm/polybar/scripts/wifi-signal.sh 72 72 interval = 3 73 73 74 74 [module/keyboard]
A
config/bspwm/polybar/bar.sh
··· 1 +#!/bin/bash 2 +killall -q polybar 3 +while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done 4 +polybar -c ~/.config/bspwm/polybar/polybar bar&
M
config/bspwm/sxhkd
··· 6 6 {kitty, \ 7 7 rofi -show drun -theme ntenV2} 8 8 9 -super + shift + {w, f, e, c, v, s, z, q} 10 - {google-chrome-stable, \ 11 - kitty --class ranger -e ranger, \ 12 - kitty --class nvim -e nvim, \ 13 - code, \ 14 - veracrypt, \ 15 - .applications/simplenote.appimage, \ 16 - betterlockscreen --off 180 -t "Computer is locked" -l, \ 17 - xkill } 9 +super + shift + {w, f, e, c, s, q} 10 + {google-chrome-stable, \ 11 + kitty --class ranger -e ranger, \ 12 + kitty --class nvim -e nvim, \ 13 + code, \ 14 + .applications/simplenote.appimage, \ 15 + xkill } 18 16 19 17 super + {_,shift} Print 20 18 {scrot -s, \ ··· 24 22 amixer sset Master {2%+,2%-,toggle} 25 23 26 24 super + {Escape, ctrl+i} 27 - {./.script/dmenu/dmenu-power.sh, \ 28 - ./.script/dmenu/dmenu-pass.sh } 25 + {.config/rofi/script/powermenu.sh, \ 26 + .config/rofi/script/passmenu.sh } 29 27 30 28 ### == BSPWM keys 31 29 super + q
D
config/castero/castero.conf
··· 1 -[client] 2 -delete_feed_confirmation = True 3 -reload_feeds_threshold = 10 4 -max_episodes = -1 5 -retain_absent_episodes = False 6 -disable_vertical_borders = False 7 -clean_html_descriptions = True 8 -refresh_delay = 30 9 -player = #mpv 10 -execute_command = 11 -proxy_http = 12 -proxy_https = 13 - 14 -[feeds] 15 -reload_on_start = False 16 - 17 -[downloads] 18 -custom_download_dir = 19 -request_timeout = 3 20 - 21 - 22 -[colors] 23 -color_foreground = white 24 -color_background = default 25 -color_foreground_alt = black 26 -color_background_alt = white 27 -color_foreground_dim = blue 28 -color_foreground_status = white 29 -color_foreground_heading = blue 30 -color_foreground_dividers = white 31 - 32 - 33 -[playback] 34 -seek_distance_forward = 30 35 -seek_distance_backward = 10 36 -default_playback_speed = 1.0 37 -default_volume = 80 38 -volume_adjust_distance = 5 39 - 40 - 41 -[keys] 42 -key_help = ? 43 -key_exit = q 44 -key_add_feed = A 45 -key_remove = O 46 -key_reload = r 47 -key_reload_selected = R 48 -key_save = d 49 -key_delete = D 50 -key_up = UP 51 -key_right = RIGHT 52 -key_down = DOWN 53 -key_left = LEFT 54 -key_scroll_up = UP 55 -key_scroll_down = DOWN 56 -key_play_selected = ENTER 57 -key_add_selected = SPACE 58 -key_clear = c 59 -key_next = n 60 -key_execute = e 61 -key_invert = i 62 -key_filter = / 63 -key_mark_played = m 64 -key_pause_play = p 65 -key_pause_play_alt = o 66 -key_seek_forward = f 67 -key_seek_forward_alt = F 68 -key_seek_backward = b 69 -key_seek_backward_alt = B 70 -key_rate_increase = ] 71 -key_rate_decrease = [ 72 -key_volume_increase = = 73 -key_volume_decrease = - 74 -key_show_url = u
D
config/i3/bar.sh
··· 1 -#!/bin/bash 2 -killall -q polybar 3 -while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done 4 -polybar bar &
D
config/i3/config
··· 1 -############# General ############# 2 -# Bind $MOD(super) key 3 -set $mod Mod4 4 -set $alt Mod1 5 -floating_modifier $mod 6 - 7 -# Set font 8 -font monospace 10 9 -font pango:JetBrains Mono 10 10 - 11 -# Disable window title 12 -default_border pixel 13 -new_float pixel 14 - 15 -# Borders 16 -hide_edge_borders smart 17 - 18 -############ Autostart ############ 19 -exec_always --no-startup-id exec setxkbmap "us,ua" ",winkeys" "grp:alt_shift_toggle" -option "ctrl:nocaps" 20 -exec_always --no-startup-id exec feh --randomize --bg-scale ~/Pictures/wallp 21 -exec --no-startup-id exec picom -b 22 - 23 -############ Variables ########### 24 -set $terminal kitty 25 -set $browser google-chrome-stable 26 -set $filemanager kitty --class ranger -e ranger 27 -set $codeeditor kitty --class nvim -e nvim 28 -set $guicode code 29 - 30 -############## WM keys ############ 31 - 32 -# Kill window 33 -bindsym $mod+q kill 34 -bindsym --release $mod+Shift+q exec xkill 35 - 36 -# Restart i3wm 37 -bindsym $mod+Control+r restart 38 - 39 -# Layout 40 -bindsym $mod+Control+w layout tabbed 41 -bindsym $mod+Control+e layout toggle split 42 -bindsym $mod+Shift+Tab floating toggle 43 - 44 -# Split mode 45 -bindsym $mod+$alt+h split h 46 -bindsym $mod+$alt+v split v 47 - 48 -# Scratchpad 49 -bindsym $mod+Shift+grave move scratchpad 50 -bindsym $mod+grave scratchpad show, floating disable 51 - 52 -############## User key ########### 53 - 54 -# Applications 55 -bindsym $mod+Return exec $terminal 56 -bindsym $mod+Shift+w exec $browser 57 -bindsym $mod+Shift+f exec $filemanager 58 -bindsym $mod+Shift+e exec $codeeditor 59 -bindsym $mod+Shift+c exec $guicode 60 -bindsym $mod+Shift+v exec veracrypt 61 -bindsym $mod+Shift+s exec ~/.applications/simplenote.appimage 62 - 63 -# Menu 64 -bindsym $mod+Shift+Return exec rofi -show drun -theme ntenV2 65 -bindsym $mod+Escape exec ~/.script/dmenu/dmenu-power.sh 66 -bindsym $mod+Control+i exec ~/.script/dmenu/dmenu-pass.sh 67 - 68 -# Screenhot 69 -bindsym --release Print exec scrot -s /home/${USER}/$(date +%Y-%m-%d-%H-%M-%S).png 70 -bindsym Shift+Print exec scrot /home/${USER}/$(date +%Y-%m-%d-%H-%M-%S).png 71 - 72 -# Volume 73 -bindsym $mod+plus exec amixer sset Master 2%+ 74 -bindsym $mod+minus exec amixer sset Master 2%- 75 -bindsym $mod+Shift+minus exec amixer sset Master toggle 76 - 77 -############## GAPS ############### 78 -smart_gaps on 79 -gaps inner 3 80 -gaps outer 4 81 - 82 -######### Window preferens ######## 83 -assign [class="(?i)alacritty|kitty"] $ws1 84 -assign [class="(?i)google-chrome-stable|firefox"] $ws2 85 -assign [class="Code|nvim"] $ws3 86 -assign [class="Thunar|ranger"] $ws4 87 -assign [class="Joplin|Simplenote"] $ws5 88 -assign [class="TelegramDesktop|discord"] $ws6 89 -for_window [class="TelegramDesktop|discord"] layout tabbed 90 -assign [class="KeePassX"] $ws7 91 -assign [class="Spotify"] $ws9 92 -for_window [title="Google Tasks"] floating enable 93 -focus_on_window_activation focus 94 - 95 -########## Change focus ########### 96 -bindsym $mod+h focus left 97 -bindsym $mod+Left focus left 98 -bindsym $mod+j focus down 99 -bindsym $mod+Down focus down 100 -bindsym $mod+k focus up 101 -bindsym $mod+Up focus up 102 -bindsym $mod+l focus right 103 -bindsym $mod+Right focus right 104 - 105 -########## Move window ############ 106 -bindsym $mod+Shift+h move left 107 -bindsym $mod+Shift+Left move left 108 -bindsym $mod+Shift+j move down 109 -bindsym $mod+Shift+Down move down 110 -bindsym $mod+Shift+k move up 111 -bindsym $mod+Shift+Up move up 112 -bindsym $mod+Shift+l move right 113 -bindsym $mod+Shift+Right move right 114 - 115 -########## Resize window ########## 116 -bindsym $mod+Control+h resize shrink width 5 px or 5 ppt 117 -bindsym $mod+Control+Left resize shrink width 5 px or 5 ppt 118 -bindsym $mod+Control+j resize grow height 5 px or 5 ppt 119 -bindsym $mod+Control+Down resize grow height 5 px or 5 ppt 120 -bindsym $mod+Control+k resize shrink height 5 px or 5 ppt 121 -bindsym $mod+Control+Up resize shrink height 5 px or 5 ppt 122 -bindsym $mod+Control+l resize grow width 5 px or 5 ppt 123 -bindsym $mod+Control+Right resize grow width 5 px or 5 ppt 124 - 125 -############ Workspaces ########### 126 -set $ws1 "1" 127 -set $ws2 "2" 128 -set $ws3 "3" 129 -set $ws4 "4" 130 -set $ws5 "5" 131 -set $ws6 "6" 132 -set $ws7 "7" 133 -set $ws8 "8" 134 -set $ws9 "9" 135 - 136 -bindsym $mod+1 workspace $ws1 137 -bindsym $mod+2 workspace $ws2 138 -bindsym $mod+3 workspace $ws3 139 -bindsym $mod+4 workspace $ws4 140 -bindsym $mod+5 workspace $ws5 141 -bindsym $mod+6 workspace $ws6 142 -bindsym $mod+7 workspace $ws7 143 -bindsym $mod+8 workspace $ws8 144 -bindsym $mod+9 workspace $ws9 145 - 146 -bindsym $mod+Shift+1 move container to workspace $ws1 147 -bindsym $mod+Shift+2 move container to workspace $ws2 148 -bindsym $mod+Shift+3 move container to workspace $ws3 149 -bindsym $mod+Shift+4 move container to workspace $ws4 150 -bindsym $mod+Shift+5 move container to workspace $ws5 151 -bindsym $mod+Shift+6 move container to workspace $ws6 152 -bindsym $mod+Shift+7 move container to workspace $ws7 153 -bindsym $mod+Shift+8 move container to workspace $ws8 154 -bindsym $mod+Shift+9 move container to workspace $ws9 155 - 156 -############### Bar ############### 157 -bar { 158 - status_command i3status-rs ~/.config/i3/i3status-rs.toml 159 - font pango:JetBrains Mono 10 160 - position top 161 - colors { 162 - background #262A2B 163 - statusline #DFDFDF 164 - separator #CED4DA 165 - focused_workspace #008DCD #008DCD #DFDFDF 166 - active_workspace #262A2B #262A2B #DFDFDF 167 - inactive_workspace #262A2B #262A2B #DFDFDF 168 - urgent_workspace #FF6C6B #FF6C6B #DFDFDF 169 - binding_mode #2F343A #900000 #DFDFDF 170 - } 171 -} 172 -############## Colors ############# 173 -client.focused #008DCD #008DCD #FFFFFF #008DCD #008DCD 174 -client.focused_inactive #008DCD #002b36 #DFDFDF #002b36 #002b36 175 -client.unfocused #262A2B #262A2B #DFDFDF #262A2B #262A2B 176 -client.urgent #002b36 #262A2B #FFFFFF #262A2B #262A2B 177 -client.placeholder #000000 #000000 #FFFFFF #000000 #000000 178 -client.background #FFFFFF 179 - 180 -# vim: ft=i3config
D
config/i3/i3status
··· 1 -# vim: ft=conf 2 -general { 3 - colors = false 4 - interval = 1 5 - output_format = "i3bar" 6 -} 7 - 8 -order += "volume master" 9 -order += "wireless _first_" 10 -#order += "battery all" 11 -order += "tztime local" 12 - 13 -volume master { 14 - format = " %volume" 15 - format_muted = " %volume" 16 - device = "default" 17 - mixer = "Master" 18 - mixer_idx = 2 19 -} 20 - 21 -wireless _first_ { 22 - format_up = "%quality" 23 - format_down = "W: down" 24 -} 25 - 26 -battery all { 27 - format = "%status %percentage" 28 - last_full_capacity = true 29 - format_down = "No battery" 30 - status_chr = "" 31 - status_bat = "" 32 - status_unk = "? UNK" 33 - status_full = "" 34 - path = "/sys/class/power_supply/BAT%d/uevent" 35 - low_threshold = 10 36 -} 37 - 38 -tztime local { 39 - format = " %d %b %H:%M" 40 -}
D
config/i3/i3status-rs.toml
··· 1 -theme = "native" 2 -icons = "awesome5" 3 - 4 -[[block]] 5 -block = "custom" 6 -command = "~/.script/kblayout" 7 -interval = 0 8 - 9 -[[block]] 10 -block = "sound" 11 -step_width = 2 12 - 13 -[[block]] 14 -block = "net" 15 -device = "wlp3s0" 16 -format = "{signal_strength}" 17 -interval = 4 18 - 19 -[[block]] 20 -block = "time" 21 -format = "%R" 22 -interval = 60
A
config/kitty/kitty.conf
··· 1 +font_family Jetbrains Mono 2 +repaint_delay 10 3 + 4 +# Cursor 5 +cursor #dfdfdf 6 +cursor_text_color #7d7d7d 7 +cursor_shape underline 8 +cursor_underline_thickness 1.3 9 +cursor_blink_interval 0 10 + 11 +# Bell 12 +enable_audio_bell no 13 +window_alert_on_bell no 14 +bell_on_tab no 15 + 16 +# Keyboard Shortcuts 17 +clear_all_shortcuts yes 18 +open_url_modifiers alt 19 +map ctrl+shift+c copy_to_clipboard 20 +map ctrl+shift+v paste_from_clipboard 21 +map ctrl+shift+u kitten unicode_input 22 +map alt+k scroll_line_up 23 +map alt+j scroll_line_down 24 +map ctrl+equal change_font_size all +2.0 25 +map ctrl+minus change_font_size all -2.0 26 +map ctrl+backspace change_font_size all 0 27 + 28 +# Theming 29 +background_opacity 0.85 30 +background #262a2b 31 +foreground #ffffff 32 +selection_background #1F2324 33 +color0 #002731 34 +color8 #001e26 35 +color1 #d01b24 36 +color9 #bd3612 37 +color2 #728905 38 +color10 #465a61 39 +color3 #a57705 40 +color11 #52676f 41 +color4 #2075c7 42 +color12 #708183 43 +color5 #c61b6e 44 +color13 #5856b9 45 +color6 #0fbcf9 46 +color14 #4bcffa 47 +color7 #e9e2cb 48 +color15 #fcf4dc
M
config/nvim/init.vim
··· 1 1 call plug#begin('~/.vim/plugged') 2 2 Plug 'Smirnov-O/nten16.vim' 3 + Plug 'sheerun/vim-polyglot' 4 + Plug 'maxboisvert/vim-simple-complete' 3 5 Plug 'jiangmiao/auto-pairs' 4 - Plug 'maxboisvert/vim-simple-complete' 5 - Plug 'sheerun/vim-polyglot' 6 - Plug 'tpope/vim-surround' 7 6 call plug#end() 8 7 9 8 "== General ··· 15 14 set nu rnu 16 15 17 16 " Line wrap 18 -set nowrap nolinebreak 17 +set nolinebreak 18 +set nowrap 19 19 20 20 " Tabs 21 21 set tabstop=4 ··· 27 27 28 28 " Status line 29 29 set laststatus=0 30 -set showmode showcmd 31 30 set ruler 32 31 33 32 " Scroll ··· 66 65 " Disable sound 67 66 set visualbell t_vb= 68 67 68 + 69 69 "== Settings for specific files 70 70 autocmd BufWritePre *.py normal m`:%s/\s\+$//e ` 71 71 autocmd FileType python,go,json setlocal expandtab shiftwidth=4 tabstop=4 ··· 73 73 74 74 75 75 "== Aliases 76 -command! W :w 76 +command! W :w 77 77 command! WQ :wq 78 78 command! Wq :wq 79 79 command! Wiki :e ~/doc/index.md 80 -command! Prettier :!prettier --write % 81 -command! ESlint :!eslint % 82 -command! Flake8 :!flake8 % 83 -command! Black :!black % 84 -command! AutoPep8 :!autopep8 --in-place % 80 +command! Prettier :!prettier % --write 81 +command! ESlint :!eslint % 82 +command! Flake8 :!flake8 % 83 +command! Black :!black % 84 +command! AutoPep8 :!autopep8 % --in-place 85 85 86 86 87 87 "== Mapping 88 88 let mapleader="'" 89 89 90 90 " Alternative keys 91 -noremap <C-s> :w<CR> 92 -noremap <C-n> :tabnew<CR> 91 +noremap <C-s> :w<CR> 92 +noremap <C-n> :tabnew<CR> 93 +noremap <C-f> :find<Space> 94 +noremap <space> :nohl<CR> 93 95 94 96 " Window 95 97 noremap <C-h> :wincmd h<CR> ··· 104 106 noremap spl :wincmd L<CR> 105 107 106 108 " Tab 107 -noremap tn :tabnew<CR> 108 -noremap tc :tabclose<CR> 109 +noremap tn :tabnew<CR> 110 +noremap tc :tabclose<CR> 109 111 noremap <A-1> :tabn 1<CR> 110 112 noremap <A-2> :tabn 2<CR> 111 113 noremap <A-3> :tabn 3<CR> ··· 121 123 noremap <leader>k :bprev<CR> 122 124 123 125 " Work with system clipboard 124 -noremap <leader>y "*yy<CR> 125 -noremap <leader>p "+p<CR> 126 +noremap <leader>c "*yy<CR> 127 +noremap <leader>v "+p<CR>
M
config/openbox/tint2rc
··· 224 224 execp_cache_icon = 1 225 225 execp_continuous = 0 226 226 execp_markup = 1 227 -execp_lclick_command = $HOME/.script/volume mute 227 +execp_lclick_command = $HOME/.config/openbox/script/volume mute 228 228 execp_rclick_command = 229 229 execp_mclick_command = 230 -execp_uwheel_command = $HOME/.script/volume up 231 -execp_dwheel_command = $HOME/.script/volume down 230 +execp_uwheel_command = $HOME/.config/openbox/.script/volume up 231 +execp_dwheel_command = $HOME/.config/openbox/.script/volume down 232 232 execp_font = Droid Sans Bold 8 233 233 execp_font_color = #d1d1d1 100 234 234 execp_padding = 8 0 ··· 240 240 #------------------------------------- 241 241 # Executor 2 242 242 execp = new 243 -execp_command = $HOME/.script/wifi-signal 243 +execp_command = $HOME/.config/openbox/script/wifi-signal 244 244 execp_interval = 5 245 245 execp_has_icon = 0 246 246 execp_cache_icon = 1
D
config/polybar/config
··· 1 -# vim: ft=dosini 2 - 3 -[settings] 4 -enable-ipc = true 5 -screenchange-reload = true 6 -pseudo-transparency = true 7 - 8 -[colors] 9 -background = #262A2B 10 -foreground = #DFDFDF 11 -secondary = #008DCD 12 -alert = #FF6C6B 13 - 14 -[bar/bar] 15 -monitor = ${env:MONITOR_MIDDLE} 16 -width = 100% 17 -height = 24 18 -fixed-center = true 19 -wm-restack = i3 20 -background = ${colors.background} 21 -foreground = ${colors.foreground} 22 -module-margin-left = 1 23 -module-margin-right = 1 24 -font-0 = Iosevka Nerd Font:style=Medium:size=8;3 25 -font-1 = FontAwesome5Free:style=Solid:size=7.5;2.5 26 -modules-left = i3 pacman-up window-name 27 -modules-right = pulseaudio weather wifi-signal keyboard time date 28 -tray-position = right 29 - 30 -[module/i3] 31 -type = internal/i3 32 -format = <label-state><label-mode> 33 -card = intel_backlight 34 -index-sort = false 35 -wrapping-scroll = false 36 -label-mode-padding = 1 37 -label-mode-background = ${colors.alert} 38 - 39 -label-focused = %icon% 40 -label-focused-background = ${colors.secondary} 41 -label-focused-foreground = ${colors.foreground} 42 -label-focused-padding = 1 43 -label-focused-underline = ${colors.alert} 44 - 45 -label-unfocused = %icon% 46 -label-unfocused-foreground = ${colors.foreground} 47 -label-unfocused-padding = 1 48 - 49 -label-urgent = %icon% 50 -label-urgent-background = ${colors.alert} 51 -label-urgent-foreground = ${colors.foreground} 52 -label-urgent-padding = 1 53 -label-urgent-underline = ${colors.alert} 54 - 55 -label-visible = %icon% 56 -label-visible-background = ${colors.background} 57 -label-visible-foreground = ${colors.foreground} 58 -label-visible-padding = 1 59 -label-visible-underline = ${colors.background} 60 - 61 -ws-icon-0 = "1;1 " 62 -ws-icon-1 = "2;2 " 63 -ws-icon-2 = "3;3 " 64 -ws-icon-3 = "4;4 " 65 -ws-icon-4 = "5;5 " 66 -ws-icon-5 = "6;6 " 67 -ws-icon-6 = "7;7 " 68 -ws-icon-7 = "8;8 " 69 -ws-icon-8 = "9;9 " 70 - 71 -[module/wifi-signal] 72 -type = custom/script 73 -label = %output:%% 74 -exec = ~/.config/polybar/scripts/wifi-signal.sh 75 -interval = 3 76 - 77 -[module/pulseaudio] 78 -type = internal/pulseaudio 79 -interval = 2 80 -format-volume = <ramp-volume> <label-volume> 81 -label-volume = %percentage%% 82 -label-volume-foreground = ${root.foreground} 83 -label-muted = 84 -ramp-volume-0 = 85 - 86 -[module/weather] 87 -type = custom/script 88 -exec = python3 ~/.config/polybar/scripts/weather.py 89 -interval = 60 90 - 91 -[module/pacman-up] 92 -type = custom/script 93 -exec = ~/.config/polybar/scripts/updates-pacman-aur.sh 94 -interval = 15 95 - 96 -[module/window-name] 97 -type = internal/xwindow 98 -label-maxlen = 100 99 - 100 -[module/keyboard] 101 -type = internal/xkeyboard 102 -format-prefix = "" 103 -label-layout = %layout% 104 -blacklist-0 = num lock 105 -blacklist-1 = scroll lock 106 -blacklist-2= caps lock 107 - 108 -[module/date] 109 -type = internal/date 110 -interval = 600 111 -date = %d.%m.%Y 112 -label = %date% 113 - 114 -[module/time] 115 -type = internal/date 116 -time = %H:%M 117 -label = %time%
D
config/polybar/launch.sh
··· 1 -#!/bin/bash 2 -killall -q polybar 3 -while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done 4 -polybar i3bar &
M
gitconfig
··· 3 3 name = Smirnov Alexandr 4 4 email = ss2316544@gmail.com 5 5 6 -[init] 7 - defaultBranch = master 8 - 9 6 [web] 10 - #browser = firefox 11 7 browser = google-chrome-stable 12 8 13 9 [core] 14 10 editor = nvim 15 - excludesfile = ~/.gitignore_global 16 11 17 12 [alias] 18 13 ada = add -A 19 - com = commit -am 20 14 cmm = commit -m 21 - ch = checkout 22 15 st = status 23 - br = branch 24 - 25 -[color] 26 - ui = true 27 - interactive = true 28 - branch = true 29 - status = true 30 16 31 17 [credential] 32 18 helper = cache --timeout=1800
M
tmux.conf
··· 8 8 set -g base-index 1 9 9 set -g pane-base-index 1 10 10 11 -## History 12 -set -g history-limit 1000 13 - 14 11 ## Mouse support 15 12 set -g mouse on 16 13 setw -g mouse on ··· 24 21 ## HOME/END key support 25 22 bind-key -n End send-key C-e 26 23 bind-key -n Home send-key C-a 27 -bind-key -n Home send Escape "OH" 28 -bind-key -n End send Escape "OF" 24 +#bind-key -n Home send Escape "OH" 25 +#bind-key -n End send Escape "OF" 29 26 30 27 31 28 ## Reload config 32 -bind r source-file ~/.tmux.conf \; 33 - display 'Reloaded tmux config' 29 +bind r source-file ~/.tmux.conf \; display 'Reloaded tmux config' 34 30 35 31 ## Vim keys for change/resize window 36 32 bind -r h select-pane -L ··· 44 40 bind -r L resize-pane -R 2 45 41 46 42 ## Alternative keys for create window 47 -bind _ split-window -h 48 -bind - split-window -v 43 +bind _ split-window -v 44 +bind - split-window -h 49 45 50 46 ## Change focus on last panel 51 47 bind Tab last-window
M
zshrc
··· 1 1 export PATH="$HOME/.yarn/bin:$HOME/bin:$HOME/.applications:$HOME/.local/bin:$PATH" 2 +export EDITOR="nvim" 2 3 3 4 ### Oh my zsh 4 -export ZSH="$HOME/.oh-my-zsh" 5 +export OMH="$HOME/.oh-my-zsh" 5 6 ZSH_THEME="simple" 6 -DISABLE_UPDATE_PROMPT="true" 7 7 DISABLE_AUTO_TITLE="true" 8 8 plugins=(yarn nvm) 9 -source $ZSH/oh-my-zsh.sh 9 +source $OMH/oh-my-zsh.sh 10 10 11 11 ### Aliases 12 12 alias cls="clear"