Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #! /bin/sh
- pgrep -x sxhkd > /dev/null || sxhkd &
- if [[ $(xrandr -q | grep 'HDMI-A-0 connected') ]]; then
- xrandr --output eDP --primary --mode 1366x768 rotate normal --outpu HDMI-A-0 --mode 1920x1080 --rotate normal --right-of eDP
- fi
- #bspc monitor eDP -d
- #bspc monitor HDMI-A-0 -d
- if [[ $(xrandr -q | grep 'HDMI-A-0 connected') ]]; then
- bspc monitor eDP -d
- bspc monitor HDMI-A-0 -d
- else
- #bspc monitor eDP -d
- bspc monitor eDP -d
- fi
- bspc config border_width 3
- bspc config window_gap 7
- bspc config top_padding 21
- bspc config focus_follows_pointer true
- # Colors
- # source the colors.
- . "${HOME}/.cache/wal/colors.sh"
- # Set the border colors.
- bspc config normal_border_color "$color1"
- bspc config active_border_color "$color2"
- bspc config focused_border_color "$color15"
- # Use the line below if you are on bspwm >= 0.9.4
- bspc config presel_feedback_color "$color1"
- # Use the line below if you are on bspwm < 0.9.4
- #bspc config presel_border_color "$color1"
- #bspc config focused_border_color "#b87400"
- #bspc config normal_border_color "#40484d"
- #bspc config presel_feeback_color "#0e0e0e"
- bspc config split_ratio 0.52
- bspc config borderless_monocle true
- bspc config gapless_monocle true
- #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
- # Apps
- bspc rule -a Vivaldi-stable:facebook.com state=floating rectangle=600x600+7+33
- bspc rule -a Vivaldi-stable:instagram.com state=floating rectangle=675x600+7+33
- bspc rule -a Vivaldi-stable:chat.openai.com state=floating rectangle=600x500+7+33
- bspc rule -a Vivaldi-stable:youtube.com state=floating rectangle=600x600+7+33
- bspc rule -a Vivaldi-stable:readcomiconline.li state=floating rectangle=700x600+7+33
- # Scratchpads
- bspc rule -a vizpad state=floating rectangle=640x213+713+377
- bspc rule -a cmuspad sticky=on state=floating rectangle=640x341+713+33
- bspc rule -a rgrpad sticky=on state=floating rectangle=640x356+375+33
- bspc rule -a scpad sticky=on state=floating rectangle=640x356+713+33
- bspc rule -a termpad sticky=on state=floating rectangle=650x356+375+133
- bspc rule -a mpv state=floating
- bspc rule -a smplayer state=floating rectangle=800x450+7+33
- bspc rule -a gparted state=floating
- bspc rule -a Pavucontrol state=floating rectangle=884x395+255+33
- bspc rule -a krita desktop='^6' follow=on
- bspc rule -a inkscape desktop='^6' follow=on
- bspc rule -a kdenlive desktop='^4' follow=on
- bspc rule -a stremio desktop='^5' follow=on
- bspc rule -a jellyfinmediaplayer desktop='^5' follow=on
- bspc rule -a shortwave state=floating follow=on
- bspc rule -a PenTablet desktop='^6' state=floating
- export PATH=$PATH:$HOME:$HOME/.local/bin:$HOME/.local/bin/dwmscripts:/usr/local/bin
- # Wallpaper
- ~/.fehbg &
- #wall -R &
- #~/.local/bin/dwmscripts/wall.sh &
- # Startup Sound
- mpv --no-video ~/Music/SoundEffects/future-hightech-logo.mp3 &
- /home/icon_bishopxxiii/.local/bin/wifi.sh &
- # Systray
- xfce4-power-manager &
- # Enable Numlock
- numlockx &
- # Compositor
- picom -f &
- # Touchpad
- xinput set-prop 15 "libinput Tapping Enabled" 1 &
- # Notifications
- dunst -conf /home/icon_bishopxxiii/.config/dunst/dunstrc &
- # Policy Kit
- /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
- # xrdb ~/.Xresources
- xsetroot -cursor_name left_ptr &
- # Sxhkd
- sxhkd &
- # Bar
- #polybar metropolis &
- #polybar gotham &
- ~/.config/polybar/launch.sh &
- cat ~/.cache/wal/sequences &
- notify-send -i $HOME/Pictures/avatars/Shard.png "SHARD:" "Access granted.\nDanger Room Session initiated..." -t 10000
Advertisement
Add Comment
Please, Sign In to add comment