all repos

dotfiles @ 351fd863ac67caf6932f74219b0d09575063fa20

i use rach linux btw
11 files changed, 11 insertions(+), 876 deletions(-)
Del openbox
Author: Smirnov Alexandr ss2316544@gmail.com
Committed at: 2021-03-23 13:39:30 +0200
Parent: 71ddd0a
M bin/gpe
···
        6
        6
         }

      
        7
        7
         function decrypt() {

      
        8
        8
             local fn="$1"

      
        9
        
        -

      
        10
        9
             if [ ${fn: -4} == ".asc" ]

      
        11
        
        -    then

      
        12
        
        -        gpg -d -o ${fn%%.asc} $@

      
        
        10
        +    then gpg -d -o ${fn%%.asc} $@

      
        13
        11
             elif [ ${fn: -4} == ".gpg" ]

      
        14
        
        -    then

      
        15
        
        -        gpg -d -o ${fn%%.gpg} $@

      
        
        12
        +    then gpg -d -o ${fn%%.gpg} $@

      
        16
        13
             fi

      
        17
        14
         }

      
        18
        15
         

      
        19
        
        -## Logic

      
        20
        16
         case "$1" in

      
        21
        17
             enc|e) shift; encrypt $@ ;;

      
        22
        18
             dec|d) shift; decrypt $@ ;;

      
        23
        
        -    *) echo "Error."         ;;

      
        
        19
        +        *) echo "Error."     ;;

      
        24
        20
         esac

      
D config/openbox/README.md
···
        1
        
        -# Openbox

      
        2
        
        -

      
        3
        
        -![](screen.png)

      
        4
        
        ----------------

      
        5
        
        -

      
        6
        
        -### Install

      
        7
        
        -```bash

      
        8
        
        -sudo pacman -S openbox tint2

      
        9
        
        -```

      
        10
        
        -

      
        11
        
        -### Install theme

      
        12
        
        -```bash

      
        13
        
        -mkdir ~/.theme

      
        14
        
        -tar -zxf nten.tar.gz -C ~/.themes

      
        15
        
        -```

      
D config/openbox/autostart
···
        1
        
        -#!/bin/sh

      
        2
        
        -feh --randomize --bg-scale ~/Pictures/wallp &

      
        3
        
        -tint2 -c ~/.config/openbox/tint2rc &

      
        4
        
        -picom -b &

      
