updates
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
{ pkgs, ... }:
|
||||
{ ... }:
|
||||
{
|
||||
xsession.windowManager.bspwm.enable = true;
|
||||
xsession.windowManager.bspwm.package = pkgs.bspwm-unstable;
|
||||
xsession.windowManager.bspwm.settings = {
|
||||
border_width = 2;
|
||||
focused_border_color = "#383838";
|
||||
@@ -18,36 +16,37 @@
|
||||
bottom_padding = 0;
|
||||
};
|
||||
xsession.windowManager.bspwm.extraConfig = ''
|
||||
pidb() {
|
||||
pgrep -x "$1" >/dev/null 2>&1
|
||||
}
|
||||
pidb() {
|
||||
pgrep -x "$1" >/dev/null 2>&1
|
||||
}
|
||||
|
||||
run() {
|
||||
proc="$1"
|
||||
cmd="$2"
|
||||
run() {
|
||||
proc="$1"
|
||||
cmd="$2"
|
||||
|
||||
if ! pidb "$proc"; then
|
||||
sh -c "$cmd" &
|
||||
fi
|
||||
}
|
||||
if ! pidb "$proc"; then
|
||||
sh -c "$cmd" &
|
||||
fi
|
||||
}
|
||||
|
||||
### }}}
|
||||
### }}}
|
||||
|
||||
|
||||
### {{{ rerun/start processes
|
||||
### {{{ rerun/start processes
|
||||
|
||||
# piss
|
||||
run "piss" "piss"
|
||||
# piss
|
||||
#run "piss" "piss"
|
||||
sxhkd
|
||||
|
||||
# picom
|
||||
run "picom" "picom --backend glx"
|
||||
# picom
|
||||
run "picom" "picom --backend glx"
|
||||
|
||||
# dunst
|
||||
# run "dunst" "dunst"
|
||||
# dunst
|
||||
# run "dunst" "dunst"
|
||||
|
||||
# bspbar
|
||||
# run "bspbar" "bspbar"
|
||||
# bspbar
|
||||
# run "bspbar" "bspbar"
|
||||
|
||||
xwallpaper --center "$HOME/Wallpapers/nature2art.png"
|
||||
xwallpaper --center "$HOME/Wallpapers/nature2art.png"
|
||||
'';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user