Something went wrong. Try again.
This repository has no description
Something went wrong. Try again.
3.7 kB · 155 lines
at master
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156#! /bin/sh# Loggingset -xvexec 2>>/tmp/bspwm.log# Start Compositorif ! pgrep -x "picom" >/dev/nullthen picom --config "$HOME/.config/picom.conf" -b &fi# Keybord local# setxkbmap -layout de -variant nodeadkeys -option terminate:ctrl_alt_bksp &# Java fuckery ( Roger<3 )wmname compiz &# Show Coursorxsetroot -cursor_name left_ptr# Keybord shortcutskillall -e sxhkd; \sxhkd > /tmp/sxhkd.log 2>&1 &# Connect 2nd Monitor$HOME/.config/bspwm/hdmi.sh # Init bspwm, only init monitors on first loadif [[ "$1" = 0 ]]; then bspc monitor eDP-1 -d 1 2 3 4 5 6 7 8 9 text code browser notes mailfi# Border Stylebspc config border_width 0bspc config window_gap 12# Configbspc config split_ratio 0.52bspc config borderless_monocle truebspc config gapless_monocle truebspc config single_monocle truebspc config top_monocle_padding 0bspc config bottom_monocle_padding 0bspc config bottom_padding 0bspc config top_padding 0bspc config -m eDP-1 top_padding 25bspc config focus_follows_pointer truebspc config remove_disabled_monitors true#bspc config merge_overlapping_monitors true# Mouse Movementbspc config pointer_action1 movebspc config pointer_action2 resize_sidebspc config pointer_action2 resize_corner# Window Rules# Get Window class with:# xprop WM_CLASSbspc rule -a Screenkey manage=offbspc rule -a firefox border=off desktop="browser" follow=onbspc rule -a zen border=off desktop="browser" follow=onbspc rule -a obsidian desktop="notes" follow=on focus=onbspc rule -a Code desktop="code" follow=on focus=onbspc rule -a Sylpheed desktop="mail" follow=off focus=offbspc rule -a thunderbird desktop="mail" follow=off focus=offbspc rule -a discord desktop="text" follow=on focus=onbspc rule -a vesktod desktop="text" follow=on focus=onbspc rule -a telegram desktop="text" follow=on focus=onbspc rule -a WebCord desktop="text" follow=on focus=onbspc rule -a Zathura state=tiledbspc rule -a Xfce4-appfinder state=floatingbspc rule -a "Toggl Desktop" state=floatingbspc rule -a "Nm-connection-editor" state=floatingbspc rule -a paradiso state=floating# Restart Polybar$HOME/.config/polybar/launch.sh &# Load Background# nitrogen --random --set-zoom-fill &# systemctl start --user wallpaper# systemctl restart --user roger &# Apply last use background$HOME/.fehbg &# Polkit Authentication#if ! pgrep -x "polkit-kde-authentication-agent-1" >/dev/null#then# /usr/lib/polkit-kde-authentication-agent-1 &#fi#if ! pgrep -x "polkit-gnome-authentication-agent-1" >/dev/null#then# /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &#fi# Start Dunst Notificationsif ! pgrep -x "dunst" >/dev/nullthen dunst &fi# Lock screenif ! pgrep -x "xss-lock" >/dev/nullthen xss-lock --transfer-sleep-lock -- i3lock --nofork -c 333333FF -k --composite --wrong-text="Fuck off" --verif-text="Hmmm" -f -e & # xss-lock -- env XSECURELOCK_FONT='Hack Nerd Font Mono:style=Bold' XSECURELOCK_SHOW_DATETIME='1' xsecurelock &fi# Start blueman#if ! pgrep -x "blueman-applet" >/dev/null#then# blueman-applet &#fi# Start nm-applet#if ! pgrep -x "nm-applet" >/dev/null#then# nm-applet &#fi# Start Automounting with udiskieif ! pgrep -x "udiskie" >/dev/nullthen udiskie &fi# Start Thunderbirdif ! pgrep -x "thunderbird" >/dev/nullthen thunderbird &fi# Start Sylpheed#if ! pgrep -x "sylpheed" >/dev/null#then # sylpheed &#fi# Start Neo layout overlayif ! pgrep -f "neo_layout_viewer" >/dev/nullthen neo_layout_viewer &fi# Enviorment for vscodesource /etc/X11/xinit/xinitrc.d/50-systemd-user.sh