hycov, nerdfonts, some zsh conf
This commit is contained in:
parent
b1c446ebfe
commit
fb92731190
8 changed files with 249 additions and 33 deletions
25
home/programs/hycov.nix
Normal file
25
home/programs/hycov.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{pkgs, ...}: {
|
||||
wayland.windowManager.hyprland = {
|
||||
plugins = with pkgs; [
|
||||
hycov
|
||||
];
|
||||
settings.plugin.hycov = {
|
||||
overview_gappo = 20;
|
||||
};
|
||||
settings.bind = [
|
||||
# bind key to toggle overview(normal mode)
|
||||
"ALT,tab,hycov:toggleoverview"
|
||||
|
||||
# bind key to toggle overview(force mode,no affected by `only_active_workspace` and `only_active_monitor`)
|
||||
"ALT,grave,hycov:toggleoverview,forceall" #grave key is the '~' key
|
||||
|
||||
# The direction switch shortcut key binding.
|
||||
# calculate the window closest to the direction to switch focus.
|
||||
# This keybind is applicable not only to the overview but also to the general layout
|
||||
"ALT,h,hycov:movefocus,l"
|
||||
"ALT,l,hycov:movefocus,r"
|
||||
"ALT,k,hycov:movefocus,u"
|
||||
"ALT,j,hycov:movefocus,d"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
@ -7,6 +7,7 @@
|
|||
(import ./swaylock.nix)
|
||||
(import ./swayidle.nix)
|
||||
(import ./waybar.nix)
|
||||
(import ./hycov.nix)
|
||||
];
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
|
|
|
|||
|
|
@ -130,20 +130,6 @@ in {
|
|||
];
|
||||
install = false;
|
||||
}
|
||||
{
|
||||
name = "switch-window";
|
||||
text = ''
|
||||
${my-deps.hyprctl} clients -j | \
|
||||
${my-deps.jq} '.[] | .title' -r | \
|
||||
${my-deps.sed} '/^$/d' |
|
||||
${my-deps.menu} | \
|
||||
${my-deps.sed} 's/\([\[\(\)]\)/\\\\\1/g' | \
|
||||
${my-deps.xargs} -I_ ${my-deps.hyprctl} dispatch focuswindow title:"_"
|
||||
'';
|
||||
hotkeys = [
|
||||
{key = "TAB";}
|
||||
];
|
||||
}
|
||||
{
|
||||
name = "picker";
|
||||
text = ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue