mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 16:51:34 +02:00
Update
This commit is contained in:
parent
0d2b7d6ba3
commit
7cf1432163
50 changed files with 1576 additions and 977 deletions
|
|
@ -1,16 +1,40 @@
|
|||
# [Berry](https://berrywm.org)
|
||||
|
||||

|
||||
-------------------------
|
||||
|
||||
---
|
||||
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 &
|
||||
picom -b &
|
||||
~/.config/berry/polybar/bar.sh &
|
||||
nitrogen --restore &
|
||||
setxkbmap "us,ru,ua" ",winkeys" "grp:alt_shift_toggle" -option "ctrl:nocaps"
|
||||
picom -b &
|
||||
~~~
|
||||
|
||||
### Keybindings
|
||||
|
|
|
|||
|
|
@ -1,24 +1,32 @@
|
|||
#!/bin/bash
|
||||
sxhkd -c ~/.config/berry/sxhkdrc &
|
||||
picom -b &
|
||||
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
|
||||
|
||||
# ------ Autostart ------ #
|
||||
setxkbmap "us,ru,ua" ",winkeys" "grp:alt_shift_toggle" -option "ctrl:nocaps" &
|
||||
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
|
||||
sxhkd -c ~/.config/berry/sxhkdrc &
|
||||
~/.config/berry/polybar/bar.sh &
|
||||
nitrogen --restore &
|
||||
picom -b &
|
||||
conky &
|
||||
|
||||
berryc border_width 1
|
||||
berryc inner_border_width 1
|
||||
|
||||
# ------ Berry ------ #
|
||||
# Set decoration geometry
|
||||
berryc border_width 0
|
||||
berryc inner_border_width 1
|
||||
berryc title_height 0
|
||||
berryc top_gap 0
|
||||
berryc top_gap 0
|
||||
|
||||
# Set decoration colors
|
||||
berryc focus_color 073642
|
||||
berryc unfocus_color 002b36
|
||||
berryc inner_focus_color 268bd2
|
||||
berryc inner_unfocus_color 002b36
|
||||
berryc text_focus_color ffffff
|
||||
berryc text_unfocus_color efefef
|
||||
berryc text_unfocus_color eeeeee
|
||||
|
||||
# Other options
|
||||
berryc smart_place "true"
|
||||
berryc draw_text "true"
|
||||
berryc edge_lock "true"
|
||||
berryc set_font "Jetbrains Mono"
|
||||
berryc edge_lock "false"
|
||||
berryc set_font "Dina-9"
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ font-0 = Iosevka Nerd Font:style=Medium:size=8;3
|
|||
font-1 = FontAwesome5Free:style=Solid:size=7.5;2.5
|
||||
background = ${colors.background}
|
||||
foreground = ${colors.foreground}
|
||||
modules-center = t
|
||||
modules-left = t
|
||||
tray-position = center
|
||||
|
||||
[module/backlight]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue