Skip to content

Instantly share code, notes, and snippets.

@fokusov
fokusov / autostart
Created January 13, 2017 13:07 — forked from Doaxan/autostart
##run_once is a script in /usr/bin that prevents running script if it is running already
##
## To enable pulseaufio, uncomment this and run sudo pacman -S pavucontrol pulseaudio-ctl manjaro-pulse
#pulseaudio --start &
#sleep 2s && volume 37 &
## Load appearance settings
xsetroot -cursor_name left_ptr &
#export GTK2_RC_FILES="$HOME/.gtkrc-2.0" &
#xrdb merge .Xresources &
xfsettingsd --sm-client-disable &
#! /bin/sh
gap=4
PANEL_HEIGHT=22
BORDER_WIDTH=2
export gap
export PANEL_HEIGHT
export BORDER_WIDTH
#This creates negative padding equal to window gap so that gaps are shown only between windows and not on desktop edges.
bspc config window_gap $gap;
# bspwm hotkeys
#
# Cleanly quit bspwm
#super + shift + q
# bspc quit 1 && pkill lemonpanel && pkill lemonbar
#super + space
# synapse