Browse Source

bash changed + kill script

master
junikimm717 2 years ago
parent
commit
27d00e96da
  1. 2
      dotfiles/bspwm/bspwmrc
  2. 7
      dotfiles/bspwm/kill.sh
  3. 2
      dotfiles/bspwm/polybar/launch.sh
  4. 5
      dotfiles/bspwm/sxhkdrc
  5. 1
      rices/bspwm.nix

2
dotfiles/bspwm/bspwmrc

@ -1,6 +1,6 @@
#!/bin/sh
killall picom
pkill picom
picom &
nitrogen --restore &
~/.config/polybar/launch.sh

7
dotfiles/bspwm/kill.sh

@ -0,0 +1,7 @@
#!/usr/bin/env bash
QUIT=$(printf "No\nYes" | dmenu -i -p "Are you sure u want to kill $MANAGER?")
if test "$QUIT" == "Yes" ; then
pkill bspwm
fi

2
dotfiles/bspwm/polybar/launch.sh

@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash
# Terminate already running bar instances
pkill polybar

5
dotfiles/bspwm/sxhkdrc

@ -29,10 +29,7 @@ super + shift + p
~/.config/polybar/launch.sh
super + shift + e
QUIT=$(printf "No\nYes" | dmenu -i -p "Are you sure u want to kill $MANAGER?")
if test "$QUIT" == "Yes" ; then
pkill bspwm
fi
~/.config/bspwm/kill.sh
# close and kill

1
rices/bspwm.nix

@ -75,6 +75,7 @@ in
".config/picom/picom.conf".source = ../dotfiles/picom.conf;
".config/nixpkgs/config.nix".source = ../dotfiles/config.nix;
".config/bspwm/bspwmrc".source = ../dotfiles/bspwm/bspwmrc;
".config/bspwm/kill.sh".source = ../dotfiles/bspwm/kill.sh;
".config/sxhkd/sxhkdrc".source = ../dotfiles/bspwm/sxhkdrc;
".xinitrc".source = ../dotfiles/bspwm/xinitrc;
".tmux.conf".source = ../dotfiles/tmux.conf;

Loading…
Cancel
Save