blob: c967f66f531ddfb2c6b177b2ab2982fdc51da6a4 (
plain) (
blame)
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
|
#! /bin/sh
# Copyright (C) 2022 HimbeerserverDE
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
pgrep -x sxhkd > /dev/null || sxhkd &
SCR1=$(xrandr -q | grep ' connected' | grep primary | awk '{print $1}')
xss-lock --transfer-sleep-lock -- i3lock-fancy-rapid 1 10 &
killall -qw pipewire; pipewire &
while [ -z "$(pgrep -x pipewire)" ]; do false; done
killall -qw pipewire-pulse; pipewire-pulse &
while [ -z "$(pgrep -x pipewire-pulse)" ]; do false; done
killall -qw wireplumber; wireplumber &
while [ -z "$(pgrep -x wireplumber)" ]; do false; done
feh --no-fehbg --bg-fill ~/.config/bspwm/wallpaper
# load the normal mode alacritty config
cp -p ${HOME}/.config/alacritty/normal.yml ${HOME}/.config/alacritty/alacritty.yml
# load the normal mode polybar
ln -snf ${HOME}/.config/polybar.d/normal ${HOME}/.config/polybar
killall -qw picom; picom -b
killall -qw dunst; dunst &
killall -qw polybar; ~/.config/polybar/launch.sh &
killall -qw init_monitor.sh; ~/.config/bspwm/init_monitor.sh &
bspc monitor "${SCR1}" -n 1 -d 1 2 3 4 5 6 7 8 9
bspc config border_width 0
bspc config window_gap 10
bspc config split_ratio 0.52
bspc config borderless_monocle true
bspc config gapless_monocle true
|