Compare commits
4 Commits
656ef952b9
...
0d645c80f4
Author | SHA1 | Date | |
---|---|---|---|
|
0d645c80f4 | ||
|
e9ca756b59 | ||
|
ad32cb996b | ||
|
037bfe1c96 |
|
@ -45,7 +45,7 @@ font-0 = "FiraCode Nerd Font Propo:size=10;2"
|
|||
|
||||
modules-left = xworkspaces
|
||||
modules-center = xwindow
|
||||
modules-right = pulseaudio xkeyboard wlan eth date calendar battery powermenu
|
||||
modules-right = memory cpu pulseaudio xkeyboard eth date calendar battery powermenu
|
||||
|
||||
cursor-click = pointer
|
||||
cursor-scroll = ns-resize
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#!/bin/sh
|
||||
|
||||
pipewire &
|
||||
pgrep -x sxhkd > /dev/null || sxhkd &
|
||||
pgrep -x polybar > /dev/null || polybar &
|
||||
|
||||
bspc monitor DVI-I-1 -d I II III IV V
|
||||
bspc monitor HDMI-1 -d VI VII VIII IX X
|
||||
bspc monitor DVI-D-0 -d I II III IV V
|
||||
bspc monitor HDMI-0 -d VI VII VIII IX X
|
||||
|
||||
bspc config border_width 3
|
||||
bspc config window_gap 5
|
||||
|
|
|
@ -45,7 +45,7 @@ font-0 = "FiraCode Nerd Font Propo:size=10;2"
|
|||
|
||||
modules-left = xworkspaces
|
||||
modules-center = xwindow
|
||||
modules-right = pulseaudio xkeyboard wlan eth date calendar powermenu
|
||||
modules-right = cpu memory pulseaudio xkeyboard eth date calendar powermenu
|
||||
|
||||
cursor-click = pointer
|
||||
cursor-scroll = ns-resize
|
||||
|
|
22
install.sh
22
install.sh
|
@ -1,8 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
function install_config() {
|
||||
for config in $1; do
|
||||
cp -vr "${config}" "$2"
|
||||
for config in ${@:2}; do
|
||||
cp -vr "./${config}" "$1"
|
||||
done
|
||||
}
|
||||
|
||||
|
@ -31,34 +31,30 @@ read type
|
|||
|
||||
case "${type}" in
|
||||
"L" | "l")
|
||||
install_config $(ls -d -1 "$PWD/"Laptop/*) ~/.config/
|
||||
cp -vrf ./Laptop/* ~/.config/
|
||||
;;
|
||||
"P" | "p")
|
||||
install_config $(ls -d -1 "$PWD/"PC/*) ~/.config/
|
||||
cp -vrf ./PC/* ~/.config/
|
||||
;;
|
||||
*)
|
||||
echo "Please, select your device type correctly"
|
||||
kill "$PID"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
install_config ${general_configs[@]} ~/.config/
|
||||
install_config ${home_dir_configs[@]} ~/
|
||||
install_config ~/.config/ ${general_configs[@]}
|
||||
install_config ~/ ${home_dir_configs[@]}
|
||||
|
||||
betterlockscreen -u ~/.bg/bg_5.png --fx blur --blur 1
|
||||
|
||||
echo "Do you want install custom bspwm xsession to /usr/share/xsessions/? It's needs to become root (Y/N):"
|
||||
echo "Do you want install custom bspwm xsession to /usr/share/xsessions/? It needs to become root (y/N):"
|
||||
read advanced_install
|
||||
|
||||
case "${advanced_install}" in
|
||||
"Y" | "y")
|
||||
su root -c "cp -vf ./bspwm_session/* /usr/share/xsessions/"
|
||||
;;
|
||||
"N" | "n")
|
||||
"N" | "n" | "*")
|
||||
echo "Skip"
|
||||
;;
|
||||
*)
|
||||
echo "Please, select your device type correctly"
|
||||
kill "$PID"
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Reference in New Issue