D 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
        
        -    </action>

      
        13
        
        -  </item>

      
        14
        
        -</menu>

      
        15
        
        -

      
        16
        
        -<menu id="apps-net-menu" label="Internet">

      
        17
        
        -  <item label="Firefox">

      
        18
        
        -    <action name="Execute">

      
        19
        
        -      <command>firefox</command>

      
        20
        
        -    </action>

      
        21
        
        -  </item>

      
        22
        
        -  <item label="Google chrome">

      
        23
        
        -    <action name="Execute">

      
        24
        
        -      <command>google-chrome-stable</command>

      
        25
        
        -    </action>

      
        26
        
        -  </item>

      
        27
        
        -  <item label="Discord">

      
        28
        
        -    <action name="Execute">

      
        29
        
        -      <command>discord</command>

      
        30
        
        -    </action>

      
        31
        
        -  </item>

      
        32
        
        -  <item label="Telegram">

      
        33
        
        -    <action name="Execute">

      
        34
        
        -      <command>telegram-desktop</command>

      
        35
        
        -    </action>

      
        36
        
        -  </item>

      
        37
        
        -  <item label="Dropbox">

      
        38
        
        -    <action name="Execute">

      
        39
        
        -      <command>dropbox</command>

      
        40
        
        -    </action>

      
        41
        
        -  </item>

      
        42
        
        -</menu>

      
        43
        
        -

      
        44
        
        -<menu id="apps-office-menu" label="Productivity">

      
        45
        
        -  <item label="Simplenote">

      
        46
        
        -    <action name="Execute">

      
        47
        
        -      <command>~/.applications/simplenote.appimage</command>

      
        48
        
        -    </action>

      
        49
        
        -  </item>

      
        50
        
        -  <item label="Joplin">

      
        51
        
        -    <action name="Execute">

      
        52
        
        -      <command>~/.applications/joplin.appimage</command>

      
        53
        
        -    </action>

      
        54
        
        -  </item>

      
        55
        
        -  <item label="Todoist">

      
        56
        
        -    <action name="Execute">

      
        57
        
        -      <command>~/.applications/todoist.appimage</command>

      
        58
        
        -    </action>

      
        59
        
        -  </item>

      
        60
        
        -  <item label="Zathura">

      
        61
        
        -    <action name="Execute">

      
        62
        
        -      <command>zathura</command>

      
        63
        
        -    </action>

      
        64
        
        -  </item>

      
        65
        
        -</menu>

      
        66
        
        -

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

      
        68
        
        -  <item label="Ranger">

      
        69
        
        -    <action name="Execute">

      
        70
        
        -      <command>kitty -e ranger</command>

      
        71
        
        -    </action>

      
        72
        
        -  </item>

      
        73
        
        -  <item label="PCManFM">

      
        74
        
        -    <action name="Execute">

      
        75
        
        -      <command>pcmanfm</command>

      
        76
        
        -    </action>

      
        77
        
        -  </item>

      
        78
        
        -</menu>

      
        79
        
        -

      
        80
        
        -<menu id="system-menu" label="System">

      
        81
        
        -  <item label="OBconf ">

      
        82
        
        -    <action name="Execute">

      
        83
        
        -      <command>obconf</command>

      
        84
        
        -    </action>

      
        85
        
        -  </item>

      
        86
        
        -  <item label="LXapperance">

      
        87
        
        -    <action name="Execute">

      
        88
        
        -      <command>lxapperance</command>

      
        89
        
        -    </action>

      
        90
        
        -  </item>

      
        91
        
        -  <item label="Tint2 config">

      
        92
        
        -    <action name="Execute">

      
        93
        
        -      <command>tint2conf</command>

      
        94
        
        -    </action>

      
        95
        
        -  </item>

      
        96
        
        -  <separator />

      
        97
        
        -  <item label="Reconfigure Openbox">

      
        98
        
        -    <action name="Reconfigure" />

      
        99
        
        -  </item>

      
        100
        
        -</menu>

      
        101
        
        -

      
        102
        
        -<menu id="power-menu" label="Power">

      
        103
        
        -  <item label="Power Off">

      
        104
        
        -      <action name="PowerOff"></action>

      
        105
        
        -  </item>

      
        106
        
        -  <item label="Reboot">

      
        107
        
        -    <action name="reboot"></action>

      
        108
        
        -  </item>

      
        109
        
        -  <item label="Suspend">

      
        110
        
        -    <action name="systemctl suspend" />

      
        111
        
        -  </item>

      
        112
        
        -  <item label="Log Out">

      
        113
        
        -    <action name="Exit"><prompt>yes</prompt></action>

      
        114
        
        -  </item>

      
        115
        
        -</menu>

      
        116
        
        -

      
        117
        
        -<menu id="root-menu" label="Openbox">

      
        118
        
        -  <item label="Kitty"><action name="Execute">

      
        119
        
        -    <command>kitty</command>

      
        120
        
        -  </action></item>

      
        121
        
        -  <item label="Chrome"><action name="Execute">

      
        122
        
        -    <command>google-chrome-stable</command>

      
        123
        
        -  </action></item>

      
        124
        
        -  <item label="VScode"><action name="Execute">

      
        125
        
        -    <command>code</command>

      
        126
        
        -  </action></item>

      
        127
        
        -  <item label="Rofi"> <action name="Execute">

      
        128
        
        -    <command>rofi -show drun -theme ntenV2</command>

      
        129
        
        -  </action></item>

      
        130
        
        -  <separator />

      
        131
        
        -  <menu id="apps-net-menu"/>

      
        132
        
        -  <menu id="apps-editors-menu"/>

      
        133
        
        -  <menu id="apps-office-menu"/>

      
        134
        
        -  <menu id="apps-fileman-menu"/>

      
        135
        
        -  <separator />

      
        136
        
        -  <menu id="system-menu" />

      
        137
        
        -  <menu id="power-menu" />

      
        138
        
        -</menu>

      
        139
        
        -</openbox_menu>

      
D config/openbox/nten.tar.gz

Not showing binary file.

D 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>

      
D config/openbox/screen.png

Not showing binary file.

