Browse Source

bash changed + kill script

master
junikimm717 3 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 #!/bin/sh
killall picom
pkill picom
picom & picom &
nitrogen --restore & nitrogen --restore &
~/.config/polybar/launch.sh ~/.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 # Terminate already running bar instances
pkill polybar pkill polybar

5
dotfiles/bspwm/sxhkdrc

@ -29,10 +29,7 @@ super + shift + p
~/.config/polybar/launch.sh ~/.config/polybar/launch.sh
super + shift + e 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 # close and kill

1
rices/bspwm.nix

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

Loading…
Cancel
Save