70 lines
1.9 KiB
Bash
Executable file
70 lines
1.9 KiB
Bash
Executable file
#! /bin/sh
|
|
|
|
|
|
#################
|
|
### Autostart ###
|
|
#################
|
|
|
|
#idk what this is
|
|
pgrep -x sxhkd > /dev/null || sxhkd &
|
|
|
|
####configure monitors####
|
|
#intel
|
|
xrandr --output HDMI-1 --mode 2560x1440 --pos 3840x0 --rotate normal --output DP-1 --primary --mode 3840x2160 --pos 0x0 --rotate normal --output HDMI-2 --off --output DP-2 --off --output HDMI-3 --off --output DP-3 --off --output HDMI-4 --off
|
|
#amd 7900xt
|
|
#xrandr --output DP-1 --primary --mode 640x480 --pos 0x0 --rotate normal --output DP-2 --mode 3840x2160 --pos 640x0 --rotate normal --output HDMI-1 --mode 2560x1440 --pos 4480x0 --rotate normal --output HDMI-2 --off
|
|
nitrogen --restore &
|
|
dunst &
|
|
alacritty &
|
|
picom &
|
|
lxqt-policykit-agent &
|
|
flameshot &
|
|
nm-applet &
|
|
|
|
### launch bar ###
|
|
$HOME/.config/polybar/launch.sh
|
|
|
|
#########set keyboard repeat rate##############
|
|
xset r rate 200 50
|
|
|
|
###############################
|
|
### where the workspaces go ###
|
|
###############################
|
|
|
|
# Get list of connected monitors
|
|
monitors=$(bspc query -M --names)
|
|
|
|
# Apply desktops to each monitor
|
|
for monitor in $monitors; do
|
|
bspc monitor $monitor -d I II III IV V VI VII VIII IX
|
|
done
|
|
#bspc monitor DP-1 -d I II III IV V VI VII VIII IX
|
|
#bspc monitor DP-3 -d I II III IV V VI VII VIII IX
|
|
#bspc monitor HDMI-1 -d I II III IV V VI VII VIII IX
|
|
############
|
|
### gaps ###
|
|
############
|
|
|
|
bspc config border_width 2
|
|
bspc config window_gap 3
|
|
|
|
####################
|
|
### stuff... idk ###
|
|
####################
|
|
|
|
bspc config split_ratio 0.52
|
|
bspc config borderless_monocle true
|
|
bspc config gapless_monocle true
|
|
bspc click_to_focus true
|
|
|
|
|
|
#################################
|
|
### where programs go and act ###
|
|
#################################
|
|
|
|
|
|
bspc rule -a Gimp desktop='^8' state=floating follow=on
|
|
bspc rule -a Chromium desktop='^2'
|
|
bspc rule -a mplayer2 state=floating
|
|
bspc rule -a Kupfer.py focus=on
|
|
bspc rule -a Screenkey manage=off
|