#!/usr/bin/zsh export PATH="${PATH}:$HOME/.config/bspwm/bin:$HOME/.config/bspwm/rofi/bin:$HOME/.local/bin:$HOME/.local/share/virtualenv/pip/bin" BSPWM_DIR="$HOME/.config/bspwm" # настройки клавиш KEYBOARD_LAYOUTS=us,ru setxkbmap -layout ${KEYBOARD_LAYOUTS} setxkbmap -option 'grp:alt_shift_toggle' setxkbmap -option caps:hyper # ------------------------------------------------------------------------------ # # цветовая схема XRES="$HOME/.Xresources.d" COLOR_SCHEME="Chad WM" cat "${BSPWM_DIR}/themes/${COLOR_SCHEME}/colorScheme" > "${XRES}"/colors # ------------------------------------------------------------------------------ # # Решение для java apps (e.g. JetBrains IDEs like PyCharm, CLion, etc). # export _JAVA_AWT_WM_NONREPARENTING=1 # Поддержка других приложений не работающих на WMs # wmname LG3D # ------------------------------------------------------------------------------ # # установка ролей # bsprules # ------------------------------------------------------------------------------ # # запуск workspaces bspc monitor -d             f # ------------------------------------------------------------------------------ # # Управляйте всеми неуправляемыми окнами, оставшимися с предыдущего сеанса. # bspc wm --adopt-orphans # ------------------------------------------------------------------------------ # # load bspwm Configurations # bspconfig # ------------------------------------------------------------------------------ # ## HERE # РАЗОБРАТЬ ## ------------------------- Autostart Apps ------------------------- ## # Kill if already running # killall -9 xsettingsd sxhkd dunst ksuperkey xfce4-power-manager bspc picom # ------------------------------------------------------------------------------ # # Lauch xsettingsd daemon # xsettingsd --config="${BSPWM_DIR}"/xsettingsd & # ------------------------------------------------------------------------------ # # polkit agent # if [[ ! `pidof xfce-polkit` ]]; then /usr/lib/xfce-polkit/xfce-polkit & fi # ------------------------------------------------------------------------------ # # Lauch keybindings daemon # KEYBINDING=sxhkdrc sxhkd -c "${BSPWM_DIR}"/keybinding/${KEYBINDING} & # ------------------------------------------------------------------------------ # # Enable Super Keys For Menu # ksuperkey -e 'Super_L=Alt_L|F1' & ksuperkey -e 'Super_R=Alt_L|F1' & # ------------------------------------------------------------------------------ # # Enable power manager # xfce4-power-manager & # ------------------------------------------------------------------------------ # # Fix cursor # xsetroot -cursor_name left_ptr # ------------------------------------------------------------------------------ # # restore wallpaper # BACKGROUND=/home/chatlanin/wallpapers/43.png feh --no-fehbg --bg-fill ${BACKGROUND} # ------------------------------------------------------------------------------ # # enable num lock # numlockx & # ------------------------------------------------------------------------------ # # start bspwm scripts # bspcomp bspbar bspdunst & # ------------------------------------------------------------------------------ # ## ------------------------------------- END -------------------------------------------------- ##