Update openbox config

This commit is contained in:
Smirnov Alexandr 2021-02-26 09:52:43 +02:00
parent 2a67211908
commit 8511aa4130
9 changed files with 57 additions and 12 deletions

View file

@ -16,6 +16,10 @@ super + shift + {w, f, e, c, v, s, z, q}
betterlockscreen --off 180 -t "Computer is locked" -l, \
xkill }
super + {_,shift} Print
{scrot -s, \
scrot }
super + {equal, minus, shift+minus}
amixer sset Master {2%+,2%-,toggle}

View file

@ -66,18 +66,16 @@ set hidden
set nospell spelllang=en_us
" Space/tab indicator
set list listchars=tab:>·,trail:~,extends:>,precedes:<,space
set list listchars=tab:\|·,trail:~,extends:>,precedes:<,space
" Disable sound
set visualbell t_vb=
"== Settings for specific files
autocmd BufWritePre *.py normal m`:%s/\s\+$//e ``
autocmd FileType python,go,json setlocal expandtab shiftwidth=4 tabstop=4
autocmd FileType html,css,javascript,javascriptreact,yaml setlocal expandtab shiftwidth=2 tabstop=2
"== Aliases
command! W :w
command! Q :q

15
config/openbox/README.md Normal file
View file

@ -0,0 +1,15 @@
# Openbox
![](screen.png)
---------------
### Install
```bash
sudo pacman -S openbox tint2
```
### Install theme
```bash
mkdir ~/.theme
tar -zxf nten.tar.gz -C ~/.themes
```

View file

@ -1,7 +1,6 @@
#!/bin/sh
setxkbmap "us,ua" ",winkeys" "grp:alt_shift_toggle" -option "ctrl:nocaps" &
feh --randomize --bg-scale ~/Pictures/wallp &
volumeicon &
lxsession &
picom -b &
tint2 &

View file

@ -66,7 +66,7 @@
</item>
<item label="Joplin">
<action name="Execute">
<command>~/.applications/todoist.appimage</command>
<command>~/.applications/joplin.appimage</command>
</action>
</item>
<item label="Todoist">
@ -85,10 +85,6 @@
<item label="Ranger">
<action name="Execute">
<command>kitty -e ranger</command>
<startupnotify>
<enabled>yes</enabled>
<wmclass>Ranger</wmclass>
</startupnotify>
</action>
</item>
<item label="Thunar">
@ -133,14 +129,27 @@
</menu>
<menu id="root-menu" label="Openbox">
<item label="Terminal">
<action name="Execute">
<command>kitty</command>
</action>
</item>
<item label="Browser">
<action name="Execute">
<command>google-chrome-stable</command>
</action>
</item>
<item label="Rofi">
<action name="Execute">
<command>rofi -show drun -theme ntenV2</command>
</action>
</item>
<separator label="Categories" />
<menu id="apps-net-menu"/>
<menu id="apps-editors-menu"/>
<menu id="apps-term-menu"/>
<menu id="apps-office-menu"/>
<menu id="apps-fileman-menu"/>
<item label="Rofi">
<action name="Execute"><command>rofi -show drun -theme ntenV2</command></action>
</item>
<separator label="System" />
<menu id="system-menu" />
<menu id="power-menu" />

BIN
config/openbox/nten.tar.gz Normal file

Binary file not shown.

BIN
config/openbox/screen.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB