Compare commits

...

4 Commits

Author SHA1 Message Date
0d645c80f4 feat(script): installation script is done 2025-02-13 00:24:54 +04:00
e9ca756b59 fix(VD + audio): fix virtual desktop display and add pipewire to autostart (idk why pipewire disappears) 2025-02-13 00:24:36 +04:00
ad32cb996b feat(script): installation script is done 2025-02-13 00:16:13 +04:00
037bfe1c96 feat(module): add memory and cpu module to display
feat(module): add memory and cpu module to display
2025-02-12 23:33:06 +04:00
4 changed files with 14 additions and 17 deletions

View File

@@ -45,7 +45,7 @@ font-0 = "FiraCode Nerd Font Propo:size=10;2"
modules-left = xworkspaces modules-left = xworkspaces
modules-center = xwindow 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-click = pointer
cursor-scroll = ns-resize cursor-scroll = ns-resize

View File

@@ -1,10 +1,11 @@
#!/bin/sh #!/bin/sh
pipewire &
pgrep -x sxhkd > /dev/null || sxhkd & pgrep -x sxhkd > /dev/null || sxhkd &
pgrep -x polybar > /dev/null || polybar & pgrep -x polybar > /dev/null || polybar &
bspc monitor DVI-I-1 -d I II III IV V bspc monitor DVI-D-0 -d I II III IV V
bspc monitor HDMI-1 -d VI VII VIII IX X bspc monitor HDMI-0 -d VI VII VIII IX X
bspc config border_width 3 bspc config border_width 3
bspc config window_gap 5 bspc config window_gap 5

View File

@@ -45,7 +45,7 @@ font-0 = "FiraCode Nerd Font Propo:size=10;2"
modules-left = xworkspaces modules-left = xworkspaces
modules-center = xwindow 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-click = pointer
cursor-scroll = ns-resize cursor-scroll = ns-resize

View File

@@ -1,8 +1,8 @@
#!/bin/bash #!/bin/bash
function install_config() { function install_config() {
for config in $1; do for config in ${@:2}; do
cp -vr "${config}" "$2" cp -vr "./${config}" "$1"
done done
} }
@@ -31,34 +31,30 @@ read type
case "${type}" in case "${type}" in
"L" | "l") "L" | "l")
install_config $(ls -d -1 "$PWD/"Laptop/*) ~/.config/ cp -vrf ./Laptop/* ~/.config/
;; ;;
"P" | "p") "P" | "p")
install_config $(ls -d -1 "$PWD/"PC/*) ~/.config/ cp -vrf ./PC/* ~/.config/
;; ;;
*) *)
echo "Please, select your device type correctly" echo "Please, select your device type correctly"
kill "$PID" exit 1
;; ;;
esac esac
install_config ${general_configs[@]} ~/.config/ install_config ~/.config/ ${general_configs[@]}
install_config ${home_dir_configs[@]} ~/ install_config ~/ ${home_dir_configs[@]}
betterlockscreen -u ~/.bg/bg_5.png --fx blur --blur 1 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 read advanced_install
case "${advanced_install}" in case "${advanced_install}" in
"Y" | "y") "Y" | "y")
su root -c "cp -vf ./bspwm_session/* /usr/share/xsessions/" su root -c "cp -vf ./bspwm_session/* /usr/share/xsessions/"
;; ;;
"N" | "n") "N" | "n" | "*")
echo "Skip" echo "Skip"
;; ;;
*)
echo "Please, select your device type correctly"
kill "$PID"
;;
esac esac