all repos

dotfiles @ 8822c65b4ff767a3418c710e111bb2a3aa05f2f2

my dotfiles

config/berry/README.md (view raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# [Berry](https://berrywm.org)

![Seceenshot](screen.png)
-------------------------

Install `sxhkd` 
~~~bash
sudo pacman -S sxhkd
~~~

Install `berry` from source
~~~bash
sudo pacman -S libx11 libxft libxinerama
git clone https://github.com/JLErvin/berry
cd berry
make && sudo make install
~~~

Add berry in lightdm
~~~bash
sudo cat <<EOF > /usr/share/xsessions/berry.desktop
[Desktop Entry]
Encoding=UTF-8
Name=berry
Comment=berry - a small window manager
Exec=berry
Type=XSession
EOF
~~~

### Autostart
~~~bash
setxkbmap "us,ru,ua" ",winkeys" "grp:alt_shift_toggle" -option "ctrl:nocaps"
sxhkd -c ~/.config/berry/sxhkdrc &
~/.config/berry/polybar/bar.sh &
nitrogen --restore &
picom -b &
~~~

### Keybindings
---------------

| Shourtcut                 | Command                                                                                                  |
| ------------------------- | ------                                                                                                   |
| `mod` + q                 | Kill focus window                                                                                        |
| `mod` + `split` + enter   | Run program launcher (Rofi)                                                                              |
| `mod` + esc               | Power [menu](https://github.com/Smirnov-O/dotfiles/blob/master/scripts/dmenu/dmenu-power.sh)             |
| `mod` + `ctrl` + u        | Config edit [menu](https://github.com/Smirnov-O/dotfiles/blob/master/scripts/dmenu/dmenu-config-edit.sh) |
| `mod` + `ctrl` + i        | Passmenu(Dmenu interface for [pass](https://passwordstore.org))                                          |
| `mod` + enter             | Run `kitty`                                                                                              |
| `mod` + F2                | Run `firefox`                                                                                            |
| `mod` + `shift` + esc     | Run `xkill`                                                                                              |
| `mod` + plus              | Add 5% volume                                                                                            |
| `mod` + minus             | Minus 5% volume                                                                                          |
| `mod` + `shift` + minus   | Mute volume                                                                                              |
| `mod` + tab               | Change focus window                                                                                      |
| `mod` + h/j/k/l           | Move focus window                                                                                        |
| `mod` + `shift` + h/j/k/l | Resize focus window                                                                                      |
| `mod` + [1-9]             | Change workspace                                                                                         |
| `mod` + `shift` + [1-9]   | Send focus window to workspace                                                                           |
| `mod` + `alt` + t         | Open ~/.todo file                                                                                        |