D config/openbox/script/volume
···
        1
        
        -#!/bin/sh

      
        2
        
        -CHK_MUTE() { amixer -D pulse get Master | grep '%' | grep -oE '[^ ]+$' | grep off; }

      
        3
        
        -VOLUME="$(amixer -D pulse get Master | grep '%' | head -n 1 | awk -F'[' '{print $2}' | awk -F'%' '{print $1}';)"

      
        4
        
        -

      
        5
        
        -case $1 in

      
        6
        
        -    percent)

      
        7
        
        -        if CHK_MUTE &> /dev/null

      
        8
        
        -        then

      
        9
        
        -            echo ""

      
        10
        
        -        else

      
        11
        
        -            echo " $VOLUME%"

      
        12
        
        -        fi

      
        13
        
        -    ;;

      
        14
        
        -    up)   amixer sset Master 2%+    ;;

      
        15
        
        -    down) amixer sset Master 2%-    ;;

      
        16
        
        -    mute) amixer sset Master toggle ;;

      
        17
        
        -esac

      
D config/openbox/script/wifi-signal
···
        1
        
        -#!/bin/sh

      
        2
        
        -SIGNAL="$(cat /proc/net/wireless | grep "wlp3s0" | awk '{print $4}' | grep -o '[0-9]*')"

      
        3
        
        -echo " $SIGNAL%"

      
