all repos

dotfiles @ 2a67211908cdfba98f0d331836bb20d5656899cb

i use rach linux btw
12 files changed, 589 insertions(+), 85 deletions(-)
Add openbox config
Author: Smirnov Alexandr ss2316544@gmail.com
Committed at: 2021-02-25 16:05:35 +0200
Parent: b11c53f
M config/bspwm/bspwmrc
···
                1
                1
                 #!/bin/sh

              
                2
                
                -# Smirnov-O <ss2316544@gmail.com>

              
                3
                
                -# BSPWM config file

              
                4
                
                -

              
                5
                2
                 ###== Function

              
                6
                3
                 Run() {

              
                7
                4
                   if ! pgrep $1

              ···
                37
                34
                 bspc config presel_feedback_color "#51AFEF"

              
                38
                35
                 bspc config urgent_border_color   "#FF6C6B"

              
                39
                36
                 

              
                40
                
                -# Rules

              
                
                37
                +###== BSPWM Rules

              
                41
                38
                 bspc rule -a Alacritty             desktop='^1' focus=on   follow=on

              
                42
                39
                 bspc rule -a kitty                 desktop='^1' focus=on   follow=on

              
                43
                40
                 bspc rule -a firefox               desktop='^2' focus=on   follow=on

              ···
                46
                43
                 bspc rule -a '*:nvim'              desktop='^3' focus=on   follow=on

              
                47
                44
                 bspc rule -a '*:ranger'            desktop='^4' focus=on   follow=off

              
                48
                45
                 bspc rule -a Thunar                desktop='^4' focus=on   follow=off

              
                
                46
                +bspc rule -a Todoist               desktop='^5' focus=on   follow=off

              
                49
                47
                 bspc rule -a Joplin                desktop='^5' focus=on   follow=on

              
                50
                48
                 bspc rule -a Simplenote            desktop='^5' focus=on   follow=on

              
                51
                49
                 bspc rule -a discord               desktop='^6' focus=off  follow=off

              
                52
                50
                 bspc rule -a telegram-desktop      desktop='^6' focus=off  follow=on

              
                53
                51
                 bspc rule -a KeePassXC             desktop='^7' focus=on   follow=off

              
                54
                52
                 bspc rule -a Spotify               desktop='^9' focus=on   follow=on

              
                55
                
                -bspc rule -a google-tasks-desktop  state=floating

              
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}

              
                
                9
                +super + shift + {w, f, e, c, v, s, z, q}

              
                10
                10
                         {google-chrome-stable,                                  \

              
                11
                11
                          kitty --class ranger -e ranger,                        \

              
                12
                12
                          kitty --class nvim   -e nvim,                          \

              ···
                19
                19
                 super + {equal, minus, shift+minus}

              
                20
                20
                     amixer sset Master {2%+,2%-,toggle}

              
                21
                21
                 

              
                22
                
                -super + {Escape, ctrl + u, ctrl  + i}

              
                
                22
                +super + {Escape, ctrl+i}

              
                23
                23
                     {./.script/dmenu/dmenu-power.sh,       \

              
                24
                
                -     ./.script/dmenu/dmenu-config-edit.sh, \

              
                25
                24
                      ./.script/dmenu/dmenu-pass.sh         }

              
                26
                25
                 

              
                27
                26
                 ### == BSPWM keys

              
M config/i3/config
···
                15
                15
                 # Borders

              
                16
                16
                 hide_edge_borders smart

              
                17
                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
                +exec --no-startup-id exec lxsession

              
                
                23
                +

              
                18
                24
                 ############ Variables ###########

              
                19
                25
                 set $terminal kitty

              
                20
                26
                 set $browser google-chrome-stable

              
                21
                27
                 set $filemanager kitty --class ranger -e ranger

              
                22
                28
                 set $codeeditor kitty --class nvim -e nvim

              
                23
                29
                 set $guicode code

              
                24
                
                -

              
                25
                
                -############ Autostart ############

              
                26
                
                -exec_always --no-startup-id exec setxkbmap "us,ua" ",winkeys" "grp:alt_shift_toggle" -option "ctrl:nocaps"

              
                27
                
                -exec --no-startup-id exec picom -b

              
                28
                
                -exec --no-startup-id exec nitrogen --restore

              
                29
                
                -exec --no-startup-id exec lxsession

              
                30
                30
                 

              
                31
                31
                 ############## WM keys ############

              
                32
                32
                 

              ···
                59
                59
                 # Menus

              
                60
                60
                 bindsym $mod+Shift+Return exec rofi -show drun -theme ntenV2

              
                61
                61
                 bindsym $mod+Escape exec ~/.script/dmenu/dmenu-power.sh

              
                62
                
                -bindsym $mod+Control+u exec ~/.script/dmenu/dmenu-config-edit.sh

              
                63
                62
                 bindsym $mod+Control+i exec ~/.script/dmenu/dmenu-pass.sh

              
                64
                63
                 

              
                65
                64
                 # Apps

              ···
                159
                158
                 

              
                160
                159
                 ############### Bar ###############

              
                161
                160
                 bar {

              
                162
                
                -    # status_command i3status -c ~/.config/i3/i3status

              
                163
                161
                     status_command i3status-rs ~/.config/i3/i3status-rs.toml

              
                164
                162
                     font pango:JetBrains Mono 10

              
                165
                163
                     position top

              
M config/i3/i3status-rs.toml
···
                1
                1
                 theme = "native"

              
                2
                
                -#icons = "awesome5"

              
                
                2
                +icons = "none"

              
                3
                3
                 

              
                4
                4
                 [[block]]

              
                5
                5
                 block = "custom"

              ···
                8
                8
                 

              
                9
                9
                 [[block]]

              
                10
                10
                 block = "sound"

              
                
                11
                +step_width = 2

              
                11
                12
                 

              
                12
                13
                 [[block]]

              
                13
                14
                 block = "net"

              ···
                17
                18
                 

              
                18
                19
                 [[block]]

              
                19
                20
                 block = "time"

              
                20
                
                -interval = 60

              
                21
                21
                 format = "%R"

              
                
                22
                +interval = 60

              
M config/nvim/init.vim
···
                4
                4
                   Plug 'jiangmiao/auto-pairs'

              
                5
                5
                   Plug 'maxboisvert/vim-simple-complete'

              
                6
                6
                   Plug 'sheerun/vim-polyglot'

              
                
                7
                +  Plug 'ap/vim-css-color'

              
                7
                8
                 call plug#end()

              
                8
                9
                 

              
                9
                10
                 "== General

              ···
                82
                83
                 command! Q :q

              
                83
                84
                 command! Wq :wq

              
                84
                85
                 command! WQ :wq

              
                
                86
                +command! Term :vsplit | vertical resize 45 | terminal

              
                85
                87
                 command! Wiki :e ~/doc/index.md

              
                86
                88
                 command! Prettier :!prettier --write %

              
                87
                89
                 command! ESlint :!eslint %

              
A config/openbox/autostart
···
                
                1
                +#!/bin/sh

              
                
                2
                +setxkbmap "us,ua" ",winkeys" "grp:alt_shift_toggle" -option "ctrl:nocaps" &

              
                
                3
                +feh --randomize --bg-scale ~/Pictures/wallp &

              
                
                4
                +volumeicon &

              
                
                5
                +lxsession &

              
                
                6
                +picom -b &

              
                
                7
                +tint2 &

              
A config/openbox/menu.xml
···
                
                1
                +<?xml version="1.0" encoding="UTF-8"?>

              
                
                2
                +<openbox_menu xmlns="http://openbox.org/3.4/menu">

              
                
                3
                +<menu id="apps-editors-menu" label="Editors">

              
                
                4
                +  <item label="VScode">

              
                
                5
                +    <action name="Execute">

              
                
                6
                +      <command>code</command>

              
                
                7
                +    </action>

              
                
                8
                +  </item>

              
                
                9
                +  <item label="Neovim">

              
                
                10
                +    <action name="Execute">

              
                
                11
                +      <command>kitty -e nvim</command>

              
                
                12
                +      <startupnotify>

              
                
                13
                +        <enabled>yes</enabled>

              
                
                14
                +        <wmclass>nvim</wmclass>

              
                
                15
                +      </startupnotify>

              
                
                16
                +    </action>

              
                
                17
                +  </item>

              
                
                18
                +</menu>

              
                
                19
                +

              
                
                20
                +<menu id="apps-term-menu" label="Terminals">

              
                
                21
                +  <item label="Alacritty">

              
                
                22
                +    <action name="Execute">

              
                
                23
                +      <command>alacritty</command>

              
                
                24
                +    </action>

              
                
                25
                +  </item>

              
                
                26
                +  <item label="Kitty">

              
                
                27
                +    <action name="Execute">

              
                
                28
                +      <command>kitty</command>

              
                
                29
                +    </action>

              
                
                30
                +  </item>

              
                
                31
                +</menu>

              
                
                32
                +

              
                
                33
                +<menu id="apps-net-menu" label="Internet">

              
                
                34
                +  <item label="Firefox">

              
                
                35
                +    <action name="Execute">

              
                
                36
                +      <command>firefox</command>

              
                
                37
                +    </action>

              
                
                38
                +  </item>

              
                
                39
                +  <item label="Google chrome">

              
                
                40
                +    <action name="Execute">

              
                
                41
                +      <command>google-chrome-stable</command>

              
                
                42
                +    </action>

              
                
                43
                +  </item>

              
                
                44
                +  <item label="Discord">

              
                
                45
                +    <action name="Execute">

              
                
                46
                +      <command>discord</command>

              
                
                47
                +    </action>

              
                
                48
                +  </item>

              
                
                49
                +  <item label="Telegram">

              
                
                50
                +    <action name="Execute">

              
                
                51
                +      <command>telegram-desktop</command>

              
                
                52
                +    </action>

              
                
                53
                +  </item>

              
                
                54
                +  <item label="Dropbox">

              
                
                55
                +    <action name="Execute">

              
                
                56
                +      <command>dropbox</command>

              
                
                57
                +    </action>

              
                
                58
                +  </item>

              
                
                59
                +</menu>

              
                
                60
                +

              
                
                61
                +<menu id="apps-office-menu" label="Productivity">

              
                
                62
                +  <item label="Simplenote">

              
                
                63
                +    <action name="Execute">

              
                
                64
                +      <command>~/.applications/simplenote.appimage</command>

              
                
                65
                +    </action>

              
                
                66
                +  </item>

              
                
                67
                +  <item label="Joplin">

              
                
                68
                +    <action name="Execute">

              
                
                69
                +      <command>~/.applications/todoist.appimage</command>

              
                
                70
                +    </action>

              
                
                71
                +  </item>

              
                
                72
                +  <item label="Todoist">

              
                
                73
                +    <action name="Execute">

              
                
                74
                +      <command>~/.applications/todoist.appimage</command>

              
                
                75
                +    </action>

              
                
                76
                +  </item>

              
                
                77
                +  <item label="Zathura">

              
                
                78
                +    <action name="Execute">

              
                
                79
                +      <command>zathura</command>

              
                
                80
                +    </action>

              
                
                81
                +  </item>

              
                
                82
                +</menu>

              
                
                83
                +

              
                
                84
                +<menu id="apps-fileman-menu" label="File Managers">

              
                
                85
                +  <item label="Ranger">

              
                
                86
                +    <action name="Execute">

              
                
                87
                +      <command>kitty -e ranger</command>

              
                
                88
                +      <startupnotify>

              
                
                89
                +        <enabled>yes</enabled>

              
                
                90
                +        <wmclass>Ranger</wmclass>

              
                
                91
                +      </startupnotify>

              
                
                92
                +    </action>

              
                
                93
                +  </item>

              
                
                94
                +  <item label="Thunar">

              
                
                95
                +    <action name="Execute">

              
                
                96
                +      <command>Thunar</command>

              
                
                97
                +    </action>

              
                
                98
                +  </item>

              
                
                99
                +</menu>

              
                
                100
                +

              
                
                101
                +<menu id="system-menu" label="System">

              
                
                102
                +  <item label="OBconf ">

              
                
                103
                +    <action name="Execute">

              
                
                104
                +      <command>obconf</command>

              
                
                105
                +    </action>

              
                
                106
                +  </item>

              
                
                107
                +  <item label="LXapperance">

              
                
                108
                +    <action name="Execute">

              
                
                109
                +      <command>lxapperance</command>

              
                
                110
                +    </action>

              
                
                111
                +  </item>

              
                
                112
                +  <item label="Tint2 config">

              
                
                113
                +    <action name="Execute">

              
                
                114
                +      <command>tint2conf</command>

              
                
                115
                +    </action>

              
                
                116
                +  </item>

              
                
                117
                +  <separator />

              
                
                118
                +  <item label="Reconfigure Openbox">

              
                
                119
                +    <action name="Reconfigure" />

              
                
                120
                +  </item>

              
                
                121
                +</menu>

              
                
                122
                +

              
                
                123
                +<menu id="power-menu" label="Power">

              
                
                124
                +  <item label="Power Off">

              
                
                125
                +      <action name="poweroff"><prompt>yes</prompt></action>

              
                
                126
                +  </item>

              
                
                127
                +  <item label="Reboot">

              
                
                128
                +    <action name="reboot"><prompt>yes</prompt></action>

              
                
                129
                +  </item>

              
                
                130
                +  <item label="Log Out">

              
                
                131
                +    <action name="Exit"><prompt>yes</prompt></action>

              
                
                132
                +  </item>

              
                
                133
                +</menu>

              
                
                134
                +

              
                
                135
                +<menu id="root-menu" label="Openbox">

              
                
                136
                +  <menu id="apps-net-menu"/>

              
                
                137
                +  <menu id="apps-editors-menu"/>

              
                
                138
                +  <menu id="apps-term-menu"/>

              
                
                139
                +  <menu id="apps-office-menu"/>

              
                
                140
                +  <menu id="apps-fileman-menu"/>

              
                
                141
                +  <item label="Rofi">

              
                
                142
                +    <action name="Execute"><command>rofi -show drun -theme ntenV2</command></action>

              
                
                143
                +  </item>

              
                
                144
                +  <separator label="System" />

              
                
                145
                +  <menu id="system-menu" />

              
                
                146
                +  <menu id="power-menu" />

              
                
                147
                +</menu>

              
                
                148
                +</openbox_menu>

              
A config/openbox/rc.xml
···
                
                1
                +<?xml version="1.0" encoding="UTF-8"?>

              
                
                2
                +<openbox_config xmlns="http://openbox.org/3.4/rc" xmlns:xi="http://www.w3.org/2001/XInclude">

              
                
                3
                +   <resistance>

              
                
                4
                +      <strength>10</strength>

              
                
                5
                +      <screen_edge_strength>20</screen_edge_strength>

              
                
                6
                +   </resistance>

              
                
                7
                +   <focus>

              
                
                8
                +      <focusNew>yes</focusNew>

              
                
                9
                +      <followMouse>no</followMouse>

              
                
                10
                +      <focusLast>yes</focusLast>

              
                
                11
                +      <underMouse>no</underMouse>

              
                
                12
                +      <focusDelay>70</focusDelay>

              
                
                13
                +      <raiseOnFocus>no</raiseOnFocus>

              
                
                14
                +   </focus>

              
                
                15
                +   <placement>

              
                
                16
                +      <policy>Smart</policy>

              
                
                17
                +      <center>yes</center>

              
                
                18
                +      <monitor>Primary</monitor>

              
                
                19
                +      <primaryMonitor>1</primaryMonitor>

              
                
                20
                +   </placement>

              
                
                21
                +   <theme>

              
                
                22
                +      <name>nten</name>

              
                
                23
                +      <titleLayout>NLIMC</titleLayout>

              
                
                24
                +      <keepBorder>yes</keepBorder>

              
                
                25
                +      <animateIconify>yes</animateIconify>

              
                
                26
                +      <font place="ActiveWindow">

              
                
                27
                +         <name>sans</name>

              
                
                28
                +         <size>8</size>

              
                
                29
                +         <weight>bold</weight>

              
                
                30
                +         <slant>normal</slant>

              
                
                31
                +      </font>

              
                
                32
                +      <font place="InactiveWindow">

              
                
                33
                +         <name>sans</name>

              
                
                34
                +         <size>8</size>

              
                
                35
                +         <weight>bold</weight>

              
                
                36
                +         <slant>normal</slant>

              
                
                37
                +      </font>

              
                
                38
                +      <font place="MenuHeader">

              
                
                39
                +         <name>sans</name>

              
                
                40
                +         <size>9</size>

              
                
                41
                +         <weight>normal</weight>

              
                
                42
                +         <slant>normal</slant>

              
                
                43
                +      </font>

              
                
                44
                +      <font place="MenuItem">

              
                
                45
                +         <name>sans</name>

              
                
                46
                +         <size>9</size>

              
                
                47
                +         <weight>normal</weight>

              
                
                48
                +         <slant>normal</slant>

              
                
                49
                +      </font>

              
                
                50
                +      <font place="ActiveOnScreenDisplay">

              
                
                51
                +         <name>sans</name>

              
                
                52
                +         <size>9</size>

              
                
                53
                +         <weight>bold</weight>

              
                
                54
                +         <slant>normal</slant>

              
                
                55
                +      </font>

              
                
                56
                +      <font place="InactiveOnScreenDisplay">

              
                
                57
                +         <name>sans</name>

              
                
                58
                +         <size>9</size>

              
                
                59
                +         <weight>bold</weight>

              
                
                60
                +         <slant>normal</slant>

              
                
                61
                +      </font>

              
                
                62
                +   </theme>

              
                
                63
                +   <desktops>

              
                
                64
                +      <number>1</number>

              
                
                65
                +      <firstdesk>1</firstdesk>

              
                
                66
                +      <names>

              
                
                67
                +         <name>Desktop</name>

              
                
                68
                +      </names>

              
                
                69
                +      <popupTime>0</popupTime>

              
                
                70
                +   </desktops>

              
                
                71
                +   <resize>

              
                
                72
                +      <drawContents>yes</drawContents>

              
                
                73
                +      <popupShow>Nonpixel</popupShow>

              
                
                74
                +      <popupPosition>Center</popupPosition>

              
                
                75
                +      <popupFixedPosition>

              
                
                76
                +         <x>10</x>

              
                
                77
                +         <y>10</y>

              
                
                78
                +      </popupFixedPosition>

              
                
                79
                +   </resize>

              
                
                80
                +   <margins>

              
                
                81
                +      <top>0</top>

              
                
                82
                +      <bottom>0</bottom>

              
                
                83
                +      <left>0</left>

              
                
                84
                +      <right>0</right>

              
                
                85
                +   </margins>

              
                
                86
                +   <dock>

              
                
                87
                +      <position>BottomLeft</position>

              
                
                88
                +      <floatingX>0</floatingX>

              
                
                89
                +      <floatingY>0</floatingY>

              
                
                90
                +      <noStrut>no</noStrut>

              
                
                91
                +      <stacking>Above</stacking>

              
                
                92
                +      <direction>Vertical</direction>

              
                
                93
                +      <autoHide>no</autoHide>

              
                
                94
                +      <hideDelay>300</hideDelay>

              
                
                95
                +      <showDelay>300</showDelay>

              
                
                96
                +      <moveButton>Middle</moveButton>

              
                
                97
                +   </dock>

              
                
                98
                +   <keyboard>

              
                
                99
                +      <chainQuitKey>C-g</chainQuitKey>

              
                
                100
                +      <keybind key="W-d">

              
                
                101
                +         <action name="ToggleShowDesktop" />

              
                
                102
                +      </keybind>

              
                
                103
                +      <!-- Keybindings for windows -->

              
                
                104
                +      <keybind key="A-F4">

              
                
                105
                +         <action name="Close" />

              
                
                106
                +      </keybind>

              
                
                107
                +      <!-- Keybindings for window switching -->

              
                
                108
                +      <keybind key="A-Tab">

              
                
                109
                +         <action name="NextWindow">

              
                
                110
                +            <finalactions>

              
                
                111
                +               <action name="Focus" />

              
                
                112
                +               <action name="Raise" />

              
                
                113
                +               <action name="Unshade" />

              
                
                114
                +            </finalactions>

              
                
                115
                +         </action>

              
                
                116
                +      </keybind>

              
                
                117
                +      <keybind key="A-S-Tab">

              
                
                118
                +         <action name="PreviousWindow">

              
                
                119
                +            <finalactions>

              
                
                120
                +               <action name="Focus" />

              
                
                121
                +               <action name="Raise" />

              
                
                122
                +               <action name="Unshade" />

              
                
                123
                +            </finalactions>

              
                
                124
                +         </action>

              
                
                125
                +      </keybind>

              
                
                126
                +      <!-- Keybindings for running applications -->

              
                
                127
                +      <keybind key="W-Return">

              
                
                128
                +         <action name="Execute">

              
                
                129
                +            <command>kitty</command>

              
                
                130
                +         </action>

              
                
                131
                +      </keybind>

              
                
                132
                +      <keybind key="W-S-w">

              
                
                133
                +         <action name="Execute">

              
                
                134
                +            <command>google-chrome-stable</command>

              
                
                135
                +         </action>

              
                
                136
                +      </keybind>

              
                
                137
                +   </keyboard>

              
                
                138
                +   <mouse>

              
                
                139
                +      <dragThreshold>1</dragThreshold>

              
                
                140
                +      <doubleClickTime>500</doubleClickTime>

              
                
                141
                +      <screenEdgeWarpTime>400</screenEdgeWarpTime>

              
                
                142
                +      <screenEdgeWarpMouse>false</screenEdgeWarpMouse>

              
                
                143
                +      <context name="Frame">

              
                
                144
                +         <mousebind button="A-Left" action="Press">

              
                
                145
                +            <action name="Focus" />

              
                
                146
                +            <action name="Raise" />

              
                
                147
                +         </mousebind>

              
                
                148
                +         <mousebind button="A-Left" action="Click">

              
                
                149
                +            <action name="Unshade" />

              
                
                150
                +         </mousebind>

              
                
                151
                +         <mousebind button="A-Left" action="Drag">

              
                
                152
                +            <action name="Move" />

              
                
                153
                +         </mousebind>

              
                
                154
                +         <mousebind button="A-Right" action="Press">

              
                
                155
                +            <action name="Focus" />

              
                
                156
                +            <action name="Raise" />

              
                
                157
                +            <action name="Unshade" />

              
                
                158
                +         </mousebind>

              
                
                159
                +         <mousebind button="A-Right" action="Drag">

              
                
                160
                +            <action name="Resize" />

              
                
                161
                +         </mousebind>

              
                
                162
                +      </context>

              
                
                163
                +      <context name="Titlebar">

              
                
                164
                +         <mousebind button="Left" action="Drag">

              
                
                165
                +            <action name="Move" />

              
                
                166
                +         </mousebind>

              
                
                167
                +         <mousebind button="Left" action="DoubleClick">

              
                
                168
                +            <action name="ToggleMaximize" />

              
                
                169
                +         </mousebind>

              
                
                170
                +         <mousebind button="Up" action="Click">

              
                
                171
                +            <action name="if">

              
                
                172
                +               <shaded>no</shaded>

              
                
                173
                +               <then>

              
                
                174
                +                  <action name="Shade" />

              
                
                175
                +                  <action name="FocusToBottom" />

              
                
                176
                +                  <action name="Unfocus" />

              
                
                177
                +                  <action name="Lower" />

              
                
                178
                +               </then>

              
                
                179
                +            </action>

              
                
                180
                +         </mousebind>

              
                
                181
                +         <mousebind button="Down" action="Click">

              
                
                182
                +            <action name="if">

              
                
                183
                +               <shaded>yes</shaded>

              
                
                184
                +               <then>

              
                
                185
                +                  <action name="Unshade" />

              
                
                186
                +                  <action name="Raise" />

              
                
                187
                +               </then>

              
                
                188
                +            </action>

              
                
                189
                +         </mousebind>

              
                
                190
                +      </context>

              
                
                191
                +      <context name="Titlebar Top Right Bottom Left TLCorner TRCorner BRCorner BLCorner">

              
                
                192
                +         <mousebind button="Left" action="Press">

              
                
                193
                +            <action name="Focus" />

              
                
                194
                +            <action name="Raise" />

              
                
                195
                +            <action name="Unshade" />

              
                
                196
                +         </mousebind>

              
                
                197
                +         <mousebind button="Right" action="Press">

              
                
                198
                +            <action name="Focus" />

              
                
                199
                +            <action name="Raise" />

              
                
                200
                +            <action name="ShowMenu">

              
                
                201
                +               <menu>client-menu</menu>

              
                
                202
                +            </action>

              
                
                203
                +         </mousebind>

              
                
                204
                +      </context>

              
                
                205
                +      <context name="Top">

              
                
                206
                +         <mousebind button="Left" action="Drag">

              
                
                207
                +            <action name="Resize">

              
                
                208
                +               <edge>top</edge>

              
                
                209
                +            </action>

              
                
                210
                +         </mousebind>

              
                
                211
                +      </context>

              
                
                212
                +      <context name="Left">

              
                
                213
                +         <mousebind button="Left" action="Drag">

              
                
                214
                +            <action name="Resize">

              
                
                215
                +               <edge>left</edge>

              
                
                216
                +            </action>

              
                
                217
                +         </mousebind>

              
                
                218
                +      </context>

              
                
                219
                +      <context name="Right">

              
                
                220
                +         <mousebind button="Left" action="Drag">

              
                
                221
                +            <action name="Resize">

              
                
                222
                +               <edge>right</edge>

              
                
                223
                +            </action>

              
                
                224
                +         </mousebind>

              
                
                225
                +      </context>

              
                
                226
                +      <context name="Bottom">

              
                
                227
                +         <mousebind button="Left" action="Drag">

              
                
                228
                +            <action name="Resize">

              
                
                229
                +               <edge>bottom</edge>

              
                
                230
                +            </action>

              
                
                231
                +         </mousebind>

              
                
                232
                +         <mousebind button="Right" action="Press">

              
                
                233
                +            <action name="Focus" />

              
                
                234
                +            <action name="Raise" />

              
                
                235
                +            <action name="ShowMenu">

              
                
                236
                +               <menu>client-menu</menu>

              
                
                237
                +            </action>

              
                
                238
                +         </mousebind>

              
                
                239
                +      </context>

              
                
                240
                +      <context name="TRCorner BRCorner TLCorner BLCorner">

              
                
                241
                +         <mousebind button="Left" action="Press">

              
                
                242
                +            <action name="Focus" />

              
                
                243
                +            <action name="Raise" />

              
                
                244
                +            <action name="Unshade" />

              
                
                245
                +         </mousebind>

              
                
                246
                +         <mousebind button="Left" action="Drag">

              
                
                247
                +            <action name="Resize" />

              
                
                248
                +         </mousebind>

              
                
                249
                +      </context>

              
                
                250
                +      <context name="Client">

              
                
                251
                +         <mousebind button="Left" action="Press">

              
                
                252
                +            <action name="Focus" />

              
                
                253
                +            <action name="Raise" />

              
                
                254
                +         </mousebind>

              
                
                255
                +         <mousebind button="Middle" action="Press">

              
                
                256
                +            <action name="Focus" />

              
                
                257
                +            <action name="Raise" />

              
                
                258
                +         </mousebind>

              
                
                259
                +         <mousebind button="Right" action="Press">

              
                
                260
                +            <action name="Focus" />

              
                
                261
                +            <action name="Raise" />

              
                
                262
                +         </mousebind>

              
                
                263
                +      </context>

              
                
                264
                +      <context name="Icon">

              
                
                265
                +         <mousebind button="Left" action="Press">

              
                
                266
                +            <action name="Focus" />

              
                
                267
                +            <action name="Raise" />

              
                
                268
                +            <action name="Unshade" />

              
                
                269
                +            <action name="ShowMenu">

              
                
                270
                +               <menu>client-menu</menu>

              
                
                271
                +            </action>

              
                
                272
                +         </mousebind>

              
                
                273
                +         <mousebind button="Right" action="Press">

              
                
                274
                +            <action name="Focus" />

              
                
                275
                +            <action name="Raise" />

              
                
                276
                +            <action name="ShowMenu">

              
                
                277
                +               <menu>client-menu</menu>

              
                
                278
                +            </action>

              
                
                279
                +         </mousebind>

              
                
                280
                +      </context>

              
                
                281
                +      <context name="AllDesktops">

              
                
                282
                +         <mousebind button="Left" action="Press">

              
                
                283
                +            <action name="Focus" />

              
                
                284
                +            <action name="Raise" />

              
                
                285
                +            <action name="Unshade" />

              
                
                286
                +         </mousebind>

              
                
                287
                +         <mousebind button="Left" action="Click">

              
                
                288
                +            <action name="ToggleOmnipresent" />

              
                
                289
                +         </mousebind>

              
                
                290
                +      </context>

              
                
                291
                +      <context name="Shade">

              
                
                292
                +         <mousebind button="Left" action="Press">

              
                
                293
                +            <action name="Focus" />

              
                
                294
                +            <action name="Raise" />

              
                
                295
                +         </mousebind>

              
                
                296
                +         <mousebind button="Left" action="Click">

              
                
                297
                +            <action name="ToggleShade" />

              
                
                298
                +         </mousebind>

              
                
                299
                +      </context>

              
                
                300
                +      <context name="Iconify">

              
                
                301
                +         <mousebind button="Left" action="Press">

              
                
                302
                +            <action name="Focus" />

              
                
                303
                +            <action name="Raise" />

              
                
                304
                +         </mousebind>

              
                
                305
                +         <mousebind button="Left" action="Click">

              
                
                306
                +            <action name="Iconify" />

              
                
                307
                +         </mousebind>

              
                
                308
                +      </context>

              
                
                309
                +      <context name="Maximize">

              
                
                310
                +         <mousebind button="Left" action="Press">

              
                
                311
                +            <action name="Focus" />

              
                
                312
                +            <action name="Raise" />

              
                
                313
                +            <action name="Unshade" />

              
                
                314
                +         </mousebind>

              
                
                315
                +         <mousebind button="Middle" action="Press">

              
                
                316
                +            <action name="Focus" />

              
                
                317
                +            <action name="Raise" />

              
                
                318
                +            <action name="Unshade" />

              
                
                319
                +         </mousebind>

              
                
                320
                +         <mousebind button="Right" action="Press">

              
                
                321
                +            <action name="Focus" />

              
                
                322
                +            <action name="Raise" />

              
                
                323
                +            <action name="Unshade" />

              
                
                324
                +         </mousebind>

              
                
                325
                +         <mousebind button="Left" action="Click">

              
                
                326
                +            <action name="ToggleMaximize" />

              
                
                327
                +         </mousebind>

              
                
                328
                +         <mousebind button="Middle" action="Click">

              
                
                329
                +            <action name="ToggleMaximize">

              
                
                330
                +               <direction>vertical</direction>

              
                
                331
                +            </action>

              
                
                332
                +         </mousebind>

              
                
                333
                +         <mousebind button="Right" action="Click">

              
                
                334
                +            <action name="ToggleMaximize">

              
                
                335
                +               <direction>horizontal</direction>

              
                
                336
                +            </action>

              
                
                337
                +         </mousebind>

              
                
                338
                +      </context>

              
                
                339
                +      <context name="Close">

              
                
                340
                +         <mousebind button="Left" action="Press">

              
                
                341
                +            <action name="Focus" />

              
                
                342
                +            <action name="Raise" />

              
                
                343
                +            <action name="Unshade" />

              
                
                344
                +         </mousebind>

              
                
                345
                +         <mousebind button="Left" action="Click">

              
                
                346
                +            <action name="Close" />

              
                
                347
                +         </mousebind>

              
                
                348
                +      </context>

              
                
                349
                +      <context name="Desktop">

              
                
                350
                +         <mousebind button="Up" action="Click">

              
                
                351
                +            <action name="GoToDesktop">

              
                
                352
                +               <to>previous</to>

              
                
                353
                +            </action>

              
                
                354
                +         </mousebind>

              
                
                355
                +         <mousebind button="Down" action="Click">

              
                
                356
                +            <action name="GoToDesktop">

              
                
                357
                +               <to>next</to>

              
                
                358
                +            </action>

              
                
                359
                +         </mousebind>

              
                
                360
                +         <mousebind button="A-Up" action="Click">

              
                
                361
                +            <action name="GoToDesktop">

              
                
                362
                +               <to>previous</to>

              
                
                363
                +            </action>

              
                
                364
                +         </mousebind>

              
                
                365
                +         <mousebind button="A-Down" action="Click">

              
                
                366
                +            <action name="GoToDesktop">

              
                
                367
                +               <to>next</to>

              
                
                368
                +            </action>

              
                
                369
                +         </mousebind>

              
                
                370
                +         <mousebind button="C-A-Up" action="Click">

              
                
                371
                +            <action name="GoToDesktop">

              
                
                372
                +               <to>previous</to>

              
                
                373
                +            </action>

              
                
                374
                +         </mousebind>

              
                
                375
                +         <mousebind button="C-A-Down" action="Click">

              
                
                376
                +            <action name="GoToDesktop">

              
                
                377
                +               <to>next</to>

              
                
                378
                +            </action>

              
                
                379
                +         </mousebind>

              
                
                380
                +         <mousebind button="Left" action="Press">

              
                
                381
                +            <action name="Focus" />

              
                
                382
                +            <action name="Raise" />

              
                
                383
                +         </mousebind>

              
                
                384
                +         <mousebind button="Right" action="Press">

              
                
                385
                +            <action name="Focus" />

              
                
                386
                +            <action name="Raise" />

              
                
                387
                +         </mousebind>

              
                
                388
                +      </context>

              
                
                389
                +      <context name="Root">

              
                
                390
                +         <mousebind button="Right" action="Press">

              
                
                391
                +            <action name="ShowMenu">

              
                
                392
                +               <menu>root-menu</menu>

              
                
                393
                +            </action>

              
                
                394
                +         </mousebind>

              
                
                395
                +      </context>

              
                
                396
                +      <context name="MoveResize">

              
                
                397
                +         <mousebind button="Up" action="Click">

              
                
                398
                +            <action name="GoToDesktop">

              
                
                399
                +               <to>previous</to>

              
                
                400
                +            </action>

              
                
                401
                +         </mousebind>

              
                
                402
                +      </context>

              
                
                403
                +   </mouse>

              
                
                404
                +   <menu>

              
                
                405
                +      <file>menu.xml</file>

              
                
                406
                +      <hideDelay>200</hideDelay>

              
                
                407
                +      <middle>no</middle>

              
                
                408
                +      <submenuShowDelay>100</submenuShowDelay>

              
                
                409
                +      <submenuHideDelay>400</submenuHideDelay>

              
                
                410
                +      <showIcons>yes</showIcons>

              
                
                411
                +      <manageDesktops>yes</manageDesktops>

              
                
                412
                +   </menu>

              
                
                413
                +   <applications />

              
                
                414
                +</openbox_config>
              
M config/picom.conf
···
                21
                21
                 ##### Transparency/Opacity ####

              
                22
                22
                 inactive-opacity = 1;

              
                23
                23
                 active-opacity = 1;

              
                24
                
                -frame-opacity = 0.8;

              
                
                24
                +frame-opacity = 1;

              
                25
                25
                 inactive-opacity-override = false;

              
                26
                26
                 opacity-rule = [ "0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'" ];

              
                27
                27
                 no-fading-openclose = true

              
M gitconfig
···
                1
                1
                 [user]

              
                2
                2
                     username = Smirnov-O

              
                3
                
                -    name = Smirnov Olexandr

              
                
                3
                +    name = Smirnov Alexandr

              
                4
                4
                     email = ss2316544@gmail.com

              
                5
                5
                 

              
                6
                6
                 [init]

              
                7
                7
                     defaultBranch = master

              
                8
                8
                 

              
                9
                9
                 [web]

              
                10
                
                -    browser = firefox

              
                
                10
                +    #browser = firefox

              
                
                11
                +    browser = google-chrome-stable

              
                11
                12
                 

              
                12
                13
                 [core]

              
                13
                14
                     editor = nvim

              
D script/dmenu/dmenu-config-edit.sh
···
                1
                
                -#!/bin/sh

              
                2
                
                -declare options=("exit

              
                3
                
                -i3

              
                4
                
                -qtile

              
                5
                
                -bspwm

              
                6
                
                -alacritty

              
                7
                
                -kitty

              
                8
                
                -picom

              
                9
                
                -ranger

              
                10
                
                -qutebrowser

              
                11
                
                -nvim

              
                12
                
                -tmux

              
                13
                
                -dunst

              
                14
                
                -castero

              
                15
                
                -redshift

              
                16
                
                -rofi")

              
                17
                
                -

              
                18
                
                -menucmd="rofi -location 2 -dmenu"

              
                19
                
                -choice=$(echo -e "${options[@]}"|${menucmd} -p "Config edit" $@)

              
                20
                
                -case "$choice" in

              
                21
                
                -    exit) exit 0 ;;

              
                22
                
                -    i3)

              
                23
                
                -        case "$(echo -e "config\npolybar"|${menucmd} -p "I3wm" $@)" in

              
                24
                
                -	        config)  choice="$HOME/.config/i3/config"      ;;

              
                25
                
                -            polybar) choice="$HOME/.config/polybar/config" ;;

              
                26
                
                -        esac

              
                27
                
                -    ;;

              
                28
                
                -    qtile)

              
                29
                
                -        case "$(echo -e "config\nautostart"|${menucmd} -p "Qtile" $@)" in

              
                30
                
                -            config)    choice="$HOME/.config/qtile/config.py"    ;;

              
                31
                
                -            autostart) choice="$HOME/.config/qtile/autostart.sh" ;;

              
                32
                
                -        esac

              
                33
                
                -    ;;

              
                34
                
                -    bspwm)

              
                35
                
                -        case "$(echo -e "config\nsxhkd\npolybar"|${menucmd} -p "Bspwm" $@)" in

              
                36
                
                -            config)   choice="$HOME/.config/bspwm/config"  ;;

              
                37
                
                -            sxhkd)    choice="$HOME/.config/bspwm/sxhkd"   ;;

              
                38
                
                -            polybar)  choice="$HOME/.config/bspwm/polybar" ;;

              
                39
                
                -        esac

              
                40
                
                -    ;;

              
                41
                
                -    alacritty) choice="$HOME/.config/alacritty.yml"    ;;

              
                42
                
                -    kitty)     choice="$HOME/.config/kitty/kitty.conf" ;;

              
                43
                
                -	picom)     choice="$HOME/.config/picom.conf"       ;;

              
                44
                
                -    ranger)    choice="$HOME/.config/ranger/rc.conf"   ;;

              
                45
                
                -    qutebrowser)

              
                46
                
                -        case "$(echo -e "config\nquickmarks"|${menucmd} -p "Qutebrowser" $@)" in

              
                47
                
                -            config)     choice="$HOME/.config/qutebrowser/config.py"  ;;

              
                48
                
                -            quickmarks) choice="$HOME/.config/qutebrowser/quickmarks" ;;

              
                49
                
                -        esac

              
                50
                
                -    ;;

              
                51
                
                -    nvim)     choice="$HOME/.config/nvim/init.vim"        ;;

              
                52
                
                -    tmux)     choice="$HOME/.tmux.conf"                   ;;

              
                53
                
                -    dunst)    choice="$HOME/.config/dunst/dunstrc"        ;;

              
                54
                
                -    zsh)      choice="$HOME/.zshrc"                       ;;

              
                55
                
                -    castero)  choice="$HOME/.config/castero/castero.conf" ;;

              
                56
                
                -    redshift) choice="$HOME/.config/redshift.conf"        ;;

              
                57
                
                -    rofi)

              
                58
                
                -        case "$(echo -e "config\nnten-dmenu"|${menucmd} -p "Rofi" $@)" in

              
                59
                
                -            config)     choice="$HOME/.config/rofi/config"                 ;;

              
                60
                
                -            nten-dmenu) choice="$HOME/.config/rofi/themes/nten-dmenu.rasi" ;;

              
                61
                
                -        esac

              
                62
                
                -    ;;

              
                63
                
                -esac

              
                64
                
                -alacritty -e nvim "$choice"

              
M zshrc
···
                37
                37
                 alias du="du -sh"

              
                38
                38
                 alias vim="nvim"

              
                39
                39
                 alias vi="vim"

              
                
                40
                +alias tl="tmuxp load"

              
                40
                41
                 alias d="docker"

              
                41
                42
                 alias wiki="vi +Wiki"

              
                42
                43
                 alias tmux="tmux -2"