mirror of
https://github.com/youwen5/nixos.git
synced 2024-11-24 17:53:51 -08:00
refactor: inline swappy, grim, slurp instead of expecting in path
add playerctl priority with firefox last
This commit is contained in:
parent
fe47f87909
commit
9845da230c
1 changed files with 1 additions and 4 deletions
|
@ -5,9 +5,6 @@
|
|||
{
|
||||
home.packages = with pkgs; [
|
||||
wl-clipboard
|
||||
grim
|
||||
slurp
|
||||
swappy
|
||||
swaybg
|
||||
|
||||
bibata-cursors
|
||||
|
@ -103,7 +100,7 @@
|
|||
"$mod, Space, exec, pkill -x rofi || rofi -show drun" # Run rofi application launcher
|
||||
"$mod, G, exec, pkill -x rofi || rofi -show window" # Run rofi window switcher
|
||||
|
||||
''$mod, P, exec, grim -g "$(slurp)" - | swappy -f -'' # Screenshot
|
||||
''$mod, P, exec, ${pkgs.grim}/bin/grim -g "$(${pkgs.slurp}/bin/slurp)" - | ${pkgs.swappy}/bin/swappy -f -'' # Screenshot
|
||||
|
||||
"$mod, Backspace, exec, pkill -x wlogout || wlogout" # show logout menu
|
||||
|
||||
|
|
Loading…
Reference in a new issue