D config/openbox/tint2rc
···
        1
        
        -#---- Generated by tint2conf 3de0 ----

      
        2
        
        -# See https://gitlab.com/o9000/tint2/wikis/Configure for 

      
        3
        
        -# full documentation of the configuration options.

      
        4
        
        -#-------------------------------------

      
        5
        
        -# Gradients

      
        6
        
        -#-------------------------------------

      
        7
        
        -# Backgrounds

      
        8
        
        -# Background 1: Active taskbar, Battery, Clock, Launcher, Systray, Tooltip

      
        9
        
        -rounded = 0

      
        10
        
        -border_width = 0

      
        11
        
        -border_sides = TBLR

      
        12
        
        -border_content_tint_weight = 0

      
        13
        
        -background_content_tint_weight = 0

      
        14
        
        -background_color = #262a2b 100

      
        15
        
        -border_color = #222222 0

      
        16
        
        -background_color_hover = #000000 80

      
        17
        
        -border_color_hover = #000000 0

      
        18
        
        -background_color_pressed = #000000 80

      
        19
        
        -border_color_pressed = #000000 0

      
        20
        
        -

      
        21
        
        -# Background 2: Active task

      
        22
        
        -rounded = 0

      
        23
        
        -border_width = 0

      
        24
        
        -border_sides = TBLR

      
        25
        
        -border_content_tint_weight = 0

      
        26
        
        -background_content_tint_weight = 0

      
        27
        
        -background_color = #008dcd 100

      
        28
        
        -border_color = #272727 0

      
        29
        
        -background_color_hover = #272727 70

      
        30
        
        -border_color_hover = #272727 0

      
        31
        
        -background_color_pressed = #272727 70

      
        32
        
        -border_color_pressed = #272727 0

      
        33
        
        -

      
        34
        
        -# Background 3: Urgent task

      
        35
        
        -rounded = 0

      
        36
        
        -border_width = 0

      
        37
        
        -border_sides = TBLR

      
        38
        
        -border_content_tint_weight = 0

      
        39
        
        -background_content_tint_weight = 0

      
        40
        
        -background_color = #ff6c6b 60

      
        41
        
        -border_color = #d98282 0

      
        42
        
        -background_color_hover = #ff6c6b 60

      
        43
        
        -border_color_hover = #d98282 0

      
        44
        
        -background_color_pressed = #ff6c6b 60

      
        45
        
        -border_color_pressed = #d98282 0

      
        46
        
        -

      
        47
        
        -# Background 4: Default task, Executor

      
        48
        
        -rounded = 0

      
        49
        
        -border_width = 0

      
        50
        
        -border_sides = TBLR

      
        51
        
        -border_content_tint_weight = 0

      
        52
        
        -background_content_tint_weight = 0

      
        53
        
        -background_color = #262a2b 100

      
        54
        
        -border_color = #242424 0

      
        55
        
        -background_color_hover = #242424 60

      
        56
        
        -border_color_hover = #242424 0

      
        57
        
        -background_color_pressed = #242424 60

      
        58
        
        -border_color_pressed = #242424 0

      
        59
        
        -

      
        60
        
        -# Background 5: Iconified task

      
        61
        
        -rounded = 0

      
        62
        
        -border_width = 0

      
        63
        
        -border_sides = TBLR

      
        64
        
        -border_content_tint_weight = 0

      
        65
        
        -background_content_tint_weight = 0

      
        66
        
        -background_color = #252525 60

      
        67
        
        -border_color = #252525 0

      
        68
        
        -background_color_hover = #252525 60

      
        69
        
        -border_color_hover = #252525 0

      
        70
        
        -background_color_pressed = #252525 60

      
        71
        
        -border_color_pressed = #252525 0

      
        72
        
        -

      
        73
        
        -#-------------------------------------

      
        74
        
        -# Panel

      
        75
        
        -panel_items = TESEC

      
        76
        
        -panel_size = 100% 24

      
        77
        
        -panel_margin = 0 0

      
        78
        
        -panel_padding = 0 0 0

      
        79
        
        -panel_background_id = 0

      
        80
        
        -wm_menu = 1

      
        81
        
        -panel_dock = 0

      
        82
        
        -panel_pivot_struts = 0

      
        83
        
        -panel_position = top center horizontal

      
        84
        
        -panel_layer = top

      
        85
        
        -panel_monitor = all

      
        86
        
        -panel_shrink = 0

      
        87
        
        -autohide = 0

      
        88
        
        -autohide_show_timeout = 0.3

      
        89
        
        -autohide_hide_timeout = 1.5

      
        90
        
        -autohide_height = 1

      
        91
        
        -strut_policy = follow_size

      
        92
        
        -panel_window_name = tint2

      
        93
        
        -disable_transparency = 0

      
        94
        
        -mouse_effects = 0

      
        95
        
        -font_shadow = 0

      
        96
        
        -mouse_hover_icon_asb = 100 0 10

      
        97
        
        -mouse_pressed_icon_asb = 100 0 0

      
        98
        
        -scale_relative_to_dpi = 0

      
        99
        
        -scale_relative_to_screen_height = 0

      
        100
        
        -

      
        101
        
        -#-------------------------------------

      
        102
        
        -# Taskbar

      
        103
        
        -taskbar_mode = single_desktop

      
        104
        
        -taskbar_hide_if_empty = 0

      
        105
        
        -taskbar_padding = 0 0 0

      
        106
        
        -taskbar_background_id = 0

      
        107
        
        -taskbar_active_background_id = 1

      
        108
        
        -taskbar_name = 0

      
        109
        
        -taskbar_hide_inactive_tasks = 0

      
        110
        
        -taskbar_hide_different_monitor = 0

      
        111
        
        -taskbar_hide_different_desktop = 0

      
        112
        
        -taskbar_always_show_all_desktop_tasks = 0

      
        113
        
        -taskbar_name_padding = 0 0

      
        114
        
        -taskbar_name_background_id = 0

      
        115
        
        -taskbar_name_active_background_id = 0

      
        116
        
        -taskbar_name_font = Droid Sans Bold 8

      
        117
        
        -taskbar_name_font_color = #d1d1d1 100

      
        118
        
        -taskbar_name_active_font_color = #aaaaaa 100

      
        119
        
        -taskbar_distribute_size = 0

      
        120
        
        -taskbar_sort_order = none

      
        121
        
        -task_align = left

      
        122
        
        -

      
        123
        
        -#-------------------------------------

      
        124
        
        -# Task

      
        125
        
        -task_text = 1

      
        126
        
        -task_icon = 0

      
        127
        
        -task_centered = 1

      
        128
        
        -urgent_nb_of_blink = 20

      
        129
        
        -task_maximum_size = 180 0

      
        130
        
        -task_padding = 8 6 8

      
        131
        
        -task_font = Droid Sans Bold 8

      
        132
        
        -task_tooltip = 1

      
        133
        
        -task_thumbnail = 0

      
        134
        
        -task_thumbnail_size = 210

      
        135
        
        -task_font_color = #cccccc 100

      
        136
        
        -task_active_font_color = #ffffff 100

      
        137
        
        -task_urgent_font_color = #cccccc 100

      
        138
        
        -task_iconified_font_color = #cccccc 80

      
        139
        
        -task_icon_asb = 100 0 0

      
        140
        
        -task_active_icon_asb = 100 0 0

      
        141
        
        -task_urgent_icon_asb = 100 0 0

      
        142
        
        -task_iconified_icon_asb = 80 0 0

      
        143
        
        -task_background_id = 4

      
        144
        
        -task_active_background_id = 2

      
        145
        
        -task_urgent_background_id = 3

      
        146
        
        -task_iconified_background_id = 5

      
        147
        
        -mouse_left = toggle_iconify

      
        148
        
        -mouse_middle = close

      
        149
        
        -mouse_right = none

      
        150
        
        -mouse_scroll_up = none

      
        151
        
        -mouse_scroll_down = none

      
        152
        
        -

      
        153
        
        -#-------------------------------------

      
        154
        
        -# System tray (notification area)

      
        155
        
        -systray_padding = 8 0 12

      
        156
        
        -systray_background_id = 1

      
        157
        
        -systray_sort = right2left

      
        158
        
        -systray_icon_size = 18

      
        159
        
        -systray_icon_asb = 100 0 0

      
        160
        
        -systray_monitor = 1

      
        161
        
        -systray_name_filter = 

      
        162
        
        -

      
        163
        
        -#-------------------------------------

      
        164
        
        -# Launcher

      
        165
        
        -launcher_padding = 8 0 16

      
        166
        
        -launcher_background_id = 1

      
        167
        
        -launcher_icon_background_id = 0

      
        168
        
        -launcher_icon_size = 16

      
        169
        
        -launcher_icon_asb = 100 0 0

      
        170
        
        -launcher_icon_theme_override = 0

      
        171
        
        -startup_notifications = 0

      
        172
        
        -launcher_tooltip = 0

      
        173
        
        -launcher_item_app = /usr/share/applications/google-chrome.desktop

      
        174
        
        -launcher_item_app = /usr/share/applications/kitty.desktop

      
        175
        
        -launcher_item_app = ~/.local/share/applications/todoist.desktop

      
        176
        
        -launcher_item_app = /usr/share/applications/visual-studio-code.desktop

      
        177
        
        -

      
        178
        
        -#-------------------------------------

      
        179
        
        -# Clock

      
        180
        
        -time1_format = %H:%M

      
        181
        
        -time2_format = 

      
        182
        
        -time1_font = Droid Sans Bold 8

      
        183
        
        -time1_timezone = 

      
        184
        
        -time2_timezone = 

      
        185
        
        -clock_font_color = #d1d1d1 100

      
        186
        
        -clock_padding = 8 4

      
        187
        
        -clock_background_id = 1

      
        188
        
        -clock_tooltip = 

      
        189
        
        -clock_tooltip_timezone = 

      
        190
        
        -clock_lclick_command = gsimplecal

      
        191
        
        -clock_rclick_command = gsimplecal

      
        192
        
        -clock_mclick_command = 

      
        193
        
        -clock_uwheel_command = 

      
        194
        
        -clock_dwheel_command = 

      
        195
        
        -

      
        196
        
        -#-------------------------------------

      
        197
        
        -# Battery

      
        198
        
        -battery_tooltip = 1

      
        199
        
        -battery_low_status = 25

      
        200
        
        -battery_low_cmd = notify-send "battery low"

      
        201
        
        -battery_full_cmd = 

      
        202
        
        -bat1_font = Droid Sans Bold 8

      
        203
        
        -bat2_font = Droid Sans Bold 8

      
        204
        
        -battery_font_color = #d1d1d1 100

      
        205
        
        -bat1_format = 

      
        206
        
        -bat2_format = 

      
        207
        
        -battery_padding = 2 0

      
        208
        
        -battery_background_id = 1

      
        209
        
        -battery_hide = 96

      
        210
        
        -battery_lclick_command = 

      
        211
        
        -battery_rclick_command = 

      
        212
        
        -battery_mclick_command = 

      
        213
        
        -battery_uwheel_command = 

      
        214
        
        -battery_dwheel_command = 

      
        215
        
        -ac_connected_cmd = 

      
        216
        
        -ac_disconnected_cmd = 

      
        217
        
        -

      
        218
        
        -#-------------------------------------

      
        219
        
        -# Executor 1

      
        220
        
        -execp = new

      
        221
        
        -execp_command = $HOME/.script/volume percent

      
        222
        
        -execp_interval = 1

      
        223
        
        -execp_has_icon = 0

      
        224
        
        -execp_cache_icon = 1

      
        225
        
        -execp_continuous = 0

      
        226
        
        -execp_markup = 1

      
        227
        
        -execp_lclick_command = $HOME/.config/openbox/script/volume mute

      
        228
        
        -execp_rclick_command = 

      
        229
        
        -execp_mclick_command = 

      
        230
        
        -execp_uwheel_command = $HOME/.config/openbox/script/volume up

      
        231
        
        -execp_dwheel_command = $HOME/.config/openbox/script/volume down

      
        232
        
        -execp_font = Droid Sans Bold 8

      
        233
        
        -execp_font_color = #d1d1d1 100

      
        234
        
        -execp_padding = 8 0

      
        235
        
        -execp_background_id = 4

      
        236
        
        -execp_centered = 0

      
        237
        
        -execp_icon_w = 0

      
        238
        
        -execp_icon_h = 0

      
        239
        
        -

      
        240
        
        -#-------------------------------------

      
        241
        
        -# Executor 2

      
        242
        
        -execp = new

      
        243
        
        -execp_command = $HOME/.config/openbox/script/wifi-signal

      
        244
        
        -execp_interval = 5

      
        245
        
        -execp_has_icon = 0

      
        246
        
        -execp_cache_icon = 1

      
        247
        
        -execp_continuous = 0

      
        248
        
        -execp_markup = 1

      
        249
        
        -execp_lclick_command = 

      
        250
        
        -execp_rclick_command = 

      
        251
        
        -execp_mclick_command = 

      
        252
        
        -execp_uwheel_command = 

      
        253
        
        -execp_dwheel_command = 

      
        254
        
        -execp_font = Droid Sans Bold 8

      
        255
        
        -execp_font_color = #d1d1d1 100

      
        256
        
        -execp_padding = 8 0

      
        257
        
        -execp_background_id = 4

      
        258
        
        -execp_centered = 0

      
        259
        
        -execp_icon_w = 0

      
        260
        
        -execp_icon_h = 0

      
        261
        
        -

      
        262
        
        -#-------------------------------------

      
        263
        
        -# Tooltip

      
        264
        
        -tooltip_show_timeout = 1

      
        265
        
        -tooltip_hide_timeout = 0

      
        266
        
        -tooltip_padding = 6 6

      
        267
        
        -tooltip_background_id = 1

      
        268
        
        -tooltip_font_color = #d1d1d1 100

      
        269
        
        -tooltip_font = Droid Sans Bold 8

      
        270
        
        -

      
M config/ranger/rc.conf
···
        22
        22
         set scroll_offset 4

      
        23
        23
         

      
        24
        24
         #== Mappings

      
        
        25
        +map @     shell $SHELL

      
        25
        26
         

      
        26
        27
         # go to

      
        27
        28
         map gc    cd ~/code

      
        
        29
        +map gn    cd ~/notes

      
        28
        30
         map gd    cd ~/Documents

      
        29
        31
         map gw    cd ~/Downloads

      
        30
        32
         map g.    cd ~/.dotfiles

      
        31
        
        -map @     shell $SHELL

      
        32
        33
         

      
        33
        34
         # delete

      
        34
        35
         map dD    delete

      ···
        39
        40
         map <c-j> tab_shift -1

      
        40
        41
         

      
        41
        42
         # archive

      
        42
        
        -map sa shell zip -r archive.zip %s

      
        43
        
        -map ss shell tar -czvf archive.tar.gz %s

      
        44
        
        -map sd shell 7z a archive.7z %s

      
        45
        
        -map se shell extract %s

      
        
        43
        +map sa    shell zip -r archive.zip %s

      
        
        44
        +map ss    shell tar -czvf archive.tar.gz %s

      
        
        45
        +map sd    shell 7z a archive.7z %s

      
        
        46
        +map se    shell extract %s

      
        46
        47
         

      
        47
        48
         # gpg

      
        48
        
        -map ee shell gpe enc %s

      
        49
        
        -map ed shell gpe dec %s

      
        
        49
        +map ee    shell gpe enc %s

      
        
        50
        +map ed    shell gpe dec %s